Browse Source

bug修改

twt 1 year ago
parent
commit
b63b04af1f

+ 63 - 1
pages/index/couponShare.vue

@@ -65,7 +65,7 @@
 				<button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
 			</view>
 			<view style="text-align: center;padding-top: 56rpx;">
-				<image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
+				<image src="../../static/timg/icon_guanbi@2x.png" mode="" @click="hideSq" class="authorizCloseImg"></image>
 			</view>
 		</view>
 		
@@ -121,6 +121,9 @@
 			
 		},
 		methods: {
+			hideSq(){
+				this.authorizShow=false;
+			},
 			getShareParams(){
 				this.$http('openMall/getShareParamsCache', {
 				  scene:this.scene,
@@ -326,4 +329,63 @@
 		margin-top: 16rpx;
 		margin-left: 28rpx;
 	}
+	.authorizBox{
+			width: 100vw;
+			height: 100vh;
+			background: rgba(0, 0, 0, 0.5);
+			position: fixed;
+			top: 0;
+			left: 0;
+		}
+		.authorizCont{
+			margin-top: 30vh;
+			width: 564rpx;
+			height: 408rpx;
+			background: #FFFFFF;
+			border-radius: 24rpx;
+			margin-left: 93rpx;
+			position: relative;
+		}
+		.authorizCloseImg{
+			width: 62rpx;
+			height: 62rpx;
+		}
+		.sqLogoBox{
+			width: 180rpx;
+			height: 180rpx;
+			background: #FFFFFF;
+			border-radius: 90rpx;
+			text-align: center;
+			position: absolute;
+			top: -50rpx;
+			left: 192rpx;
+		}
+		.authorizName{
+			color: #333333;
+			line-height: 42rpx;
+			font-size: 30rpx;
+			text-align: center;
+			padding-top: 58rpx;
+		}
+		.authorizMs{
+			color: #999999;
+			line-height: 36rpx;
+			font-size: 26rpx;
+			width: 452rpx;
+			padding-top: 24rpx;
+			text-align: center;
+			margin-left: 56rpx;
+		}
+		.authorizContbutton{
+			width: 422rpx;
+			height: 88rpx;
+			background: #D53533;
+			border-radius: 44rpx;
+			line-height: 88rpx;
+			text-align: center;
+			font-size:30rpx;
+			color: #FFFFFF;
+			margin-top: 62rpx;
+			margin-left:71rpx;
+		}
 </style>

+ 6 - 1
pages/index/onlineBooking.vue

@@ -227,6 +227,10 @@
 					}else{
 					 that.getInfo()
 					}
+					if(!this.userInfo){
+						uni.hideLoading();
+						this.authorizShow=true
+					}
 					
 				})
 			}
@@ -296,6 +300,7 @@
 					lng: this.location.lng ? this.location.lng : '',
 					shopId: this.naShopId,
 				}, 'GET').then(res => {
+					 uni.hideLoading();
 					this.shopInfo = res.data.shopInfo;
 					this.data = res.data;
 					
@@ -308,7 +313,7 @@
 						}
 					});
 
-
+                   
 					this.listBigTags()
 				})
 			},

+ 1 - 1
pages/index/receiveCoupon.vue

@@ -37,7 +37,7 @@
 				<button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
 			</view>
 			<view style="text-align: center;padding-top: 56rpx;">
-				<image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
+				<image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
 			</view>
 		</view>
 	

+ 1 - 1
pages/index/vipCard.vue

@@ -229,7 +229,7 @@
  			<button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  		</view>
  		<view style="text-align: center;padding-top: 56rpx;">
- 			<image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
+ 			<image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  		</view>
  	</view>
 

+ 1 - 1
pages/integral/integral.vue

@@ -79,7 +79,7 @@
 					<button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
 				</view>
 				<view style="text-align: center;padding-top: 56rpx;">
-					<image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
+					<image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
 				</view>
 			</view>
 	</view>

+ 1 - 1
pages/partner/bonus.vue

@@ -31,7 +31,7 @@
  			<button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  		</view>
  		<view style="text-align: center;padding-top: 56rpx;">
- 			<image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
+ 			<image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  		</view>
  	</view>
 </view>

+ 1 - 1
pages/partner/people.vue

@@ -29,7 +29,7 @@
  			<button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  		</view>
  		<view style="text-align: center;padding-top: 56rpx;">
- 			<image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
+ 			<image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  		</view>
  	</view>
 </view>

+ 1 - 1
pages/report/complete.vue

@@ -99,7 +99,7 @@
     			<button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
     		</view>
     		<view style="text-align: center;padding-top: 56rpx;">
-    			<image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
+    			<image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
     		</view>
     	</view>
 	</view>

+ 1 - 1
pages/report/working.vue

@@ -81,7 +81,7 @@
 			<button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
 		</view>
 		<view style="text-align: center;padding-top: 56rpx;">
-			<image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
+			<image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
 		</view>
 	</view>
 	</view>

+ 1 - 1
pages/user/historyDetail.vue

@@ -206,7 +206,7 @@
 						@getphonenumber="decryptPhoneNumber">授权</button>
 				</view>
 				<view style="text-align: center;padding-top: 56rpx;">
-					<image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
+					<image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
 				</view>
 			</view>
 

+ 1 - 1
pages/user/reportUni.vue

@@ -206,7 +206,7 @@
 					@getphonenumber="decryptPhoneNumber">授权</button>
 			</view>
 			<view style="text-align: center;padding-top: 56rpx;">
-				<image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
+				<image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
 			</view>
 		</view>
 	</view>