123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <view class='page-container-classname' ref='saveChildRef0'>
- <demo-block title='基础用法' ref='saveChildRef1'>
- <van-swipe-cell right-width='{{ 65 }}' left-width='{{ 65 }}' ref='saveChildRef2'>
- <view slot='left' class=" ">
- 选择
- </view>
- <van-cell-group ref='saveChildRef3'>
- <van-cell title='单元格' value='内容' ref='saveChildRef4'>
- </van-cell>
- </van-cell-group>
- <view slot='right'>
- 删除
- </view>
- </van-swipe-cell>
- </demo-block>
- <demo-block title='异步关闭' ref='saveChildRef5'>
- <van-swipe-cell id='swipe-cell' right-width='{{ 65 }}' left-width='{{ 65 }}' async-close=" " onClose='onClose' ref='saveChildRef6'>
- <view slot='left' class=" ">
- 选择
- </view>
- <van-cell-group ref='saveChildRef7'>
- <van-cell title='单元格' value='内容' ref='saveChildRef8'>
- </van-cell>
- </van-cell-group>
- <view slot='right'>
- 删除
- </view>
- </van-swipe-cell>
- </demo-block>
- <demo-block title='主动打开' ref='saveChildRef9'>
- <van-swipe-cell id='swipe-cell2' right-width='{{ 65 }}' left-width='{{ 65 }}' name='示例' onOpen='onOpen' ref='saveChildRef10'>
- <view slot='left'>
- 选择
- </view>
- <van-cell-group ref='saveChildRef11'>
- <van-cell title='单元格' value='内容' ref='saveChildRef12'>
- </van-cell>
- </van-cell-group>
- <view slot='right'>
- 删除
- </view>
- </van-swipe-cell>
- </demo-block>
- <van-dialog id='van-dialog' ref='saveChildRef13'>
- </van-dialog>
- <van-notify id='van-notify' ref='saveChildRef14'>
- </van-notify>
- </view>
|