<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>