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:
1 parent
ce01e3cff8
commit
4dd142bb5a
25 files changed
+52
-40
No files matched your search
@@ -72,7 +72,7 @@
|
||||
</wd-form>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" variant="plain" @click="closeConfigDialog">取消</wd-button>
|
||||
<wd-button type="primary" :loading="isSubmitting" @click="submitConfigForm">
|
||||
<wd-button :loading="isSubmitting" @click="submitConfigForm">
|
||||
保存
|
||||
</wd-button>
|
||||
</view>
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
</wd-form>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" variant="plain" @click="closeDeptDialog">取消</wd-button>
|
||||
<wd-button type="primary" :loading="isSubmitting" @click="submitDeptForm">保存</wd-button>
|
||||
<wd-button :loading="isSubmitting" @click="submitDeptForm">保存</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
</wd-popup>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
</view>
|
||||
<text class="text-24rpx color-text-secondary">字典编码:{{ item.dictCode }}</text>
|
||||
</view>
|
||||
<wd-tag :type="item.status === 1 ? 'success' : 'danger'" variant="plain">
|
||||
<wd-tag :type="item.status === 1 ? 'success' : 'danger'">
|
||||
{{ item.status === 1 ? "启用" : "禁用" }}
|
||||
</wd-tag>
|
||||
</view>
|
||||
@@ -75,7 +75,7 @@
|
||||
</wd-form>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" variant="plain" @click="closeDictDialog">取消</wd-button>
|
||||
<wd-button type="primary" :loading="isSubmitting" @click="submitDictForm">保存</wd-button>
|
||||
<wd-button :loading="isSubmitting" @click="submitDictForm">保存</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
</wd-popup>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
字典值:{{ item.value }} · 排序:{{ item.sort }}
|
||||
</text>
|
||||
</view>
|
||||
<wd-tag :type="item.status === 1 ? 'success' : 'danger'" variant="plain">
|
||||
<wd-tag :type="item.status === 1 ? 'success' : 'danger'">
|
||||
{{ item.status === 1 ? "启用" : "禁用" }}
|
||||
</wd-tag>
|
||||
</view>
|
||||
@@ -80,7 +80,7 @@
|
||||
</wd-form>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" variant="plain" @click="closeItemDialog">取消</wd-button>
|
||||
<wd-button type="primary" :loading="isSubmitting" @click="submitItemForm">保存</wd-button>
|
||||
<wd-button :loading="isSubmitting" @click="submitItemForm">保存</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
</wd-popup>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
</scroll-view>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" variant="plain" @click="closeMenuDialog">取消</wd-button>
|
||||
<wd-button type="primary" :loading="isSubmitting" @click="submitMenuForm">保存</wd-button>
|
||||
<wd-button :loading="isSubmitting" @click="submitMenuForm">保存</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
</wd-popup>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
{{ item.publisherName || "系统管理员" }}
|
||||
</text>
|
||||
</view>
|
||||
<wd-tag :type="getStatusType(item.publishStatus)" variant="plain">
|
||||
<wd-tag :type="getStatusType(item.publishStatus)">
|
||||
{{ getStatusText(item.publishStatus) }}
|
||||
</wd-tag>
|
||||
</view>
|
||||
@@ -134,7 +134,7 @@
|
||||
</wd-form>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" variant="plain" @click="closeNoticeForm">取消</wd-button>
|
||||
<wd-button type="primary" :loading="isSubmitting" @click="submitNoticeForm">
|
||||
<wd-button :loading="isSubmitting" @click="submitNoticeForm">
|
||||
保存
|
||||
</wd-button>
|
||||
</view>
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
<view class="action-bar">
|
||||
<view class="action-bar__left">
|
||||
<wd-button size="small" variant="plain" @click="handleSelectAll">全选</wd-button>
|
||||
<wd-button size="small" variant="plain" @click="handleClearAll">取消全选</wd-button>
|
||||
<wd-button type="" size="small" variant="plain" @click="handleSelectAll">全选</wd-button>
|
||||
<wd-button type="" size="small" variant="plain" @click="handleClearAll">取消全选</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -70,7 +70,7 @@
|
||||
<!-- 固定底部操作栏 -->
|
||||
<view class="bottom-bar">
|
||||
<wd-button type="info" variant="plain" @click="handleCancel">取消</wd-button>
|
||||
<wd-button type="primary" :loading="isSubmitting" @click="handleSubmit">保存</wd-button>
|
||||
<wd-button :loading="isSubmitting" @click="handleSubmit">保存</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
</view>
|
||||
<text class="role-card__code">{{ item.code }}</text>
|
||||
</view>
|
||||
<wd-tag :type="item.status === 1 ? 'success' : 'danger'" variant="plain">
|
||||
<wd-tag :type="item.status === 1 ? 'success' : 'danger'">
|
||||
{{ item.status === 1 ? "正常" : "禁用" }}
|
||||
</wd-tag>
|
||||
</view>
|
||||
@@ -102,7 +102,7 @@
|
||||
</wd-form>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" variant="plain" @click="closeRoleDialog">取消</wd-button>
|
||||
<wd-button type="primary" :loading="isSubmitting" @click="submitRoleForm">保存</wd-button>
|
||||
<wd-button :loading="isSubmitting" @click="submitRoleForm">保存</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
</wd-popup>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<cu-date-query v-model="queryParams.createTime" label="创建时间" />
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" variant="plain" @click="resetUserFilter">重置</wd-button>
|
||||
<wd-button type="primary" @click="applyUserFilter">查询</wd-button>
|
||||
<wd-button @click="applyUserFilter">查询</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
</wd-drop-menu-item>
|
||||
@@ -71,7 +71,7 @@
|
||||
</view>
|
||||
<text class="user-card__role">{{ item.roleNames }} · {{ item.deptName }}</text>
|
||||
</view>
|
||||
<wd-tag :type="item.status === 1 ? 'success' : 'danger'" variant="plain">
|
||||
<wd-tag :type="item.status === 1 ? 'success' : 'danger'">
|
||||
{{ item.status === 1 ? "正常" : "禁用" }}
|
||||
</wd-tag>
|
||||
</view>
|
||||
@@ -174,7 +174,7 @@
|
||||
</wd-form>
|
||||
<view class="popup-actions">
|
||||
<wd-button type="info" variant="plain" @click="closeUserDialog">取消</wd-button>
|
||||
<wd-button type="primary" :loading="isSubmitting" @click="submitUserForm">保存</wd-button>
|
||||
<wd-button :loading="isSubmitting" @click="submitUserForm">保存</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
</wd-popup>
|
||||
@@ -204,7 +204,6 @@
|
||||
取消
|
||||
</wd-button>
|
||||
<wd-button
|
||||
type="primary"
|
||||
:loading="resetPwdDialog.isSubmitting"
|
||||
@click="handleResetPassword"
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user