zhanghui 2 éve
szülő
commit
189e060146

+ 0 - 2
common/js/request.js

@@ -30,9 +30,7 @@ function service(options = {}) {
 			}
 		};
 		options.fail = (err) => {
-
 			console.log(err)
-
 			// 请求失败弹窗
 			uni.showToast({
 				icon: 'none',

+ 5 - 2
myPages/ServiceObjectManagement/index.vue

@@ -6,7 +6,7 @@
 
         <view v-for="item in serviceObjectList" class="store-content">
           <view class="store-img">
-            <image v-if="item.imgUrl" :src="item.imgUrl" mode=""></image>
+            <image v-if="item.facePhotoUrl" :src="item.facePhotoUrl" mode=""></image>
             <image v-else src="../../static/logo.png" mode=""></image>
           </view>
           <view class="content">
@@ -51,6 +51,9 @@
     mounted() {
     },
     onLoad() {
+
+    },
+    onShow(){
       // 查询服务对象列表
       this.listServiceObject();
     },
@@ -72,7 +75,7 @@
         for(let i = 0; i <items.length; i++) {
           if (items[i].facePhoto){
             this.$api.getImgUrlByOssId({ossId:items[i].facePhoto}).then(res=>{
-              items[i].facePhoto = res.data.data[0].url.replace(/^http:/, "https:")
+              items[i].facePhotoUrl = res.data.data[0].url.replace(/^http:/, "https:")
             })
           }
         }

+ 1 - 1
orderPages/useCoupons/index.vue

@@ -42,7 +42,7 @@
 
                         <view class="flex-row justify-center" v-if="item.discountsPrice>standardPrice">
                             <view class="h-btn-img">
-                                <image class="h-btn-img" src="/static/coupon/u2108.png" mode=""></image>
+                                <image class="h-btn-img" src="/static/coupon/u2110.png" mode=""></image>
                             </view>
                         </view>
 

BIN
static/coupon/u2110.png