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 line
2.2 KiB
1 line
2.2 KiB
3 months ago
|
<view class="tui-swipeout-wrap data-v-6bb0f840" style="{{'background-color:'+(backgroundColor)+';'}}"><view class="{{['tui-swipeout-item','data-v-6bb0f840',isShowBtn?'swipe-action-show':'']}}" style="{{'transform:'+('translate('+position.pageX+'px,0)')+';'}}"><view data-event-opts="{{[['touchstart',[['handlerTouchstart',['$event']]]],['touchmove',[['handlerTouchmove',['$event']]]],['touchend',[['handlerTouchend',['$event']]]],['mousedown',[['handlerTouchstart',['$event']]]],['mousemove',[['handlerTouchmove',['$event']]]],['mouseup',[['handlerTouchend',['$event']]]]]}}" class="tui-swipeout-content data-v-6bb0f840" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e" bindmousedown="__e" bindmousemove="__e" bindmouseup="__e"><slot name="content"></slot></view><block wx:if="{{$root.g0>0}}"><view data-event-opts="{{[['touchend',[['loop',['$event']]]]]}}" class="tui-swipeout-button-right-group data-v-6bb0f840" catchtouchend="__e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="tui-swipeout-button-right-item data-v-6bb0f840" style="{{'background-color:'+(item.$orig.background||'#f7f7f7')+';'+('color:'+(item.$orig.color)+';')+('width:'+(item.$orig.width+'px')+';')}}" data-index="{{index}}" data-event-opts="{{[['tap',[['handlerButton',['$event']]]]]}}" bindtap="__e"><block wx:if="{{item.$orig.icon}}"><image style="{{'width:'+(item.m0)+';'+('height:'+(item.m1)+';')}}" src="{{item.$orig.icon}}" class="data-v-6bb0f840"></image></block><text style="{{'font-size:'+(item.m2)+';'}}" class="data-v-6bb0f840">{{item.$orig.name}}</text></view></block></view></block><block wx:if="{{$root.g1===0}}"><view data-event-opts="{{[['touchend',[['loop',['$event']]]],['tap',[['handlerParentButton',['$event']]]]]}}" class="tui-swipeout-button-right-group data-v-6bb0f840" style="{{'width:'+(operateWidth+'px')+';'+('right:'+('-'+operateWidth+'px')+';')}}" catchtouchend="__e" bindtap="__e"><slot name="button"></slot></view></block></view><block wx:if="{{isShowBtn&&showMask}}"><view data-event-opts="{{[['tap',[['closeButtonGroup',['$event']]]],['touchstart',[['closeButtonGroup',['$event']]]]]}}" class="swipe-action_mask data-v-6bb0f840" catchtap="__e" catchtouchstart="__e"></view></block></view>
|