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:
@@ -45,7 +45,7 @@ function handleTap(event: any) {
|
||||
justify-content: center;
|
||||
border-radius: $radius-base;
|
||||
font-family: $font-family-body;
|
||||
font-weight: $font-weight-semibold;
|
||||
font-weight: $font-weight-medium;
|
||||
transition: all $transition-fast;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
@@ -35,7 +35,7 @@ withDefaults(defineProps<{
|
||||
&__text {
|
||||
font-family: $font-family-mono;
|
||||
font-size: $font-size-xs;
|
||||
font-weight: $font-weight-semibold;
|
||||
font-weight: $font-weight-medium;
|
||||
color: $color-accent;
|
||||
letter-spacing: 0.1em;
|
||||
}
|
||||
|
||||
@@ -89,17 +89,17 @@ async function handleActivate() {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.page { min-height: 100vh; background: #f5f5f5; padding: 20rpx; box-sizing: border-box; }
|
||||
.card-info { background: #4A90D9; border-radius: 16rpx; padding: 30rpx; margin-bottom: 20rpx; }
|
||||
<style lang="scss" scoped>
|
||||
.page { min-height: 100vh; background: #f5f5f5; padding: 20rpx; box-sizing: border-box; font-family: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', sans-serif; }
|
||||
.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-tip { font-size: 24rpx; color: rgba(255,255,255,0.8); }
|
||||
.form-card { background: #fff; border-radius: 16rpx; padding: 10rpx 30rpx; }
|
||||
.form-item { padding: 24rpx 0; border-bottom: 1rpx solid #f0f0f0; }
|
||||
.form-card { background: #fff; border-radius: 24rpx; padding: 10rpx 30rpx; }
|
||||
.form-item { padding: 24rpx 0; border-bottom: 1rpx solid #eeeeee; }
|
||||
.form-item:last-child { border-bottom: none; }
|
||||
.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; }
|
||||
.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[disabled] { background: #A5C8E8; }
|
||||
.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: #e5e7eb; }
|
||||
</style>
|
||||
|
||||
@@ -50,16 +50,16 @@ async function handleBind() {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.page { min-height: 100vh; background: #f5f5f5; padding: 20rpx; box-sizing: border-box; }
|
||||
<style lang="scss" scoped>
|
||||
.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; }
|
||||
.title { font-size: 36rpx; font-weight: bold; color: #333; display: block; margin-bottom: 8rpx; }
|
||||
.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; }
|
||||
.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; }
|
||||
.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[disabled] { background: #A5C8E8; }
|
||||
.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: #e5e7eb; }
|
||||
</style>
|
||||
|
||||
@@ -84,23 +84,23 @@ async function handlePay() {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.page { min-height: 100vh; background: #f5f5f5; padding: 20rpx; padding-bottom: 140rpx; box-sizing: border-box; }
|
||||
.order-card, .pay-card { background: #fff; border-radius: 16rpx; 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; }
|
||||
<style lang="scss" scoped>
|
||||
.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: 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 #eeeeee; }
|
||||
.order-row { display: flex; justify-content: space-between; align-items: center; padding: 16rpx 0; }
|
||||
.label { font-size: 28rpx; color: #666; }
|
||||
.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.active { color: #4A90D9; }
|
||||
.pay-option.active { color: #3c9cff; }
|
||||
.pay-icon { font-size: 36rpx; margin-right: 16rpx; }
|
||||
.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-price { flex: 1; display: flex; flex-direction: column; }
|
||||
.bottom-price .label { font-size: 22rpx; color: #999; }
|
||||
.bottom-price .value { font-size: 40rpx; color: #E74C3C; font-weight: bold; }
|
||||
.btn-pay { background: #E74C3C; color: #fff; font-size: 30rpx; padding: 20rpx 60rpx; border-radius: 44rpx; border: none; }
|
||||
.btn-pay[disabled] { background: #F5A8A3; }
|
||||
.bottom-price .value { font-size: 40rpx; color: #e53935; font-weight: bold; }
|
||||
.btn-pay { background: #e53935; color: #fff; font-size: 30rpx; padding: 20rpx 60rpx; border-radius: 40rpx; border: none; }
|
||||
.btn-pay[disabled] { background: #e5e7eb; }
|
||||
</style>
|
||||
|
||||
@@ -108,12 +108,12 @@ function handleBuy() {
|
||||
</script>
|
||||
|
||||
<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; }
|
||||
.info-card { background: #fff; padding: 24rpx 30rpx; margin-bottom: 16rpx; }
|
||||
.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 { 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; }
|
||||
.card-desc { font-size: 26rpx; color: #666; }
|
||||
.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-price { flex: 1; display: flex; flex-direction: column; }
|
||||
.bottom-price .label { font-size: 22rpx; color: #999; }
|
||||
.bottom-price .value { font-size: 36rpx; color: #E74C3C; font-weight: bold; }
|
||||
.btn-buy { background: #E74C3C; color: #fff; font-size: 30rpx; padding: 20rpx 60rpx; border-radius: 44rpx; border: none; }
|
||||
.bottom-price .value { font-size: 36rpx; color: #e53935; font-weight: bold; }
|
||||
.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; }
|
||||
|
||||
/* Quick actions — 功能入口 */
|
||||
@@ -141,7 +141,7 @@ function handleBuy() {
|
||||
margin: 0 $spacing-3 $spacing-3;
|
||||
padding: $spacing-3 0;
|
||||
background: $color-card;
|
||||
border-radius: 16rpx;
|
||||
border-radius: 24rpx;
|
||||
box-shadow: $shadow-sm;
|
||||
}
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ function goDetail(card: CardInfo) {
|
||||
.page {
|
||||
min-height: 100vh;
|
||||
background: $uv-bg-color;
|
||||
font-family: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', sans-serif;
|
||||
}
|
||||
|
||||
/* Hero header */
|
||||
@@ -178,7 +179,7 @@ function goDetail(card: CardInfo) {
|
||||
background: $uv-primary;
|
||||
color: #fff;
|
||||
border-color: $uv-primary;
|
||||
font-weight: $font-weight-semibold;
|
||||
font-weight: $font-weight-medium;
|
||||
}
|
||||
|
||||
&:active {
|
||||
|
||||
@@ -71,18 +71,18 @@ function showComingSoon() {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.page { min-height: 100vh; background: #f5f5f5; padding: 20rpx; box-sizing: border-box; }
|
||||
.card-top { background: linear-gradient(135deg, #4A90D9, #357ABD); border-radius: 20rpx; padding: 30rpx; color: #fff; margin-bottom: -20rpx; }
|
||||
<style lang="scss" scoped>
|
||||
.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, #3c9cff, #398ade); border-radius: 24rpx; padding: 30rpx; color: #fff; margin-bottom: -20rpx; }
|
||||
.card-label { font-size: 24rpx; opacity: 0.8; display: block; }
|
||||
.user-name { font-size: 36rpx; font-weight: bold; display: block; margin: 12rpx 0 8rpx; }
|
||||
.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-image { width: 320rpx; height: 320rpx; }
|
||||
.qr-placeholder { color: #999; font-size: 28rpx; }
|
||||
.qr-tip { font-size: 24rpx; color: #999; display: block; margin-top: 16rpx; }
|
||||
.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-primary { flex: 1; height: 88rpx; line-height: 88rpx; background: #4A90D9; color: #fff; border-radius: 44rpx; font-size: 28rpx; border: none; }
|
||||
.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: #3c9cff; color: #fff; border-radius: 40rpx; font-size: 28rpx; border: none; }
|
||||
</style>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
@@ -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>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -43,7 +43,6 @@ $font-size-display: 72rpx;
|
||||
|
||||
$font-weight-normal: 400;
|
||||
$font-weight-medium: 500;
|
||||
$font-weight-semibold: 600;
|
||||
$font-weight-bold: 700;
|
||||
|
||||
$line-height-tight: 1.2;
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
|
||||
.font-normal { font-weight: $font-weight-normal; }
|
||||
.font-medium { font-weight: $font-weight-medium; }
|
||||
.font-semibold { font-weight: $font-weight-semibold; }
|
||||
.font-bold { font-weight: $font-weight-bold; }
|
||||
|
||||
// === TEXT COLOR ===
|
||||
|
||||
+11
-11
@@ -14,9 +14,9 @@ $uv-primary-disabled: #9acafc;
|
||||
$uv-primary-light: #ecf5ff;
|
||||
|
||||
// Error
|
||||
$uv-error: #f56c6c;
|
||||
$uv-error-dark: #e45656;
|
||||
$uv-error-disabled: #f7b2b2;
|
||||
$uv-error: #e53935;
|
||||
$uv-error-dark: #d42d2a;
|
||||
$uv-error-disabled: #f4a9a7;
|
||||
$uv-error-light: #fef0f0;
|
||||
|
||||
// Warning
|
||||
@@ -46,13 +46,13 @@ $color-warning: $uv-warning;
|
||||
$color-error: $uv-error;
|
||||
|
||||
// Typography & Neutrals
|
||||
$uv-main-color: #303133;
|
||||
$uv-content-color: #606266;
|
||||
$uv-tips-color: #909193;
|
||||
$uv-light-color: #c0c4cc;
|
||||
$uv-main-color: #111111;
|
||||
$uv-content-color: #333333;
|
||||
$uv-tips-color: #666666;
|
||||
$uv-light-color: #dadbde;
|
||||
$uv-disabled-color: #c8c9cc;
|
||||
$uv-bg-color: #f3f4f6;
|
||||
$uv-border-color: #dadbde;
|
||||
$uv-border-color: #eeeeee;
|
||||
|
||||
// Aliases (backward compat)
|
||||
$color-background: $uv-bg-color;
|
||||
@@ -68,8 +68,8 @@ $gradient-accent: linear-gradient(135deg, #{$uv-primary}, #{$uv-primary-dark});
|
||||
|
||||
// === TYPOGRAPHY ===
|
||||
|
||||
$font-family-display: 'Noto Serif SC', 'STSong', 'SimSun', serif;
|
||||
$font-family-body: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', sans-serif;
|
||||
$font-family-display: 'SourceHanSerifCN', '思源宋体', serif;
|
||||
$font-family-body: 'SourceHanSerifCN', '思源宋体', -apple-system, 'PingFang SC', sans-serif;
|
||||
$font-family-mono: 'Menlo', 'Monaco', 'Courier New', monospace;
|
||||
|
||||
$font-size-xs: 20rpx;
|
||||
@@ -77,13 +77,13 @@ $font-size-sm: 24rpx;
|
||||
$font-size-base: 28rpx;
|
||||
$font-size-lg: 32rpx;
|
||||
$font-size-xl: 36rpx;
|
||||
$font-size-title: 38rpx;
|
||||
$font-size-2xl: 44rpx;
|
||||
$font-size-3xl: 56rpx;
|
||||
$font-size-display: 72rpx;
|
||||
|
||||
$font-weight-normal: 400;
|
||||
$font-weight-medium: 500;
|
||||
$font-weight-semibold: 600;
|
||||
$font-weight-bold: 700;
|
||||
|
||||
$line-height-tight: 1.2;
|
||||
|
||||
Reference in New Issue
Block a user