feat: 完成图形涂色绘制

This commit is contained in:
2025-08-20 10:49:20 +08:00
parent 64deb9f3be
commit c95bd601e8
12 changed files with 178 additions and 146 deletions
+3 -1
View File
@@ -34,6 +34,7 @@
</view>
<shape-picker
show="{{showSelectShapePopup}}"
selectedShapeIndex="{{selectedShapeIndex}}"
bind:onClose="closeSelectShapePopup"
bind:onChange="onChangeShape" />
<color-picker
@@ -43,7 +44,7 @@
bind:onChange="onChangeColor" />
<view id="previewWrapper" class="wrapper">
<text class="wrapper-title">预览打印效果</text>
<text class="wrapper-title">预览打印效果 {{currentShapeId}}</text>
<view
wx:if="{{!isPCDevtool}}"
id="canvasWrapper"
@@ -55,6 +56,7 @@
style="width:{{boxWidth}}px;height:{{boxHeight}}px" />
</view>
</view>
<view class="empty"></view>
</view>
<view class="bottom-btn-box">
<toy-button