tm-sliderNav.wxml 1.1 KB

1
  1. <view class="tm-sliderNav fulled-height"><scroll-view style="{{'height:'+(activeHeight+'px')+';'+('width:'+(activeWidth+'px')+';')}}" scroll-y="{{true}}"><block wx:for="{{formaData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><tm-listitem vue-id="{{'7d19724e-1-'+index}}" disabled="{{item['disabled']==true?true:false}}" black="{{black_tmeme}}" color="{{activeIndex==index?text?' text '+color_tmeme:'white':bgColor}}" show-right-icon="{{false}}" margin="{{[0,0]}}" padding="{{[10,32]}}" fontSize="{{fontSize}}" class-style="{{activeIndex==index?'border-'+color_tmeme+'-l-2':'border-'+bgColor+'-l-2'}}" round="0" shadow="0" data-event-opts="{{[['^click',[['change',[index]]]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{item.dot>0&&dot}}"><tm-badges vue-id="{{('7d19724e-2-'+index)+','+('7d19724e-1-'+index)}}" color="red" fllowTheme="{{false}}" offset="{{[12,-10]}}" dot="{{false}}" label="{{item.dot}}" bind:__l="__l"></tm-badges></block><view><text class="{{['text-'+(activeIndex==index?color_tmeme:fontColor),item['disabled']?'opacity-3':'']}}">{{item[rangKey]}}</text></view></tm-listitem></block></scroll-view></view>