1 |
- <view class="MenuTab"><view class="menuBox"><u-tabs vue-id="fd3db550-1" list="{{typeList}}" lineWidth="30" lineColor="#f1f1f1" activeStyle="{{({color:'#000',fontWeight:'bold',fontSize:'40rpx'})}}" itemStyle="padding-left: 15px; padding-right: 15px; height: 34px;" current="{{activeId}}" data-event-opts="{{[['^change',[['changeFirstTab']]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['right']}}"><view style="padding-left:4px;" slot="right" data-event-opts="{{[['tap',[['handleShowAll',['$event']]]]]}}" bindtap="__e"><view class="custom-icon custom-icon-all _i"></view></view></u-tabs></view><view hidden="{{!(show)}}" class="subMenuBox"><view class="subTitle">所有分类</view><view class="subMenu"><block wx:for="{{typeList}}" wx:for-item="item" wx:for-index="index" wx:key="id"><u-tag vue-id="{{'fd3db550-2-'+index}}" text="{{item.name}}" type="warning" shape="circle" data-event-opts="{{[['^click',[['changeSecondTab',['$0',index],[[['typeList','id',item.id]]]]]]]}}" bind:click="__e" bind:__l="__l"></u-tag></block></view></view><view hidden="{{!(show)}}" class="overlay"></view></view>
|