feat:练字贴生成

This commit is contained in:
R524809
2025-10-20 17:40:06 +08:00
parent 2734b9de9e
commit 10b8c12d51
10 changed files with 218 additions and 156 deletions
+1 -2
View File
@@ -39,12 +39,10 @@
<text class="wrapper-title">预览练字田字格</text>
<view id="canvasWrapper" class="canvas-wrapper">
<canvas
wx:if="{{words}}"
type="2d"
id="canvasContent"
class="canvas-content"
style="width:{{boxWidth}}px;height:{{boxHeight}}px" />
<view wx:else class="empty-tip">请选择或输入汉字后生成田字格</view>
</view>
</view>
@@ -75,6 +73,7 @@
<word-picker
show="{{showSelectWordPopup}}"
selectedWords="{{words}}"
max="11"
bind:onClose="closeSelectWordPopup"
bind:onChange="onChangeWord" />