From c5855f5eb22d2dd1d30d32d1d4f06a566b532a98 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期二, 22 八月 2023 14:14:48 +0800 Subject: [PATCH] Revert "no message" --- h5/apph5/pages/wxkf/gzhAuthBack.vue | 96 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 96 insertions(+), 0 deletions(-) diff --git a/h5/apph5/pages/wxkf/gzhAuthBack.vue b/h5/apph5/pages/wxkf/gzhAuthBack.vue new file mode 100644 index 0000000..0c9254c --- /dev/null +++ b/h5/apph5/pages/wxkf/gzhAuthBack.vue @@ -0,0 +1,96 @@ +<template> + <view> + {{txt}} + </view> +</template> + +<script> + import comUtils from '../../utils/ComUtils.js' + export default { + data() { + return { + txt: '' + } + }, + onLoad(option) { + this.wxAuth(option.code); + }, + methods: { + fuzhi() { + var that = this; + uni.setClipboardData({ + data: that.code + }); + }, + wxAuth(code) { + uni.showLoading({ + title: '鎺堟潈涓�', + mask: true + }); + var that = this; + that.$http.post('/wxback/KfWx/GetAuthCode', { + code: code + }).then(e => { + console.log(e); + uni.hideLoading(); + if (e == true) + { + this.txt = "鎺堟潈鎴愬姛锛岃鍏抽棴姝ら〉闈�" + } + else{ + this.txt =e; + } + + }).catch(function(err) { + console.log(err); + }) + + } + }, + } +</script> + +<style> + .item-head { + text-align: center; + padding: 1rem; + font-weight: 600; + color: linear-gradient(-90deg, #fe3a3f, #faa450); + color: #fe3a3f; + background: linear-gradient(-90deg, #fe3a3f, #faa450); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + } + + .bottom-show { + text-align: center; + width: 100%; + padding-bottom: 1rem; + color: #fe3a3f; + background: linear-gradient(-90deg, #fe3a3f, #faa450); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + font-weight: 600; + } + + .txt-sty { + text-align: center; + } + + .main-cont {} + + .head-txt { + margin: 0.4rem 0 2rem 0; + } + + .head-img { + width: 5rem; + height: 5rem; + margin-top: 4rem; + } + + .ercode-img { + width: 16rem; + height: 16rem; + } +</style> \ No newline at end of file -- Gitblit v1.9.3