fix: cleanup remaining font-weight:bold, remove stale scenic-spots.ts

- Replace font-weight: bold with 700 (plain CSS) or $font-weight-bold (SCSS)
  in qrcode.vue, card-item.vue, bind.vue, activate.vue
- Remove src/data/scenic-spots.ts (replaced by mock/scenic.ts)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
jacobxu666
2026-06-26 11:15:08 +08:00
co-authored by Claude
parent d92875c86d
commit 455b865931
5 changed files with 5 additions and 72 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ defineEmits<{
.card-name {
font-size: $font-size-lg;
font-weight: bold;
font-weight: $font-weight-bold;
color: #333;
}
@@ -80,7 +80,7 @@ defineEmits<{
.price {
font-size: $font-size-lg;
color: #E74C3C;
font-weight: bold;
font-weight: $font-weight-bold;
}
.original-price {
-67
View File
@@ -1,67 +0,0 @@
/** 景点数据类型 */
export interface ScenicSpotItem {
id: number
name: string
region: '萍乡' | '长沙' | '株洲' | '湘潭'
price: number
image: string
}
/**
* 合并去重后的景点列表(47个)
* 来源:赣湘全域旅游年卡(22家) + 超级玩家卡(40家),去重后
* TODO: Phase 2 改为后端 API 获取
*/
export const scenicSpots: ScenicSpotItem[] = [
// === 萍乡 (19家) ===
{ id: 1, name: '武功山金顶景区', region: '萍乡', price: 70, image: '' },
{ id: 2, name: '杨岐山孽龙洞景区', region: '萍乡', price: 68, image: '' },
{ id: 3, name: '仙凤三宝景区', region: '萍乡', price: 50, image: '' },
{ id: 4, name: '武功山君澜温泉', region: '萍乡', price: 228, image: '' },
{ id: 5, name: '凯光新天地生态旅游区', region: '萍乡', price: 90, image: '' },
{ id: 6, name: '山猫王国', region: '萍乡', price: 68, image: '' },
{ id: 7, name: '和平农场·哎马乐园', region: '萍乡', price: 79, image: '' },
{ id: 8, name: '花涧里景区', region: '萍乡', price: 80, image: '' },
{ id: 9, name: '玉皇谷景区', region: '萍乡', price: 50, image: '' },
{ id: 10, name: '龙溪秘境', region: '萍乡', price: 30, image: '' },
{ id: 11, name: '南正街唐朝诡事录', region: '萍乡', price: 158, image: '' },
{ id: 12, name: '孽龙洞水上乐园', region: '萍乡', price: 180, image: '' },
{ id: 13, name: '桐花谷', region: '萍乡', price: 50, image: '' },
{ id: 14, name: '赣西野生动物王国', region: '萍乡', price: 160, image: '' },
{ id: 15, name: '武功山外骨骼登山', region: '萍乡', price: 200, image: '' },
{ id: 16, name: '发光登山杖', region: '萍乡', price: 88, image: '' },
{ id: 17, name: '三只猫青年旅社', region: '萍乡', price: 60, image: '' },
{ id: 18, name: '武功山奖牌', region: '萍乡', price: 19.9, image: '' },
{ id: 19, name: 'AI中医', region: '萍乡', price: 125, image: '' },
// === 长沙 (15家) ===
{ id: 20, name: '长沙方特东方神画', region: '长沙', price: 280, image: '' },
{ id: 21, name: '麦咭乐园红星运动空间站', region: '长沙', price: 278, image: '' },
{ id: 22, name: '宁乡野趣亲子乐园', region: '长沙', price: 88, image: '' },
{ id: 23, name: '长沙乐田派绣乡亲子乐园', region: '长沙', price: 68, image: '' },
{ id: 24, name: '湘东漂流', region: '长沙', price: 168, image: '' },
{ id: 25, name: '长沙黑麋峰森林公园', region: '长沙', price: 27, image: '' },
{ id: 26, name: '湘江游轮', region: '长沙', price: 120, image: '' },
{ id: 27, name: '天心阁', region: '长沙', price: 58, image: '' },
{ id: 28, name: '皇龙峡生态旅游区', region: '长沙', price: 138, image: '' },
{ id: 29, name: '靖港古镇', region: '长沙', price: 80, image: '' },
{ id: 30, name: '西溪磐石大峡谷', region: '长沙', price: 48, image: '' },
{ id: 31, name: '湖南省木偶皮影剧场', region: '长沙', price: 68, image: '' },
{ id: 32, name: '金坑溯溪', region: '长沙', price: 99, image: '' },
{ id: 33, name: '关山古镇', region: '长沙', price: 50, image: '' },
{ id: 34, name: '浏河第一湾', region: '长沙', price: 88, image: '' },
// === 株洲 (6家) ===
{ id: 35, name: '炎帝陵', region: '株洲', price: 62, image: '' },
{ id: 36, name: '酷洛潮漫(株洲馆)', region: '株洲', price: 118, image: '' },
{ id: 37, name: '神农谷风景旅游区', region: '株洲', price: 62, image: '' },
{ id: 38, name: '云上大院', region: '株洲', price: 50, image: '' },
{ id: 39, name: '云阳山', region: '株洲', price: 45, image: '' },
{ id: 40, name: '酒仙湖', region: '株洲', price: 65, image: '' },
// === 湘潭 (7家) ===
{ id: 41, name: '盘龙大观园', region: '湘潭', price: 128, image: '' },
{ id: 42, name: '米莱知识宇宙(湘潭万达馆)', region: '湘潭', price: 326, image: '' },
{ id: 43, name: '滴水洞', region: '湘潭', price: 40, image: '' },
{ id: 44, name: '毛泽东纪念园', region: '湘潭', price: 60, image: '' },
{ id: 45, name: '韶峰景区(含缆车)', region: '湘潭', price: 60, image: '' },
{ id: 46, name: '彭德怀纪念馆', region: '湘潭', price: 98, image: '' },
{ id: 47, name: '《最忆韶山冲》演出', region: '湘潭', price: 298, image: '' },
]
+1 -1
View File
@@ -92,7 +92,7 @@ async function handleActivate() {
<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-name { font-size: 34rpx; font-weight: 700; 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: 24rpx; padding: 10rpx 30rpx; }
.form-item { padding: 24rpx 0; border-bottom: 1rpx solid #eeeeee; }
+1 -1
View File
@@ -53,7 +53,7 @@ async function handleBind() {
<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; }
.title { font-size: 36rpx; font-weight: 700; color: #333; display: block; margin-bottom: 8rpx; }
.desc { font-size: 26rpx; color: #999; }
.form-card { background: #fff; border-radius: 24rpx; padding: 10rpx 30rpx; }
.form-item { padding: 24rpx 0; }
+1 -1
View File
@@ -75,7 +75,7 @@ function showComingSoon() {
.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; }
.user-name { font-size: 36rpx; font-weight: 700; display: block; margin: 12rpx 0 8rpx; }
.expire-date { font-size: 22rpx; opacity: 0.7; display: block; }
.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; }