first add files

This commit is contained in:
2025-08-15 14:05:08 +08:00
parent c58f74bcc0
commit b6216570d9
2451 changed files with 29056 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
Component({
data: {
right: [
{
text: '编辑',
className: 'btn edit-btn',
},
{
text: '删除',
className: 'btn delete-btn',
},
],
},
methods: {
onActionClick({ detail }) {
wx.showToast({ title: `你点击了${detail.text}`, icon: 'none' });
},
onDelete() {
wx.showToast({ title: '你点击了删除', icon: 'none' });
},
onEdit() {
wx.showToast({ title: '你点击了编辑', icon: 'none' });
},
onFavor() {
wx.showToast({ title: '你点击了收藏', icon: 'none' });
},
onChoice() {
wx.showToast({ title: '你点击了选择', icon: 'none' });
},
},
});