feat: 完成文字涂色卡功能

This commit is contained in:
2025-07-01 11:27:50 +08:00
parent 654afced6f
commit 6d38a17652
21 changed files with 267 additions and 103 deletions
@@ -1,3 +1,5 @@
<wxs module="wxs" src="./word-input.wxs"></wxs>
<view
class="word-input-container"
style="{{width ? 'width:' + width + ';' : ''}}">
@@ -10,5 +12,13 @@
class="word-input"
type="text"
placeholder="{{placeholder}}"
bindinput="onInput"
bindconfirm="onConfirm" />
<view
class="btn-word-add"
bind:tap="onConfirm"
bind:touchstart="{{wxs.touchStart}}"
bind:touchend="{{wxs.touchEnd}}">
添加
</view>
</view>