diff --git a/src/pages.json b/src/pages.json
index 53cabea..2b1b2aa 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -29,6 +29,20 @@
"style": {
"navigationBarTitleText": "个人中心"
}
+ },
+ {
+ "path": "pages/scenic-list/scenic-list",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/scenic-detail/scenic-detail",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": ""
+ }
}
],
"subPackages": [
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 9357636..8c5dbc1 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -184,7 +184,7 @@ function goSpot(spot: ScenicSpotItem) {
}
function goMore() {
- uni.showToast({ title: '景点列表开发中', icon: 'none' })
+ uni.navigateTo({ url: '/pages/scenic-list/scenic-list' })
}
diff --git a/src/pages/scenic-detail/scenic-detail.vue b/src/pages/scenic-detail/scenic-detail.vue
new file mode 100644
index 0000000..58dc6f4
--- /dev/null
+++ b/src/pages/scenic-detail/scenic-detail.vue
@@ -0,0 +1,632 @@
+
+
+
+
+
+
+
+ {{ scenic?.name || '景区详情' }}
+
+
+
+
+
+
+
+
+
+
+ 萍乡
+
+
+
+
+
+
+
+ {{ scenic.name }}
+
+ {{ scenic.level }}
+
+
+
+
+
+
+
+ {{ scenic.status }}
+
+
+
+
+
+
+ {{ scenic.hours }}
+
+
+
+
+ 挂牌价
+
+ 免费
+
+ ¥
+ {{ scenic.price }}
+
+
+
+
+
+
+
+ 持卡权益
+
+ {{ scenic.freeCount > 0 ? `全年免${scenic.freeCount}次首道门票` : '免费入园' }}
+
+
+
+ 预约要求
+ {{ scenic.needReservation ? '需提前预约' : '无需预约' }}
+
+
+
+
+
+ 温馨提示
+
+ !
+ {{ scenic.tips }}
+
+
+
+
+
+ 景区类型
+
+ {{ scenic.type }}
+
+
+
+
+
+
+
+ 立即预约
+
+
+ 咨询客服
+
+
+
+
+
+
+
+ 加载中...
+
+
+
+
+
+
+
diff --git a/src/pages/scenic-list/scenic-list.vue b/src/pages/scenic-list/scenic-list.vue
new file mode 100644
index 0000000..008ee31
--- /dev/null
+++ b/src/pages/scenic-list/scenic-list.vue
@@ -0,0 +1,988 @@
+
+
+
+
+
+
+
+
+
+
+ 全部合作景区
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 暂无匹配景区
+
+
+
+
+
+
+
+
+
+ {{ scenic.region }}
+
+
+ {{ scenic.level }}
+
+
+
+
+
+
+
+ {{ scenic.name }}
+
+ 免费
+
+ ¥
+ {{ scenic.price }}
+
+
+
+
+
+
+
+
+ {{ scenic.hours }}
+
+
+
+
+ {{ scenic.status }}
+
+
+
+
+
+
+
+ 全年可用{{ scenic.freeCount }}次
+
+
+ {{ scenic.freeCount > 0 ? `免${scenic.freeCount}次` : '免费' }}
+
+
+ {{ scenic.needReservation ? '需预约' : '免预约' }}
+
+
+
+
+
+ !
+ {{ scenic.tips }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+