瀏覽代碼

style(components): 优化仪表盘和用户界面组件样式

- 重构了仪表盘统计卡片的视觉设计,添加渐变背景和悬停效果
- 更新了页面标题布局,添加副标题区域
- 优化了图表卡片的样式,添加动画和过渡效果
- 改进了表格组件的视觉表现,增强用户体验
- 调整了用户个人中心页面的布局和样式
- 添加了统计数据展示模块和相关导航功能
- 更新了VIP徽章显示方式,优化用户信息区域
- 适配了不同屏幕尺寸的响应式设计
- 增加了全局CSS变量和动画效果
- 新增了页面内导航跳转功能和错误处理机制
李思佳 2 周之前
父節點
當前提交
f836dd6d97

+ 21 - 0
LiangZhiYUMao/pages.json

@@ -63,6 +63,27 @@
 				"navigationBarTitleText": "我的活动",
 				"navigationBarTextStyle": "white"
 			}
+		},
+		{
+			"path": "pages/mine/liked-by-me",
+			"style": {
+				"navigationBarTitleText": "我喜欢的",
+				"navigationBarTextStyle": "white"
+			}
+		},
+		{
+			"path": "pages/mine/liked-me",
+			"style": {
+				"navigationBarTitleText": "喜欢我的",
+				"navigationBarTextStyle": "white"
+			}
+		},
+		{
+			"path": "pages/mine/visited-by-me",
+			"style": {
+				"navigationBarTitleText": "我浏览的",
+				"navigationBarTextStyle": "white"
+			}
 		}
 	],
 	"subPackages": [

+ 4 - 0
LiangZhiYUMao/pages/matchmaker-workbench/sign-in.json

@@ -0,0 +1,4 @@
+{
+  "navigationBarTitleText": "签到",
+  "navigationStyle": "custom"
+}

File diff suppressed because it is too large
+ 460 - 192
LiangZhiYUMao/pages/mine/index.vue


+ 260 - 0
LiangZhiYUMao/pages/mine/liked-by-me.vue

@@ -0,0 +1,260 @@
+<template>
+  <view class="like-page">
+    <!-- 页面标题栏 -->
+    <view class="page-header">
+      <text class="header-title">我喜欢的</text>
+    </view>
+    
+    <!-- 数据加载状态 -->
+    <view class="loading-container" v-if="loading">
+      <uni-loading type="circle" color="#E91E63"></uni-loading>
+      <text class="loading-text">加载中...</text>
+    </view>
+    
+    <!-- 空数据状态 -->
+    <view class="empty-container" v-else-if="users.length === 0">
+      <text class="empty-icon">💔</text>
+      <text class="empty-text">暂无喜欢的用户</text>
+      <view class="empty-action">
+        <button class="action-btn" @click="goRecommend">去推荐看看</button>
+      </view>
+    </view>
+    
+    <!-- 用户列表 -->
+    <scroll-view class="user-list" scroll-y="true">
+      <view class="user-item" v-for="user in users" :key="user.userId" @click="goUserDetail(user.userId)">
+        <image class="user-avatar" :src="user.avatar" mode="aspectFill"></image>
+        <view class="user-info">
+          <view class="user-basic">
+            <text class="user-nickname">{{ user.nickname }}</text>
+            <text class="user-age">{{ user.age }}岁</text>
+          </view>
+          <view class="user-details">
+            <text class="detail-item" v-if="user.height">{{ user.height }}cm</text>
+            <text class="detail-item" v-if="user.weight">{{ user.weight }}kg</text>
+            <text class="detail-item" v-if="user.educationText">{{ user.educationText }}</text>
+            <text class="detail-item" v-if="user.salaryText">{{ user.salaryText }}</text>
+          </view>
+          <view class="user-location" v-if="user.location">
+            <text class="location-text">{{ user.location }}</text>
+          </view>
+        </view>
+        <view class="like-status">
+          <text class="like-icon">❤️</text>
+        </view>
+      </view>
+    </scroll-view>
+  </view>
+</template>
+
+<script>
+import api from '@/utils/api.js'
+
+export default {
+  data() {
+    return {
+      users: [],
+      loading: true,
+      pageNum: 1,
+      pageSize: 20,
+      hasMore: true
+    }
+  },
+  onLoad() {
+    this.loadUsers()
+  },
+  methods: {
+    // 加载我喜欢的用户列表
+    async loadUsers() {
+      try {
+        this.loading = true
+        // 不调用真实API,显示空数据
+        this.users = []
+      } catch (error) {
+        console.error('加载喜欢的用户失败:', error)
+        uni.showToast({
+          title: '加载失败,请重试',
+          icon: 'none'
+        })
+      } finally {
+        this.loading = false
+      }
+    },
+    
+    // 跳转到用户详情页
+    goUserDetail(userId) {
+      uni.navigateTo({
+        url: `/pages/recommend/index?userId=${userId}`,
+        fail: (err) => {
+          console.error('跳转用户详情失败:', err)
+          uni.showToast({
+            title: '页面不存在',
+            icon: 'none'
+          })
+        }
+      })
+    },
+    
+    // 跳转到推荐页面
+    goRecommend() {
+      uni.navigateTo({
+        url: '/pages/recommend/index'
+      })
+    }
+  }
+}
+</script>
+
+<style lang="scss" scoped>
+.like-page {
+  min-height: 100vh;
+  background-color: #F5F5F5;
+}
+
+.page-header {
+  height: 88rpx;
+  line-height: 88rpx;
+  background-color: #E91E63;
+  text-align: center;
+  position: relative;
+  
+  .header-title {
+    font-size: 36rpx;
+    font-weight: bold;
+    color: #FFFFFF;
+  }
+}
+
+.loading-container {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+  padding: 100rpx 0;
+  
+  .loading-text {
+    margin-top: 20rpx;
+    font-size: 28rpx;
+    color: #999999;
+  }
+}
+
+.empty-container {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+  padding: 150rpx 0;
+  
+  .empty-icon {
+    font-size: 120rpx;
+    margin-bottom: 30rpx;
+  }
+  
+  .empty-text {
+    font-size: 32rpx;
+    color: #999999;
+    margin-bottom: 40rpx;
+  }
+  
+  .action-btn {
+    background: linear-gradient(135deg, #FF6B9D 0%, #E91E63 100%);
+    color: #FFFFFF;
+    border: none;
+    padding: 18rpx 70rpx;
+    border-radius: 45rpx;
+    font-size: 28rpx;
+    font-weight: 600;
+    box-shadow: 0 6rpx 20rpx rgba(233, 30, 99, 0.3);
+    transition: all 0.3s ease;
+    letter-spacing: 1rpx;
+    
+    &:active {
+      transform: translateY(2rpx);
+      box-shadow: 0 3rpx 12rpx rgba(233, 30, 99, 0.4);
+      background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
+    }
+  }
+}
+
+.user-list {
+  padding: 20rpx;
+  height: calc(100vh - 88rpx);
+}
+
+.user-item {
+  display: flex;
+  align-items: center;
+  background-color: #FFFFFF;
+  border-radius: 20rpx;
+  padding: 20rpx;
+  margin-bottom: 20rpx;
+  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
+  transition: all 0.3s ease;
+  
+  &:active {
+    transform: translateY(2rpx);
+    box-shadow: 0 1rpx 5rpx rgba(0, 0, 0, 0.05);
+  }
+  
+  .user-avatar {
+    width: 120rpx;
+    height: 120rpx;
+    border-radius: 50%;
+    margin-right: 20rpx;
+    border: 4rpx solid #FFF9F9;
+    box-shadow: 0 4rpx 15rpx rgba(233, 30, 99, 0.2);
+  }
+  
+  .user-info {
+    flex: 1;
+    
+    .user-basic {
+      display: flex;
+      align-items: center;
+      margin-bottom: 10rpx;
+      
+      .user-nickname {
+        font-size: 32rpx;
+        font-weight: bold;
+        color: #333333;
+        margin-right: 15rpx;
+      }
+      
+      .user-age {
+        font-size: 28rpx;
+        color: #666666;
+      }
+    }
+    
+    .user-details {
+      display: flex;
+      flex-wrap: wrap;
+      gap: 15rpx;
+      margin-bottom: 10rpx;
+      
+      .detail-item {
+        font-size: 24rpx;
+        color: #999999;
+        background-color: #F5F5F5;
+        padding: 6rpx 15rpx;
+        border-radius: 15rpx;
+      }
+    }
+    
+    .user-location {
+      .location-text {
+        font-size: 24rpx;
+        color: #999999;
+      }
+    }
+  }
+  
+  .like-status {
+    .like-icon {
+      font-size: 40rpx;
+      color: #E91E63;
+    }
+  }
+}
+</style>

+ 260 - 0
LiangZhiYUMao/pages/mine/liked-me.vue

@@ -0,0 +1,260 @@
+<template>
+  <view class="like-page">
+    <!-- 页面标题栏 -->
+    <view class="page-header">
+      <text class="header-title">喜欢我的</text>
+    </view>
+    
+    <!-- 数据加载状态 -->
+    <view class="loading-container" v-if="loading">
+      <uni-loading type="circle" color="#E91E63"></uni-loading>
+      <text class="loading-text">加载中...</text>
+    </view>
+    
+    <!-- 空数据状态 -->
+    <view class="empty-container" v-else-if="users.length === 0">
+      <text class="empty-icon">😊</text>
+      <text class="empty-text">暂无用户喜欢您</text>
+      <view class="empty-action">
+        <button class="action-btn" @click="goRecommend">完善资料增加曝光</button>
+      </view>
+    </view>
+    
+    <!-- 用户列表 -->
+    <scroll-view class="user-list" scroll-y="true">
+      <view class="user-item" v-for="user in users" :key="user.userId" @click="goUserDetail(user.userId)">
+        <image class="user-avatar" :src="user.avatar" mode="aspectFill"></image>
+        <view class="user-info">
+          <view class="user-basic">
+            <text class="user-nickname">{{ user.nickname }}</text>
+            <text class="user-age">{{ user.age }}岁</text>
+          </view>
+          <view class="user-details">
+            <text class="detail-item" v-if="user.height">{{ user.height }}cm</text>
+            <text class="detail-item" v-if="user.weight">{{ user.weight }}kg</text>
+            <text class="detail-item" v-if="user.educationText">{{ user.educationText }}</text>
+            <text class="detail-item" v-if="user.salaryText">{{ user.salaryText }}</text>
+          </view>
+          <view class="user-location" v-if="user.location">
+            <text class="location-text">{{ user.location }}</text>
+          </view>
+        </view>
+        <view class="like-status">
+          <text class="like-icon">💖</text>
+        </view>
+      </view>
+    </scroll-view>
+  </view>
+</template>
+
+<script>
+import api from '@/utils/api.js'
+
+export default {
+  data() {
+    return {
+      users: [],
+      loading: true,
+      pageNum: 1,
+      pageSize: 20,
+      hasMore: true
+    }
+  },
+  onLoad() {
+    this.loadUsers()
+  },
+  methods: {
+    // 加载喜欢我的用户列表
+    async loadUsers() {
+      try {
+        this.loading = true
+        // 不调用真实API,显示空数据
+        this.users = []
+      } catch (error) {
+        console.error('加载喜欢我的用户失败:', error)
+        uni.showToast({
+          title: '加载失败,请重试',
+          icon: 'none'
+        })
+      } finally {
+        this.loading = false
+      }
+    },
+    
+    // 跳转到用户详情页
+    goUserDetail(userId) {
+      uni.navigateTo({
+        url: `/pages/recommend/index?userId=${userId}`,
+        fail: (err) => {
+          console.error('跳转用户详情失败:', err)
+          uni.showToast({
+            title: '页面不存在',
+            icon: 'none'
+          })
+        }
+      })
+    },
+    
+    // 跳转到推荐页面
+    goRecommend() {
+      uni.navigateTo({
+        url: '/pages/profile/index'
+      })
+    }
+  }
+}
+</script>
+
+<style lang="scss" scoped>
+.like-page {
+  min-height: 100vh;
+  background-color: #F5F5F5;
+}
+
+.page-header {
+  height: 88rpx;
+  line-height: 88rpx;
+  background-color: #E91E63;
+  text-align: center;
+  position: relative;
+  
+  .header-title {
+    font-size: 36rpx;
+    font-weight: bold;
+    color: #FFFFFF;
+  }
+}
+
+.loading-container {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+  padding: 100rpx 0;
+  
+  .loading-text {
+    margin-top: 20rpx;
+    font-size: 28rpx;
+    color: #999999;
+  }
+}
+
+.empty-container {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+  padding: 150rpx 0;
+  
+  .empty-icon {
+    font-size: 120rpx;
+    margin-bottom: 30rpx;
+  }
+  
+  .empty-text {
+    font-size: 32rpx;
+    color: #999999;
+    margin-bottom: 40rpx;
+  }
+  
+  .action-btn {
+    background: linear-gradient(135deg, #FF6B9D 0%, #E91E63 100%);
+    color: #FFFFFF;
+    border: none;
+    padding: 18rpx 70rpx;
+    border-radius: 45rpx;
+    font-size: 28rpx;
+    font-weight: 600;
+    box-shadow: 0 6rpx 20rpx rgba(233, 30, 99, 0.3);
+    transition: all 0.3s ease;
+    letter-spacing: 1rpx;
+    
+    &:active {
+      transform: translateY(2rpx);
+      box-shadow: 0 3rpx 12rpx rgba(233, 30, 99, 0.4);
+      background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
+    }
+  }
+}
+
+.user-list {
+  padding: 20rpx;
+  height: calc(100vh - 88rpx);
+}
+
+.user-item {
+  display: flex;
+  align-items: center;
+  background-color: #FFFFFF;
+  border-radius: 20rpx;
+  padding: 20rpx;
+  margin-bottom: 20rpx;
+  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
+  transition: all 0.3s ease;
+  
+  &:active {
+    transform: translateY(2rpx);
+    box-shadow: 0 1rpx 5rpx rgba(0, 0, 0, 0.05);
+  }
+  
+  .user-avatar {
+    width: 120rpx;
+    height: 120rpx;
+    border-radius: 50%;
+    margin-right: 20rpx;
+    border: 4rpx solid #FFF9F9;
+    box-shadow: 0 4rpx 15rpx rgba(233, 30, 99, 0.2);
+  }
+  
+  .user-info {
+    flex: 1;
+    
+    .user-basic {
+      display: flex;
+      align-items: center;
+      margin-bottom: 10rpx;
+      
+      .user-nickname {
+        font-size: 32rpx;
+        font-weight: bold;
+        color: #333333;
+        margin-right: 15rpx;
+      }
+      
+      .user-age {
+        font-size: 28rpx;
+        color: #666666;
+      }
+    }
+    
+    .user-details {
+      display: flex;
+      flex-wrap: wrap;
+      gap: 15rpx;
+      margin-bottom: 10rpx;
+      
+      .detail-item {
+        font-size: 24rpx;
+        color: #999999;
+        background-color: #F5F5F5;
+        padding: 6rpx 15rpx;
+        border-radius: 15rpx;
+      }
+    }
+    
+    .user-location {
+      .location-text {
+        font-size: 24rpx;
+        color: #999999;
+      }
+    }
+  }
+  
+  .like-status {
+    .like-icon {
+      font-size: 40rpx;
+      color: #E91E63;
+    }
+  }
+}
+</style>

+ 283 - 0
LiangZhiYUMao/pages/mine/visited-by-me.vue

@@ -0,0 +1,283 @@
+<template>
+  <view class="like-page">
+    <!-- 页面标题栏 -->
+    <view class="page-header">
+      <text class="header-title">我浏览的</text>
+    </view>
+    
+    <!-- 数据加载状态 -->
+    <view class="loading-container" v-if="loading">
+      <uni-loading type="circle" color="#E91E63"></uni-loading>
+      <text class="loading-text">加载中...</text>
+    </view>
+    
+    <!-- 空数据状态 -->
+    <view class="empty-container" v-else-if="browseHistory.length === 0">
+      <text class="empty-icon">👀</text>
+      <text class="empty-text">暂无浏览记录</text>
+      <view class="empty-action">
+        <button class="action-btn" @click="goRecommend">去推荐看看</button>
+      </view>
+    </view>
+    
+    <!-- 浏览记录列表 -->
+    <scroll-view class="history-list" scroll-y="true">
+      <view class="history-item" v-for="item in browseHistory" :key="item.id" @click="goUserDetail(item.userId)">
+        <image class="user-avatar" :src="item.avatar" mode="aspectFill"></image>
+        <view class="user-info">
+          <view class="user-basic">
+            <text class="user-nickname">{{ item.nickname }}</text>
+            <text class="user-age">{{ item.age }}岁</text>
+          </view>
+          <view class="user-details">
+            <text class="detail-item" v-if="item.height">{{ item.height }}cm</text>
+            <text class="detail-item" v-if="item.weight">{{ item.weight }}kg</text>
+            <text class="detail-item" v-if="item.educationText">{{ item.educationText }}</text>
+            <text class="detail-item" v-if="item.salaryText">{{ item.salaryText }}</text>
+          </view>
+          <view class="browse-time">
+            <text class="time-text">{{ formatTime(item.viewTime) }}</text>
+          </view>
+        </view>
+        <view class="browse-status">
+          <text class="browse-icon">👁️</text>
+        </view>
+      </view>
+    </scroll-view>
+  </view>
+</template>
+
+<script>
+import api from '@/utils/api.js'
+
+export default {
+  data() {
+    return {
+      browseHistory: [],
+      loading: true,
+      pageNum: 1,
+      pageSize: 20,
+      hasMore: true
+    }
+  },
+  onLoad() {
+    this.loadBrowseHistory()
+  },
+  methods: {
+    // 加载浏览记录
+    async loadBrowseHistory() {
+      try {
+        this.loading = true
+        // 不调用真实API,显示空数据
+        this.browseHistory = []
+      } catch (error) {
+        console.error('加载浏览记录失败:', error)
+        uni.showToast({
+          title: '加载失败,请重试',
+          icon: 'none'
+        })
+      } finally {
+        this.loading = false
+      }
+    },
+    
+    // 格式化时间
+    formatTime(time) {
+      if (!time) return ''
+      
+      const now = new Date()
+      const viewTime = new Date(time)
+      const diff = now - viewTime
+      
+      const minutes = Math.floor(diff / (1000 * 60))
+      const hours = Math.floor(diff / (1000 * 60 * 60))
+      const days = Math.floor(diff / (1000 * 60 * 60 * 24))
+      
+      if (minutes < 60) {
+        return `${minutes}分钟前`
+      } else if (hours < 24) {
+        return `${hours}小时前`
+      } else if (days < 30) {
+        return `${days}天前`
+      } else {
+        return viewTime.toLocaleDateString()
+      }
+    },
+    
+    // 跳转到用户详情页
+    goUserDetail(userId) {
+      uni.navigateTo({
+        url: `/pages/recommend/index?userId=${userId}`,
+        fail: (err) => {
+          console.error('跳转用户详情失败:', err)
+          uni.showToast({
+            title: '页面不存在',
+            icon: 'none'
+          })
+        }
+      })
+    },
+    
+    // 跳转到推荐页面
+    goRecommend() {
+      uni.navigateTo({
+        url: '/pages/recommend/index'
+      })
+    }
+  }
+}
+</script>
+
+<style lang="scss" scoped>
+.like-page {
+  min-height: 100vh;
+  background-color: #F5F5F5;
+}
+
+.page-header {
+  height: 88rpx;
+  line-height: 88rpx;
+  background-color: #E91E63;
+  text-align: center;
+  position: relative;
+  
+  .header-title {
+    font-size: 36rpx;
+    font-weight: bold;
+    color: #FFFFFF;
+  }
+}
+
+.loading-container {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+  padding: 100rpx 0;
+  
+  .loading-text {
+    margin-top: 20rpx;
+    font-size: 28rpx;
+    color: #999999;
+  }
+}
+
+.empty-container {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+  padding: 150rpx 0;
+  
+  .empty-icon {
+    font-size: 120rpx;
+    margin-bottom: 30rpx;
+  }
+  
+  .empty-text {
+    font-size: 32rpx;
+    color: #999999;
+    margin-bottom: 40rpx;
+  }
+  
+  .action-btn {
+    background: linear-gradient(135deg, #FF6B9D 0%, #E91E63 100%);
+    color: #FFFFFF;
+    border: none;
+    padding: 18rpx 70rpx;
+    border-radius: 45rpx;
+    font-size: 28rpx;
+    font-weight: 600;
+    box-shadow: 0 6rpx 20rpx rgba(233, 30, 99, 0.3);
+    transition: all 0.3s ease;
+    letter-spacing: 1rpx;
+    
+    &:active {
+      transform: translateY(2rpx);
+      box-shadow: 0 3rpx 12rpx rgba(233, 30, 99, 0.4);
+      background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
+    }
+  }
+}
+
+.history-list {
+  padding: 20rpx;
+  height: calc(100vh - 88rpx);
+}
+
+.history-item {
+  display: flex;
+  align-items: center;
+  background-color: #FFFFFF;
+  border-radius: 20rpx;
+  padding: 20rpx;
+  margin-bottom: 20rpx;
+  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
+  transition: all 0.3s ease;
+  
+  &:active {
+    transform: translateY(2rpx);
+    box-shadow: 0 1rpx 5rpx rgba(0, 0, 0, 0.05);
+  }
+  
+  .user-avatar {
+    width: 120rpx;
+    height: 120rpx;
+    border-radius: 50%;
+    margin-right: 20rpx;
+    border: 4rpx solid #FFF9F9;
+    box-shadow: 0 4rpx 15rpx rgba(233, 30, 99, 0.2);
+  }
+  
+  .user-info {
+    flex: 1;
+    
+    .user-basic {
+      display: flex;
+      align-items: center;
+      margin-bottom: 10rpx;
+      
+      .user-nickname {
+        font-size: 32rpx;
+        font-weight: bold;
+        color: #333333;
+        margin-right: 15rpx;
+      }
+      
+      .user-age {
+        font-size: 28rpx;
+        color: #666666;
+      }
+    }
+    
+    .user-details {
+      display: flex;
+      flex-wrap: wrap;
+      gap: 15rpx;
+      margin-bottom: 10rpx;
+      
+      .detail-item {
+        font-size: 24rpx;
+        color: #999999;
+        background-color: #F5F5F5;
+        padding: 6rpx 15rpx;
+        border-radius: 15rpx;
+      }
+    }
+    
+    .browse-time {
+      .time-text {
+        font-size: 22rpx;
+        color: #CCCCCC;
+      }
+    }
+  }
+  
+  .browse-status {
+    .browse-icon {
+      font-size: 40rpx;
+      color: #E91E63;
+    }
+  }
+}
+</style>

+ 553 - 145
marriageAdmin-vue/src/views/Dashboard.vue

@@ -1,13 +1,19 @@
 <template>
   <div class="dashboard-container">
-    <h2 class="page-title">数据面板</h2>
+    <!-- 页面标题 -->
+    <div class="page-header">
+      <h2 class="page-title">数据面板</h2>
+      <div class="page-subtitle">实时监控和分析平台关键数据指标</div>
+    </div>
     
     <!-- 统计卡片 -->
-    <el-row :gutter="20" class="stats-row">
+    <el-row :gutter="24" class="stats-row">
       <el-col :xs="24" :sm="12" :md="6">
-        <el-card shadow="hover" class="stat-card">
+        <el-card shadow="hover" class="stat-card stat-card--primary">
           <div class="stat-content">
-            <el-icon class="stat-icon" color="#409EFF"><User /></el-icon>
+            <div class="stat-icon-wrapper">
+              <el-icon class="stat-icon"><User /></el-icon>
+            </div>
             <div class="stat-info">
               <p class="stat-label">总用户数</p>
               <h3 class="stat-value">{{ stats.totalUsers }}</h3>
@@ -17,9 +23,11 @@
       </el-col>
       
       <el-col :xs="24" :sm="12" :md="6">
-        <el-card shadow="hover" class="stat-card">
+        <el-card shadow="hover" class="stat-card stat-card--success">
           <div class="stat-content">
-            <el-icon class="stat-icon" color="#67C23A"><Calendar /></el-icon>
+            <div class="stat-icon-wrapper">
+              <el-icon class="stat-icon"><Calendar /></el-icon>
+            </div>
             <div class="stat-info">
               <p class="stat-label">活动数量</p>
               <h3 class="stat-value">{{ stats.totalActivities }}</h3>
@@ -29,9 +37,11 @@
       </el-col>
       
       <el-col :xs="24" :sm="12" :md="6">
-        <el-card shadow="hover" class="stat-card">
+        <el-card shadow="hover" class="stat-card stat-card--warning">
           <div class="stat-content">
-            <el-icon class="stat-icon" color="#E6A23C"><TrophyBase /></el-icon>
+            <div class="stat-icon-wrapper">
+              <el-icon class="stat-icon"><TrophyBase /></el-icon>
+            </div>
             <div class="stat-info">
               <p class="stat-label">成功案例</p>
               <h3 class="stat-value">{{ stats.totalCases }}</h3>
@@ -41,9 +51,11 @@
       </el-col>
       
       <el-col :xs="24" :sm="12" :md="6">
-        <el-card shadow="hover" class="stat-card">
+        <el-card shadow="hover" class="stat-card stat-card--danger">
           <div class="stat-content">
-            <el-icon class="stat-icon" color="#F56C6C"><Reading /></el-icon>
+            <div class="stat-icon-wrapper">
+              <el-icon class="stat-icon"><Reading /></el-icon>
+            </div>
             <div class="stat-info">
               <p class="stat-label">课程数量</p>
               <h3 class="stat-value">{{ stats.totalCourses }}</h3>
@@ -54,20 +66,24 @@
     </el-row>
     
     <!-- 图表区域 -->
-    <el-row :gutter="20" class="charts-row">
+    <el-row :gutter="24" class="charts-row">
       <el-col :xs="24" :md="12">
-        <el-card shadow="hover">
+        <el-card shadow="hover" class="chart-card">
           <template #header>
-            <span>用户增长趋势</span>
+            <div class="card-header">
+              <span class="card-title">用户增长趋势</span>
+            </div>
           </template>
           <div ref="userTrendChart" class="chart-container"></div>
         </el-card>
       </el-col>
       
       <el-col :xs="24" :md="12">
-        <el-card shadow="hover">
+        <el-card shadow="hover" class="chart-card">
           <template #header>
-            <span>活动报名统计</span>
+            <div class="card-header">
+              <span class="card-title">活动报名统计</span>
+            </div>
           </template>
           <div ref="activityStatsChart" class="chart-container"></div>
         </el-card>
@@ -75,28 +91,41 @@
     </el-row>
     
     <!-- 最近活动 -->
-    <el-card shadow="hover" class="recent-activities">
+    <el-card shadow="hover" class="table-card">
       <template #header>
-        <span>最近活动</span>
+        <div class="card-header">
+          <span class="card-title">最近活动</span>
+        </div>
       </template>
-      <el-table :data="recentActivities" stripe style="width: 100%">
-        <el-table-column prop="name" label="活动名称" />
-        <el-table-column prop="type" label="类型" width="100">
+      <el-table :data="recentActivities" style="width: 100%" class="dashboard-table">
+        <el-table-column prop="name" label="活动名称" min-width="200">
           <template #default="{ row }">
-            <el-tag :type="row.type === 1 ? 'success' : 'primary'" size="small">
+            <div class="activity-name">{{ row.name }}</div>
+          </template>
+        </el-table-column>
+        <el-table-column prop="type" label="类型" width="120">
+          <template #default="{ row }">
+            <el-tag :type="row.type === 1 ? 'success' : 'primary'" size="small" effect="light">
               {{ row.type === 1 ? '线上' : '线下' }}
             </el-tag>
           </template>
         </el-table-column>
-        <el-table-column prop="participants" label="报名人数" width="100" />
-        <el-table-column prop="status" label="状态" width="100">
+        <el-table-column prop="participants" label="报名人数" width="120" align="center" />
+        <el-table-column prop="status" label="状态" width="120" align="center">
           <template #default="{ row }">
-            <el-tag :type="getStatusType(row.status)" size="small">
+            <el-tag :type="getStatusType(row.status)" size="small" effect="light">
               {{ getStatusText(row.status) }}
             </el-tag>
           </template>
         </el-table-column>
-        <el-table-column prop="startTime" label="开始时间" width="180" />
+        <el-table-column prop="startTime" label="开始时间" width="200" align="center" />
+        <el-table-column label="操作" width="120" align="center">
+          <template #default="{ row }">
+            <el-button type="primary" size="small" link>
+              查看
+            </el-button>
+          </template>
+        </el-table-column>
       </el-table>
     </el-card>
   </div>
@@ -104,7 +133,7 @@
 
 <script setup>
 import { ref, onMounted, onUnmounted, nextTick } from 'vue'
-import { User, Calendar, TrophyBase, Reading } from '@element-plus/icons-vue'
+import { User, Calendar, TrophyBase, Reading, ArrowUp, Plus } from '@element-plus/icons-vue'
 import * as echarts from 'echarts'
 import request from '@/utils/request'
 
@@ -401,252 +430,621 @@ onUnmounted(() => {
 </script>
 
 <style scoped>
+/* ==================== 全局变量 ==================== */
+:root {
+  --primary-gradient: linear-gradient(135deg, #409EFF 0%, #66B1FF 100%);
+  --success-gradient: linear-gradient(135deg, #67C23A 0%, #85CE61 100%);
+  --warning-gradient: linear-gradient(135deg, #E6A23C 0%, #F0C14B 100%);
+  --danger-gradient: linear-gradient(135deg, #F56C6C 0%, #F78989 100%);
+  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
+  --card-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.12);
+  --transition-fast: 0.2s ease;
+  --transition-normal: 0.3s ease;
+  --transition-slow: 0.4s ease;
+}
+
 /* ==================== 仪表盘容器 ==================== */
 .dashboard-container {
-  padding: 0;
-  animation: fadeIn 0.5s ease-out;
+  padding: 24px;
+  background-color: #f8f9fa;
+  min-height: 100vh;
+  animation: fadeIn 0.6s ease-out;
 }
 
 /* 页面标题 */
+.page-header {
+  margin-bottom: 32px;
+}
+
 .page-title {
-  font-size: var(--font-3xl);
-  font-weight: var(--font-bold);
-  color: var(--text-primary);
-  margin: 0 0 var(--spacing-xl) 0;
-  position: relative;
-  padding-bottom: var(--spacing-md);
+  font-size: 28px;
+  font-weight: 700;
+  color: #2c3e50;
+  margin: 0 0 8px 0;
+  letter-spacing: -0.5px;
 }
 
-.page-title::after {
-  content: '';
-  position: absolute;
-  left: 0;
-  bottom: 0;
-  width: 60px;
-  height: 4px;
-  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
-  border-radius: 2px;
+.page-subtitle {
+  font-size: 14px;
+  color: #909399;
+  font-weight: 400;
 }
 
 /* ==================== 统计卡片区域 ==================== */
 .stats-row {
-  margin-bottom: var(--spacing-xl);
+  margin-bottom: 28px;
 }
 
 .stat-card {
   cursor: pointer;
-  transition: all var(--transition-base);
-  border: 1px solid var(--border-color);
-  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
-  position: relative;
+  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
+  border: none;
+  border-radius: 16px;
+  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
+  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.2);
   overflow: hidden;
+  position: relative;
+  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
 }
 
+/* 卡片渐变边框效果 */
 .stat-card::before {
   content: '';
   position: absolute;
   top: 0;
+  left: 0;
   right: 0;
-  width: 100px;
-  height: 100px;
-  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
-  transform: translate(20px, -20px);
-  transition: all var(--transition-slow);
+  height: 4px;
+  opacity: 0.9;
+  z-index: 2;
 }
 
-.stat-card:hover {
-  transform: translateY(-8px);
-  box-shadow: var(--shadow-lg);
-  border-color: var(--primary-light);
+.stat-card--primary::before {
+  background: linear-gradient(135deg, #409EFF 0%, #66B1FF 100%);
 }
 
-.stat-card:hover::before {
-  transform: translate(10px, -10px) scale(1.2);
+.stat-card--success::before {
+  background: linear-gradient(135deg, #67C23A 0%, #85CE61 100%);
+}
+
+.stat-card--warning::before {
+  background: linear-gradient(135deg, #E6A23C 0%, #F0C14B 100%);
+}
+
+.stat-card--danger::before {
+  background: linear-gradient(135deg, #F56C6C 0%, #F78989 100%);
+}
+
+/* 卡片发光效果 */
+.stat-card::after {
+  content: '';
+  position: absolute;
+  top: -2px;
+  left: -2px;
+  right: -2px;
+  bottom: -2px;
+  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
+  border-radius: 16px;
+  opacity: 0;
+  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
+  z-index: 1;
+}
+
+.stat-card:hover::after {
+  opacity: 1;
+}
+
+.stat-card:hover {
+  transform: translateY(-8px) scale(1.02);
+  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
 }
 
 /* 统计卡片内容 */
 .stat-content {
   display: flex;
   align-items: center;
-  gap: var(--spacing-xl);
-  padding: var(--spacing-md);
+  gap: 24px;
+  padding: 32px;
   position: relative;
-  z-index: 1;
+  z-index: 3;
 }
 
-.stat-icon {
-  font-size: 52px;
+.stat-icon-wrapper {
+  width: 72px;
+  height: 72px;
+  border-radius: 12px;
+  display: flex;
+  align-items: center;
+  justify-content: center;
   flex-shrink: 0;
-  transition: transform var(--transition-base);
-  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
+  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
+  position: relative;
+  overflow: hidden;
 }
 
-.stat-card:hover .stat-icon {
+.stat-icon-wrapper::before {
+  content: '';
+  position: absolute;
+  top: 0;
+  left: 0;
+  width: 100%;
+  height: 100%;
+  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
+  opacity: 0.6;
+}
+
+.stat-card--primary .stat-icon-wrapper {
+  background: linear-gradient(135deg, rgba(64, 158, 255, 0.1) 0%, rgba(102, 177, 255, 0.05) 100%);
+  box-shadow: 0 4px 16px rgba(64, 158, 255, 0.2);
+}
+
+.stat-card--success .stat-icon-wrapper {
+  background: linear-gradient(135deg, rgba(103, 194, 58, 0.1) 0%, rgba(133, 206, 97, 0.05) 100%);
+  box-shadow: 0 4px 16px rgba(103, 194, 58, 0.2);
+}
+
+.stat-card--warning .stat-icon-wrapper {
+  background: linear-gradient(135deg, rgba(230, 162, 60, 0.1) 0%, rgba(240, 193, 75, 0.05) 100%);
+  box-shadow: 0 4px 16px rgba(230, 162, 60, 0.2);
+}
+
+.stat-card--danger .stat-icon-wrapper {
+  background: linear-gradient(135deg, rgba(245, 108, 108, 0.1) 0%, rgba(247, 137, 137, 0.05) 100%);
+  box-shadow: 0 4px 16px rgba(245, 108, 108, 0.2);
+}
+
+.stat-card:hover .stat-icon-wrapper {
   transform: scale(1.1) rotate(5deg);
 }
 
+.stat-icon {
+  font-size: 36px;
+  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
+  position: relative;
+  z-index: 1;
+}
+
+.stat-card--primary .stat-icon {
+  color: #409EFF;
+  text-shadow: 0 4px 12px rgba(64, 158, 255, 0.2);
+}
+
+.stat-card--success .stat-icon {
+  color: #67C23A;
+  text-shadow: 0 4px 12px rgba(103, 194, 58, 0.2);
+}
+
+.stat-card--warning .stat-icon {
+  color: #E6A23C;
+  text-shadow: 0 4px 12px rgba(230, 162, 60, 0.2);
+}
+
+.stat-card--danger .stat-icon {
+  color: #F56C6C;
+  text-shadow: 0 4px 12px rgba(245, 108, 108, 0.2);
+}
+
+.stat-card:hover .stat-icon {
+  transform: scale(1.2);
+}
+
 .stat-info {
   flex: 1;
   min-width: 0;
 }
 
 .stat-label {
-  font-size: var(--font-sm);
-  color: var(--text-secondary);
-  margin: 0 0 var(--spacing-sm) 0;
-  font-weight: var(--font-medium);
+  font-size: 13px;
+  color: #909399;
+  margin: 0 0 10px 0;
+  font-weight: 600;
   text-transform: uppercase;
-  letter-spacing: 0.5px;
+  letter-spacing: 0.8px;
+  opacity: 0.8;
 }
 
 .stat-value {
-  font-size: var(--font-4xl);
-  font-weight: var(--font-bold);
-  color: var(--text-primary);
+  font-size: 36px;
+  font-weight: 800;
+  color: #2c3e50;
   margin: 0;
-  line-height: 1.2;
-  /* 移除渐变文字效果,确保数字清晰可见 */
+  line-height: 1.1;
+  letter-spacing: -1px;
+  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
+  position: relative;
+}
+
+.stat-card:hover .stat-value {
+  transform: translateX(5px);
 }
 
 /* ==================== 图表区域 ==================== */
 .charts-row {
-  margin-bottom: var(--spacing-xl);
+  margin-bottom: 28px;
 }
 
-.charts-row .el-card {
+.chart-card {
   height: 100%;
-  border: 1px solid var(--border-color);
-  transition: all var(--transition-base);
+  border: none;
+  border-radius: 16px;
+  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
+  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.2);
+  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
+  overflow: hidden;
+  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
+  position: relative;
+}
+
+.chart-card::before {
+  content: '';
+  position: absolute;
+  top: 0;
+  left: 0;
+  right: 0;
+  height: 3px;
+  background: linear-gradient(90deg, #409EFF, #67C23A);
+  opacity: 0.8;
+}
+
+.chart-card:hover {
+  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
+  transform: translateY(-6px) scale(1.01);
+}
+
+/* 卡片头部 */
+.card-header {
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
+  width: 100%;
+  gap: 16px;
 }
 
-.charts-row .el-card:hover {
-  box-shadow: var(--shadow-md);
-  transform: translateY(-2px);
+.card-title {
+  font-size: 17px;
+  font-weight: 700;
+  color: #2c3e50;
+  letter-spacing: -0.3px;
+  position: relative;
+  padding-left: 12px;
 }
 
-.charts-row .el-card :deep(.el-card__header) {
-  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
-  font-size: var(--font-md);
-  font-weight: var(--font-semibold);
-  color: var(--text-primary);
-  border-bottom: 2px solid var(--border-color);
+.card-title::before {
+  content: '';
+  position: absolute;
+  left: 0;
+  top: 50%;
+  transform: translateY(-50%);
+  width: 4px;
+  height: 16px;
+  background: linear-gradient(135deg, #409EFF 0%, #66B1FF 100%);
+  border-radius: 2px;
+}
+
+.chart-card :deep(.el-card__header) {
+  background: transparent;
+  font-size: 17px;
+  font-weight: 700;
+  color: #2c3e50;
+  border-bottom: 1px solid rgba(235, 238, 245, 0.8);
+  padding: 24px 28px;
 }
 
 .chart-container {
   width: 100%;
-  height: 320px;
-  padding: var(--spacing-md);
+  height: 380px;
+  padding: 24px;
+  background: radial-gradient(circle at top right, rgba(64, 158, 255, 0.03) 0%, transparent 50%);
+  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 }
 
-/* ==================== 最近活动表格 ==================== */
-.recent-activities {
-  margin-top: var(--spacing-xl);
-  border: 1px solid var(--border-color);
-  transition: all var(--transition-base);
+.chart-card:hover .chart-container {
+  background: radial-gradient(circle at top right, rgba(64, 158, 255, 0.06) 0%, transparent 50%);
 }
 
-.recent-activities:hover {
-  box-shadow: var(--shadow-md);
+/* ==================== 表格卡片 ==================== */
+.table-card {
+  border: none;
+  border-radius: 16px;
+  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
+  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.2);
+  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
+  overflow: hidden;
+  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
+  position: relative;
 }
 
-.recent-activities :deep(.el-card__header) {
-  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
-  font-size: var(--font-md);
-  font-weight: var(--font-semibold);
-  color: var(--text-primary);
-  border-bottom: 2px solid var(--border-color);
+.table-card::before {
+  content: '';
+  position: absolute;
+  top: 0;
+  left: 0;
+  right: 0;
+  height: 3px;
+  background: linear-gradient(90deg, #67C23A, #E6A23C);
+  opacity: 0.8;
+}
+
+.table-card:hover {
+  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
+  transform: translateY(-4px);
+}
+
+.table-card :deep(.el-card__header) {
+  background: transparent;
+  font-size: 17px;
+  font-weight: 700;
+  color: #2c3e50;
+  border-bottom: 1px solid rgba(235, 238, 245, 0.8);
+  padding: 24px 28px;
 }
 
 /* 表格样式增强 */
-.recent-activities :deep(.el-table) {
-  font-size: var(--font-sm);
+.dashboard-table {
+  font-size: 14px;
+  border-radius: 0 0 16px 16px;
+  overflow: hidden;
+}
+
+.dashboard-table :deep(.el-table__header-wrapper) {
+  background: linear-gradient(135deg, #fafafa 0%, #f0f2f5 100%);
+}
+
+.dashboard-table :deep(.el-table th) {
+  background-color: transparent;
+  color: #606266;
+  font-weight: 700;
+  height: 56px;
+  padding: 0 20px;
+  border-bottom: 1px solid rgba(235, 238, 245, 0.8);
+  font-size: 13px;
+  letter-spacing: 0.5px;
+}
+
+.dashboard-table :deep(.el-table td) {
+  color: #606266;
+  height: 52px;
+  padding: 0 20px;
+  border-bottom: 1px solid rgba(240, 240, 240, 0.6);
+  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
 }
 
-.recent-activities :deep(.el-table__header-wrapper) {
-  border-radius: var(--radius-base) var(--radius-base) 0 0;
+.dashboard-table :deep(.el-table__row) {
+  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
+  position: relative;
+  overflow: hidden;
+}
+
+.dashboard-table :deep(.el-table__row)::after {
+  content: '';
+  position: absolute;
+  left: 0;
+  top: 0;
+  height: 100%;
+  width: 0;
+  background: linear-gradient(90deg, rgba(64, 158, 255, 0.05) 0%, transparent 100%);
+  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 }
 
-.recent-activities :deep(.el-table th) {
-  background-color: var(--bg-tertiary);
-  color: var(--text-primary);
-  font-weight: var(--font-semibold);
+.dashboard-table :deep(.el-table__row:hover) {
+  background-color: #f8fafc;
+  transform: translateX(5px);
+  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
 }
 
-.recent-activities :deep(.el-table td) {
-  color: var(--text-secondary);
+.dashboard-table :deep(.el-table__row:hover::after) {
+  width: 100%;
+}
+
+.dashboard-table :deep(.el-table__body-wrapper) {
+  overflow-x: auto;
+  border-radius: 0 0 16px 16px;
+}
+
+/* 活动名称 */
+.activity-name {
+  color: #409EFF;
+  font-weight: 600;
+  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
+  position: relative;
+  display: inline-block;
+  padding: 2px 0;
+}
+
+.activity-name::after {
+  content: '';
+  position: absolute;
+  left: 0;
+  bottom: 0;
+  width: 0;
+  height: 2px;
+  background: linear-gradient(135deg, #409EFF 0%, #66B1FF 100%);
+  transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
 }
 
-.recent-activities :deep(.el-table__row:hover) {
-  background-color: var(--bg-hover);
+.activity-name:hover {
+  color: #66B1FF;
+  transform: translateX(3px);
+}
+
+.activity-name:hover::after {
+  width: 100%;
 }
 
 /* 标签样式 */
-.recent-activities :deep(.el-tag) {
-  font-weight: var(--font-medium);
-  border-radius: var(--radius-sm);
-  padding: 4px 12px;
+.dashboard-table :deep(.el-tag) {
+  font-weight: 600;
+  border-radius: 16px;
+  padding: 6px 16px;
+  font-size: 12px;
+  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
+  border: none;
+}
+
+.dashboard-table :deep(.el-tag--success) {
+  background: linear-gradient(135deg, rgba(103, 194, 58, 0.15) 0%, rgba(133, 206, 97, 0.05) 100%);
+  color: #67C23A;
+  box-shadow: 0 2px 8px rgba(103, 194, 58, 0.2);
+}
+
+.dashboard-table :deep(.el-tag--primary) {
+  background: linear-gradient(135deg, rgba(64, 158, 255, 0.15) 0%, rgba(102, 177, 255, 0.05) 100%);
+  color: #409EFF;
+  box-shadow: 0 2px 8px rgba(64, 158, 255, 0.2);
+}
+
+.dashboard-table :deep(.el-tag--info) {
+  background: linear-gradient(135deg, rgba(144, 147, 153, 0.15) 0%, rgba(166, 168, 173, 0.05) 100%);
+  color: #909399;
+  box-shadow: 0 2px 8px rgba(144, 147, 153, 0.2);
+}
+
+.dashboard-table :deep(.el-tag--warning) {
+  background: linear-gradient(135deg, rgba(230, 162, 60, 0.15) 0%, rgba(240, 193, 75, 0.05) 100%);
+  color: #E6A23C;
+  box-shadow: 0 2px 8px rgba(230, 162, 60, 0.2);
+}
+
+/* 按钮样式 */
+.dashboard-table :deep(.el-button--primary.is-text) {
+  color: #409EFF;
+  font-size: 13px;
+  font-weight: 600;
+  padding: 0;
+  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
+}
+
+.dashboard-table :deep(.el-button--primary.is-text:hover) {
+  color: #66B1FF;
+  background: transparent;
+  transform: translateX(3px);
+}
+
+/* ==================== 动画效果 ==================== */
+@keyframes fadeIn {
+  from {
+    opacity: 0;
+    transform: translateY(20px);
+  }
+  to {
+    opacity: 1;
+    transform: translateY(0);
+  }
+}
+
+@keyframes fadeInUp {
+  from {
+    opacity: 0;
+    transform: translateY(30px) scale(0.95);
+  }
+  to {
+    opacity: 1;
+    transform: translateY(0) scale(1);
+  }
+}
+
+@keyframes slideInLeft {
+  from {
+    opacity: 0;
+    transform: translateX(-30px);
+  }
+  to {
+    opacity: 1;
+    transform: translateX(0);
+  }
 }
 
 /* ==================== 响应式设计 ==================== */
 
 /* 平板设备 */
 @media (max-width: 1024px) {
+  .dashboard-container {
+    padding: 20px;
+  }
+
   .page-title {
-    font-size: var(--font-2xl);
+    font-size: 28px;
   }
 
   .stat-value {
-    font-size: var(--font-3xl);
+    font-size: 32px;
+  }
+
+  .stat-icon-wrapper {
+    width: 64px;
+    height: 64px;
   }
 
   .stat-icon {
-    font-size: 44px;
+    font-size: 32px;
   }
 
   .chart-container {
-    height: 280px;
+    height: 340px;
+    padding: 20px;
   }
 }
 
 /* 移动设备 */
 @media (max-width: 768px) {
+  .dashboard-container {
+    padding: 16px;
+  }
+
   .page-title {
-    font-size: var(--font-xl);
-    margin-bottom: var(--spacing-lg);
+    font-size: 24px;
+  }
+
+  .page-header {
+    margin-bottom: 24px;
   }
 
   .stats-row {
-    margin-bottom: var(--spacing-lg);
+    margin-bottom: 20px;
   }
 
   .stat-content {
-    gap: var(--spacing-md);
-    padding: var(--spacing-sm);
+    gap: 20px;
+    padding: 24px;
   }
 
-  .stat-icon {
-    font-size: 36px;
+  .stat-icon-wrapper {
+    width: 56px;
+    height: 56px;
   }
 
-  .stat-value {
-    font-size: var(--font-2xl);
+  .stat-icon {
+    font-size: 28px;
   }
 
-  .stat-label {
-    font-size: var(--font-xs);
+  .stat-value {
+    font-size: 28px;
   }
 
   .chart-container {
-    height: 240px;
-    padding: var(--spacing-sm);
+    height: 300px;
+    padding: 16px;
   }
 
   .charts-row {
-    margin-bottom: var(--spacing-lg);
+    margin-bottom: 20px;
+  }
+
+  .card-header {
+    flex-direction: column;
+    align-items: flex-start;
+    gap: 12px;
   }
 
-  .recent-activities :deep(.el-table) {
-    font-size: var(--font-xs);
+  .chart-card :deep(.el-card__header),
+  .table-card :deep(.el-card__header) {
+    padding: 20px 24px;
+  }
+
+  .dashboard-table :deep(.el-table th),
+  .dashboard-table :deep(.el-table td) {
+    padding: 0 16px;
+    font-size: 13px;
   }
 }
 
@@ -655,22 +1053,32 @@ onUnmounted(() => {
   .stat-content {
     flex-direction: column;
     text-align: center;
-    gap: var(--spacing-sm);
+    gap: 16px;
   }
 
   .chart-container {
-    height: 200px;
+    height: 260px;
+  }
+
+  .dashboard-table :deep(.el-table th),
+  .dashboard-table :deep(.el-table td) {
+    padding: 0 12px;
+    font-size: 12px;
   }
 }
 
 /* 超大屏幕 */
 @media (min-width: 1920px) {
+  .dashboard-container {
+    padding: 40px;
+  }
+
   .chart-container {
-    height: 380px;
+    height: 450px;
   }
 
   .stat-value {
-    font-size: var(--font-5xl);
+    font-size: 42px;
   }
 }
 </style>

Some files were not shown because too many files changed in this diff