refactor: 全项目 UI/UX 标准化修复

- P0: uni.scss 全局 Token 修正(字体SourceHanSerifCN、色彩#111/#333/#666/#999/#eeeeee、删除600字重)
- P0: 分包6页面色彩迁移(#4A90D9→#3c9cff、#E74C3C→#e53935、圆角统一24rpx)
- P1: qrcode页面全量SCSS迁移(12个硬编码色值替换、emoji图标替换、圆角统一)
- P1: index页面价格色修正(#f9ae3d→#e53935、按钮主色统一、硬编码字号对齐)
- P2: 10个页面字号/圆角/字体统一(notice-list/scenic/login/profile/faq/card-bind等)
- P3: 全局 font-weight:600 替换为500/700(5处),删除semibold变量和工具类
- 新增 -size-title: 38rpx Token
- 构建验证通过

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
jacobxu666
2026-06-26 02:50:21 +08:00
co-authored by Claude
parent f67dd63972
commit 4ad874adf9
25 changed files with 167 additions and 153 deletions
+6 -6
View File
@@ -268,7 +268,7 @@ function handleCancel() {
<style lang="scss" scoped>
/* ===== Design Tokens ===== */
$font: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', 'Helvetica Neue', sans-serif;
$primary: #f9ae3d;
$primary: #3c9cff;
$primary-dark: #e89a2a;
$accent: #3c9cff;
$text-main: #111111;
@@ -563,7 +563,7 @@ $divider: #eeeeee;
flex: 1;
height: 96rpx;
border-radius: 48rpx;
background: #398ade;
background: #3c9cff;
border: none;
padding: 0;
margin: 0;
@@ -571,7 +571,7 @@ $divider: #eeeeee;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 6rpx 20rpx rgba(57, 138, 222, 0.28);
box-shadow: 0 6rpx 20rpx rgba(60, 156, 255, 0.28);
transition: all 0.2s ease;
&::after {
@@ -591,7 +591,7 @@ $divider: #eeeeee;
.btn-confirm__text {
font-family: $font;
font-size: 30rpx;
font-size: 28rpx;
font-weight: 500;
color: #ffffff;
letter-spacing: 2rpx;
@@ -626,7 +626,7 @@ $divider: #eeeeee;
.btn-cancel__text {
font-family: $font;
font-size: 30rpx;
font-size: 28rpx;
font-weight: 400;
color: $text-hint;
}
@@ -651,7 +651,7 @@ $divider: #eeeeee;
.popup-title {
font-family: $font;
font-size: 30rpx;
font-size: 28rpx;
font-weight: 700;
color: $text-main;
line-height: 48rpx;
+4 -4
View File
@@ -83,7 +83,7 @@ async function handleBuy() {
<style lang="scss" scoped>
$font: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', 'Helvetica Neue', sans-serif;
$primary: #398ade;
$primary: #3c9cff;
$text-main: #111111;
$text-hint: #666666;
$text-weak: #999999;
@@ -148,7 +148,7 @@ $bar-height: 120rpx;
.price-value {
font-family: $font;
font-size: 48rpx;
font-size: 38rpx;
font-weight: 700;
color: #e53935;
line-height: 1;
@@ -173,7 +173,7 @@ $bar-height: 120rpx;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4rpx 16rpx rgba(57, 138, 222, 0.3);
box-shadow: 0 4rpx 16rpx rgba(60, 156, 255, 0.3);
transition: all 0.2s ease;
&::after {
@@ -191,7 +191,7 @@ $bar-height: 120rpx;
.btn-buy__text {
font-family: $font;
font-size: 30rpx;
font-size: 28rpx;
font-weight: 700;
color: #ffffff;
letter-spacing: 2rpx;
+2 -2
View File
@@ -262,7 +262,7 @@ $divider: #eeeeee;
.category-title {
font-family: $font;
font-size: 32rpx;
font-size: 28rpx;
font-weight: 700;
color: $text-main;
display: block;
@@ -315,7 +315,7 @@ $divider: #eeeeee;
.faq-question {
flex: 1;
font-family: $font;
font-size: 30rpx;
font-size: 28rpx;
font-weight: 500;
color: $text-label;
line-height: 1.5;
+20 -20
View File
@@ -272,9 +272,9 @@ function goMore() {
flex-shrink: 0;
background: $color-accent;
&.type-important { background: #EF4444; }
&.type-scenic { background: #0052FF; }
&.type-promo { background: #F59E0B; }
&.type-important { background: #e53935; }
&.type-scenic { background: #3c9cff; }
&.type-promo { background: #f9ae3d; }
}
.chevron {
@@ -311,7 +311,7 @@ function goMore() {
background: $color-card;
padding: $spacing-2 $spacing-3;
margin: $spacing-2 $spacing-3 0;
border-radius: 16rpx;
border-radius: 24rpx;
box-shadow: $shadow-sm;
}
@@ -374,7 +374,7 @@ function goMore() {
margin: $spacing-3;
padding: $spacing-3 0;
background: $color-card;
border-radius: 16rpx;
border-radius: 24rpx;
box-shadow: $shadow-sm;
}
@@ -411,7 +411,7 @@ function goMore() {
.promo {
position: relative;
border-radius: $radius-xl;
border-radius: $radius-lg;
overflow: hidden;
min-height: 400rpx;
transition: transform $transition-fast;
@@ -460,13 +460,13 @@ function goMore() {
padding: 6rpx $spacing-3;
font-size: $font-size-sm;
color: rgba(255, 255, 255, 0.95);
font-weight: $font-weight-semibold;
font-weight: 500;
margin-bottom: $spacing-3;
}
.promo-name {
font-family: $font-family-display;
font-size: 56rpx;
font-size: 38rpx;
font-weight: $font-weight-bold;
color: #fff;
display: block;
@@ -490,13 +490,13 @@ function goMore() {
.promo-currency {
font-size: $font-size-2xl;
font-weight: $font-weight-bold;
color: $uv-warning;
color: #e53935;
}
.promo-price {
font-size: 96rpx;
font-size: 48rpx;
font-weight: $font-weight-bold;
color: $uv-warning;
color: #e53935;
line-height: 0.85;
letter-spacing: -4rpx;
}
@@ -516,7 +516,7 @@ function goMore() {
.promo-save {
font-size: $font-size-2xl;
color: $uv-warning;
color: #e53935;
font-weight: $font-weight-bold;
letter-spacing: 2rpx;
}
@@ -552,8 +552,8 @@ function goMore() {
align-self: flex-start;
padding: $spacing-2 $spacing-8;
border-radius: $radius-full;
background: $uv-warning;
box-shadow: 0 8rpx 24rpx rgba(249, 174, 61, 0.4);
background: $uv-primary;
box-shadow: 0 8rpx 24rpx rgba(60, 156, 255, 0.3);
transition: transform $transition-fast;
&:active {
@@ -563,14 +563,14 @@ function goMore() {
.cta-label {
font-size: $font-size-base;
font-weight: $font-weight-bold;
color: $uv-main-color;
color: #ffffff;
}
.cta-arrow {
width: 10rpx;
height: 10rpx;
border-top: 3rpx solid $uv-main-color;
border-right: 3rpx solid $uv-main-color;
border-top: 3rpx solid #ffffff;
border-right: 3rpx solid #ffffff;
transform: rotate(45deg);
}
}
@@ -676,7 +676,7 @@ function goMore() {
.spot-name {
font-size: $font-size-sm;
font-weight: $font-weight-semibold;
font-weight: 500;
color: $color-foreground;
display: block;
margin-bottom: $spacing-1;
@@ -693,8 +693,8 @@ function goMore() {
.spot-price {
font-size: $font-size-base;
color: $uv-warning;
font-weight: $font-weight-semibold;
color: #e53935;
font-weight: 500;
}
.spot-benefit {
+1 -1
View File
@@ -79,7 +79,7 @@
.section-title {
display: block;
font-size: $font-size-lg;
font-weight: $font-weight-semibold;
font-weight: $font-weight-bold;
color: $uv-main-color;
margin-bottom: $spacing-2;
}
+6 -6
View File
@@ -173,7 +173,7 @@ $icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' w
.brand-name {
font-family: $font-family-display;
font-size: 56rpx;
font-size: 38rpx;
font-weight: $font-weight-bold;
color: $uv-main-color;
line-height: $line-height-tight;
@@ -204,7 +204,7 @@ $icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' w
.btn-primary {
width: 100%;
height: 92rpx;
border-radius: $radius-xl;
border-radius: $radius-lg;
background: $uv-primary;
border: none;
padding: 0;
@@ -235,8 +235,8 @@ $icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' w
}
.btn-primary__text {
font-size: $font-size-lg;
font-weight: $font-weight-semibold;
font-size: $font-size-base;
font-weight: $font-weight-medium;
color: #FFFFFF;
margin-left: $spacing-2;
letter-spacing: 2rpx;
@@ -267,7 +267,7 @@ $icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' w
.btn-cancel {
width: 100%;
height: 92rpx;
border-radius: $radius-xl;
border-radius: $radius-lg;
background: #FFFFFF;
border: 2rpx solid $uv-border-color;
padding: 0;
@@ -290,7 +290,7 @@ $icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' w
.btn-cancel__text {
display: block;
width: 100%;
font-size: $font-size-lg;
font-size: $font-size-base;
font-weight: $font-weight-medium;
color: $uv-content-color;
text-align: center;
+1 -1
View File
@@ -83,7 +83,7 @@
.section-title {
display: block;
font-size: $font-size-lg;
font-weight: $font-weight-semibold;
font-weight: $font-weight-bold;
color: $uv-main-color;
margin-bottom: $spacing-2;
}
+8 -8
View File
@@ -98,7 +98,7 @@ function openDetail(item: NoticeItem) {
.page {
min-height: 100vh;
background: #F7F8FA;
font-family: $font-family-body;
font-family: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', sans-serif;
}
.list-container {
@@ -124,7 +124,7 @@ function openDetail(item: NoticeItem) {
/* ====== 卡片 ====== */
.notice-card {
background: #FFFFFF;
border-radius: 16rpx;
border-radius: 24rpx;
padding: 32rpx 28rpx;
margin-bottom: 24rpx;
border: 1rpx solid rgba(0, 0, 0, 0.04);
@@ -152,8 +152,8 @@ function openDetail(item: NoticeItem) {
.card-title {
display: block;
font-size: 28rpx;
font-weight: $font-weight-semibold;
color: #1A1A1A;
font-weight: 700;
color: #111111;
line-height: 1.3;
letter-spacing: -0.3rpx;
overflow: hidden;
@@ -170,7 +170,7 @@ function openDetail(item: NoticeItem) {
overflow: hidden;
font-size: 26rpx;
font-weight: $font-weight-normal;
color: #888888;
color: #666666;
line-height: 1.6;
}
@@ -178,7 +178,7 @@ function openDetail(item: NoticeItem) {
.card-date {
font-size: 22rpx;
font-weight: $font-weight-normal;
color: #BBBBBB;
color: #999999;
flex-shrink: 0;
letter-spacing: 0.5rpx;
}
@@ -187,8 +187,8 @@ function openDetail(item: NoticeItem) {
.card-arrow {
width: 14rpx;
height: 14rpx;
border-right: 3rpx solid #CCCCCC;
border-bottom: 3rpx solid #CCCCCC;
border-right: 3rpx solid #dadbde;
border-bottom: 3rpx solid #dadbde;
transform: rotate(-45deg);
flex-shrink: 0;
margin-left: 16rpx;
+1 -1
View File
@@ -398,7 +398,7 @@ $bar-height: 120rpx;
.price-value {
font-family: $font;
font-size: 36rpx;
font-size: 38rpx;
font-weight: 700;
color: #e53935;
line-height: 1;
+2 -2
View File
@@ -385,7 +385,7 @@ $card-radius: 24rpx;
.price-value {
font-family: $font;
font-size: 36rpx;
font-size: 38rpx;
font-weight: 700;
color: #e53935;
line-height: 1;
@@ -556,7 +556,7 @@ $card-radius: 24rpx;
.refund-title {
display: block;
font-family: $font;
font-size: 32rpx;
font-size: 28rpx;
font-weight: 700;
color: $text-main;
text-align: center;
+3 -3
View File
@@ -161,7 +161,7 @@ function callService() { uni.makePhoneCall({ phoneNumber: '400-123-0101' }) }
.nickname {
font-family: $font-family-display;
font-size: $font-size-xl;
font-size: $font-size-title;
font-weight: $font-weight-bold;
color: #fff;
margin-bottom: $spacing-1;
@@ -187,7 +187,7 @@ function callService() { uni.makePhoneCall({ phoneNumber: '400-123-0101' }) }
.menu-card {
background: $color-card;
border-radius: $radius-xl;
border-radius: $radius-lg;
box-shadow: $shadow-base;
overflow: hidden;
}
@@ -370,7 +370,7 @@ function callService() { uni.makePhoneCall({ phoneNumber: '400-123-0101' }) }
text {
font-size: $font-size-base;
color: $uv-error;
color: #e53935;
font-weight: $font-weight-medium;
}
}
+46 -33
View File
@@ -84,7 +84,7 @@
mode="aspectFill"
/>
<view class="avatar-zoom">
<text class="zoom-icon">🔍</text>
<view class="zoom-icon" />
</view>
</view>
<view class="holder-main">
@@ -245,8 +245,11 @@ onMounted(() => { startTimer() })
onUnmounted(() => { if (timer) clearInterval(timer) })
</script>
<style scoped>
.page { min-height: 100vh; background: #F1F5F9; }
<style lang="scss" scoped>
$font: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', sans-serif;
$primary: #3c9cff;
.page { min-height: 100vh; background: #f7f8fa; font-family: $font; }
.scroll-content { height: 100vh; }
/* === 空状态 === */
@@ -255,38 +258,38 @@ onUnmounted(() => { if (timer) clearInterval(timer) })
justify-content: center; min-height: 100vh; padding: 40rpx;
}
.empty-icon-card {
width: 120rpx; height: 80rpx; border-radius: 12rpx;
background: linear-gradient(135deg, #0052FF, #4D7CFF);
width: 120rpx; height: 80rpx; border-radius: 24rpx;
background: linear-gradient(135deg, $primary, #398ade);
display: flex; flex-direction: column; justify-content: center;
padding: 16rpx; gap: 8rpx; margin-bottom: 32rpx;
}
.empty-icon-stripe { height: 8rpx; background: rgba(255,255,255,0.6); border-radius: 4rpx; width: 100%; }
.empty-icon-stripe.short { width: 60%; }
.empty-text { font-size: 32rpx; font-weight: 700; color: #0F172A; margin-bottom: 12rpx; }
.empty-desc { font-size: 26rpx; color: #94A3B8; margin-bottom: 40rpx; }
.empty-text { font-size: 32rpx; font-weight: 700; color: #111111; margin-bottom: 12rpx; }
.empty-desc { font-size: 26rpx; color: #666666; margin-bottom: 40rpx; }
.empty-btn {
background: #0052FF; border-radius: 44rpx; padding: 20rpx 80rpx;
background: $primary; border-radius: 44rpx; padding: 20rpx 80rpx;
min-height: 88rpx; display: flex; align-items: center; justify-content: center;
margin-bottom: 20rpx; transition: opacity 150ms;
}
.empty-btn:active { opacity: 0.7; }
.empty-btn-text { font-size: 30rpx; color: #fff; font-weight: 600; }
.empty-btn-text { font-size: 30rpx; color: #fff; font-weight: 500; }
.empty-btn-secondary {
padding: 20rpx 60rpx; border-radius: 44rpx;
border: 2rpx solid #E2E8F0; background: #fff;
border: 2rpx solid #eeeeee; background: #fff;
transition: opacity 150ms;
}
.empty-btn-secondary:active { opacity: 0.7; }
.empty-btn-secondary-text { font-size: 28rpx; color: #475569; }
.empty-btn-secondary-text { font-size: 28rpx; color: #333333; }
/* === 卡面展示区域 === */
.card-swiper-wrap { margin: 20rpx 20rpx 20rpx; overflow: visible; }
.card-swiper { height: 440rpx; }
.card-face {
margin: 0 12rpx;
border-radius: 20rpx;
border-radius: 24rpx;
position: relative; overflow: hidden;
background: #1E293B;
background: #222222;
display: flex; align-items: center; justify-content: center;
}
.card-bg {
@@ -307,18 +310,18 @@ onUnmounted(() => { if (timer) clearInterval(timer) })
/* === 持卡人信息 === */
.holder-panel {
margin: 0 20rpx; background: #fff;
border-radius: 20rpx; padding: 28rpx;
border-radius: 24rpx; padding: 28rpx;
box-shadow: 0 4rpx 20rpx rgba(15, 23, 42, 0.06);
}
.holder-header {
display: flex; align-items: center; gap: 20rpx;
padding-bottom: 24rpx; margin-bottom: 20rpx;
border-bottom: 1rpx solid #F1F5F9;
border-bottom: 1rpx solid #f7f8fa;
}
.avatar-wrap { position: relative; width: 96rpx; height: 96rpx; flex-shrink: 0; }
.holder-avatar {
width: 96rpx; height: 96rpx; border-radius: 50%;
border: 3rpx solid #E2E8F0;
border: 3rpx solid #eeeeee;
}
.avatar-zoom {
position: absolute; bottom: -2rpx; right: -2rpx;
@@ -326,21 +329,31 @@ onUnmounted(() => { if (timer) clearInterval(timer) })
border-radius: 50%; display: flex; align-items: center;
justify-content: center; box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.1);
}
.zoom-icon { font-size: 18rpx; }
.zoom-icon {
width: 24rpx; height: 24rpx;
border: 3rpx solid $primary; border-radius: 50%;
position: relative;
}
.zoom-icon::after {
content: ''; width: 8rpx; height: 3rpx;
background: $primary; position: absolute;
bottom: -4rpx; right: -4rpx;
transform: rotate(45deg); border-radius: 2rpx;
}
.holder-main { flex: 1; }
.holder-name { font-size: 32rpx; font-weight: 600; color: #0F172A; display: block; }
.holder-name { font-size: 32rpx; font-weight: 500; color: #111111; display: block; }
.holder-tag {
display: inline-block; font-size: 22rpx; color: #10B981;
background: #F0FDF4; padding: 2rpx 12rpx; border-radius: 6rpx; margin-top: 6rpx;
display: inline-block; font-size: 22rpx; color: #00b42a;
background: #f0fff4; padding: 2rpx 12rpx; border-radius: 6rpx; margin-top: 6rpx;
}
.holder-details { display: flex; flex-direction: column; gap: 14rpx; }
.detail-row { display: flex; justify-content: space-between; align-items: center; }
.detail-label { font-size: 26rpx; color: #94A3B8; }
.detail-label { font-size: 26rpx; color: #666666; }
.detail-value-wrap { display: flex; align-items: center; gap: 12rpx; }
.detail-value { font-size: 26rpx; color: #334155; }
.detail-value { font-size: 26rpx; color: #333333; }
.copy-btn {
font-size: 22rpx; color: #0052FF;
padding: 4rpx 16rpx; border: 1rpx solid #0052FF;
font-size: 22rpx; color: $primary;
padding: 4rpx 16rpx; border: 1rpx solid $primary;
border-radius: 8rpx; transition: opacity 150ms;
}
.copy-btn:active { opacity: 0.6; }
@@ -349,38 +362,38 @@ onUnmounted(() => { if (timer) clearInterval(timer) })
.qrcode-section {
display: flex; flex-direction: column; align-items: center;
margin: 0 20rpx 20rpx; background: #fff;
border-radius: 20rpx; padding: 28rpx;
border-radius: 24rpx; padding: 28rpx;
box-shadow: 0 4rpx 20rpx rgba(15, 23, 42, 0.06);
}
.qrcode-title {
font-size: 30rpx; font-weight: 600; color: #0F172A;
font-size: 30rpx; font-weight: 500; color: #111111;
display: block; margin-bottom: 20rpx; align-self: flex-start;
}
.qrcode-box {
width: 360rpx; height: 360rpx; background: #F8FAFC;
width: 360rpx; height: 360rpx; background: #f8fafc;
border-radius: 16rpx; display: flex; align-items: center;
justify-content: center; border: 1rpx solid #E2E8F0;
justify-content: center; border: 1rpx solid #eeeeee;
margin-bottom: 16rpx;
}
.qrcode-img { width: 300rpx; height: 300rpx; }
.qrcode-countdown { display: flex; align-items: center; gap: 8rpx; }
.countdown-icon {
width: 20rpx; height: 20rpx;
border: 3rpx solid #94A3B8; border-radius: 50%;
border: 3rpx solid #666666; border-radius: 50%;
position: relative;
}
.countdown-icon::before {
content: ''; position: absolute;
width: 3rpx; height: 8rpx; background: #94A3B8;
width: 3rpx; height: 8rpx; background: #666666;
top: 2rpx; left: 50%; transform: translateX(-50%);
border-radius: 1rpx;
}
.countdown-text { font-size: 24rpx; color: #94A3B8; }
.countdown-text { font-size: 24rpx; color: #666666; }
/* === 功能入口 === */
.feature-panel {
margin: 0 20rpx 20rpx; background: #fff;
border-radius: 20rpx; padding: 28rpx;
border-radius: 24rpx; padding: 28rpx;
box-shadow: 0 4rpx 20rpx rgba(15, 23, 42, 0.06);
}
.feature-grid {
@@ -395,5 +408,5 @@ onUnmounted(() => { if (timer) clearInterval(timer) })
width: 88rpx; height: 88rpx;
margin-bottom: 10rpx;
}
.feature-label { font-size: 24rpx; color: #475569; }
.feature-label { font-size: 24rpx; color: #333333; }
</style>
+6 -5
View File
@@ -224,6 +224,7 @@ $icon-crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' w
.page {
min-height: 100vh;
background: $color-background;
font-family: 'SourceHanSerifCN', '思源宋体', serif;
}
/* ====== 图标基础 ====== */
@@ -245,7 +246,7 @@ $icon-crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' w
/* ====== 字体层级 ====== */
.text-title {
font-size: 36rpx;
font-size: 38rpx;
font-weight: $font-weight-bold;
color: #111111;
line-height: 48rpx;
@@ -445,7 +446,7 @@ $icon-crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' w
text {
font-size: 22rpx;
color: #fff;
font-weight: $font-weight-semibold;
font-weight: 500;
}
&.super {
@@ -485,7 +486,7 @@ $icon-crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' w
.member-text {
font-size: 24rpx;
color: #f9ae3d;
font-weight: $font-weight-semibold;
font-weight: 500;
}
.remaining-text {
@@ -508,7 +509,7 @@ $icon-crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' w
text {
font-size: 28rpx;
color: #fff;
font-weight: $font-weight-semibold;
font-weight: 500;
}
&:active {
@@ -543,7 +544,7 @@ $icon-crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' w
&.active text {
color: $uv-primary;
font-weight: $font-weight-semibold;
font-weight: 500;
}
&:active {
+13 -12
View File
@@ -411,6 +411,7 @@ function onCardClick(scenic: ScenicItem) {
min-height: 100vh;
background: $color-background;
position: relative;
font-family: 'SourceHanSerifCN', '思源宋体', serif;
}
/* ====== 固定导航栏 ====== */
@@ -458,7 +459,7 @@ function onCardClick(scenic: ScenicItem) {
flex: 1;
text-align: center;
font-size: $font-size-lg;
font-weight: $font-weight-semibold;
font-weight: 500;
color: $color-foreground;
}
@@ -723,11 +724,11 @@ function onCardClick(scenic: ScenicItem) {
text {
font-size: $font-size-xs;
color: #fff;
font-weight: $font-weight-semibold;
font-weight: 500;
}
&.level-5A { background: #EF4444; }
&.level-4A { background: #F59E0B; }
&.level-5A { background: #e53935; }
&.level-4A { background: #f9ae3d; }
&.level-3A,
&.level-2A { background: $uv-success; }
}
@@ -747,7 +748,7 @@ function onCardClick(scenic: ScenicItem) {
.scenic-name {
font-size: $font-size-lg;
font-weight: $font-weight-semibold;
font-weight: 500;
color: $color-foreground;
flex: 1;
margin-right: $spacing-2;
@@ -764,20 +765,20 @@ function onCardClick(scenic: ScenicItem) {
.price-symbol {
font-size: $font-size-sm;
color: $uv-warning;
font-weight: $font-weight-semibold;
color: #e53935;
font-weight: 500;
}
.price-value {
font-size: $font-size-xl;
color: $uv-warning;
color: #e53935;
font-weight: $font-weight-bold;
}
.price-free {
font-size: $font-size-base;
color: $uv-success;
font-weight: $font-weight-semibold;
font-weight: 500;
}
/* 营业时间 + 营业状态 同行 */
@@ -948,7 +949,7 @@ function onCardClick(scenic: ScenicItem) {
.popup-title {
font-size: $font-size-lg;
font-weight: $font-weight-semibold;
font-weight: 500;
color: $color-foreground;
}
@@ -995,7 +996,7 @@ function onCardClick(scenic: ScenicItem) {
&.active text {
color: $uv-primary;
font-weight: $font-weight-semibold;
font-weight: 500;
}
}
@@ -1019,7 +1020,7 @@ function onCardClick(scenic: ScenicItem) {
text {
font-size: $font-size-lg;
font-weight: $font-weight-semibold;
font-weight: 500;
color: #fff;
letter-spacing: 2rpx;
}