|
@@ -755,14 +755,22 @@ onUnmounted(() => {
|
|
|
// 统计卡片基础样式
|
|
// 统计卡片基础样式
|
|
|
.stat-card {
|
|
.stat-card {
|
|
|
border-radius: 12px;
|
|
border-radius: 12px;
|
|
|
- border: none;
|
|
|
|
|
|
|
+ border: 1px solid rgba(207, 220, 237, 0.9);
|
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
+ background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
|
|
|
|
|
+ box-shadow:
|
|
|
|
|
+ inset 0 1px 0 rgba(255, 255, 255, 0.95),
|
|
|
|
|
+ inset 0 -10px 24px rgba(210, 225, 244, 0.26),
|
|
|
|
|
+ 0 10px 24px rgba(32, 66, 120, 0.08);
|
|
|
|
|
|
|
|
&:hover {
|
|
&:hover {
|
|
|
transform: translateY(-4px);
|
|
transform: translateY(-4px);
|
|
|
- box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
|
|
|
|
|
|
|
+ box-shadow:
|
|
|
|
|
+ inset 0 1px 0 rgba(255, 255, 255, 0.98),
|
|
|
|
|
+ inset 0 -12px 26px rgba(204, 220, 243, 0.32),
|
|
|
|
|
+ 0 16px 32px rgba(32, 66, 120, 0.12);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
:deep(.el-card__body) {
|
|
:deep(.el-card__body) {
|
|
@@ -772,25 +780,33 @@ onUnmounted(() => {
|
|
|
|
|
|
|
|
// 渐变色背景
|
|
// 渐变色背景
|
|
|
.stat-card-gradient-1 {
|
|
.stat-card-gradient-1 {
|
|
|
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
|
|
+ background:
|
|
|
|
|
+ radial-gradient(circle at top left, rgba(121, 164, 255, 0.16), transparent 42%),
|
|
|
|
|
+ linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.stat-card-gradient-2 {
|
|
.stat-card-gradient-2 {
|
|
|
- background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
|
|
|
|
|
|
|
+ background:
|
|
|
|
|
+ radial-gradient(circle at top left, rgba(118, 186, 255, 0.14), transparent 42%),
|
|
|
|
|
+ linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.stat-card-gradient-3 {
|
|
.stat-card-gradient-3 {
|
|
|
- background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
|
|
|
|
|
|
|
+ background:
|
|
|
|
|
+ radial-gradient(circle at top left, rgba(96, 154, 241, 0.14), transparent 42%),
|
|
|
|
|
+ linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.stat-card-gradient-4 {
|
|
.stat-card-gradient-4 {
|
|
|
- background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
|
|
|
|
|
|
|
+ background:
|
|
|
|
|
+ radial-gradient(circle at top left, rgba(137, 176, 242, 0.14), transparent 42%),
|
|
|
|
|
+ linear-gradient(180deg, #ffffff 0%, #f4f8fe 100%);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 统计内容区域
|
|
// 统计内容区域
|
|
|
.stat-content {
|
|
.stat-content {
|
|
|
padding: 20px;
|
|
padding: 20px;
|
|
|
- color: white;
|
|
|
|
|
|
|
+ color: #1f2a44;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.stat-header {
|
|
.stat-header {
|
|
@@ -803,27 +819,31 @@ onUnmounted(() => {
|
|
|
.stat-icon-wrapper {
|
|
.stat-icon-wrapper {
|
|
|
width: 48px;
|
|
width: 48px;
|
|
|
height: 48px;
|
|
height: 48px;
|
|
|
- background: rgba(255, 255, 255, 0.2);
|
|
|
|
|
|
|
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(232, 240, 252, 0.92) 100%);
|
|
|
|
|
+ border: 1px solid rgba(205, 219, 239, 0.9);
|
|
|
border-radius: 12px;
|
|
border-radius: 12px;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
- backdrop-filter: blur(10px);
|
|
|
|
|
|
|
+ box-shadow:
|
|
|
|
|
+ inset 0 1px 0 rgba(255, 255, 255, 0.95),
|
|
|
|
|
+ inset 0 -6px 12px rgba(205, 220, 242, 0.34),
|
|
|
|
|
+ 0 6px 14px rgba(66, 104, 168, 0.08);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.stat-icon {
|
|
.stat-icon {
|
|
|
font-size: 24px;
|
|
font-size: 24px;
|
|
|
- color: white;
|
|
|
|
|
|
|
+ color: #5d79b7;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.stat-title {
|
|
.stat-title {
|
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
|
- color: rgba(255, 255, 255, 0.95);
|
|
|
|
|
|
|
+ color: #000;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.stat-divider {
|
|
.stat-divider {
|
|
|
- border-color: rgba(255, 255, 255, 0.2);
|
|
|
|
|
|
|
+ border-color: rgba(201, 214, 234, 0.85);
|
|
|
margin: 12px 0;
|
|
margin: 12px 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -835,14 +855,14 @@ onUnmounted(() => {
|
|
|
|
|
|
|
|
.stat-label {
|
|
.stat-label {
|
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
|
- color: rgba(255, 255, 255, 0.8);
|
|
|
|
|
|
|
+ color: #7182a1;
|
|
|
margin-bottom: 4px;
|
|
margin-bottom: 4px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.stat-value {
|
|
.stat-value {
|
|
|
font-size: 36px;
|
|
font-size: 36px;
|
|
|
font-weight: 700;
|
|
font-weight: 700;
|
|
|
- color: white;
|
|
|
|
|
|
|
+ color: #1f2f54;
|
|
|
line-height: 1;
|
|
line-height: 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -854,13 +874,14 @@ onUnmounted(() => {
|
|
|
|
|
|
|
|
.stat-sub-label {
|
|
.stat-sub-label {
|
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
|
- color: rgba(255, 255, 255, 0.85);
|
|
|
|
|
|
|
+ color: #7182a1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.stat-sub-value {
|
|
.stat-sub-value {
|
|
|
font-size: 28px;
|
|
font-size: 28px;
|
|
|
font-weight: 700;
|
|
font-weight: 700;
|
|
|
line-height: 1;
|
|
line-height: 1;
|
|
|
|
|
+ color: #1f2f54;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 图表卡片增强样式
|
|
// 图表卡片增强样式
|