feat: 选择文字
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<view class="page-container">
|
||||
<view class="setting-wrapper">
|
||||
<view class="wrapper">
|
||||
<text class="wrapper-title">自定义涂鸦卡</text>
|
||||
<view class="word-input-box">
|
||||
<word-input bind:onConfirm="onConfirmInput" width="420rpx" />
|
||||
@@ -58,11 +58,11 @@
|
||||
class="wrapper {{cardList.length > 0 ? '' : 'hidden'}}">
|
||||
<text class="wrapper-title">预览打印效果</text>
|
||||
<view id="canvasWrapper" class="canvas-wrapper">
|
||||
<canvas
|
||||
<!-- <canvas
|
||||
type="2d"
|
||||
id="canvasContent"
|
||||
class="canvas-content"
|
||||
style="width:{{boxWidth}}px;height:{{boxHeight}}px" />
|
||||
style="width:{{boxWidth}}px;height:{{boxHeight}}px" /> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="empty"></view>
|
||||
@@ -71,6 +71,10 @@
|
||||
currentColor="{{currentColor}}"
|
||||
bind:onClose="onCloseColorPopup"
|
||||
bind:onChange="onChangeColor" />
|
||||
<word-picker
|
||||
show="{{showSelectWordPopup}}"
|
||||
bind:onClose="closeSelectWordPopup"
|
||||
bind:onSelect="onSelectWord" />
|
||||
</view>
|
||||
<view class="btn-area">
|
||||
<toy-button
|
||||
|
||||
Reference in New Issue
Block a user