feat: 初始化页面
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<view class="container">
|
||||
<!-- 颜色选择区 -->
|
||||
<view class="color-picker">
|
||||
<block wx:for="{{characters}}" wx:key="index">
|
||||
<view
|
||||
class="color-circle"
|
||||
style="background: {{colorMap.get(item)}}"
|
||||
bindtap="handleColorSelect"
|
||||
data-index="{{index}}"></view>
|
||||
</block>
|
||||
</view>
|
||||
|
||||
<!-- 画布容器 -->
|
||||
<canvas type="2d" id="canvas" style="width: 100%; height: 80vh" />
|
||||
|
||||
<!-- 操作按钮 -->
|
||||
<button class="action-btn" bindtap="exportToPrint">导出A4图片</button>
|
||||
</view>
|
||||
Reference in New Issue
Block a user