<view class="word-card">
    <view
        wx:if="{{!disabledColor}}"
        class="color-box"
        style="background-color: {{color}};"
        bindtap="onColorTap"></view>
    <view class="word-box">
        <text class="word-content">{{word}}</text>
    </view>
    <view class="delete-icon" bindtap="onDelete">
        <van-icon
            class-prefix="toy-icon"
            name="dustbin-o"
            custom-class="delete-icon-inner"
            size="32rpx" />
    </view>
</view>
