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.
 
 
 

38 lines
611 B

<template>
<view>
<u-swipe-action>
<u-swipe-action-item
@click="cancelBind"
:options="options1"
>
<slot></slot>
</u-swipe-action-item>
</u-swipe-action>
</view>
</template>
<script>
export default {
data() {
return {
options1: [{
text: '解除绑定',
style: {
backgroundColor: '#f94242',
borderRadius: '16rpx',
padding: '16rpx'
}
}]
};
},
methods: {
cancelBind(val) {
this.$emit('cancelBind')
}
}
};
</script>
<style lang="scss">
</style>