index.wxml 1.1 KB

1
  1. <block wx:if="{{newData}}"><view class="data-v-70846ef5"><view class="page-footer data-v-70846ef5" id="target"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goRouter',['$0'],[[['newData.menuList','',index]]]]]]]}}" class="foot-item data-v-70846ef5" style="{{'background-color:'+(newData.bgColor.color[0].item)+';'}}" bindtap="__e"><block wx:if="{{item.$orig.link==activityTab}}"><block class="data-v-70846ef5"><image class="active data-v-70846ef5" src="{{item.$orig.imgList[0]}}"></image><view class="txt data-v-70846ef5" style="{{'color:'+(newData.activeTxtColor.color[0].item)+';'}}">{{item.m0}}</view></block></block><block wx:else><block class="data-v-70846ef5"><image src="{{item.$orig.imgList[1]}}" class="data-v-70846ef5"></image><view class="txt data-v-70846ef5" style="{{'color:'+(newData.txtColor.color[0].item)+';'}}">{{item.m1}}</view></block></block><block wx:if="{{item.$orig.link==='/pages/order_addcart/order_addcart'&&cartNum>0}}"><view class="count-num _div data-v-70846ef5">{{''+(cartNum>99?'99+':cartNum)+''}}</view></block></view></block></view></view></block>