diff --git a/pages/cart/payment/payOrder.vue b/pages/cart/payment/payOrder.vue index e6060ac..0f8da5e 100644 --- a/pages/cart/payment/payOrder.vue +++ b/pages/cart/payment/payOrder.vue @@ -260,7 +260,7 @@ }, fail: (e) => { - console.log(e); + console.log(this); this.exception = e; uni.showModal({ content: "支付失败,如果您已支付,请勿反复支付", @@ -298,7 +298,7 @@ WeixinJSBridge.invoke( "getBrandWCPayRequest", response.result, - function(res) { + (res) => { if (res.err_msg == "get_brand_wcpay_request:ok") { // 使用以上方式判断前端返回,微信团队郑重提示: //res.err_msg将在用户支付成功后返回ok,但并不保证它绝对可靠。 diff --git a/pages/passport/codeLogin.vue b/pages/passport/codeLogin.vue index 62febf1..3fcfdb7 100644 --- a/pages/passport/codeLogin.vue +++ b/pages/passport/codeLogin.vue @@ -29,7 +29,6 @@ import storage from "@/utils/storage.js"; //缓存 import { whetherNavigate } from "@/utils/Foundation"; //登录跳转 import myVerification from "@/components/verification/verification.vue"; //验证码模块 import uuid from "@/utils/uuid.modified.js"; // uuid -import api from "@/config/api.js"; export default { components: { myVerification, @@ -192,21 +191,8 @@ export default { }, // 跳转到一键登录 clickLogin() { - // #ifndef APP-PLUS - //判断是否微信浏览器 - var ua = window.navigator.userAgent.toLowerCase(); - if (ua.match(/MicroMessenger/i) == "micromessenger") { - let code = "WECHAT"; - let buyer = api.buyer; - window.open(buyer + `/connect/login/web/` + code, "_self"); - } - else{ - this.$emit("open", "click"); - } - // #endif - // #ifdef APP-PLUS this.$emit("open", "click"); - // #endif + }, /**点击验证码*/ diff --git a/pages/passport/login.vue b/pages/passport/login.vue index cfd35fc..f2b455f 100644 --- a/pages/passport/login.vue +++ b/pages/passport/login.vue @@ -1,27 +1,33 @@ - - - + + + + + - - + + + + {{config.name}} + + + + + + + + + + + + + + 同意《用户协议》和《隐私政策》 + + + + - {{config.name}} - - - - - - - - - - - - - - 同意《用户协议》和《隐私政策》 - + +