登录界面增加微信小程序的链接

This commit is contained in:
季圣华 2022-04-15 20:44:21 +08:00
parent f67dd8b04c
commit 1ee410cc76
3 changed files with 27 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

View File

@ -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>