增加补充相关资料和小程序源码

This commit is contained in:
Wang Beihong
2026-02-07 23:14:57 +08:00
parent a0febb1e5b
commit a9be1dd6b9
1255 changed files with 476253 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
Component({
data: {
children: []
},
relations: {
'../fui-swipe-action/fui-swipe-action': {
type: 'descendant',
linked: function (target) {
this.data.children.push(target)
}
}
},
methods: {
close() {
this.data.children.forEach(child => {
child.setData({
isShow: false
})
})
},
closeAuto(child) {
this.data.children.forEach(item => {
if (item !== child) {
item.setData({
isShow: false
})
}
})
}
}
})