feat:全站主色由蓝切换为品牌红系(petrol 加油券页保持蓝色除外)

- 全局主题:uview theme.scss 主/轻/禁用/深四档 + uni.scss primary → #E8542F 系
- 各页硬编码蓝统一替换:文字/链接 #E0342B、背景/边框/选中 #E8542F
  覆盖登录、列表、筛选条、权益认证/预约、场馆列表/详情、中奖公示(标题/统计卡/页签)
- 全工程扫描确认非 petrol 页面零蓝色残留

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
jacobxu666
2026-10-26 19:30:39 +08:00
co-authored by Claude Fable 5
parent 59dfd5897c
commit 3049b2a1b9
10 changed files with 39 additions and 39 deletions
@@ -7,13 +7,13 @@
<view class="hfb-item" v-if="districtReady" :class="{ 'hfb-item--on': !!districtId }" @click="toggle('district')"> <view class="hfb-item" v-if="districtReady" :class="{ 'hfb-item--on': !!districtId }" @click="toggle('district')">
<text class="hfb-text">{{ districtText }}</text> <text class="hfb-text">{{ districtText }}</text>
<view class="hfb-caret" :class="{ 'hfb-caret--up': openKey === 'district' }"> <view class="hfb-caret" :class="{ 'hfb-caret--up': openKey === 'district' }">
<u-icon name="arrow-down-fill" size="20" :color="districtId ? '#0088ff' : '#bbbbbb'"></u-icon> <u-icon name="arrow-down-fill" size="20" :color="districtId ? '#E0342B' : '#bbbbbb'"></u-icon>
</view> </view>
</view> </view>
<view class="hfb-item" v-if="categoryReady" :class="{ 'hfb-item--on': !!category }" @click="toggle('category')"> <view class="hfb-item" v-if="categoryReady" :class="{ 'hfb-item--on': !!category }" @click="toggle('category')">
<text class="hfb-text">{{ categoryText }}</text> <text class="hfb-text">{{ categoryText }}</text>
<view class="hfb-caret" :class="{ 'hfb-caret--up': openKey === 'category' }"> <view class="hfb-caret" :class="{ 'hfb-caret--up': openKey === 'category' }">
<u-icon name="arrow-down-fill" size="20" :color="category ? '#0088ff' : '#bbbbbb'"></u-icon> <u-icon name="arrow-down-fill" size="20" :color="category ? '#E0342B' : '#bbbbbb'"></u-icon>
</view> </view>
</view> </view>
</view> </view>
@@ -132,7 +132,7 @@
} }
.hfb-item--on { .hfb-item--on {
color: #0088ff; color: #E0342B;
font-weight: 600; font-weight: 600;
} }
@@ -194,7 +194,7 @@
.hfb-opt--sel { .hfb-opt--sel {
background: #e6f2ff; background: #e6f2ff;
color: #0088ff; color: #E0342B;
font-weight: 600; font-weight: 600;
} }
+1 -1
View File
@@ -238,7 +238,7 @@ export default {
} }
.search-btn { .search-btn {
background-color: #0088ff; background-color: #E8542F;
color: #ffffff; color: #ffffff;
font-size: 13px; font-size: 13px;
padding: 3px 10px; padding: 3px 10px;
+5 -5
View File
@@ -244,7 +244,7 @@ export default {
.code-btn { .code-btn {
font-size: 26rpx; font-size: 26rpx;
color: #0088FF; color: #E0342B;
padding: 0 24rpx; padding: 0 24rpx;
white-space: nowrap; white-space: nowrap;
flex-shrink: 0; flex-shrink: 0;
@@ -259,7 +259,7 @@ export default {
height: 96rpx; height: 96rpx;
line-height: 96rpx; line-height: 96rpx;
text-align: center; text-align: center;
background-color: #0088FF; background-color: #E8542F;
color: #ffffff; color: #ffffff;
font-size: 32rpx; font-size: 32rpx;
font-weight: 500; font-weight: 500;
@@ -277,7 +277,7 @@ export default {
.checkbox { .checkbox {
width: 32rpx; width: 32rpx;
height: 32rpx; height: 32rpx;
border: 2rpx solid #0088FF; border: 2rpx solid #E8542F;
border-radius: 50%; border-radius: 50%;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -287,7 +287,7 @@ export default {
} }
.checkbox.checked { .checkbox.checked {
background-color: #0088FF; background-color: #E8542F;
} }
.check-icon { .check-icon {
@@ -302,7 +302,7 @@ export default {
.agreement-link { .agreement-link {
font-size: 24rpx; font-size: 24rpx;
color: #0088FF; color: #E0342B;
} }
/* xuchao: 顶部返回导航条(负外边距抵消页面左右 padding,通栏展示) */ /* xuchao: 顶部返回导航条(负外边距抵消页面左右 padding,通栏展示) */
+7 -7
View File
@@ -282,7 +282,7 @@ export default {
.section-icon { .section-icon {
width: 18px; width: 18px;
height: 18px; height: 18px;
background-color: #0088ff; background-color: #E8542F;
color: #ffffff; color: #ffffff;
border-radius: 50%; border-radius: 50%;
text-align: center; text-align: center;
@@ -314,8 +314,8 @@ export default {
} }
.date-card.active { .date-card.active {
background-color: #0088ff; background-color: #E8542F;
border-color: #0088ff; border-color: #E8542F;
} }
.date-card.disabled { .date-card.disabled {
@@ -380,8 +380,8 @@ export default {
} }
.time-slot-card.active { .time-slot-card.active {
background-color: #0088ff; background-color: #E8542F;
border-color: #0088ff; border-color: #E8542F;
} }
.slot-name { .slot-name {
@@ -422,7 +422,7 @@ export default {
.discount-tag-icon { .discount-tag-icon {
font-size: 16px; font-size: 16px;
color: #0088ff; color: #E0342B;
} }
.discount-title { .discount-title {
@@ -461,7 +461,7 @@ export default {
} }
.book-btn { .book-btn {
background-color: #0088ff; background-color: #E8542F;
color: #ffffff; color: #ffffff;
text-align: center; text-align: center;
font-size: 16px; font-size: 16px;
+6 -6
View File
@@ -648,7 +648,7 @@
.title-bar { .title-bar {
width: 4px; width: 4px;
height: 16px; height: 16px;
background-color: #0088ff; background-color: #E8542F;
border-radius: 2px; border-radius: 2px;
margin-right: 8px; margin-right: 8px;
} }
@@ -710,7 +710,7 @@
.auth-btn { .auth-btn {
margin: 24px 0; margin: 24px 0;
background-color: #0088ff; background-color: #E8542F;
color: #ffffff; color: #ffffff;
text-align: center; text-align: center;
font-size: 16px; font-size: 16px;
@@ -739,7 +739,7 @@
/* 权益信息 - 蓝色横幅 */ /* 权益信息 - 蓝色横幅 */
.banner-area { .banner-area {
background-color: #0088ff; background-color: #E8542F;
padding: 80px 16px 96px; padding: 80px 16px 96px;
border-radius: 0 0 50px 50px; border-radius: 0 0 50px 50px;
} }
@@ -764,7 +764,7 @@
width: 18px; width: 18px;
height: 18px; height: 18px;
background-color: #ffffff; background-color: #ffffff;
color: #0088ff; color: #E0342B;
border-radius: 50%; border-radius: 50%;
text-align: center; text-align: center;
line-height: 18px; line-height: 18px;
@@ -876,7 +876,7 @@
transform: translateX(-50%); transform: translateX(-50%);
width: 24px; width: 24px;
height: 3px; height: 3px;
background-color: #0088ff; background-color: #E8542F;
border-radius: 2px; border-radius: 2px;
} }
@@ -886,7 +886,7 @@
} }
.tab-item.active .tab-text { .tab-item.active .tab-text {
color: #0088ff; color: #E0342B;
font-weight: 600; font-weight: 600;
} }
+5 -5
View File
@@ -31,7 +31,7 @@
<!-- 商户电话(取商铺客服电话字段,多个用,分隔,点击拨号) --> <!-- 商户电话(取商铺客服电话字段,多个用,分隔,点击拨号) -->
<view class="discount-section" v-if="servicePhoneList.length"> <view class="discount-section" v-if="servicePhoneList.length">
<view class="section-title"> <view class="section-title">
<u-icon name="phone-fill" color="#1296DB" size="34"></u-icon> <u-icon name="phone-fill" color="#E0342B" size="34"></u-icon>
<text class="discount-title">商户电话</text> <text class="discount-title">商户电话</text>
</view> </view>
<view class="discount-list"> <view class="discount-list">
@@ -337,7 +337,7 @@ export default {
.discount-tag-icon { .discount-tag-icon {
font-size: 16px; font-size: 16px;
color: #0088ff; color: #E0342B;
} }
.discount-title { .discount-title {
@@ -360,7 +360,7 @@ export default {
/* xuchao: 可点击拨号的电话样式 */ /* xuchao: 可点击拨号的电话样式 */
.phone-link { .phone-link {
color: #0088ff; color: #E0342B;
} }
/* xuchao: 石油汽油券购买模块 */ /* xuchao: 石油汽油券购买模块 */
@@ -374,7 +374,7 @@ export default {
.voucher-ticket { .voucher-ticket {
position: relative; position: relative;
overflow: hidden; overflow: hidden;
background: linear-gradient(135deg, #0d6fe0, #2f9bff); background: linear-gradient(135deg, #D8431F, #F0703C);
border-radius: 8px; border-radius: 8px;
padding: 14px; padding: 14px;
color: #ffffff; color: #ffffff;
@@ -389,7 +389,7 @@ export default {
height: 42px; height: 42px;
margin-top: 12px; margin-top: 12px;
border-radius: 8px; border-radius: 8px;
background-color: #0088ff; background-color: #E8542F;
color: #ffffff; color: #ffffff;
font-size: 15px; font-size: 15px;
display: flex; display: flex;
+1 -1
View File
@@ -219,7 +219,7 @@ export default {
} }
.search-btn { .search-btn {
background-color: #0088ff; background-color: #E8542F;
color: #ffffff; color: #ffffff;
font-size: 14px; font-size: 14px;
padding: 4px 10px; padding: 4px 10px;
+5 -5
View File
@@ -282,7 +282,7 @@ export default {
} }
.banner-title { .banner-title {
color: #0D387D; color: #C0301B;
font-weight: 700; font-weight: 700;
font-size: 32px; font-size: 32px;
line-height: normal; line-height: normal;
@@ -306,7 +306,7 @@ export default {
gap: 12px; gap: 12px;
padding: 12px; padding: 12px;
border-radius: 10px; border-radius: 10px;
background: linear-gradient(-135deg, #4981D2 0%, #1853AF 100%); background: linear-gradient(-135deg, #E8542F 0%, #C0301B 100%);
} }
.stats-gift { .stats-gift {
@@ -371,7 +371,7 @@ export default {
.tab-item.active .tab-label, .tab-item.active .tab-label,
.tab-item.active .tab-date { .tab-item.active .tab-date {
color: #3d85ff; color: #E0342B;
} }
.tab-indicator { .tab-indicator {
@@ -379,7 +379,7 @@ export default {
bottom: 0; bottom: 0;
width: 24px; width: 24px;
height: 4px; height: 4px;
background-color: #3d85ff; background-color: #E0342B;
border-radius: 100px; border-radius: 100px;
} }
@@ -407,7 +407,7 @@ export default {
} }
.search-btn { .search-btn {
background-color: #0088ff; background-color: #E8542F;
color: #ffffff; color: #ffffff;
font-size: 14px; font-size: 14px;
padding: 4px 10px; padding: 4px 10px;
+1 -1
View File
@@ -16,7 +16,7 @@
/* 行为相关颜色 */ /* 行为相关颜色 */
@import 'uview-ui/theme.scss'; @import 'uview-ui/theme.scss';
$uni-color-primary: #007aff; $uni-color-primary: #E8542F;
$uni-color-success: #4cd964; $uni-color-success: #4cd964;
$uni-color-warning: #f0ad4e; $uni-color-warning: #f0ad4e;
$uni-color-error: #dd524d; $uni-color-error: #dd524d;
+4 -4
View File
@@ -9,10 +9,10 @@ $u-light-color: #c0c4cc;
$u-border-color: #e4e7ed; $u-border-color: #e4e7ed;
$u-bg-color: #f3f4f6; $u-bg-color: #f3f4f6;
$u-type-primary: #2979ff; $u-type-primary: #E8542F;
$u-type-primary-light: #ecf5ff; $u-type-primary-light: #FDEFEA;
$u-type-primary-disabled: #a0cfff; $u-type-primary-disabled: #F5B8A3;
$u-type-primary-dark: #2b85e4; $u-type-primary-dark: #D8431F;
$u-type-warning: #ff9900; $u-type-warning: #ff9900;
$u-type-warning-disabled: #fcbd71; $u-type-warning-disabled: #fcbd71;