You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
1.1 KiB

<view><block wx:if="{{isFixed}}"><view style="{{'visibility:hidden;'+('height:'+(navHeight+'px')+';')}}"></view></block><view class="{{['navTabBox',(isFixed)?'isFixed':'']}}" style="{{('background: linear-gradient(90deg, '+bgColor[0].item+' 50%, '+bgColor[1].item+' 100%);margin-top:'+mbConfig*2+'rpx;color:'+txtColor+';top:'+isTop)}}"><view class="longTab"><scroll-view style="white-space:nowrap;display:flex;" scroll-x="true" scroll-with-animation="{{true}}" scroll-left="{{tabLeft}}" show-scrollbar="true"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['longItem',index===tabClick?'click':'']}}" style="{{('width:'+isWidth+'px')}}" url="{{'/pages/goods/goods_list/index?cid='+item.$orig.id+'&title='+item.$orig.cate_name}}" data-index="{{index}}" id="{{'id'+index}}" data-event-opts="{{[['tap',[['longClick',['$0',index],[[['tabTitle','',index]]]]]]]}}" bindtap="__e">{{''+item.m0+''}}</view></block><view class="underlineBox" style="{{('transform:translateX('+isLeft+'px);width:'+isWidth+'px')}}"><view class="underline"></view></view></scroll-view></view></view></view>