2025-03-21 16:49:54 +08:00

1 line
1.7 KiB
Plaintext

<block wx:if="{{value}}"><view class="tn-action-sheet-class tn-action-sheet data-v-06fa708c"><tn-popup vue-id="0da97112-1" mode="bottom" length="auto" popup="{{false}}" borderRadius="{{borderRadius}}" maskCloseable="{{maskCloseable}}" safeAreaInsetBottom="{{safeAreaInsetBottom}}" zIndex="{{elZIndex}}" value="{{value}}" data-event-opts="{{[['^close',[['close']]],['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:close="__e" bind:input="__e" class="data-v-06fa708c" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{tips.text}}"><view class="tn-action-sheet__tips border-solid-bottom data-v-06fa708c" 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-06fa708c"><view class="{{['tn-action-sheet__item','tn-text-ellipsis','data-v-06fa708c',index<item.g0-1?'border-solid-bottom':'']}}" style="{{item.s1}}" hover-class="tn-hover-class" hover-stay-time="{{150}}" data-event-opts="{{[['tap',[['itemClick',[index]]]],['touchmove',[['',['$event']]]]]}}" bindtap="__e" catchtouchmove="__e"><text class="data-v-06fa708c">{{item.$orig.text}}</text><block wx:if="{{item.$orig.subText}}"><text class="tn-action-sheet__item__subtext tn-text-ellipsis data-v-06fa708c">{{item.$orig.subText}}</text></block></view></block></block><block wx:if="{{cancelBtn}}"><block class="data-v-06fa708c"><view class="tn-action-sheet__cancel--gab data-v-06fa708c"></view><view class="tn-action-sheet__cancel tn-action-sheet__item data-v-06fa708c" hover-class="tn-hover-class" hover-stay-time="{{150}}" data-event-opts="{{[['tap',[['close',['$event']]]]]}}" bindtap="__e">{{cancelText}}</view></block></block></tn-popup></view></block>