1 |
- <view class="u-dropdown data-v-0591b8ed"><scroll-view scroll-x="{{true}}" scroll-with-animation="{{true}}" scroll-left="{{scrollLeft}}" class="data-v-0591b8ed"><view class="{{((('u-dropdown__menu')+' '+'data-v-0591b8ed')+' '+((borderBottom)?'u-border-bottom':''))}}" style="{{'height:'+($root.g0)+';'}}"><block tt:for="{{menuList}}" tt:for-item="item" tt:for-index="index" tt:key="index"><view data-event-opts="{{[['tap',[['menuClick',[index]]]]]}}" class="u-dropdown__menu__item data-v-0591b8ed" catchtap="__e"><view class="u-flex data-v-0591b8ed"><text class="u-dropdown__menu__item__text data-v-0591b8ed" style="{{'color:'+(item.disabled?'#c0c4cc':index===current||highlightIndex==index?activeColor:inactiveColor)+';'+('font-size:'+($root.g1)+';')}}">{{item.title}}</text><view class="{{((('u-dropdown__menu__item__arrow')+' '+'data-v-0591b8ed')+' '+((index===current)?'u-dropdown__menu__item__arrow--rotate':''))}}"><u-icon vue-id="{{'b1d01cce-1-'+index}}" custom-style="{{({display:'flex'})}}" name="{{menuIcon}}" size="{{$root.g2}}" color="{{index===current||highlightIndex==index?activeColor:'#c0c4cc'}}" class="data-v-0591b8ed" bind:__l="__l"></u-icon></view></view></view></block></view></scroll-view><view data-event-opts="{{[['tap',[['maskClick',['$event']]]],['touchmove',[['',['$event']]]]]}}" class="u-dropdown__content data-v-0591b8ed" style="{{$root.s0}}" bindtap="__e" catchtouchmove="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="u-dropdown__content__popup data-v-0591b8ed" style="{{$root.s1}}" catchtap="__e"><slot></slot></view><view class="u-dropdown__content__mask data-v-0591b8ed"></view></view></view>
|