From ee836f1780e4ba83b0f733bffe4062b7e244b83a Mon Sep 17 00:00:00 2001
From: zhangrenyuan <18990852002@163.com>
Date: Wed, 17 Sep 2025 14:02:16 +0800
Subject: [PATCH 1/6] =?UTF-8?q?fix=E6=9C=AC=E5=9C=B0=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/usergold/gold/clientCountBalance.vue | 2 +-
src/views/workspace/index.vue | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/usergold/gold/clientCountBalance.vue b/src/views/usergold/gold/clientCountBalance.vue
index a96c6be..4854bb1 100644
--- a/src/views/usergold/gold/clientCountBalance.vue
+++ b/src/views/usergold/gold/clientCountBalance.vue
@@ -422,7 +422,7 @@ const format3 = (num) => {
-
diff --git a/src/views/workspace/index.vue b/src/views/workspace/index.vue
index e038363..540b2a7 100644
--- a/src/views/workspace/index.vue
+++ b/src/views/workspace/index.vue
@@ -806,7 +806,7 @@ onUnmounted(() => {
})
-
\ No newline at end of file
From 363570dc95b57ed098dd270d80f0c5329cee0aee Mon Sep 17 00:00:00 2001
From: zhangrenyuan <18990852002@163.com>
Date: Wed, 17 Sep 2025 17:31:20 +0800
Subject: [PATCH 3/6] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E9=87=8D=E6=9E=84?=
=?UTF-8?q?=E5=85=A8=E5=B1=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/home.vue | 228 +++++++++++++++++++++++++++++++----------------------
1 file changed, 134 insertions(+), 94 deletions(-)
diff --git a/src/views/home.vue b/src/views/home.vue
index f34279f..bcddae2 100644
--- a/src/views/home.vue
+++ b/src/views/home.vue
@@ -94,8 +94,10 @@ function logout() {
-
-
+
+
+
+
+
+
+
+
+
+ {{ adminData.adminName }}
+
+
+ {{ adminData.account }}
+
+
+ {{ adminData.markets }}
+
+
+ {{ adminData.createTime }}
+
+
+
+
+ 关闭
+
+
+
+
+
+
+
+
@@ -204,49 +213,83 @@ function logout() {
bottom: 0;
background-image: url('@/assets/background.jpg'); /* 请将图片放在assets目录下并修改路径 */
background-size: cover;
- background-position: center center; /* 背景图居中 */
+ background-position: center center;
background-repeat: no-repeat;
- display: flex;
- align-items: center;
- justify-content: center;
overflow: hidden;
}
-/* 统一的毛玻璃容器 */
-.glass-container {
- position: relative;
- width: 95%;
- height: 95vh;
- background: rgba(255, 255, 255, 0.8); /* 半透明白色背景 */
- backdrop-filter: blur(5px); /* 统一的毛玻璃效果 */
+/* 背景毛玻璃层(作为内容容器) */
+.background-glass {
+ position: absolute;
+ top: 1vh;
+ left: 1vh;
+ right: 1vh;
+ bottom: 1vh;
+ background: rgba(255, 255, 255, 0.3); /* 更透明的背景 */
+ backdrop-filter: blur(10px); /* 毛玻璃效果 */
+ z-index: 1;
+ display: flex;
+ flex-direction: row;
+ padding: 20px;
border-radius: 12px;
- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
- overflow: hidden;
+}
+
+/* 侧边栏容器 */
+.sidebar-container {
+ flex-shrink: 0;
+}
+
+.el-aside {
+ width: 15vw;
+ height: 100%;
+ background: rgba(255, 255, 255, 0.85); /* 半透明白色背景 */
+ backdrop-filter: blur(5px); /* 毛玻璃效果 */
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* 添加阴影增强层次感 */
+ border-radius: 12px;
+ overflow-y: auto;
+ /* 应用自定义滚动条 */
+}
+
+/* 内容区域容器 */
+.content-container {
+ flex: 1;
display: flex;
flex-direction: column;
+ margin-left: 5px;
+ gap: 5px;
+ height: 100%;
+ overflow: hidden;
}
+/* 头部样式 */
.header {
- position: fixed;
- right: 2.5vw;
- top: 2.5vh;
- z-index: 80;
+ background: rgba(255, 255, 255, 0.85); /* 半透明白色背景 */
+ backdrop-filter: blur(5px); /* 毛玻璃效果 */
height: 8vh;
- width: calc(80vw - 5vh);
+ border-radius: 12px;
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* 添加阴影增强层次感 */
+ z-index: 80;
}
-.message-font {
- font-size: 16px;
- font-weight: bold;
+/* 主内容区域容器 */
+.main-area {
+ flex: 1;
+ background: rgba(255, 255, 255, 0.9); /* 半透明白色背景 */
+ backdrop-filter: blur(5px); /* 毛玻璃效果 */
+ border-radius: 12px;
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* 添加阴影增强层次感 */
+ overflow: hidden;
+ display: flex;
+ flex-direction: column;
}
-.el-aside {
- width: 15vw;
- position: fixed;
- z-index: 100;
- height: 90vh;
- top: 2.5vh;
- left: 2.5vw;
+/* 主内容区域样式 */
+.el-main {
+ height: 100%;
+ padding: 20px;
+ background: transparent;
+ overflow-y: auto;
+ /* 应用自定义滚动条 */
}
.logo {
@@ -260,16 +303,7 @@ function logout() {
border: none;
padding: 0;
float: right;
- background: transparent !important;
-}
-
-/* 主内容区域样式 */
-.el-main {
- margin-top: 16vh;
- height: auto;
- padding: 20px;
- margin-left: 20px;
- margin-right: 20px;
+ background: transparent !important; /* 最高优先级的透明 */
}
/* 侧边栏菜单样式优化 */
@@ -277,20 +311,26 @@ function logout() {
background: transparent !important;
}
-/* 弹窗背景设置为半透明 */
-:deep(.el-dialog__wrapper .el-dialog) {
- background: rgba(255, 255, 255, 0.95);
- backdrop-filter: blur(10px);
+.message-font { /* 个人信息字体样式 */
+ font-size: 16px;
+ font-weight: bold;
}
-/* 确保el-container适应毛玻璃容器 */
-:deep(.el-container) {
+
+
+/* 确保el-container适应容器 */
+:deep(.el-container) { /* vue3的深度选择器,用于覆盖element-plus的默认样式 */
min-height: 100%;
width: 100%;
+ background: transparent;
}
-:deep(.el-container .el-container) {
- background: transparent;
- position: relative;
+
+
+/* 为侧边栏和主内容区域添加滚动条样式 */
+.el-aside,
+.el-main {
+ scrollbar-width: thin; /* Firefox */
+ scrollbar-color: rgba(0, 0, 0, 0.3) rgba(255, 255, 255, 0.2); /* Firefox滑块和轨道颜色 */
}
\ No newline at end of file
From 448f96850d3fa481bd3256a029ea79fccec9d6d1 Mon Sep 17 00:00:00 2001
From: zhangrenyuan <18990852002@163.com>
Date: Sat, 20 Sep 2025 10:03:17 +0800
Subject: [PATCH 4/6] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=E6=A0=B7?=
=?UTF-8?q?=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/home.vue | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/views/home.vue b/src/views/home.vue
index bcddae2..acd1863 100644
--- a/src/views/home.vue
+++ b/src/views/home.vue
@@ -154,7 +154,7 @@ function logout() {