chore: 升级 wot-ui 至 2.2.0 并适配暗黑模式主题色

- ConfigProvider 全局配置 button 默认类型、tag 默认变体
- 清理模板中重复的 type=primary 和 variant=plain
- 静态资源 logo.png 迁至 src/static/images/
- 暗黑模式 --wot-filled-oppo 统一组件背景色
This commit is contained in:
Ray.Hao
2026-07-23 23:13:21 +08:00
parent ce01e3cff8
commit 4dd142bb5a
25 changed files with 52 additions and 40 deletions

View File

@@ -14,7 +14,7 @@
</wd-collapse>
<view class="agreement__action">
<wd-button type="primary" block @click="handleAgree">我已阅读并同意</wd-button>
<wd-button block @click="handleAgree">我已阅读并同意</wd-button>
</view>
</view>
</template>

View File

@@ -14,7 +14,7 @@
</wd-collapse>
<view class="privacy__action">
<wd-button type="primary" block @click="handleAgree">我已阅读并同意</wd-button>
<wd-button block @click="handleAgree">我已阅读并同意</wd-button>
</view>
</view>
</template>

View File

@@ -55,11 +55,11 @@
<wd-cell>
<template #default>
<view class="flex items-center justify-center gap-24rpx py-12rpx">
<wd-button type="primary" size="small">主要按钮</wd-button>
<wd-button size="small">主要按钮</wd-button>
<text class="text-28rpx font-500" :style="{ color: currentThemeColor }">
主题色文本
</text>
<wd-tag type="primary" size="small">标签</wd-tag>
<wd-tag type="primary" size="small" variant="filled">标签</wd-tag>
</view>
</template>
</wd-cell>
@@ -67,7 +67,7 @@
<!-- 操作按钮 -->
<view class="mt-32rpx">
<wd-button type="primary" plain size="large" block @click="handleResetTheme">
<wd-button plain size="large" block @click="handleResetTheme">
重置为默认主题
</wd-button>
</view>
@@ -102,7 +102,7 @@
<view class="popup-actions">
<wd-button type="info" plain @click="showCustomColorInput = false">取消</wd-button>
<wd-button type="primary" @click="applyCustomColor">应用</wd-button>
<wd-button @click="applyCustomColor">应用</wd-button>
</view>
</view>
</wd-popup>