Bläddra i källkod

当没有线下电话时隐藏电话

XWookey 10 månader sedan
förälder
incheckning
7fd1941536
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      pages/charginfo/charginfo.wxml

+ 1 - 1
pages/charginfo/charginfo.wxml

@@ -13,7 +13,7 @@
             </block>   
           </text>
           <text class="grey address">{{address}}</text>
-          <view  class="grey_underline" bindtap="callphone"><text class="grey">线下运维电话:</text><image src="/images/phone_underline.png"/><text class="phone"  > {{offlineServicecall}}</text></view>
+          <view  class="grey_underline" bindtap="{{!!offlineServicecall?'callphone':''}}"><text class="grey">线下运维电话:</text><block wx:if="{{!!offlineServicecall}}"><image src="/images/phone_underline.png"/><text class="phone"  > {{offlineServicecall}}</text></block></view>
         </view>
       </view>