yingzi 2 years ago
parent
commit
a705149431
5 changed files with 31 additions and 29 deletions
  1. 5 6
      manifest.json
  2. 22 19
      mixin/goPage.js
  3. 1 1
      pages.json
  4. 1 1
      pages/user/user.vue
  5. 2 2
      pagesT/money/Balance.vue

+ 5 - 6
manifest.json

@@ -1,6 +1,6 @@
 {
     "name" : "君海蓝",
-    "appid" : "__UNI__C6CD808",
+    "appid" : "__UNI__990DD8D",
     "description" : "六牛云商 - 为传统商户量身打造的全渠道线上线下一体化新零售营销系统! 以客户为中心,将线上和线下、进销存、CRM、财务一体化,完美融合!支持连锁、代理、经销多种运营模式,小程序一键发布,自定义APP界面,多套模板选择。7X24小时为您服务",
     "versionName" : "1.1.3",
     "versionCode" : 113,
@@ -148,16 +148,15 @@
             // "scope.userLocation" : {
             //     "desc" : "您的位置信息用来获取最近门店的商品信息"
             // }
-			"scope.userFuzzyLocation" : {
-			    "desc" : "您的位置信息用来获取最近门店的商品信息"
-			}
+            "scope.userFuzzyLocation" : {
+                "desc" : "您的位置信息用来获取最近门店的商品信息"
+            }
         },
         "optimization" : {
             "subPackages" : true
         },
         // "requiredPrivateInfos" : [ "getLocation", "chooseLocation" ]
-		"requiredPrivateInfos" : [ "getFuzzyLocation", "chooseLocation" ]
-		
+        "requiredPrivateInfos" : [ "getFuzzyLocation", "chooseLocation" ]
     },
     "h5" : {
         "sdkConfigs" : {

+ 22 - 19
mixin/goPage.js

@@ -182,27 +182,30 @@ export default {
 		// 再次获取授权 微信小程序
 		// 当用户第一次拒绝后再次请求授权
 		openConfirm() {
-			uni.showModal({
-				title: '请求授权当前位置',
-				content: '商品信息将无法正常显示,请确认授权',
-				success: res => {
+			// uni.showModal({
+			// 	title: '请求授权当前位置',
+			// 	content: '商品信息将无法正常显示,请确认授权',
+			// 	success: res => {
 						
-					if(res.confirm) {
-						this.isLoding = true
-						uni.openSetting({
-							success: reso => {
-								if (!reso.authSetting['scope.userLocation']) {
-									this.openConfirm();
-								}
-							},
-							complete: () => {
-								this.isLoding = false
-							}
-						});
-					}
+			// 		if(res.confirm) {
+			// 			this.isLoding = true
+			// 			uni.openSetting({
+			// 				success: reso => {
+			// 					// if (!reso.authSetting['scope.userLocation']) {
+			// 					// 	this.openConfirm();
+			// 					// }
+			// 					if (!reso.authSetting['scope.userFuzzyLocation']) {
+			// 						this.openConfirm();
+			// 					}
+			// 				},
+			// 				complete: () => {
+			// 					this.isLoding = false
+			// 				}
+			// 			});
+			// 		}
 					
-				}
-			});
+			// 	}
+			// });
 		},
 		// 获取定位
 		getLocation() {

+ 1 - 1
pages.json

@@ -191,7 +191,7 @@
 			{
 				"path": "user/guquan",
 				"style": {
-					"navigationBarTitleText": "股"
+					"navigationBarTitleText": "股"
 				}
 			},
 			{

+ 1 - 1
pages/user/user.vue

@@ -250,7 +250,7 @@
 				<view class="list-li clearfix" @click="navTo('/pagesT/user/guquan')">
 					<view class="fn-icon">
 						<image src="https://api.junhailan.com/img/user/gq.png" mode="aspectFill"></image>
-						<view>股</view>
+						<view>股</view>
 					</view>
 				</view>
 				<!-- #ifdef MP -->

+ 2 - 2
pagesT/money/Balance.vue

@@ -8,11 +8,11 @@
 			</view>
 		</view>
 		<view class="bth-ul">
-			<view class="btn-li" @click="goPage('/pagesT/money/addWithdrawal')">
+			<!-- <view class="btn-li" @click="goPage('/pagesT/money/addWithdrawal')">
 				<text class="ibonfont ibondaifukuan"></text>
 				<text class="label">余额提现</text>
 				<text class="ibonfont ibonjinru float_right"></text>
-			</view>
+			</view> -->
 
 			<view class="btn-li clearfix" @click="goPage('/pagesT/money/BalanceDetail')">
 				<text class="ibonfont ibonnavicon-jylstj"></text>