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
+1 -1
View File
@@ -45,7 +45,7 @@ function handleTap(event: any) {
justify-content: center; justify-content: center;
border-radius: $radius-base; border-radius: $radius-base;
font-family: $font-family-body; font-family: $font-family-body;
font-weight: $font-weight-semibold; font-weight: $font-weight-medium;
transition: all $transition-fast; transition: all $transition-fast;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
+1 -1
View File
@@ -35,7 +35,7 @@ withDefaults(defineProps<{
&__text { &__text {
font-family: $font-family-mono; font-family: $font-family-mono;
font-size: $font-size-xs; font-size: $font-size-xs;
font-weight: $font-weight-semibold; font-weight: $font-weight-medium;
color: $color-accent; color: $color-accent;
letter-spacing: 0.1em; letter-spacing: 0.1em;
} }
+7 -7
View File
@@ -89,17 +89,17 @@ async function handleActivate() {
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.page { min-height: 100vh; background: #f5f5f5; padding: 20rpx; box-sizing: border-box; } .page { min-height: 100vh; background: #f5f5f5; padding: 20rpx; box-sizing: border-box; font-family: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', sans-serif; }
.card-info { background: #4A90D9; border-radius: 16rpx; padding: 30rpx; margin-bottom: 20rpx; } .card-info { background: #3c9cff; border-radius: 24rpx; padding: 30rpx; margin-bottom: 20rpx; }
.card-name { font-size: 34rpx; font-weight: bold; color: #fff; display: block; margin-bottom: 8rpx; } .card-name { font-size: 34rpx; font-weight: bold; color: #fff; display: block; margin-bottom: 8rpx; }
.card-tip { font-size: 24rpx; color: rgba(255,255,255,0.8); } .card-tip { font-size: 24rpx; color: rgba(255,255,255,0.8); }
.form-card { background: #fff; border-radius: 16rpx; padding: 10rpx 30rpx; } .form-card { background: #fff; border-radius: 24rpx; padding: 10rpx 30rpx; }
.form-item { padding: 24rpx 0; border-bottom: 1rpx solid #f0f0f0; } .form-item { padding: 24rpx 0; border-bottom: 1rpx solid #eeeeee; }
.form-item:last-child { border-bottom: none; } .form-item:last-child { border-bottom: none; }
.label { display: block; font-size: 26rpx; color: #666; margin-bottom: 12rpx; } .label { display: block; font-size: 26rpx; color: #666; margin-bottom: 12rpx; }
.input { width: 100%; height: 80rpx; font-size: 30rpx; color: #333; box-sizing: border-box; } .input { width: 100%; height: 80rpx; font-size: 30rpx; color: #333; box-sizing: border-box; }
.btn-area { padding: 40rpx 20rpx; } .btn-area { padding: 40rpx 20rpx; }
.btn-activate { width: 100%; height: 96rpx; line-height: 96rpx; background: #4A90D9; color: #fff; border-radius: 48rpx; font-size: 32rpx; border: none; } .btn-activate { width: 100%; height: 96rpx; line-height: 96rpx; background: #3c9cff; color: #fff; border-radius: 48rpx; font-size: 32rpx; border: none; }
.btn-activate[disabled] { background: #A5C8E8; } .btn-activate[disabled] { background: #e5e7eb; }
</style> </style>
+5 -5
View File
@@ -50,16 +50,16 @@ async function handleBind() {
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.page { min-height: 100vh; background: #f5f5f5; padding: 20rpx; box-sizing: border-box; } .page { min-height: 100vh; background: #f5f5f5; padding: 20rpx; box-sizing: border-box; font-family: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', sans-serif; }
.header { padding: 20rpx 10rpx 30rpx; } .header { padding: 20rpx 10rpx 30rpx; }
.title { font-size: 36rpx; font-weight: bold; color: #333; display: block; margin-bottom: 8rpx; } .title { font-size: 36rpx; font-weight: bold; color: #333; display: block; margin-bottom: 8rpx; }
.desc { font-size: 26rpx; color: #999; } .desc { font-size: 26rpx; color: #999; }
.form-card { background: #fff; border-radius: 16rpx; padding: 10rpx 30rpx; } .form-card { background: #fff; border-radius: 24rpx; padding: 10rpx 30rpx; }
.form-item { padding: 24rpx 0; } .form-item { padding: 24rpx 0; }
.label { display: block; font-size: 26rpx; color: #666; margin-bottom: 12rpx; } .label { display: block; font-size: 26rpx; color: #666; margin-bottom: 12rpx; }
.input { width: 100%; height: 80rpx; font-size: 30rpx; color: #333; box-sizing: border-box; } .input { width: 100%; height: 80rpx; font-size: 30rpx; color: #333; box-sizing: border-box; }
.btn-area { padding: 40rpx 20rpx; } .btn-area { padding: 40rpx 20rpx; }
.btn-bind { width: 100%; height: 96rpx; line-height: 96rpx; background: #4A90D9; color: #fff; border-radius: 48rpx; font-size: 32rpx; border: none; } .btn-bind { width: 100%; height: 96rpx; line-height: 96rpx; background: #3c9cff; color: #fff; border-radius: 48rpx; font-size: 32rpx; border: none; }
.btn-bind[disabled] { background: #A5C8E8; } .btn-bind[disabled] { background: #e5e7eb; }
</style> </style>
+10 -10
View File
@@ -84,23 +84,23 @@ async function handlePay() {
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.page { min-height: 100vh; background: #f5f5f5; padding: 20rpx; padding-bottom: 140rpx; box-sizing: border-box; } .page { min-height: 100vh; background: #f5f5f5; padding: 20rpx; padding-bottom: 140rpx; box-sizing: border-box; font-family: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', sans-serif; }
.order-card, .pay-card { background: #fff; border-radius: 16rpx; padding: 24rpx 30rpx; margin-bottom: 20rpx; } .order-card, .pay-card { background: #fff; border-radius: 24rpx; padding: 24rpx 30rpx; margin-bottom: 20rpx; }
.card-title { font-size: 30rpx; font-weight: bold; color: #333; display: block; margin-bottom: 20rpx; padding-bottom: 16rpx; border-bottom: 1rpx solid #f0f0f0; } .card-title { font-size: 30rpx; font-weight: bold; color: #333; display: block; margin-bottom: 20rpx; padding-bottom: 16rpx; border-bottom: 1rpx solid #eeeeee; }
.order-row { display: flex; justify-content: space-between; align-items: center; padding: 16rpx 0; } .order-row { display: flex; justify-content: space-between; align-items: center; padding: 16rpx 0; }
.label { font-size: 28rpx; color: #666; } .label { font-size: 28rpx; color: #666; }
.value { font-size: 28rpx; color: #333; } .value { font-size: 28rpx; color: #333; }
.value.price { color: #E74C3C; font-weight: bold; font-size: 36rpx; } .value.price { color: #e53935; font-weight: bold; font-size: 36rpx; }
.pay-option { display: flex; align-items: center; padding: 20rpx 0; } .pay-option { display: flex; align-items: center; padding: 20rpx 0; }
.pay-option.active { color: #4A90D9; } .pay-option.active { color: #3c9cff; }
.pay-icon { font-size: 36rpx; margin-right: 16rpx; } .pay-icon { font-size: 36rpx; margin-right: 16rpx; }
.pay-name { flex: 1; font-size: 28rpx; } .pay-name { flex: 1; font-size: 28rpx; }
.pay-check { font-size: 32rpx; color: #4A90D9; font-weight: bold; } .pay-check { font-size: 32rpx; color: #3c9cff; font-weight: bold; }
.bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; display: flex; align-items: center; padding: 16rpx 30rpx; padding-bottom: calc(16rpx + env(safe-area-inset-bottom)); border-top: 1rpx solid #eee; } .bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; display: flex; align-items: center; padding: 16rpx 30rpx; padding-bottom: calc(16rpx + env(safe-area-inset-bottom)); border-top: 1rpx solid #eee; }
.bottom-price { flex: 1; display: flex; flex-direction: column; } .bottom-price { flex: 1; display: flex; flex-direction: column; }
.bottom-price .label { font-size: 22rpx; color: #999; } .bottom-price .label { font-size: 22rpx; color: #999; }
.bottom-price .value { font-size: 40rpx; color: #E74C3C; font-weight: bold; } .bottom-price .value { font-size: 40rpx; color: #e53935; font-weight: bold; }
.btn-pay { background: #E74C3C; color: #fff; font-size: 30rpx; padding: 20rpx 60rpx; border-radius: 44rpx; border: none; } .btn-pay { background: #e53935; color: #fff; font-size: 30rpx; padding: 20rpx 60rpx; border-radius: 40rpx; border: none; }
.btn-pay[disabled] { background: #F5A8A3; } .btn-pay[disabled] { background: #e5e7eb; }
</style> </style>
+5 -5
View File
@@ -108,12 +108,12 @@ function handleBuy() {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.page { min-height: 100vh; background: $uv-bg-color; padding-bottom: 120rpx; } .page { min-height: 100vh; background: $uv-bg-color; padding-bottom: 120rpx; font-family: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', sans-serif; }
.cover { width: 100%; height: 400rpx; background: #ddd; } .cover { width: 100%; height: 400rpx; background: #ddd; }
.info-card { background: #fff; padding: 24rpx 30rpx; margin-bottom: 16rpx; } .info-card { background: #fff; padding: 24rpx 30rpx; margin-bottom: 16rpx; }
.card-name { font-size: 36rpx; font-weight: bold; color: #333; display: block; } .card-name { font-size: 36rpx; font-weight: bold; color: #333; display: block; }
.price-row { display: flex; align-items: baseline; gap: 12rpx; margin: 12rpx 0; } .price-row { display: flex; align-items: baseline; gap: 12rpx; margin: 12rpx 0; }
.price { font-size: 44rpx; color: #E74C3C; font-weight: bold; } .price { font-size: 44rpx; color: #e53935; font-weight: bold; }
.original-price { font-size: 26rpx; color: #ccc; text-decoration: line-through; } .original-price { font-size: 26rpx; color: #ccc; text-decoration: line-through; }
.card-desc { font-size: 26rpx; color: #666; } .card-desc { font-size: 26rpx; color: #666; }
.section { background: #fff; padding: 24rpx 30rpx; margin-bottom: 16rpx; } .section { background: #fff; padding: 24rpx 30rpx; margin-bottom: 16rpx; }
@@ -130,8 +130,8 @@ function handleBuy() {
.bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; display: flex; align-items: center; padding: 16rpx 30rpx; padding-bottom: calc(16rpx + env(safe-area-inset-bottom)); border-top: 1rpx solid #eee; } .bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; display: flex; align-items: center; padding: 16rpx 30rpx; padding-bottom: calc(16rpx + env(safe-area-inset-bottom)); border-top: 1rpx solid #eee; }
.bottom-price { flex: 1; display: flex; flex-direction: column; } .bottom-price { flex: 1; display: flex; flex-direction: column; }
.bottom-price .label { font-size: 22rpx; color: #999; } .bottom-price .label { font-size: 22rpx; color: #999; }
.bottom-price .value { font-size: 36rpx; color: #E74C3C; font-weight: bold; } .bottom-price .value { font-size: 36rpx; color: #e53935; font-weight: bold; }
.btn-buy { background: #E74C3C; color: #fff; font-size: 30rpx; padding: 20rpx 60rpx; border-radius: 44rpx; border: none; } .btn-buy { background: #e53935; color: #fff; font-size: 30rpx; padding: 20rpx 60rpx; border-radius: 40rpx; border: none; }
.loading-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; color: #999; } .loading-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; color: #999; }
/* Quick actions — 功能入口 */ /* Quick actions — 功能入口 */
@@ -141,7 +141,7 @@ function handleBuy() {
margin: 0 $spacing-3 $spacing-3; margin: 0 $spacing-3 $spacing-3;
padding: $spacing-3 0; padding: $spacing-3 0;
background: $color-card; background: $color-card;
border-radius: 16rpx; border-radius: 24rpx;
box-shadow: $shadow-sm; box-shadow: $shadow-sm;
} }
+2 -1
View File
@@ -102,6 +102,7 @@ function goDetail(card: CardInfo) {
.page { .page {
min-height: 100vh; min-height: 100vh;
background: $uv-bg-color; background: $uv-bg-color;
font-family: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', sans-serif;
} }
/* Hero header */ /* Hero header */
@@ -178,7 +179,7 @@ function goDetail(card: CardInfo) {
background: $uv-primary; background: $uv-primary;
color: #fff; color: #fff;
border-color: $uv-primary; border-color: $uv-primary;
font-weight: $font-weight-semibold; font-weight: $font-weight-medium;
} }
&:active { &:active {
+6 -6
View File
@@ -71,18 +71,18 @@ function showComingSoon() {
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.page { min-height: 100vh; background: #f5f5f5; padding: 20rpx; box-sizing: border-box; } .page { min-height: 100vh; background: #f5f5f5; padding: 20rpx; box-sizing: border-box; font-family: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', sans-serif; }
.card-top { background: linear-gradient(135deg, #4A90D9, #357ABD); border-radius: 20rpx; padding: 30rpx; color: #fff; margin-bottom: -20rpx; } .card-top { background: linear-gradient(135deg, #3c9cff, #398ade); border-radius: 24rpx; padding: 30rpx; color: #fff; margin-bottom: -20rpx; }
.card-label { font-size: 24rpx; opacity: 0.8; display: block; } .card-label { font-size: 24rpx; opacity: 0.8; display: block; }
.user-name { font-size: 36rpx; font-weight: bold; display: block; margin: 12rpx 0 8rpx; } .user-name { font-size: 36rpx; font-weight: bold; display: block; margin: 12rpx 0 8rpx; }
.expire-date { font-size: 22rpx; opacity: 0.7; display: block; } .expire-date { font-size: 22rpx; opacity: 0.7; display: block; }
.qr-card { background: #fff; border-radius: 16rpx; padding: 30rpx; margin-top: 30rpx; box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.08); text-align: center; } .qr-card { background: #fff; border-radius: 24rpx; padding: 30rpx; margin-top: 30rpx; box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.08); text-align: center; }
.qr-area { width: 360rpx; height: 360rpx; margin: 20rpx auto; display: flex; align-items: center; justify-content: center; background: #f8f8f8; border-radius: 12rpx; } .qr-area { width: 360rpx; height: 360rpx; margin: 20rpx auto; display: flex; align-items: center; justify-content: center; background: #f8f8f8; border-radius: 12rpx; }
.qr-image { width: 320rpx; height: 320rpx; } .qr-image { width: 320rpx; height: 320rpx; }
.qr-placeholder { color: #999; font-size: 28rpx; } .qr-placeholder { color: #999; font-size: 28rpx; }
.qr-tip { font-size: 24rpx; color: #999; display: block; margin-top: 16rpx; } .qr-tip { font-size: 24rpx; color: #999; display: block; margin-top: 16rpx; }
.actions { display: flex; gap: 20rpx; padding: 40rpx 20rpx; } .actions { display: flex; gap: 20rpx; padding: 40rpx 20rpx; }
.btn-secondary { flex: 1; height: 88rpx; line-height: 88rpx; background: #fff; color: #4A90D9; border: 2rpx solid #4A90D9; border-radius: 44rpx; font-size: 28rpx; } .btn-secondary { flex: 1; height: 88rpx; line-height: 88rpx; background: #fff; color: #3c9cff; border: 2rpx solid #3c9cff; border-radius: 40rpx; font-size: 28rpx; }
.btn-primary { flex: 1; height: 88rpx; line-height: 88rpx; background: #4A90D9; color: #fff; border-radius: 44rpx; font-size: 28rpx; border: none; } .btn-primary { flex: 1; height: 88rpx; line-height: 88rpx; background: #3c9cff; color: #fff; border-radius: 40rpx; font-size: 28rpx; border: none; }
</style> </style>
+6 -6
View File
@@ -268,7 +268,7 @@ function handleCancel() {
<style lang="scss" scoped> <style lang="scss" scoped>
/* ===== Design Tokens ===== */ /* ===== Design Tokens ===== */
$font: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', 'Helvetica Neue', sans-serif; $font: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', 'Helvetica Neue', sans-serif;
$primary: #f9ae3d; $primary: #3c9cff;
$primary-dark: #e89a2a; $primary-dark: #e89a2a;
$accent: #3c9cff; $accent: #3c9cff;
$text-main: #111111; $text-main: #111111;
@@ -563,7 +563,7 @@ $divider: #eeeeee;
flex: 1; flex: 1;
height: 96rpx; height: 96rpx;
border-radius: 48rpx; border-radius: 48rpx;
background: #398ade; background: #3c9cff;
border: none; border: none;
padding: 0; padding: 0;
margin: 0; margin: 0;
@@ -571,7 +571,7 @@ $divider: #eeeeee;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: 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; transition: all 0.2s ease;
&::after { &::after {
@@ -591,7 +591,7 @@ $divider: #eeeeee;
.btn-confirm__text { .btn-confirm__text {
font-family: $font; font-family: $font;
font-size: 30rpx; font-size: 28rpx;
font-weight: 500; font-weight: 500;
color: #ffffff; color: #ffffff;
letter-spacing: 2rpx; letter-spacing: 2rpx;
@@ -626,7 +626,7 @@ $divider: #eeeeee;
.btn-cancel__text { .btn-cancel__text {
font-family: $font; font-family: $font;
font-size: 30rpx; font-size: 28rpx;
font-weight: 400; font-weight: 400;
color: $text-hint; color: $text-hint;
} }
@@ -651,7 +651,7 @@ $divider: #eeeeee;
.popup-title { .popup-title {
font-family: $font; font-family: $font;
font-size: 30rpx; font-size: 28rpx;
font-weight: 700; font-weight: 700;
color: $text-main; color: $text-main;
line-height: 48rpx; line-height: 48rpx;
+4 -4
View File
@@ -83,7 +83,7 @@ async function handleBuy() {
<style lang="scss" scoped> <style lang="scss" scoped>
$font: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', 'Helvetica Neue', sans-serif; $font: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', 'Helvetica Neue', sans-serif;
$primary: #398ade; $primary: #3c9cff;
$text-main: #111111; $text-main: #111111;
$text-hint: #666666; $text-hint: #666666;
$text-weak: #999999; $text-weak: #999999;
@@ -148,7 +148,7 @@ $bar-height: 120rpx;
.price-value { .price-value {
font-family: $font; font-family: $font;
font-size: 48rpx; font-size: 38rpx;
font-weight: 700; font-weight: 700;
color: #e53935; color: #e53935;
line-height: 1; line-height: 1;
@@ -173,7 +173,7 @@ $bar-height: 120rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: 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; transition: all 0.2s ease;
&::after { &::after {
@@ -191,7 +191,7 @@ $bar-height: 120rpx;
.btn-buy__text { .btn-buy__text {
font-family: $font; font-family: $font;
font-size: 30rpx; font-size: 28rpx;
font-weight: 700; font-weight: 700;
color: #ffffff; color: #ffffff;
letter-spacing: 2rpx; letter-spacing: 2rpx;
+2 -2
View File
@@ -262,7 +262,7 @@ $divider: #eeeeee;
.category-title { .category-title {
font-family: $font; font-family: $font;
font-size: 32rpx; font-size: 28rpx;
font-weight: 700; font-weight: 700;
color: $text-main; color: $text-main;
display: block; display: block;
@@ -315,7 +315,7 @@ $divider: #eeeeee;
.faq-question { .faq-question {
flex: 1; flex: 1;
font-family: $font; font-family: $font;
font-size: 30rpx; font-size: 28rpx;
font-weight: 500; font-weight: 500;
color: $text-label; color: $text-label;
line-height: 1.5; line-height: 1.5;
+20 -20
View File
@@ -272,9 +272,9 @@ function goMore() {
flex-shrink: 0; flex-shrink: 0;
background: $color-accent; background: $color-accent;
&.type-important { background: #EF4444; } &.type-important { background: #e53935; }
&.type-scenic { background: #0052FF; } &.type-scenic { background: #3c9cff; }
&.type-promo { background: #F59E0B; } &.type-promo { background: #f9ae3d; }
} }
.chevron { .chevron {
@@ -311,7 +311,7 @@ function goMore() {
background: $color-card; background: $color-card;
padding: $spacing-2 $spacing-3; padding: $spacing-2 $spacing-3;
margin: $spacing-2 $spacing-3 0; margin: $spacing-2 $spacing-3 0;
border-radius: 16rpx; border-radius: 24rpx;
box-shadow: $shadow-sm; box-shadow: $shadow-sm;
} }
@@ -374,7 +374,7 @@ function goMore() {
margin: $spacing-3; margin: $spacing-3;
padding: $spacing-3 0; padding: $spacing-3 0;
background: $color-card; background: $color-card;
border-radius: 16rpx; border-radius: 24rpx;
box-shadow: $shadow-sm; box-shadow: $shadow-sm;
} }
@@ -411,7 +411,7 @@ function goMore() {
.promo { .promo {
position: relative; position: relative;
border-radius: $radius-xl; border-radius: $radius-lg;
overflow: hidden; overflow: hidden;
min-height: 400rpx; min-height: 400rpx;
transition: transform $transition-fast; transition: transform $transition-fast;
@@ -460,13 +460,13 @@ function goMore() {
padding: 6rpx $spacing-3; padding: 6rpx $spacing-3;
font-size: $font-size-sm; font-size: $font-size-sm;
color: rgba(255, 255, 255, 0.95); color: rgba(255, 255, 255, 0.95);
font-weight: $font-weight-semibold; font-weight: 500;
margin-bottom: $spacing-3; margin-bottom: $spacing-3;
} }
.promo-name { .promo-name {
font-family: $font-family-display; font-family: $font-family-display;
font-size: 56rpx; font-size: 38rpx;
font-weight: $font-weight-bold; font-weight: $font-weight-bold;
color: #fff; color: #fff;
display: block; display: block;
@@ -490,13 +490,13 @@ function goMore() {
.promo-currency { .promo-currency {
font-size: $font-size-2xl; font-size: $font-size-2xl;
font-weight: $font-weight-bold; font-weight: $font-weight-bold;
color: $uv-warning; color: #e53935;
} }
.promo-price { .promo-price {
font-size: 96rpx; font-size: 48rpx;
font-weight: $font-weight-bold; font-weight: $font-weight-bold;
color: $uv-warning; color: #e53935;
line-height: 0.85; line-height: 0.85;
letter-spacing: -4rpx; letter-spacing: -4rpx;
} }
@@ -516,7 +516,7 @@ function goMore() {
.promo-save { .promo-save {
font-size: $font-size-2xl; font-size: $font-size-2xl;
color: $uv-warning; color: #e53935;
font-weight: $font-weight-bold; font-weight: $font-weight-bold;
letter-spacing: 2rpx; letter-spacing: 2rpx;
} }
@@ -552,8 +552,8 @@ function goMore() {
align-self: flex-start; align-self: flex-start;
padding: $spacing-2 $spacing-8; padding: $spacing-2 $spacing-8;
border-radius: $radius-full; border-radius: $radius-full;
background: $uv-warning; background: $uv-primary;
box-shadow: 0 8rpx 24rpx rgba(249, 174, 61, 0.4); box-shadow: 0 8rpx 24rpx rgba(60, 156, 255, 0.3);
transition: transform $transition-fast; transition: transform $transition-fast;
&:active { &:active {
@@ -563,14 +563,14 @@ function goMore() {
.cta-label { .cta-label {
font-size: $font-size-base; font-size: $font-size-base;
font-weight: $font-weight-bold; font-weight: $font-weight-bold;
color: $uv-main-color; color: #ffffff;
} }
.cta-arrow { .cta-arrow {
width: 10rpx; width: 10rpx;
height: 10rpx; height: 10rpx;
border-top: 3rpx solid $uv-main-color; border-top: 3rpx solid #ffffff;
border-right: 3rpx solid $uv-main-color; border-right: 3rpx solid #ffffff;
transform: rotate(45deg); transform: rotate(45deg);
} }
} }
@@ -676,7 +676,7 @@ function goMore() {
.spot-name { .spot-name {
font-size: $font-size-sm; font-size: $font-size-sm;
font-weight: $font-weight-semibold; font-weight: 500;
color: $color-foreground; color: $color-foreground;
display: block; display: block;
margin-bottom: $spacing-1; margin-bottom: $spacing-1;
@@ -693,8 +693,8 @@ function goMore() {
.spot-price { .spot-price {
font-size: $font-size-base; font-size: $font-size-base;
color: $uv-warning; color: #e53935;
font-weight: $font-weight-semibold; font-weight: 500;
} }
.spot-benefit { .spot-benefit {
+1 -1
View File
@@ -79,7 +79,7 @@
.section-title { .section-title {
display: block; display: block;
font-size: $font-size-lg; font-size: $font-size-lg;
font-weight: $font-weight-semibold; font-weight: $font-weight-bold;
color: $uv-main-color; color: $uv-main-color;
margin-bottom: $spacing-2; 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 { .brand-name {
font-family: $font-family-display; font-family: $font-family-display;
font-size: 56rpx; font-size: 38rpx;
font-weight: $font-weight-bold; font-weight: $font-weight-bold;
color: $uv-main-color; color: $uv-main-color;
line-height: $line-height-tight; 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 { .btn-primary {
width: 100%; width: 100%;
height: 92rpx; height: 92rpx;
border-radius: $radius-xl; border-radius: $radius-lg;
background: $uv-primary; background: $uv-primary;
border: none; border: none;
padding: 0; 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 { .btn-primary__text {
font-size: $font-size-lg; font-size: $font-size-base;
font-weight: $font-weight-semibold; font-weight: $font-weight-medium;
color: #FFFFFF; color: #FFFFFF;
margin-left: $spacing-2; margin-left: $spacing-2;
letter-spacing: 2rpx; 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 { .btn-cancel {
width: 100%; width: 100%;
height: 92rpx; height: 92rpx;
border-radius: $radius-xl; border-radius: $radius-lg;
background: #FFFFFF; background: #FFFFFF;
border: 2rpx solid $uv-border-color; border: 2rpx solid $uv-border-color;
padding: 0; 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 { .btn-cancel__text {
display: block; display: block;
width: 100%; width: 100%;
font-size: $font-size-lg; font-size: $font-size-base;
font-weight: $font-weight-medium; font-weight: $font-weight-medium;
color: $uv-content-color; color: $uv-content-color;
text-align: center; text-align: center;
+1 -1
View File
@@ -83,7 +83,7 @@
.section-title { .section-title {
display: block; display: block;
font-size: $font-size-lg; font-size: $font-size-lg;
font-weight: $font-weight-semibold; font-weight: $font-weight-bold;
color: $uv-main-color; color: $uv-main-color;
margin-bottom: $spacing-2; margin-bottom: $spacing-2;
} }
+8 -8
View File
@@ -98,7 +98,7 @@ function openDetail(item: NoticeItem) {
.page { .page {
min-height: 100vh; min-height: 100vh;
background: #F7F8FA; background: #F7F8FA;
font-family: $font-family-body; font-family: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', sans-serif;
} }
.list-container { .list-container {
@@ -124,7 +124,7 @@ function openDetail(item: NoticeItem) {
/* ====== 卡片 ====== */ /* ====== 卡片 ====== */
.notice-card { .notice-card {
background: #FFFFFF; background: #FFFFFF;
border-radius: 16rpx; border-radius: 24rpx;
padding: 32rpx 28rpx; padding: 32rpx 28rpx;
margin-bottom: 24rpx; margin-bottom: 24rpx;
border: 1rpx solid rgba(0, 0, 0, 0.04); border: 1rpx solid rgba(0, 0, 0, 0.04);
@@ -152,8 +152,8 @@ function openDetail(item: NoticeItem) {
.card-title { .card-title {
display: block; display: block;
font-size: 28rpx; font-size: 28rpx;
font-weight: $font-weight-semibold; font-weight: 700;
color: #1A1A1A; color: #111111;
line-height: 1.3; line-height: 1.3;
letter-spacing: -0.3rpx; letter-spacing: -0.3rpx;
overflow: hidden; overflow: hidden;
@@ -170,7 +170,7 @@ function openDetail(item: NoticeItem) {
overflow: hidden; overflow: hidden;
font-size: 26rpx; font-size: 26rpx;
font-weight: $font-weight-normal; font-weight: $font-weight-normal;
color: #888888; color: #666666;
line-height: 1.6; line-height: 1.6;
} }
@@ -178,7 +178,7 @@ function openDetail(item: NoticeItem) {
.card-date { .card-date {
font-size: 22rpx; font-size: 22rpx;
font-weight: $font-weight-normal; font-weight: $font-weight-normal;
color: #BBBBBB; color: #999999;
flex-shrink: 0; flex-shrink: 0;
letter-spacing: 0.5rpx; letter-spacing: 0.5rpx;
} }
@@ -187,8 +187,8 @@ function openDetail(item: NoticeItem) {
.card-arrow { .card-arrow {
width: 14rpx; width: 14rpx;
height: 14rpx; height: 14rpx;
border-right: 3rpx solid #CCCCCC; border-right: 3rpx solid #dadbde;
border-bottom: 3rpx solid #CCCCCC; border-bottom: 3rpx solid #dadbde;
transform: rotate(-45deg); transform: rotate(-45deg);
flex-shrink: 0; flex-shrink: 0;
margin-left: 16rpx; margin-left: 16rpx;
+1 -1
View File
@@ -398,7 +398,7 @@ $bar-height: 120rpx;
.price-value { .price-value {
font-family: $font; font-family: $font;
font-size: 36rpx; font-size: 38rpx;
font-weight: 700; font-weight: 700;
color: #e53935; color: #e53935;
line-height: 1; line-height: 1;
+2 -2
View File
@@ -385,7 +385,7 @@ $card-radius: 24rpx;
.price-value { .price-value {
font-family: $font; font-family: $font;
font-size: 36rpx; font-size: 38rpx;
font-weight: 700; font-weight: 700;
color: #e53935; color: #e53935;
line-height: 1; line-height: 1;
@@ -556,7 +556,7 @@ $card-radius: 24rpx;
.refund-title { .refund-title {
display: block; display: block;
font-family: $font; font-family: $font;
font-size: 32rpx; font-size: 28rpx;
font-weight: 700; font-weight: 700;
color: $text-main; color: $text-main;
text-align: center; text-align: center;
+3 -3
View File
@@ -161,7 +161,7 @@ function callService() { uni.makePhoneCall({ phoneNumber: '400-123-0101' }) }
.nickname { .nickname {
font-family: $font-family-display; font-family: $font-family-display;
font-size: $font-size-xl; font-size: $font-size-title;
font-weight: $font-weight-bold; font-weight: $font-weight-bold;
color: #fff; color: #fff;
margin-bottom: $spacing-1; margin-bottom: $spacing-1;
@@ -187,7 +187,7 @@ function callService() { uni.makePhoneCall({ phoneNumber: '400-123-0101' }) }
.menu-card { .menu-card {
background: $color-card; background: $color-card;
border-radius: $radius-xl; border-radius: $radius-lg;
box-shadow: $shadow-base; box-shadow: $shadow-base;
overflow: hidden; overflow: hidden;
} }
@@ -370,7 +370,7 @@ function callService() { uni.makePhoneCall({ phoneNumber: '400-123-0101' }) }
text { text {
font-size: $font-size-base; font-size: $font-size-base;
color: $uv-error; color: #e53935;
font-weight: $font-weight-medium; font-weight: $font-weight-medium;
} }
} }
+46 -33
View File
@@ -84,7 +84,7 @@
mode="aspectFill" mode="aspectFill"
/> />
<view class="avatar-zoom"> <view class="avatar-zoom">
<text class="zoom-icon">🔍</text> <view class="zoom-icon" />
</view> </view>
</view> </view>
<view class="holder-main"> <view class="holder-main">
@@ -245,8 +245,11 @@ onMounted(() => { startTimer() })
onUnmounted(() => { if (timer) clearInterval(timer) }) onUnmounted(() => { if (timer) clearInterval(timer) })
</script> </script>
<style scoped> <style lang="scss" scoped>
.page { min-height: 100vh; background: #F1F5F9; } $font: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', sans-serif;
$primary: #3c9cff;
.page { min-height: 100vh; background: #f7f8fa; font-family: $font; }
.scroll-content { height: 100vh; } .scroll-content { height: 100vh; }
/* === 空状态 === */ /* === 空状态 === */
@@ -255,38 +258,38 @@ onUnmounted(() => { if (timer) clearInterval(timer) })
justify-content: center; min-height: 100vh; padding: 40rpx; justify-content: center; min-height: 100vh; padding: 40rpx;
} }
.empty-icon-card { .empty-icon-card {
width: 120rpx; height: 80rpx; border-radius: 12rpx; width: 120rpx; height: 80rpx; border-radius: 24rpx;
background: linear-gradient(135deg, #0052FF, #4D7CFF); background: linear-gradient(135deg, $primary, #398ade);
display: flex; flex-direction: column; justify-content: center; display: flex; flex-direction: column; justify-content: center;
padding: 16rpx; gap: 8rpx; margin-bottom: 32rpx; 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 { height: 8rpx; background: rgba(255,255,255,0.6); border-radius: 4rpx; width: 100%; }
.empty-icon-stripe.short { width: 60%; } .empty-icon-stripe.short { width: 60%; }
.empty-text { font-size: 32rpx; font-weight: 700; color: #0F172A; margin-bottom: 12rpx; } .empty-text { font-size: 32rpx; font-weight: 700; color: #111111; margin-bottom: 12rpx; }
.empty-desc { font-size: 26rpx; color: #94A3B8; margin-bottom: 40rpx; } .empty-desc { font-size: 26rpx; color: #666666; margin-bottom: 40rpx; }
.empty-btn { .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; min-height: 88rpx; display: flex; align-items: center; justify-content: center;
margin-bottom: 20rpx; transition: opacity 150ms; margin-bottom: 20rpx; transition: opacity 150ms;
} }
.empty-btn:active { opacity: 0.7; } .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 { .empty-btn-secondary {
padding: 20rpx 60rpx; border-radius: 44rpx; padding: 20rpx 60rpx; border-radius: 44rpx;
border: 2rpx solid #E2E8F0; background: #fff; border: 2rpx solid #eeeeee; background: #fff;
transition: opacity 150ms; transition: opacity 150ms;
} }
.empty-btn-secondary:active { opacity: 0.7; } .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-wrap { margin: 20rpx 20rpx 20rpx; overflow: visible; }
.card-swiper { height: 440rpx; } .card-swiper { height: 440rpx; }
.card-face { .card-face {
margin: 0 12rpx; margin: 0 12rpx;
border-radius: 20rpx; border-radius: 24rpx;
position: relative; overflow: hidden; position: relative; overflow: hidden;
background: #1E293B; background: #222222;
display: flex; align-items: center; justify-content: center; display: flex; align-items: center; justify-content: center;
} }
.card-bg { .card-bg {
@@ -307,18 +310,18 @@ onUnmounted(() => { if (timer) clearInterval(timer) })
/* === 持卡人信息 === */ /* === 持卡人信息 === */
.holder-panel { .holder-panel {
margin: 0 20rpx; background: #fff; 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); box-shadow: 0 4rpx 20rpx rgba(15, 23, 42, 0.06);
} }
.holder-header { .holder-header {
display: flex; align-items: center; gap: 20rpx; display: flex; align-items: center; gap: 20rpx;
padding-bottom: 24rpx; margin-bottom: 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; } .avatar-wrap { position: relative; width: 96rpx; height: 96rpx; flex-shrink: 0; }
.holder-avatar { .holder-avatar {
width: 96rpx; height: 96rpx; border-radius: 50%; width: 96rpx; height: 96rpx; border-radius: 50%;
border: 3rpx solid #E2E8F0; border: 3rpx solid #eeeeee;
} }
.avatar-zoom { .avatar-zoom {
position: absolute; bottom: -2rpx; right: -2rpx; position: absolute; bottom: -2rpx; right: -2rpx;
@@ -326,21 +329,31 @@ onUnmounted(() => { if (timer) clearInterval(timer) })
border-radius: 50%; display: flex; align-items: center; border-radius: 50%; display: flex; align-items: center;
justify-content: center; box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.1); 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-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 { .holder-tag {
display: inline-block; font-size: 22rpx; color: #10B981; display: inline-block; font-size: 22rpx; color: #00b42a;
background: #F0FDF4; padding: 2rpx 12rpx; border-radius: 6rpx; margin-top: 6rpx; background: #f0fff4; padding: 2rpx 12rpx; border-radius: 6rpx; margin-top: 6rpx;
} }
.holder-details { display: flex; flex-direction: column; gap: 14rpx; } .holder-details { display: flex; flex-direction: column; gap: 14rpx; }
.detail-row { display: flex; justify-content: space-between; align-items: center; } .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-wrap { display: flex; align-items: center; gap: 12rpx; }
.detail-value { font-size: 26rpx; color: #334155; } .detail-value { font-size: 26rpx; color: #333333; }
.copy-btn { .copy-btn {
font-size: 22rpx; color: #0052FF; font-size: 22rpx; color: $primary;
padding: 4rpx 16rpx; border: 1rpx solid #0052FF; padding: 4rpx 16rpx; border: 1rpx solid $primary;
border-radius: 8rpx; transition: opacity 150ms; border-radius: 8rpx; transition: opacity 150ms;
} }
.copy-btn:active { opacity: 0.6; } .copy-btn:active { opacity: 0.6; }
@@ -349,38 +362,38 @@ onUnmounted(() => { if (timer) clearInterval(timer) })
.qrcode-section { .qrcode-section {
display: flex; flex-direction: column; align-items: center; display: flex; flex-direction: column; align-items: center;
margin: 0 20rpx 20rpx; background: #fff; 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); box-shadow: 0 4rpx 20rpx rgba(15, 23, 42, 0.06);
} }
.qrcode-title { .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; display: block; margin-bottom: 20rpx; align-self: flex-start;
} }
.qrcode-box { .qrcode-box {
width: 360rpx; height: 360rpx; background: #F8FAFC; width: 360rpx; height: 360rpx; background: #f8fafc;
border-radius: 16rpx; display: flex; align-items: center; 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; margin-bottom: 16rpx;
} }
.qrcode-img { width: 300rpx; height: 300rpx; } .qrcode-img { width: 300rpx; height: 300rpx; }
.qrcode-countdown { display: flex; align-items: center; gap: 8rpx; } .qrcode-countdown { display: flex; align-items: center; gap: 8rpx; }
.countdown-icon { .countdown-icon {
width: 20rpx; height: 20rpx; width: 20rpx; height: 20rpx;
border: 3rpx solid #94A3B8; border-radius: 50%; border: 3rpx solid #666666; border-radius: 50%;
position: relative; position: relative;
} }
.countdown-icon::before { .countdown-icon::before {
content: ''; position: absolute; content: ''; position: absolute;
width: 3rpx; height: 8rpx; background: #94A3B8; width: 3rpx; height: 8rpx; background: #666666;
top: 2rpx; left: 50%; transform: translateX(-50%); top: 2rpx; left: 50%; transform: translateX(-50%);
border-radius: 1rpx; border-radius: 1rpx;
} }
.countdown-text { font-size: 24rpx; color: #94A3B8; } .countdown-text { font-size: 24rpx; color: #666666; }
/* === 功能入口 === */ /* === 功能入口 === */
.feature-panel { .feature-panel {
margin: 0 20rpx 20rpx; background: #fff; 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); box-shadow: 0 4rpx 20rpx rgba(15, 23, 42, 0.06);
} }
.feature-grid { .feature-grid {
@@ -395,5 +408,5 @@ onUnmounted(() => { if (timer) clearInterval(timer) })
width: 88rpx; height: 88rpx; width: 88rpx; height: 88rpx;
margin-bottom: 10rpx; margin-bottom: 10rpx;
} }
.feature-label { font-size: 24rpx; color: #475569; } .feature-label { font-size: 24rpx; color: #333333; }
</style> </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 { .page {
min-height: 100vh; min-height: 100vh;
background: $color-background; 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 { .text-title {
font-size: 36rpx; font-size: 38rpx;
font-weight: $font-weight-bold; font-weight: $font-weight-bold;
color: #111111; color: #111111;
line-height: 48rpx; line-height: 48rpx;
@@ -445,7 +446,7 @@ $icon-crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' w
text { text {
font-size: 22rpx; font-size: 22rpx;
color: #fff; color: #fff;
font-weight: $font-weight-semibold; font-weight: 500;
} }
&.super { &.super {
@@ -485,7 +486,7 @@ $icon-crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' w
.member-text { .member-text {
font-size: 24rpx; font-size: 24rpx;
color: #f9ae3d; color: #f9ae3d;
font-weight: $font-weight-semibold; font-weight: 500;
} }
.remaining-text { .remaining-text {
@@ -508,7 +509,7 @@ $icon-crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' w
text { text {
font-size: 28rpx; font-size: 28rpx;
color: #fff; color: #fff;
font-weight: $font-weight-semibold; font-weight: 500;
} }
&:active { &:active {
@@ -543,7 +544,7 @@ $icon-crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' w
&.active text { &.active text {
color: $uv-primary; color: $uv-primary;
font-weight: $font-weight-semibold; font-weight: 500;
} }
&:active { &:active {
+13 -12
View File
@@ -411,6 +411,7 @@ function onCardClick(scenic: ScenicItem) {
min-height: 100vh; min-height: 100vh;
background: $color-background; background: $color-background;
position: relative; position: relative;
font-family: 'SourceHanSerifCN', '思源宋体', serif;
} }
/* ====== 固定导航栏 ====== */ /* ====== 固定导航栏 ====== */
@@ -458,7 +459,7 @@ function onCardClick(scenic: ScenicItem) {
flex: 1; flex: 1;
text-align: center; text-align: center;
font-size: $font-size-lg; font-size: $font-size-lg;
font-weight: $font-weight-semibold; font-weight: 500;
color: $color-foreground; color: $color-foreground;
} }
@@ -723,11 +724,11 @@ function onCardClick(scenic: ScenicItem) {
text { text {
font-size: $font-size-xs; font-size: $font-size-xs;
color: #fff; color: #fff;
font-weight: $font-weight-semibold; font-weight: 500;
} }
&.level-5A { background: #EF4444; } &.level-5A { background: #e53935; }
&.level-4A { background: #F59E0B; } &.level-4A { background: #f9ae3d; }
&.level-3A, &.level-3A,
&.level-2A { background: $uv-success; } &.level-2A { background: $uv-success; }
} }
@@ -747,7 +748,7 @@ function onCardClick(scenic: ScenicItem) {
.scenic-name { .scenic-name {
font-size: $font-size-lg; font-size: $font-size-lg;
font-weight: $font-weight-semibold; font-weight: 500;
color: $color-foreground; color: $color-foreground;
flex: 1; flex: 1;
margin-right: $spacing-2; margin-right: $spacing-2;
@@ -764,20 +765,20 @@ function onCardClick(scenic: ScenicItem) {
.price-symbol { .price-symbol {
font-size: $font-size-sm; font-size: $font-size-sm;
color: $uv-warning; color: #e53935;
font-weight: $font-weight-semibold; font-weight: 500;
} }
.price-value { .price-value {
font-size: $font-size-xl; font-size: $font-size-xl;
color: $uv-warning; color: #e53935;
font-weight: $font-weight-bold; font-weight: $font-weight-bold;
} }
.price-free { .price-free {
font-size: $font-size-base; font-size: $font-size-base;
color: $uv-success; color: $uv-success;
font-weight: $font-weight-semibold; font-weight: 500;
} }
/* 营业时间 + 营业状态 同行 */ /* 营业时间 + 营业状态 同行 */
@@ -948,7 +949,7 @@ function onCardClick(scenic: ScenicItem) {
.popup-title { .popup-title {
font-size: $font-size-lg; font-size: $font-size-lg;
font-weight: $font-weight-semibold; font-weight: 500;
color: $color-foreground; color: $color-foreground;
} }
@@ -995,7 +996,7 @@ function onCardClick(scenic: ScenicItem) {
&.active text { &.active text {
color: $uv-primary; color: $uv-primary;
font-weight: $font-weight-semibold; font-weight: 500;
} }
} }
@@ -1019,7 +1020,7 @@ function onCardClick(scenic: ScenicItem) {
text { text {
font-size: $font-size-lg; font-size: $font-size-lg;
font-weight: $font-weight-semibold; font-weight: 500;
color: #fff; color: #fff;
letter-spacing: 2rpx; letter-spacing: 2rpx;
} }
-1
View File
@@ -43,7 +43,6 @@ $font-size-display: 72rpx;
$font-weight-normal: 400; $font-weight-normal: 400;
$font-weight-medium: 500; $font-weight-medium: 500;
$font-weight-semibold: 600;
$font-weight-bold: 700; $font-weight-bold: 700;
$line-height-tight: 1.2; $line-height-tight: 1.2;
-1
View File
@@ -18,7 +18,6 @@
.font-normal { font-weight: $font-weight-normal; } .font-normal { font-weight: $font-weight-normal; }
.font-medium { font-weight: $font-weight-medium; } .font-medium { font-weight: $font-weight-medium; }
.font-semibold { font-weight: $font-weight-semibold; }
.font-bold { font-weight: $font-weight-bold; } .font-bold { font-weight: $font-weight-bold; }
// === TEXT COLOR === // === TEXT COLOR ===
+11 -11
View File
@@ -14,9 +14,9 @@ $uv-primary-disabled: #9acafc;
$uv-primary-light: #ecf5ff; $uv-primary-light: #ecf5ff;
// Error // Error
$uv-error: #f56c6c; $uv-error: #e53935;
$uv-error-dark: #e45656; $uv-error-dark: #d42d2a;
$uv-error-disabled: #f7b2b2; $uv-error-disabled: #f4a9a7;
$uv-error-light: #fef0f0; $uv-error-light: #fef0f0;
// Warning // Warning
@@ -46,13 +46,13 @@ $color-warning: $uv-warning;
$color-error: $uv-error; $color-error: $uv-error;
// Typography & Neutrals // Typography & Neutrals
$uv-main-color: #303133; $uv-main-color: #111111;
$uv-content-color: #606266; $uv-content-color: #333333;
$uv-tips-color: #909193; $uv-tips-color: #666666;
$uv-light-color: #c0c4cc; $uv-light-color: #dadbde;
$uv-disabled-color: #c8c9cc; $uv-disabled-color: #c8c9cc;
$uv-bg-color: #f3f4f6; $uv-bg-color: #f3f4f6;
$uv-border-color: #dadbde; $uv-border-color: #eeeeee;
// Aliases (backward compat) // Aliases (backward compat)
$color-background: $uv-bg-color; $color-background: $uv-bg-color;
@@ -68,8 +68,8 @@ $gradient-accent: linear-gradient(135deg, #{$uv-primary}, #{$uv-primary-dark});
// === TYPOGRAPHY === // === TYPOGRAPHY ===
$font-family-display: 'Noto Serif SC', 'STSong', 'SimSun', serif; $font-family-display: 'SourceHanSerifCN', '思源宋体', serif;
$font-family-body: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', sans-serif; $font-family-body: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', sans-serif;
$font-family-mono: 'Menlo', 'Monaco', 'Courier New', monospace; $font-family-mono: 'Menlo', 'Monaco', 'Courier New', monospace;
$font-size-xs: 20rpx; $font-size-xs: 20rpx;
@@ -77,13 +77,13 @@ $font-size-sm: 24rpx;
$font-size-base: 28rpx; $font-size-base: 28rpx;
$font-size-lg: 32rpx; $font-size-lg: 32rpx;
$font-size-xl: 36rpx; $font-size-xl: 36rpx;
$font-size-title: 38rpx;
$font-size-2xl: 44rpx; $font-size-2xl: 44rpx;
$font-size-3xl: 56rpx; $font-size-3xl: 56rpx;
$font-size-display: 72rpx; $font-size-display: 72rpx;
$font-weight-normal: 400; $font-weight-normal: 400;
$font-weight-medium: 500; $font-weight-medium: 500;
$font-weight-semibold: 600;
$font-weight-bold: 700; $font-weight-bold: 700;
$line-height-tight: 1.2; $line-height-tight: 1.2;