登录界面增加微信小程序的链接
This commit is contained in:
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>
|
<a-col>
|
||||||
© 2015-2030 {{systemTitle}} - Powered By
|
© 2015-2030 {{systemTitle}} - Powered By
|
||||||
<a style="color:#00458a;" :href="systemUrl" target="_blank">官方网站</a>
|
<a style="color:#00458a;" :href="systemUrl" target="_blank">官方网站</a>
|
||||||
|
<span v-if="showWeixinSpan()" class="weixin" @mouseover="showWeixin" @click="hideWeixin">微信小程序</span>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div v-if="showWeixinFlag" style="text-align: center; padding-top: 10px;">
|
||||||
|
<img src="/static/weixin.jpg" style="width:200px" />
|
||||||
|
</div>
|
||||||
</a-form>
|
</a-form>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -107,7 +112,8 @@
|
|||||||
currdatetime:'',
|
currdatetime:'',
|
||||||
randCodeImage:'',
|
randCodeImage:'',
|
||||||
registerFlag:'',
|
registerFlag:'',
|
||||||
requestCodeSuccess:false
|
requestCodeSuccess:false,
|
||||||
|
showWeixinFlag:false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
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;
|
float: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.weixin {
|
||||||
|
padding-left:10px;
|
||||||
|
color: red;
|
||||||
|
cursor:pointer
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user