feat: 初始化页面

This commit is contained in:
zhangyi
2025-03-18 15:17:30 +08:00
parent e4e9f6d527
commit cdf57ee562
477 changed files with 12379 additions and 0 deletions
@@ -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>