u-action-sheet.wxml 1.5 KB
<u-popup vue-id="430f7e86-1" mode="bottom" border-radius="{{borderRadius}}" popup="{{false}}" maskCloseAble="{{maskCloseAble}}" length="auto" safeAreaInsetBottom="{{safeAreaInsetBottom}}" z-index="{{uZIndex}}" value="{{value}}" data-event-opts="{{[['^close',[['popupClose']]],['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:close="__e" bind:input="__e" class="data-v-6f495b00" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{tips.text}}"><view class="u-tips u-border-bottom data-v-6f495b00" style="{{$root.s0}}">{{''+tips.text+''}}</view></block><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-6f495b00"><view class="{{['u-action-sheet-item','u-line-1','data-v-6f495b00',index<list.length-1?'u-border-bottom':'']}}" style="{{item.s1}}" hover-stay-time="{{150}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['itemClick',[index]]]]]}}" catchtouchmove="__e" bindtap="__e"><text class="data-v-6f495b00">{{item.$orig.text}}</text><block wx:if="{{item.$orig.subText}}"><text class="u-action-sheet-item__subtext u-line-1 data-v-6f495b00">{{item.$orig.subText}}</text></block></view></block></block><block wx:if="{{cancelBtn}}"><view class="u-gab data-v-6f495b00"></view></block><block wx:if="{{cancelBtn}}"><view class="u-actionsheet-cancel u-action-sheet-item data-v-6f495b00" hover-class="u-hover-class" hover-stay-time="{{150}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['close',['$event']]]]]}}" catchtouchmove="__e" bindtap="__e">{{cancelText}}</view></block></u-popup>