| | |
| | | color: #1E8BE0 |
| | | } |
| | | </style> |
| | | <span class="txt">微信搜索或直接点击打开</span> |
| | | <span class="btn">【冀优邮】</span> |
| | | <span class="txt">小程序,享受更多优惠</span> |
| | | <div> |
| | | <span class="txt">微信搜索或直接点击打开</span> |
| | | <span class="btn">【冀优邮】</span> |
| | | <span class="txt">小程序,享受更多优惠</span> |
| | | </div> |
| | | </script> |
| | | </wx-open-launch-weapp> |
| | | </view> |
| | |
| | | /*授权unionid*/ |
| | | toRegister() { |
| | | if (this.payWay == 2) { |
| | | const redirect_uri = encodeURIComponent(`${config.webURL}/pay/scanpay?cid=${this.cid || ''}&shopId=${this.shopId || ''}&activityQrcodeId=${this.activityQrcodeId || ''}&smoney=${this.smoney || ''}`) |
| | | const redirect_uri = encodeURIComponent(`${config.webURL}/#/pay/scanpay?cid=${this.cid || ''}&shopId=${this.shopId || ''}&activityQrcodeId=${this.activityQrcodeId || ''}&smoney=${this.smoney || ''}`) |
| | | uni.clearStorageSync() |
| | | window.location.href = |
| | | `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${config.wx_appid}&redirect_uri=${redirect_uri}&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect` |
| | |
| | | res.logoImage = config.baseURL + res.logoImage |
| | | } |
| | | this.shopInfo = res |
| | | }).catch(() => { |
| | | }).catch((err) => { |
| | | clearTimeout(timer) |
| | | this.shopInfo.scanFlag = 0 |
| | | this.tips = '当前用户过多,请稍后重试~_~' |
| | | this.tips = err.description||'当前用户过多,请稍后重试~_~' |
| | | this.loading = false |
| | | }) |
| | | |