调整了商城整体色系

This commit is contained in:
dzl
2025-09-04 16:11:03 +08:00
parent 95c46ebe67
commit eed5775c1d
4 changed files with 14 additions and 14 deletions

View File

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

View File

@@ -416,7 +416,7 @@ watch(
<style scoped> <style scoped>
.product-detail-page { .product-detail-page {
min-height: 100vh; min-height: 100vh;
background: linear-gradient(to bottom, #ffae00, #f3f3f3); background: linear-gradient(to bottom, #72c9ffae, #f3f3f3);
} }
.navbar { .navbar {
@@ -760,14 +760,14 @@ watch(
.action-buttons .el-button { .action-buttons .el-button {
flex: 1; flex: 1;
background: linear-gradient(135deg, #ff6b35, #ff8c42); background: #729fff;
border: none; border: none;
border-radius: 25px; border-radius: 25px;
color: white; color: white;
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
padding: 14px 24px; padding: 14px 24px;
box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3); box-shadow: 0 4px 15px rgba(96, 197, 255, 0.3);
transition: all 0.3s ease; transition: all 0.3s ease;
text-transform: none; text-transform: none;
} }

View File

@@ -276,7 +276,7 @@ onMounted(async () => {
} }
.button { .button {
background: #ff7700; background: #3ab3ff;
color: white; color: white;
border: none; border: none;
padding: 12px 24px; padding: 12px 24px;
@@ -323,7 +323,7 @@ onMounted(async () => {
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px; gap: 20px;
padding: 20px; padding: 20px;
background: linear-gradient(to bottom, #ffae00, #f3f3f3); background: linear-gradient(to bottom, #72c9ffae, #f3f3f3);
} }
.product-card { .product-card {

View File

@@ -411,7 +411,7 @@ onMounted(() => {
<style scoped> <style scoped>
.shop-page { .shop-page {
min-height: 100vh; min-height: 100vh;
background: linear-gradient(to bottom, #ffae00, #f3f3f3); background: linear-gradient(to bottom, #72c9ffae, #f3f3f3);
} }
/* 导航栏保持白色背景 */ /* 导航栏保持白色背景 */