Commit ad204828 authored by 季圣华's avatar 季圣华
Browse files

给首页增加weixin展示图标

parent 410f8862
...@@ -123,7 +123,18 @@ ...@@ -123,7 +123,18 @@
<a-card :bordered="false" :body-style="{padding: '5'}" data-step="7" data-title="服务和版权" <a-card :bordered="false" :body-style="{padding: '5'}" data-step="7" data-title="服务和版权"
data-intro="展示服务到期时间(快到期时会出现续费链接,请注意及时续费)、 data-intro="展示服务到期时间(快到期时会出现续费链接,请注意及时续费)、
用户数量(是指最多可以录入的用户数量)、版权信息"> 用户数量(是指最多可以录入的用户数量)、版权信息">
<div class="hidden-xs" style="float:right;">&copy; 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>
&copy; 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.expireTime}}</a-tag>
<a-tag v-if="tenant.type==0" color="blue">试用用户:{{tenant.userCurrentNum}}/{{tenant.userNumLimit}}</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> <a-tag v-if="tenant.type==1" color="blue">服务到期:{{tenant.expireTime}}</a-tag>
...@@ -166,6 +177,7 @@ ...@@ -166,6 +177,7 @@
}, },
data() { data() {
return { return {
hovered: false,
systemTitle: window.SYS_TITLE, systemTitle: window.SYS_TITLE,
systemUrl: window.SYS_URL, systemUrl: window.SYS_URL,
loading: true, loading: true,
...@@ -252,6 +264,17 @@ ...@@ -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
}
} }
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment