feat: 全面升级 Wot UI v2 并修复暗黑模式适配
- 修复 TabBar 切换激活状态不同步问题 - 修复大量 Wot UI 2.x 图标名称不匹配 - 修复暗黑模式下主题变量错误注入导致亮色模式显示异常 - 优化个人中心 UI(头像标记、图标背景色、菜单结构) - 重构首页图表时间选择器为自定义分段选择器 - 修复登录弹窗文字丢失及验证顺序 - 修复设置页面布局、退出登录按钮及 cell 点击态
This commit is contained in:
1 parent
e5cd415f66
commit
4465c4d613
25 files changed
+328
-237
No files matched your search
@@ -71,7 +71,7 @@
|
||||
</wd-cell-group>
|
||||
</wd-form>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" plain @click="closeDictDialog">取消</wd-button>
|
||||
<wd-button type="info" variant="plain" @click="closeDictDialog">取消</wd-button>
|
||||
<wd-button type="primary" :loading="isSubmitting" @click="submitDictForm">保存</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
</wd-cell-group>
|
||||
</wd-form>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" plain @click="closeItemDialog">取消</wd-button>
|
||||
<wd-button type="info" variant="plain" @click="closeItemDialog">取消</wd-button>
|
||||
<wd-button type="primary" :loading="isSubmitting" @click="submitItemForm">保存</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
v-for="(child, childIndex) in item.children"
|
||||
:key="childIndex"
|
||||
use-slot
|
||||
@itemclick="handleNavClick(child)"
|
||||
@click="handleNavClick(child)"
|
||||
>
|
||||
<view class="work-grid__icon p-2">
|
||||
<image class="w-72rpx h-72rpx rounded-8rpx" :src="child.icon" />
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
<wd-cell v-if="logDetail.errorMsg" title="错误信息" :value="logDetail.errorMsg" />
|
||||
</wd-cell-group>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" plain block @click="closeLogDetail">关闭</wd-button>
|
||||
<wd-button type="info" variant="plain" block @click="closeLogDetail">关闭</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
</wd-popup>
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
/>
|
||||
<wd-input v-model="formData.name" label="菜单名称" required />
|
||||
<wd-cell title="菜单类型" required>
|
||||
<wd-radio-group v-model="formData.type" size="smalll" shape="button" cell>
|
||||
<wd-radio-group v-model="formData.type" size="small" type="button">
|
||||
<wd-radio value="C">目录</wd-radio>
|
||||
<wd-radio value="M">菜单</wd-radio>
|
||||
<wd-radio value="B">按钮</wd-radio>
|
||||
@@ -100,7 +100,7 @@
|
||||
</wd-form>
|
||||
</scroll-view>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" plain @click="closeMenuDialog">取消</wd-button>
|
||||
<wd-button type="info" variant="plain" @click="closeMenuDialog">取消</wd-button>
|
||||
<wd-button type="primary" :loading="isSubmitting" @click="submitMenuForm">保存</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
<rich-text :nodes="noticeDetail.content" class="text-28rpx" />
|
||||
</view>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" plain block @click="closeNoticeDetail">关闭</wd-button>
|
||||
<wd-button type="info" variant="plain" block @click="closeNoticeDetail">关闭</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
</wd-popup>
|
||||
@@ -110,14 +110,14 @@
|
||||
<wd-cell-group border>
|
||||
<wd-input v-model="formData.title" label="标题" required placeholder="请输入通知标题" />
|
||||
<wd-cell title="优先级">
|
||||
<wd-radio-group v-model="formData.level" shape="button">
|
||||
<wd-radio-group v-model="formData.level" type="button">
|
||||
<wd-radio value="L">低</wd-radio>
|
||||
<wd-radio value="M">中</wd-radio>
|
||||
<wd-radio value="H">高</wd-radio>
|
||||
</wd-radio-group>
|
||||
</wd-cell>
|
||||
<wd-cell title="目标类型">
|
||||
<wd-radio-group v-model="formData.targetType" shape="button">
|
||||
<wd-radio-group v-model="formData.targetType" type="button">
|
||||
<wd-radio :value="1">全体</wd-radio>
|
||||
<wd-radio :value="2">指定用户</wd-radio>
|
||||
</wd-radio-group>
|
||||
@@ -132,7 +132,7 @@
|
||||
</wd-cell-group>
|
||||
</wd-form>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" plain @click="closeNoticeForm">取消</wd-button>
|
||||
<wd-button type="info" variant="plain" @click="closeNoticeForm">取消</wd-button>
|
||||
<wd-button type="primary" :loading="isSubmitting" @click="submitNoticeForm">
|
||||
保存
|
||||
</wd-button>
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
<view class="action-bar">
|
||||
<view class="action-bar__left">
|
||||
<wd-button size="small" plain @click="handleSelectAll">全选</wd-button>
|
||||
<wd-button size="small" plain @click="handleClearAll">取消全选</wd-button>
|
||||
<wd-button size="small" variant="plain" @click="handleSelectAll">全选</wd-button>
|
||||
<wd-button size="small" variant="plain" @click="handleClearAll">取消全选</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -69,7 +69,7 @@
|
||||
|
||||
<!-- 固定底部操作栏 -->
|
||||
<view class="bottom-bar">
|
||||
<wd-button type="info" plain @click="handleCancel">取消</wd-button>
|
||||
<wd-button type="info" variant="plain" @click="handleCancel">取消</wd-button>
|
||||
<wd-button type="primary" :loading="isSubmitting" @click="handleSubmit">保存</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
</wd-cell-group>
|
||||
</wd-form>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" plain @click="closeRoleDialog">取消</wd-button>
|
||||
<wd-button type="info" variant="plain" @click="closeRoleDialog">取消</wd-button>
|
||||
<wd-button type="primary" :loading="isSubmitting" @click="submitRoleForm">保存</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
/>
|
||||
<cu-date-query v-model="queryParams.createTime" label="创建时间" />
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" plain @click="resetUserFilter">重置</wd-button>
|
||||
<wd-button type="info" variant="plain" @click="resetUserFilter">重置</wd-button>
|
||||
<wd-button type="primary" @click="applyUserFilter">查询</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
@@ -148,7 +148,7 @@
|
||||
</wd-cell-group>
|
||||
</wd-form>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" plain @click="closeUserDialog">取消</wd-button>
|
||||
<wd-button type="info" variant="plain" @click="closeUserDialog">取消</wd-button>
|
||||
<wd-button type="primary" :loading="isSubmitting" @click="submitUserForm">保存</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
@@ -184,7 +184,7 @@
|
||||
</wd-cell-group>
|
||||
</wd-form>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" plain @click="resetPwdDialog.visible = false">取消</wd-button>
|
||||
<wd-button type="info" variant="plain" @click="resetPwdDialog.visible = false">取消</wd-button>
|
||||
<wd-button
|
||||
type="primary"
|
||||
:loading="resetPwdDialog.isSubmitting"
|
||||
|
||||
Reference in new issue
Block a user