登录界面增加微信小程序的链接
This commit is contained in:
parent
f67dd8b04c
commit
1ee410cc76
Binary file not shown.
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 17 KiB |
BIN
jshERP-web/public/static/weixin.jpg
Normal file
BIN
jshERP-web/public/static/weixin.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
@ -47,9 +47,14 @@
|
||||
<a-col>
|
||||
© 2015-2030 {{systemTitle}} - Powered By
|
||||
<a style="color:#00458a;" :href="systemUrl" target="_blank">官方网站</a>
|
||||
<span v-if="showWeixinSpan()" class="weixin" @mouseover="showWeixin" @click="hideWeixin">微信小程序</span>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</div>
|
||||
|
||||
<div v-if="showWeixinFlag" style="text-align: center; padding-top: 10px;">
|
||||
<img src="/static/weixin.jpg" style="width:200px" />
|
||||
</div>
|
||||
</a-form>
|
||||
</div>
|
||||
</template>
|
||||
@ -107,7 +112,8 @@
|
||||
currdatetime:'',
|
||||
randCodeImage:'',
|
||||
registerFlag:'',
|
||||
requestCodeSuccess:false
|
||||
requestCodeSuccess:false,
|
||||
showWeixinFlag:false,
|
||||
}
|
||||
},
|
||||
created () {
|
||||
@ -277,6 +283,20 @@
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
showWeixinSpan() {
|
||||
let host = window.location.host
|
||||
if(host === 'cloud.huaxiaerp.vip') {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
},
|
||||
showWeixin() {
|
||||
this.showWeixinFlag = true
|
||||
},
|
||||
hideWeixin() {
|
||||
this.showWeixinFlag = false
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -328,6 +348,12 @@
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
.weixin {
|
||||
padding-left:10px;
|
||||
color: red;
|
||||
cursor:pointer
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user