menus.wxml 1.2 KB

1
  1. <view class="menu-main"><block wx:if="{{$root.g0}}"><view class="nav acea-row acea-row"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view data-event-opts="{{[['tap',[['menusTap',['$0'],[[['menus','',index,'info.__$n1.value']]]]]]]}}" class="item" bindtap="__e"><view class="pictrue"><easy-loadimage vue-id="{{'27d76aea-1-'+index}}" mode="widthFix" image-src="{{item.$orig.img}}" bind:__l="__l"></easy-loadimage></view><view class="menu-txt">{{item.m0}}</view></view></block></block></view></block><block wx:if="{{$root.g1}}"><view class="nav acea-row acea-row"><block wx:for="{{menus}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view data-event-opts="{{[['tap',[['menusTap',['$0'],[[['menus','',index,'info.__$n1.value']]]]]]]}}" class="item" bindtap="__e"><view class="pictrue"><image src="{{item.img}}"></image></view><view class="menu-txt">{{item.info[0].value}}</view></view></block></block></view></block><block wx:if="{{$root.g2}}"><view class="nav acea-row acea-row"><view class="item"><view class="pictrue default"><text class="iconfont icon-icon25201"></text></view><view class="menu-txt">{{$root.m1}}</view></view></view></block></view>