Explorar el Código

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

XWookey hace 10 meses
padre
commit
7fd1941536
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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>