Browse Source

安徒生bug修改

twt 1 year ago
parent
commit
743b87c815
5 changed files with 16 additions and 13 deletions
  1. 3 3
      pages.json
  2. 4 1
      pages/index/index.vue
  3. 7 7
      pages/index/shopList.vue
  4. 1 1
      utils/common.js
  5. 1 1
      utils/request.js

+ 3 - 3
pages.json

@@ -585,19 +585,19 @@
 				{
 					"pagePath": "pages/shop/shop",
 					"iconPath": "./static/tabimg/shop2.png",
-					"selectedIconPath": "./static/tabimg/shop1.png",
+					"selectedIconPath": "./static/tabimg/shop1677FF.png",
 					"text": "商城"
 				},
 				{
 					"pagePath": "pages/activity/activity",
 					"iconPath": "./static/tabimg/activty2.png",
-					"selectedIconPath": "./static/tabimg/activity1.png",
+					"selectedIconPath": "./static/tabimg/activty1677FF.png",
 					"text": "活动"
 				},
 				{
 					"pagePath": "pages/user/user",
 					"iconPath": "./static/tabimg/me2.png",
-					"selectedIconPath": "./static/tabimg/me1.png",
+					"selectedIconPath": "./static/tabimg/me1677FF.png",
 					"text": "我的"
 				}
 

+ 4 - 1
pages/index/index.vue

@@ -241,7 +241,7 @@
 		
 		<view style="height: 60rpx;"></view>
 		<!-- 手机号授权 -->
-		<view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">
+		<view class="authorizBox" v-if="authorizShow" @click="authorizShowHide">
 			<view class="authorizCont" @click.stop="">
 				<view class="authorizName">{{wxOpenData.miniAppName}}</view>
 				<view class="authorizMs">您好,欢迎访问本店,授权手机号登录能获取我们最新的促销活动哦~</view>
@@ -363,6 +363,9 @@
 			}, 1000);
 		},
 		methods: {
+			authorizShowHide(){
+				this.authorizShow=false
+			},
 			UpdateManager(){
 				const updateManager = uni.getUpdateManager();
 				updateManager.onCheckForUpdate(function (res) {

+ 7 - 7
pages/index/shopList.vue

@@ -172,11 +172,11 @@
 				this.authorizShow=false
 			},
 			decryptPhoneNumber: function(e) {
-						  console.log(e);
-						  this.code=e.detail.code
-						  this.wxPhoneLogin()
-						  this.authorizShow=false;
-						},
+				  console.log(e);
+				  this.code=e.detail.code
+				  this.wxPhoneLogin()
+				  this.authorizShow=false;
+			},
 			wxPhoneLogin(){
 					 var that=this;
 					 this.$http('miniApp2/sys/wxPhoneLogin', {
@@ -191,7 +191,7 @@
 							this.wxOpenData=data.loginInfo;
 							this.$store.commit('mutationswxOpenData', data)
 							this.$store.commit('mutationsuserInfo', this.userInfo)
-						    this.getInfo()
+						    this.init()
 						}	
 					  })
 			},
@@ -227,7 +227,7 @@
 			},
 			gocity(){
 				uni.navigateTo({
-					url:'/pages/subPack/chooseCity'
+					url:'/pages/subPack/chooseCity?type=1'
 				})
 			},
 			checkarea(item){

+ 1 - 1
utils/common.js

@@ -73,7 +73,7 @@ function noMultipleClicks(methods, info) {
 function getExtStoreId(type){
 	try{
 	 var extConfig = uni.getExtConfigSync ? uni.getExtConfigSync() : {shopId:'默认的门店id'};
-		/*  extConfig={
+		 /* extConfig={
 		  	"shopId": "23173848-292E-4AEA-B590-73AC9A763F1D",
 		  	"url":"https://store-api.qdbtl.cn/",
 		  	"unionId":"C3748B46-B778-40AA-8C60-A9B0F2FA23A7",

+ 1 - 1
utils/request.js

@@ -10,7 +10,7 @@ const extConfig = uni.getExtConfigSync();
 console.log(extConfig)
 const baseUrl=extConfig.url+'/'
 //const baseUrl='http://192.168.0.147:20187/'
-//const baseUrl='http://192.168.0.129:20189/'
+//const baseUrl='https://store-api.qdbtl.cn/'
 //const baseUrl='http://dms.66km.com.cn/'
 //wxc023ff04deb28f2d正式  wx33053a645546ec31 E37BB296-5A08-4534-859D-B351BA611AF9 EEADACCD-8A19-499D-8AD7-6975D2C93243 
 //测试地址