提交 54acc560 编写于 作者: Y yyuanche

xts适配ListItem长距离划动接口修改

Signed-off-by: yyuanche<yuancheng25@huawei.com>
上级 22dbef13
......@@ -121,16 +121,15 @@ struct ListDelete {
}
.swipeAction({ end: {
builder: this.itemEnd.bind(this, index, 'MyList5'),
onDelete: () => {
console.info('MyList5_ListItem' + index + ' onDelete')
onAction: () => {
console.info('MyList5_ListItem' + index + ' onAction')
this.arr2.splice(index, 1)
MyUtils.sendEvent('MyList5_ListItem' + index + 'onDelete', 72000)
MyUtils.sendEvent('MyList5_ListItem' + index + 'onAction', 72000)
},
deleteAreaDistance: 5,
useDefaultDeleteAnimation: true,
onEnterDeleteArea: () => {
actionAreaDistance: 5,
onEnterActionArea: () => {
},
onExitDeleteArea: () => {
onExitActionArea: () => {
}
}
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册