zhanghui 2 lat temu
rodzic
commit
6c68eca3a7

+ 1 - 1
components/tabBar/tabBar.vue

@@ -112,7 +112,7 @@
 
 	.box {
 		width: 750rpx;
-		height: 138rpx;
+		height: 108rpx;
 		background: #F7F7F7;
 	}
 

+ 1 - 1
myPages/ServiceObjectManagement/index.vue

@@ -6,7 +6,7 @@
         <view class="service-object-list" >
           <view v-for="(item,index) in serviceObjectList" class="store-content" :key="index">
             <view class="store-img">
-              <image  :src="item.facePhotoUrl || '/static/logo.png'" mode="center"></image>
+              <image  :src="item.facePhotoUrl || '/static/logo.png'" mode="aspectFill"></image>
             </view>
             <view class="content">
               <view class="title-price">

+ 1 - 1
myPages/serviceObjectAllInfo/index.vue

@@ -10,7 +10,7 @@
                     </view>
                     <view  class="arrow-right">
                         <view class="head-img" @click="uploadImg1(1)">
-                            <image v-if="userInfo.facePhotoUrl" :src="userInfo.facePhotoUrl" mode=""></image>
+                            <image v-if="userInfo.facePhotoUrl" :src="userInfo.facePhotoUrl" mode="aspectFill"></image>
                             <image v-else src="../../static/me/u1796.png" mode=""></image>
                         </view>
                         <!-- <u-icon name="arrow-right" color="#666" size="26"></u-icon> -->

+ 1 - 1
myPages/serviceObjectFaceAuth/index.vue

@@ -10,7 +10,7 @@
       <view class="h-item-row">
         <view @click="uploadImg()" class="h-item">
           <view v-if="!facePhotoUrl" class="h-content">
-            <image src="/static/me/u01.png" mode="center"></image>
+            <image src="/static/me/u01.png" mode="aspectFill"></image>
             <view class="h-text">
               <text>添加人脸影像</text>
             </view>

+ 1 - 1
myPages/serviceObjectInfo/index.vue

@@ -10,7 +10,7 @@
                     </view>
                     <view @click="uploadImg1(1)" class="arrow-right">
                         <view class="head-img">
-                            <image :src="userInfo.facePhotoUrl || '/static/me/u4.png'" mode=""></image>
+                            <image :src="userInfo.facePhotoUrl || '/static/me/u4.png'" mode="aspectFill"></image>
                         </view>
                     </view>
                 </view>

+ 1 - 29
orderPages/bookService/index.vue

@@ -218,19 +218,6 @@ export default {
     // this.storeAllServiceList()
     this.category()
     this.selectDate()
-    if (!this.userInfo.phone) {
-      uni.showModal({
-        title: '温馨提示',
-        content: '请绑定手机号,以便为你提供服务',
-        success: res => {
-          if (res.confirm) {
-            uni.navigateTo({
-              url: '/myPages/setting/setting-telphone',
-            })
-          }
-        }
-      })
-    }
   },
 
   onShow() {
@@ -253,20 +240,6 @@ export default {
     //提交订单
     commitOrder() {
 
-      if (!this.userInfo.phone) {
-        uni.showModal({
-          title: '温馨提示',
-          content: '请绑定手机号,以便为你提供服务',
-          success: res => {
-            if (res.confirm) {
-              uni.navigateTo({
-                url: '/myPages/setting/setting-telphone',
-              })
-            }
-          }
-        })
-        return;
-      }
 
       if (!this.serviceObject) {
         uni.$u.toast('请选择服务对象')
@@ -283,8 +256,7 @@ export default {
           this.curServiceTab = 2
         }
       } else {
-        this.
-        ()
+        this.commonGeneralOrder()
       }
 
     },

+ 0 - 27
orderPages/storeService/index.vue

@@ -54,19 +54,6 @@ export default {
   onLoad() {
     // this.listServiceObject()
     this.userInfo = uni.getStorageSync('userInfo')
-    if (!this.userInfo.phone){
-      uni.showModal({
-        title:'温馨提示',
-        content:'请绑定手机号,以便为你提供服务',
-        success:res=>{
-          if (res.confirm){
-            uni.navigateTo({
-              url: '/myPages/setting/setting-telphone',
-            })
-          }
-        }
-      })
-    }
   },
   onShow() {
     // 服务对象
@@ -121,20 +108,6 @@ export default {
 
     commonGeneralOrder() {
 
-      if (!this.userInfo.phone){
-        uni.showModal({
-          title:'温馨提示',
-          content:'请绑定手机号,以便为你提供服务',
-          success:res=>{
-            if (res.confirm){
-              uni.navigateTo({
-                url: '/myPages/setting/setting-telphone',
-              })
-            }
-          }
-        })
-        return;
-      }
 
       if(!this.serviceObject){
         uni.$u.toast('请选择服务对象')

+ 17 - 0
pages/index/index.vue

@@ -493,6 +493,23 @@ export default {
     },
     // 去商品下单页面
     gotoGoods() {
+
+      this.userInfo = uni.getStorageSync('userInfo')
+      if (!this.userInfo.phone){
+        uni.showModal({
+          title:'温馨提示',
+          content:'请绑定手机号,以便为你提供服务',
+          success:res=>{
+            if (res.confirm){
+              uni.navigateTo({
+                url: '/myPages/setting/setting-telphone',
+              })
+            }
+          }
+        })
+        return
+      }
+
       uni.navigateTo({
         url: '/orderPages/bookService/index',
       })