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