修复配色

This commit is contained in:
Kroytz committed 2026-07-10 18:41:43 +08:00
1 parent e3c6fe9231
commit c0411b1ce7
2 files changed
+77 -24

No files matched your search

@@ -1508,4 +1508,50 @@ page {
} }
.store-header-img { flex: 0 0 118rpx; width: 118rpx; height: 118rpx; border-radius: 16rpx; } .store-header-img { flex: 0 0 118rpx; width: 118rpx; height: 118rpx; border-radius: 16rpx; }
// Orange controls: keep filled badges, outlined decrements and warm spec selections consistent.
.menu-page .goods .btn-group {
.dot {
color: #fff;
background: #ff7417;
border-color: #ff7417;
box-shadow: 0 2rpx 8rpx rgba(255, 116, 23, .25);
}
.quantity-btn {
color: #ff7417;
border: 2rpx solid #ff7417;
background: #fff;
&[type='primary'] { color: #fff; background: #ff7417; }
}
.number { color: #2b201a; font-weight: 600; }
}
.cart-box .mark .tag {
color: #fff;
background: #ff6817;
border: 3rpx solid #fff;
opacity: 1;
box-shadow: 0 2rpx 10rpx rgba(255, 104, 23, .3);
}
.good-detail-modal {
background: #fff;
.detail { background: #fff; }
.detail .wrapper .properties { border-color: #fff0df; }
.detail .wrapper .properties .property .values .value { color: #8a7465; background: #fff5eb; }
.detail .wrapper .properties .property .values .value.default { color: #fff; background: #ff7417; }
.action { background: #fff7ef; }
.action .left .price { color: #ff6817; }
.action .btn-group .number { color: #2b201a; font-weight: 600; }
.action .btn-group .btn[type='default'] { color: #ff7417; border-color: #ff7417; background: #fff; }
.action .btn-group .btn[type='primary'] { background: #ff7417; }
.add-to-cart-btn { background: linear-gradient(90deg, #ff9b20, #ff6817); }
}
.cart-popup .right .btn[type='default'] { color: #ff7417; border-color: #ff7417; }
.cart-popup .right .btn[type='primary'] { background: #ff7417; }
</style> </style>
@@ -1,29 +1,36 @@
// 间距基础倍数 // 食刻点单:暖白背景 + 橙黄色行动色
$uni-space-root: 2; $uni-space-root: 2;
// 边框半径默认值 $uni-radius-root: 10px;
$uni-radius-root:5px;
// 主色 // 行为色
$uni-primary: #2979ff; $uni-primary: #ff7417;
// 辅助色 $uni-primary-disable: #ffe1c8;
$uni-success: #4cd964; $uni-primary-light: #fff1e5;
// 警告色 $uni-success: #24a866;
$uni-warning: #f0ad4e; $uni-success-disable: #c9edda;
// 错误色 $uni-success-light: #effaf4;
$uni-error: #09b4f1; $uni-warning: #ff9b20;
// 描述色 $uni-warning-disable: #ffe1af;
$uni-info: #909399; $uni-warning-light: #fff7e8;
$uni-error: #e95454;
$uni-error-disable: #f8caca;
$uni-error-light: #fff0f0;
$uni-info: #8b817a;
$uni-info-disable: #d8d1cc;
$uni-info-light: #f6f2ef;
// 中性色 // 中性色
$uni-main-color: #303133; $uni-main-color: #2b201a;
$uni-base-color: #606266; $uni-base-color: #655b54;
$uni-secondary-color: #909399; $uni-secondary-color: #938982;
$uni-extra-color: #C0C4CC; $uni-extra-color: #c7bdb6;
// 背景色
$uni-bg-color: #f5f5f5; // 背景与边框
// 边框颜色 $uni-bg-color: #fffaf6;
$uni-border-1: #DCDFE6; $uni-border-1: #eadfd6;
$uni-border-2: #E4E7ED; $uni-border-2: #f0e7df;
$uni-border-3: #EBEEF5; $uni-border-3: #f5eee8;
$uni-border-4: #F2F6FC; $uni-border-4: #fbf7f3;
// 常规色 // 常规色
$uni-black: #000000; $uni-black: #000000;