diff --git a/api/index/index.js b/api/index/index.js index b4d3129..1a57517 100644 --- a/api/index/index.js +++ b/api/index/index.js @@ -1,5 +1,16 @@ // 首页配置相关API -import { get } from '@/utils/request' +import { get, request } from '@/utils/request' + +/** + * 获取寺庙介绍信息 + * @returns {Promise} 返回寺庙介绍数据 + */ +export function getTempleInfo() { + return get('/app/temple/introduced', {}, { + timeout: 10000, + showLoading: false + }) +} /** * 获取首页配置 diff --git a/api/walkInto/walkInto.js b/api/walkInto/walkInto.js new file mode 100644 index 0000000..1591e68 --- /dev/null +++ b/api/walkInto/walkInto.js @@ -0,0 +1,12 @@ +import { get } from '@/utils/request' + +/** + * 获取寺庙介绍信息 + * @returns {Promise} 返回寺庙介绍数据 + */ +export function getTempleInfo() { + return get('/app/temple/introduced', {}, { + timeout: 10000, + showLoading: false + }) +} \ No newline at end of file diff --git a/enum/common.js b/enum/common.js index 6c53895..66931e9 100644 --- a/enum/common.js +++ b/enum/common.js @@ -7,7 +7,8 @@ export const CommonEnum = { SEARCH: "https://api.ccttiot.com/image-1753769500465.png", //通用搜索图标 TILE: "https://api.ccttiot.com/image-1753750309203.png", //瓦片图片 FILTER: "https://api.ccttiot.com/image-1753954149098.png", //筛选图标 - REFRESH:"https://api.ccttiot.com/%E5%AE%B9%E5%99%A8-1754011714179.png" //刷新图标 + REFRESH:"https://api.ccttiot.com/%E5%AE%B9%E5%99%A8-1754011714179.png", //刷新图标 + NAV_ARROW:"https://api.ccttiot.com/image-1754127104177.png" //导航箭头 }; export default CommonEnum; \ No newline at end of file diff --git a/pages.json b/pages.json index fe3062a..7f61ee2 100644 --- a/pages.json +++ b/pages.json @@ -109,6 +109,15 @@ "enablePullDownRefresh": false, "navigationStyle": "custom" } + }, + { + "path" : "pages/basePage/basePagePicture", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } } ], diff --git a/pages/basePage/basePagePicture.vue b/pages/basePage/basePagePicture.vue new file mode 100644 index 0000000..a8066b7 --- /dev/null +++ b/pages/basePage/basePagePicture.vue @@ -0,0 +1,105 @@ + + + + + \ No newline at end of file diff --git a/pages/walkInto/walkInto.vue b/pages/walkInto/walkInto.vue index 8b58cca..01fa062 100644 --- a/pages/walkInto/walkInto.vue +++ b/pages/walkInto/walkInto.vue @@ -1,20 +1,36 @@ \ No newline at end of file