Browse Source

fix 修复跳转bug

wzh 1 week atrás
parent
commit
215592ffd4
1 changed files with 3 additions and 2 deletions
  1. 3 2
      pages/cjx/shop/shop.vue

+ 3 - 2
pages/cjx/shop/shop.vue

@@ -6,8 +6,8 @@
 
 
 <script>
 <script>
 const appId = "wxe25fed34f9f70ef4";
 const appId = "wxe25fed34f9f70ef4";
-const url = "https%3A%2F%2Fcjxmall.dnzc.vip%2F";
-const urlTwo = "https%3A%2F%2Fcjxmall2.dnzc.vip%2F";
+const url = "https%3A%2F%2Fcjxmall.dnzc.vip";
+const urlTwo = "https%3A%2F%2Fcjxmall2.dnzc.vip";
 	export default {
 	export default {
 		data() {
 		data() {
 			return {
 			return {
@@ -19,6 +19,7 @@ const urlTwo = "https%3A%2F%2Fcjxmall2.dnzc.vip%2F";
       let type = opt.type;
       let type = opt.type;
       if(opt.pointType == 2){
       if(opt.pointType == 2){
         this.src = "https://d.dnzc.vip/cache/wx?appid="+appId+"&redirect_uri="+urlTwo+"%2Fpages%2Fusers%2Fwechat_login%2Findex%3Fstate="+type+"&response_type=code&scope=snsapi_userinfo&connect_redirect=1#wechat_redirect"
         this.src = "https://d.dnzc.vip/cache/wx?appid="+appId+"&redirect_uri="+urlTwo+"%2Fpages%2Fusers%2Fwechat_login%2Findex%3Fstate="+type+"&response_type=code&scope=snsapi_userinfo&connect_redirect=1#wechat_redirect"
+        console.log(this.src);
         return;
         return;
       }
       }
       // this.src = "https://cjxmall.dnzc.vip"
       // this.src = "https://cjxmall.dnzc.vip"