Explorar el Código

修改首页店长专区为rank>=2时显示

junyuanz hace 4 años
padre
commit
4235357f95
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pages/home/home.wxml

+ 1 - 1
pages/home/home.wxml

@@ -38,7 +38,7 @@
       	<image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/navigation_icons/shop_apply.png" class="item-index"  wx:if="{{userinfo.rank < 2}}"/>
         <view class="item-name" wx:if="{{userinfo.rank < 2}}">申请店长</view>
         <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/navigation_icons/shop_zone.png" class="item-index"  wx:if="{{userinfo.rank == 2}}"/>
-        <view class="item-name" wx:if="{{userinfo.rank == 2}}">店长专区</view>
+        <view class="item-name" wx:if="{{userinfo.rank >= 2}}">店长专区</view>
       </view>
       
       <view bindtap="toabout">