diff --git a/api/article/article.js b/api/article/article.js
index 6ae581e..ea1a489 100644
--- a/api/article/article.js
+++ b/api/article/article.js
@@ -4,7 +4,6 @@ import request from '@/utils/request'
* 获取条款和隐私政策
* @param {Object} params - 查询参数
* @param {string} params.type - 类型 5:服务条款 6:隐私条款
- * @param {string} params.appId - 应用ID
* @param {string} params.status - 状态
* @returns {Promise} 返回条款数据
*/
@@ -13,7 +12,6 @@ export function getArticleByType(params = {}) {
url: '/app/article/listByType',
method: 'GET',
params: {
- appId: 1,
status: 1,
...params
}
@@ -23,14 +21,16 @@ export function getArticleByType(params = {}) {
/**
* 根据ID获取文章详情
* @param {string} id - 文章ID
+ * @param {Object} params - 查询参数
* @returns {Promise} 返回文章详情数据
*/
-export function getArticleById(id) {
+export function getArticleById(id, params = {}) {
return request({
url: '/app/article/byId',
method: 'GET',
params: {
- id: id
+ id: id,
+ ...params
}
})
}
@@ -44,7 +44,6 @@ export function getServiceTerms() {
url: '/app/article/listByType',
method: 'GET',
params: {
- appId: 1,
status: 1,
type: '5'
}
@@ -60,9 +59,21 @@ export function getPrivacyPolicy() {
url: '/app/article/listByType',
method: 'GET',
params: {
- appId: 1,
status: 1,
type: '6'
}
})
+}
+
+/**
+ * 获取古刹巡礼数据
+ * @param {Object} params - 查询参数
+ * @returns {Promise} 返回古刹巡礼列表数据
+ */
+export function getTempleTours(params = {}) {
+ return request({
+ url: '/app/article/tours',
+ method: 'GET',
+ params
+ })
}
\ No newline at end of file
diff --git a/enum/common.js b/enum/common.js
index c0ae74e..990f1d7 100644
--- a/enum/common.js
+++ b/enum/common.js
@@ -6,6 +6,7 @@ export const CommonEnum = {
BASE_COLOR:"#FAF8F3", //基调颜色
SEARCH: "https://api.ccttiot.com/image-1753769500465.png", //通用搜索图标
TILE: "https://api.ccttiot.com/image-1753750309203.png", //瓦片图片
+ BOTTOM_TILES:"https://api.ccttiot.com/image-1754446176001.png",//底部瓦片组
FILTER: "https://api.ccttiot.com/image-1753954149098.png", //筛选图标
REFRESH:"https://api.ccttiot.com/%E5%AE%B9%E5%99%A8-1754011714179.png", //刷新图标
NAV_ARROW:"https://api.ccttiot.com/image-1754127104177.png", //导航箭头
@@ -17,5 +18,6 @@ export const CommonEnum = {
Refresh:'https://api.ccttiot.com/image-1754377032112.png',//刷新
LotusMeditation:'https://api.ccttiot.com/image-1754377169541.png',//莲坐禅心
+
};
export default CommonEnum;
\ No newline at end of file
diff --git a/enum/navigationDataTest.json b/enum/navigationDataTest.json
new file mode 100644
index 0000000..4e68071
--- /dev/null
+++ b/enum/navigationDataTest.json
@@ -0,0 +1,69 @@
+{
+ "pageConfig": {
+ "background": {
+ "img": "https://api.ccttiot.com/d3fc4e36469b1d36c146dd184d35b1a3-1754289616988.jpg"
+ },
+ "announcement": {
+ "icon": "https://api.ccttiot.com/smartmeter/img/static/uIm0UpcFxyLwYpwCIVcg",
+ "text": "8月15号官网小程序正式开通,大家可以保持小程序联系我们!"
+ },
+ "topIcons": {
+ "leftIcon": {
+ "hidden": true,
+ "img": "https://api.ccttiot.com/smartmeter/img/static/uEC23p8oHigfvliOKvkL"
+ },
+ "rightIcon": {
+ "img": "https://api.ccttiot.com/smartmeter/img/static/u0xTi5R31GxYwd7WxRhy"
+ },
+ "bottomIcon": {
+ "img": "https://api.ccttiot.com/image-1753692152175.png"
+ }
+ }
+ },
+ "navigationItems": [
+ {
+ "id": "institutionalStructure",
+ "img": "https://api.ccttiot.com/%E5%85%B3%E4%BA%8E%E6%88%91%E4%BB%AC-1754276936716.png",
+ "title": "关于我们",
+ "subtitle": "TEMPLE INSTITUTIONAL STRUCTURE",
+ "aid": "32"
+ },
+ {
+ "id": "monk",
+ "img": "https://api.ccttiot.com/%E6%8B%9B%E5%95%86%E7%AE%A1%E7%90%86-1754277068498.png",
+ "title": "合作",
+ "subtitle": "VENERABLE MONK IN THE TEMPLE",
+ "aid": "33"
+ },
+ {
+ "id": "monk",
+ "img": "https://api.ccttiot.com/%E6%95%85%E9%9A%9C%E7%94%B3%E6%8A%A5-1754277110761.png",
+ "title": "故障申报",
+ "subtitle": "VENERABLE MONK IN THE TEMPLE",
+ "aid": "34"
+ },
+ {
+ "id": "monk",
+ "img": "https://api.ccttiot.com/%E8%81%94%E7%B3%BB%E6%88%91%E4%BB%AC-1754277149148.png",
+ "title": "联系我们",
+ "subtitle": "VENERABLE MONK IN THE TEMPLE",
+ "aid": "35"
+ }
+ ],
+ "bottomSection": {
+ "openingTime": {
+ "title": "开放时间",
+ "time": "08:00~18:00",
+ "decorationImg": "https://api.ccttiot.com/smartmeter/img/static/ugNHTwXFgOT8JGofruez"
+ },
+ "prayerSection": {
+ "backgroundImg": "https://api.ccttiot.com/smartmeter/img/static/ucPuJT9zaH3VSoWzGwSE",
+ "title": "日行千里",
+ "prayerButton": {
+ "icon": "https://api.ccttiot.com/smartmeter/img/static/u9muibj6c472a87zd6tp",
+ "title": "在线学习",
+ "subtitle": "ONLINE PRAYER"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/pages/ancient/ancient.vue b/pages/ancient/ancient.vue
index 7aa6fb0..7947d4e 100644
--- a/pages/ancient/ancient.vue
+++ b/pages/ancient/ancient.vue
@@ -1,36 +1,71 @@
-
+
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/ancient/commponts/ancientItem.vue b/pages/ancient/commponts/ancientItem.vue
new file mode 100644
index 0000000..7d7db55
--- /dev/null
+++ b/pages/ancient/commponts/ancientItem.vue
@@ -0,0 +1,163 @@
+
+
+
+
+
+
+
+
+
+
+ {{ title }}
+ {{ description }}
+
+ {{ buttonText }}
+
+ →
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/basePage/basePage.vue b/pages/basePage/basePage.vue
index 1173407..ae4ec14 100644
--- a/pages/basePage/basePage.vue
+++ b/pages/basePage/basePage.vue
@@ -54,7 +54,7 @@ export default {