feat:base64字体格式

This commit is contained in:
2025-06-11 07:15:46 +08:00
parent 13a0afe97e
commit ed0ca16e7e
31 changed files with 552 additions and 5667 deletions
@@ -37,5 +37,10 @@ Component({
const { key, word } = this.data;
this.triggerEvent('onDelete', { key, word });
},
onClickColor() {
const { key, word, color } = this.data;
this.triggerEvent('onClickColor', { key, word, color });
},
},
});
@@ -1,11 +1,14 @@
<view class="word-card">
<view class="color-box" style="background-color: {{color}};"></view>
<view
class="color-box"
style="background-color: {{color}};"
bindtap="onClickColor"></view>
<view class="word-box border-1px">
<text class="word-content">{{word}}</text>
</view>
<view class="delete-icon" bindtap="onDelete">
<van-icon
class-prefix="j-icon"
class-prefix="icon"
name="dustbin"
custom-class="delete-icon-inner"
size="44rpx" />