feat:修改 button 和 word-card 样式
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
Page({
|
||||
data: {},
|
||||
|
||||
onButtonClick(e: WechatMiniprogram.TouchEvent) {
|
||||
console.log('按钮点击:', e);
|
||||
wx.showToast({
|
||||
title: '按钮被点击了',
|
||||
icon: 'success',
|
||||
duration: 1000
|
||||
});
|
||||
},
|
||||
|
||||
onWordColorTap(e: any) {
|
||||
console.log('点击了颜色:', e);
|
||||
wx.showToast({
|
||||
title: '点击了颜色',
|
||||
icon: 'none',
|
||||
});
|
||||
},
|
||||
|
||||
onWordDelete(e: any) {
|
||||
console.log('删除文字:', e);
|
||||
wx.showToast({
|
||||
title: '删除文字',
|
||||
icon: 'none',
|
||||
});
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user