feat:完成自定义文字涂色卡
This commit is contained in:
@@ -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',
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user