diff --git a/src/views/MyShop.vue b/src/views/MyShop.vue index cdf2c6a..ea37650 100644 --- a/src/views/MyShop.vue +++ b/src/views/MyShop.vue @@ -178,7 +178,7 @@ export default { width: 100%; margin: 0; padding: 0; - background: linear-gradient(to bottom, #ffae00, #f3f3f3); + background: linear-gradient(to bottom, #72c9ffae, #f3f3f3); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; position: relative; } @@ -202,7 +202,7 @@ export default { .balance-section { width: 343px; height: 159px; - background: rgb(245, 245, 185); + background: rgb(223, 185, 245); border-radius: 12px; box-shadow: var(--box-shadow); padding: 20px; @@ -234,7 +234,7 @@ export default { .detail-btn { width: 123px; height: 35px; - background: #ffde73; + background: #fff09d; color: black; border: none; border-radius: 18px; @@ -301,7 +301,7 @@ export default { .empty-spacer button { height: 40px; /* 固定按钮高度,增强点击区域 */ padding: 0 20px; /* 增加左右内边距,扩大按钮面积 */ - background: linear-gradient(135deg, #ffae00 0%, #ff8c00 100%); /* 渐变背景,呼应顶部色调 */ + background: linear-gradient(135deg, #00a2ff 0%, #00a2ff 100%); /* 渐变背景,呼应顶部色调 */ color: white; /* 文字白色,提高对比度 */ border: none; /* 去除默认边框 */ border-radius: 20px; /* 圆角设计,与页面风格统一 */ @@ -309,14 +309,14 @@ export default { font-weight: 500; /* 半粗体,增强视觉权重 */ cursor: pointer; /* 鼠标悬停显示手型 */ transition: var(--transition); /* 过渡动画,与其他交互元素保持一致 */ - box-shadow: 0 2px 4px rgba(255, 140, 0, 0.3); /* 轻微阴影,增强立体感 */ + box-shadow: 0 2px 4px rgba(0, 217, 255, 0.3); /* 轻微阴影,增强立体感 */ } /* 按钮悬停效果 */ .empty-spacer button:hover { transform: translateY(-2px); /* 轻微上浮效果 */ - box-shadow: 0 4px 8px rgba(255, 140, 0, 0.4); /* 阴影加深,增强交互反馈 */ - background: linear-gradient(135deg, #ff9a00 0%, #ff7b00 100%); /* 悬停时颜色加深 */ + box-shadow: 0 2px 4px rgba(0, 217, 255, 0.3); /* 阴影加深,增强交互反馈 */ + background: linear-gradient(135deg, #0051ff 0%, #0051ff 100%); /* 悬停时颜色加深 */ } /* 按钮:active状态 */ @@ -380,7 +380,7 @@ export default { .category-grid { width: 100%; - background-color: #fff0d0; + background-color: #d0e8ff; border-radius: 8px; display: flex; flex-direction: column; diff --git a/src/views/ProductDetail.vue b/src/views/ProductDetail.vue index a5b8b99..3874669 100644 --- a/src/views/ProductDetail.vue +++ b/src/views/ProductDetail.vue @@ -416,7 +416,7 @@ watch(