给首页增加weixin展示图标
This commit is contained in:
@@ -123,7 +123,18 @@
|
||||
<a-card :bordered="false" :body-style="{padding: '5'}" data-step="7" data-title="服务和版权"
|
||||
data-intro="展示服务到期时间(快到期时会出现续费链接,请注意及时续费)、
|
||||
用户数量(是指最多可以录入的用户数量)、版权信息">
|
||||
<div class="hidden-xs" style="float:right;">© 2015-2030 {{systemTitle}} V3.2</div>
|
||||
<div class="hidden-xs" style="float:right;">
|
||||
<a-popover
|
||||
trigger="hover"
|
||||
:visible="hovered"
|
||||
@visibleChange="handleHoverChange">
|
||||
<div slot="content">
|
||||
<img src="/static/weixin.jpg" style="width:258px" />
|
||||
</div>
|
||||
<a-button type="link" v-if="showWeixinSpan()">华夏ERP微信小程序</a-button>
|
||||
</a-popover>
|
||||
© 2015-2030 {{systemTitle}} V3.2
|
||||
</div>
|
||||
<a-tag v-if="tenant.type==0" color="blue">试用到期:{{tenant.expireTime}}</a-tag>
|
||||
<a-tag v-if="tenant.type==0" color="blue">试用用户:{{tenant.userCurrentNum}}/{{tenant.userNumLimit}}</a-tag>
|
||||
<a-tag v-if="tenant.type==1" color="blue">服务到期:{{tenant.expireTime}}</a-tag>
|
||||
@@ -166,6 +177,7 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
hovered: false,
|
||||
systemTitle: window.SYS_TITLE,
|
||||
systemUrl: window.SYS_URL,
|
||||
loading: true,
|
||||
@@ -252,6 +264,17 @@
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
handleHoverChange(visible) {
|
||||
this.hovered = visible
|
||||
},
|
||||
showWeixinSpan() {
|
||||
let host = window.location.host
|
||||
if(host === 'cloud.huaxiaerp.vip') {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user