feat:完成自定义文字涂色卡

This commit is contained in:
2025-07-02 15:17:50 +08:00
parent 26af95b604
commit 8006695f65
19 changed files with 201 additions and 39 deletions
+8 -1
View File
@@ -10,12 +10,13 @@ Page({
textDrawService: null as TextDrawService | null,
data: {
cardList: [] as Array<{ color: string; word: string }>,
cardList: [] as CardList,
showColorPopup: false,
currentKey: 0,
currentColor: '',
showIntroductionPopup: false,
showSelectWordPopup: false, // 选择文字弹窗
env: getApp().globalData.env || 'release',
},
onLoad() {
@@ -345,4 +346,10 @@ Page({
this.setData({ showSelectWordPopup: false });
this.drawCanvas(cardList);
},
onDebugEntryTap() {
wx.navigateTo({
url: '/pages/debug/debug',
});
},
});