diff --git a/src/components/workspace/GoldGraph.vue b/src/components/workspace/GoldGraph.vue index c3224fb..6ab154b 100644 --- a/src/components/workspace/GoldGraph.vue +++ b/src/components/workspace/GoldGraph.vue @@ -810,10 +810,11 @@ onUnmounted(() => { .el-select-dropdown__item { background: #ffffff; } - /* select hover状态*/ .el-select-dropdown__item:hover { border-radius: 8px; + margin-left: 2px; + margin-right: 2px; background: #E5EBFE; height: 32px; } @@ -823,6 +824,7 @@ onUnmounted(() => { color: #2549E0; border-radius: 8px; } + /* tabs的样式 */ /* 选中 tab 的文字颜色 */ :deep(.el-tabs__item.is-active) { diff --git a/src/components/workspace/GoldManagement.vue b/src/components/workspace/GoldManagement.vue index c4663ff..3eb8cf9 100644 --- a/src/components/workspace/GoldManagement.vue +++ b/src/components/workspace/GoldManagement.vue @@ -63,7 +63,7 @@
-
全年累计充值金币数{{ yearlyRecharge / 100 }}
+
全年累计充值金币数:{{ yearlyRecharge / 100 }}
折合新币累计金额
@@ -85,7 +85,7 @@
-
全年累计消费金币数{{ yearlyReduce / 100 }}
+
全年累计消费金币数:{{ yearlyReduce / 100 }}
@@ -98,8 +98,8 @@
-
-
全年累计充值人头数{{ yearlyRechargeNum }}
+
+
全年累计充值人头数:{{ yearlyRechargeNum }}
diff --git a/src/css/btn.css b/src/css/btn.css new file mode 100644 index 0000000..f9571c0 --- /dev/null +++ b/src/css/btn.css @@ -0,0 +1,39 @@ +/*各个页面的按钮激活*/ + +/*使用示例 +import '@/css/btn.css'; + + +充值审核 + +*/ + + +/* 默认按钮样式 */ +.no-active-btn { + background-color: #E5EBFE; /* 未激活背景色 */ + color: #666; /* 未激活文字色 */ + /* 确保激活状态下 hover 也不变化 */ + &:hover { + background-color: #E5EBFE !important; /* 保持默认背景色 */ + color: #666 !important; /* 保持默认文字色 */ + border-color: transparent; /* 若有边框,保持默认 */ + } +} + +/* 激活状态样式 */ +.active-btn { + background-color: #2741DE; /* 激活背景色 */ + color: white; /* 激活文字色 */ + /* 确保激活状态下 hover 也不变化 */ + &:hover { + background-color: #2741DE !important; + color: white !important; + border-color: transparent; + } +} diff --git a/src/main.ts b/src/main.ts index fc0b6ca..4d2855c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,4 +1,4 @@ -import { createApp } from 'vue' +import {createApp} from 'vue' import App from './App.vue' import router from './router' import ElementPlus from 'element-plus' @@ -7,15 +7,17 @@ import 'element-plus/dist/index.css' import * as ElementPlusIconsVue from '@element-plus/icons-vue' import './assets/css/common.css' // 引入公共CSS文件 import JsonExcel from 'vue-json-excel' -import { createPinia } from 'pinia' +import {createPinia} from 'pinia' import VxeUI from 'vxe-pc-ui' import 'vxe-pc-ui/lib/style.css' import VxeUITable from 'vxe-table' import 'vxe-table/lib/style.css' // 修正导入路径 -import { useAdminStore } from './store' +import {useAdminStore} from './store' import request from "@/util/request"; import "./global.css"; +import '@/css/btn.css'; + const app = createApp(App) const pinia = createPinia() diff --git a/src/views/audit/bean/beanAudit.vue b/src/views/audit/bean/beanAudit.vue index 38a55da..3725d4d 100644 --- a/src/views/audit/bean/beanAudit.vue +++ b/src/views/audit/bean/beanAudit.vue @@ -17,8 +17,7 @@
提交时间: - 审核时间: + 审核时间: diff --git a/src/views/audit/gold/audit.vue b/src/views/audit/gold/audit.vue index ed6caac..dc79a09 100644 --- a/src/views/audit/gold/audit.vue +++ b/src/views/audit/gold/audit.vue @@ -2,12 +2,20 @@
- + 充值审核 - + 退款审核 @@ -43,7 +51,7 @@ const navigateTo = (name) => { if(!hasRefund){ ElMessage.error('您暂无退款审核操作权限') return; - } + } } activeTab.value = name; router.push({ name }); @@ -91,4 +99,4 @@ onMounted(() => { } } }); - \ No newline at end of file + diff --git a/src/views/consume/bean/beanConsume.vue b/src/views/consume/bean/beanConsume.vue index 8788c41..bd095a8 100644 --- a/src/views/consume/bean/beanConsume.vue +++ b/src/views/consume/bean/beanConsume.vue @@ -2,7 +2,8 @@
- - 金币消耗明细 + + + 充值审核 - + + 新增消耗 diff --git a/src/views/recharge/bean/beanRecharge.vue b/src/views/recharge/bean/beanRecharge.vue index 0f3d677..286008c 100644 --- a/src/views/recharge/bean/beanRecharge.vue +++ b/src/views/recharge/bean/beanRecharge.vue @@ -1,35 +1,47 @@ \ No newline at end of file diff --git a/src/views/workspace/index.vue b/src/views/workspace/index.vue index 0cf0a5e..485bcb1 100644 --- a/src/views/workspace/index.vue +++ b/src/views/workspace/index.vue @@ -1,16 +1,16 @@