ycm 2 лет назад
Родитель
Сommit
bf90abe26d

+ 2 - 1
pages/control/order/order.wxml

@@ -19,7 +19,8 @@
         </view>
         <view class="flex m-top-25">
             <view class="le  m-right-25">增值服务</view>
-            <view class="lr"><text class="m-right-10">无</text></view>
+            <view wx:if="{{data.service.length>0}}" class="lr"><text class="m-right-10">{{data.service}}</text></view>
+            <view wx:else class="lr"><text class="m-right-10">无</text></view>
         </view>
     </view>
 </view>

+ 2 - 1
pages/record/recorddetails/recorddetails.wxml

@@ -43,7 +43,8 @@
         </view>
         <view class="itemdisplay">
             <view class="font_b">增值服务</view>
-            <view>暂无</view>
+            <view wx:if="{{info.service.length}}">{{info.service}}</view>
+            <view wx:else>无</view>
         </view>
     </view>
 </view>

+ 4 - 3
pages/sorting/enter/enter.wxml

@@ -36,10 +36,10 @@
             <view class="tit m-right-25">洗护标准</view>
             <view class="content">{{standards}}</view>
         </view>
-        <view class="flex">
+        <!-- <view class="flex">
             <view class="tit  m-right-25">增值服务</view>
             <view class="content">无</view>
-        </view>
+        </view> -->
     </view>
     <view class="right">(注意核实下单信息进行区分)</view>
 </view>
@@ -69,7 +69,8 @@
                     </view>
                     <view class=" flex">
                         <view class="le m-right-20">增值服务</view>
-                        <view>暂无</view>
+                        <view wx:if="{{item.service.length>0}}">{{item.service}}</view>
+                        <view wx:else>无</view>
                     </view>
                 </view>