uni-swipe-action-item.wxml 1.3 KB
<wxs src="./index.wxs" module="swipe"></wxs>
<view class="uni-swipe data-v-63b7aaf3"><view class="uni-swipe_content data-v-63b7aaf3"><view class="uni-swipe_move-box selector-query-hock move-hock data-v-63b7aaf3" data-disabled="{{disabled}}" data-position="{{pos}}" change:prop="{{swipe.sizeReady}}" prop="{{pos}}" data-event-opts="{{[['change',[['change',['$event']]]]]}}" bindtouchstart="{{swipe.touchstart}}" bindtouchmove="{{swipe.touchmove}}" bindtouchend="{{swipe.touchend}}" bindchange="__e"><view class="uni-swipe_box data-v-63b7aaf3"><slot></slot></view><view data-ref="selector-button-hock" class="uni-swipe_button-group selector-query-hock move-hock data-v-63b7aaf3 vue-ref"><block wx:for="{{options}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="uni-swipe_button button-hock data-v-63b7aaf3" style="{{'background-color:'+(item.style&&item.style.backgroundColor?item.style.backgroundColor:'#C7C6CD')+';'+('font-size:'+(item.style&&item.style.fontSize?item.style.fontSize:'16px')+';')}}" data-button="{{btn}}" data-event-opts="{{[['tap',[['onClick',[index,'$0'],[[['options','',index]]]]]]]}}" catchtap="__e"><text class="uni-swipe_button-text data-v-63b7aaf3" style="{{'color:'+(item.style&&item.style.color?item.style.color:'#FFFFFF')+';'}}">{{item.text}}</text></view></block></view></view></view></view>