diff --git a/src/pages.json b/src/pages.json
index 2b1b2aa..9db5d59 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -40,8 +40,7 @@
{
"path": "pages/scenic-detail/scenic-detail",
"style": {
- "navigationStyle": "custom",
- "navigationBarTitleText": ""
+ "navigationBarTitleText": "景区详情"
}
}
],
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 8c5dbc1..7c69c72 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -180,7 +180,7 @@ function goCardDetail() {
}
function goSpot(spot: ScenicSpotItem) {
- uni.showToast({ title: `${spot.name} 详情开发中`, icon: 'none' })
+ uni.navigateTo({ url: `/pages/scenic-detail/scenic-detail?id=${spot.id}` })
}
function goMore() {
diff --git a/src/pages/scenic-detail/scenic-detail.vue b/src/pages/scenic-detail/scenic-detail.vue
index 58dc6f4..d0eccba 100644
--- a/src/pages/scenic-detail/scenic-detail.vue
+++ b/src/pages/scenic-detail/scenic-detail.vue
@@ -1,303 +1,266 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ {{ scenic.name }}
+
+ 免{{ scenic.freeCount }}次/年
+
+
+
+
+
+
+ 需预约后出行,未预约无法入园
+
+
+
+
+
+ {{ tag }}
+
+
+
+
+
+ {{ scenic.bookingDeadline }}
+
+
+
+
+
+ {{ scenic.hours }}
+
+
+
+
+
+ {{ scenic.phone }}
+
+
+
+
+
+
+ {{ scenic.address }}
+
+ 地图
+
- {{ scenic?.name || '景区详情' }}
-
-
-
-
-
-
-
-
- 萍乡
+
+
+
+
+ {{ card.type === 'super' ? '超级玩家卡' : '赣湘全域旅游年卡' }}
+
+ ¥{{ scenic.price }}
+
+
+ 首道门票
+
+
+ 持卡用户免费
-
-
-
-
-
- {{ scenic.name }}
-
- {{ scenic.level }}
-
-
-
-
-
-
-
- {{ scenic.status }}
-
-
-
-
-
-
- {{ scenic.hours }}
-
-
-
-
- 挂牌价
-
- 免费
-
- ¥
- {{ scenic.price }}
-
-
-
-
-
-
-
- 持卡权益
-
- {{ scenic.freeCount > 0 ? `全年免${scenic.freeCount}次首道门票` : '免费入园' }}
-
-
-
- 预约要求
- {{ scenic.needReservation ? '需提前预约' : '无需预约' }}
-
-
-
-
-
- 温馨提示
-
- !
- {{ scenic.tips }}
-
-
-
-
-
- 景区类型
-
- {{ scenic.type }}
-
-
+ 当前卡剩余可使用 {{ card.remaining }} 次
+
+ 立即预约
-
-
-
-
- 立即预约
-
-
- 咨询客服
-
-
-
-
-
-
-
- 加载中...
+
+
+
+
+ 预约须知
+
+
+
+ 景区介绍
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+ {{ item.content }}
+
+
+
+ {{ scenic.introduction }}
+
+
+
+
+
diff --git a/src/pages/scenic-list/scenic-list.vue b/src/pages/scenic-list/scenic-list.vue
index 008ee31..8d20138 100644
--- a/src/pages/scenic-list/scenic-list.vue
+++ b/src/pages/scenic-list/scenic-list.vue
@@ -171,7 +171,7 @@