diff --git a/src/pages/Discovery/components/PanoramicHome/index.vue b/src/pages/Discovery/components/PanoramicHome/index.vue index 372db98..a2f26fc 100644 --- a/src/pages/Discovery/components/PanoramicHome/index.vue +++ b/src/pages/Discovery/components/PanoramicHome/index.vue @@ -1,5 +1,187 @@ \ No newline at end of file + + + diff --git a/src/pages/Discovery/index.vue b/src/pages/Discovery/index.vue index 81c9fc2..182c6b5 100644 --- a/src/pages/Discovery/index.vue +++ b/src/pages/Discovery/index.vue @@ -1,14 +1,25 @@ - - diff --git a/src/request/api/MainPageDataApi.js b/src/request/api/MainPageDataApi.js index e3c84b4..76df6c5 100644 --- a/src/request/api/MainPageDataApi.js +++ b/src/request/api/MainPageDataApi.js @@ -1,5 +1,10 @@ import request from "../base/request"; +/// 首页全部景区数据 +function homeAllScenicData(args) { + return request.post("/hotelBiz/mainScene/queryHomePageListWithCache", args); +} + /// 首页tab场景数据 function homeTabsData(args) { return request.post("/hotelBiz/mainScene/queryTagListWithCache", args); @@ -47,6 +52,7 @@ function discoveryCradComponent() { } export { + homeAllScenicData, homeTabsData, homeTabContentData, getNearbyTags, diff --git a/src/request/base/config.js b/src/request/base/config.js index 0329d23..d19bfb3 100644 --- a/src/request/base/config.js +++ b/src/request/base/config.js @@ -6,8 +6,8 @@ import { getServiceUrl } from "../api/GetServiceUrlApi"; /// 版本号, 每次发版本前增加 const versionValue = "1.1.3"; -/// 是否是测试版本, 测试版本为true, 发布版本为false -const developVersion = false; +/// 是否是测试版本, 测试版本为 true , 发布版本为 false +const developVersion = true; // 获取服务地址 const getEvnUrl = async () => {