From d8cb8ae6cb98c3d980cc622625082779a5e0df8c Mon Sep 17 00:00:00 2001 From: linxi Date: Tue, 8 Oct 2024 18:03:46 +0800 Subject: [PATCH] =?UTF-8?q?Feat=EF=BC=9A=E5=BA=B7=E5=85=BB=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5=EF=BC=88=E5=9C=A3?= =?UTF-8?q?=E5=9C=B0=EF=BC=8C=E9=A3=9F=E6=9D=90=E4=B8=BA=E5=AF=B9=E6=8E=A5?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/health.js | 37 ++++++++++++++ pkg_product/views/expoDetails.vue | 43 ++++++++-------- pkg_product/views/expoList.vue | 26 +++++++--- pkg_product/views/healthFoods.vue | 2 +- pkg_product/views/healthList.vue | 55 ++++++++++++--------- pkg_product/views/healthSanctum.vue | 77 +++++++++++++++++++---------- 6 files changed, 160 insertions(+), 80 deletions(-) create mode 100644 api/health.js diff --git a/api/health.js b/api/health.js new file mode 100644 index 0000000..795864f --- /dev/null +++ b/api/health.js @@ -0,0 +1,37 @@ +import request from "@/utils/request"; + + +/** + * 康养生活-养生圣地分类列表 + * @returns + */ +export function getCategory() { + return request.get("/wellness/place/category") +} + +/** + * 康养生活-养生圣地列表 + * @param {*} params + * @returns + */ +export function getWellnessPlace(params) { + return request.get("/wellness/place", params) +} + +/** + * 康养生活-展会列表 + * @param {*} params + * @returns + */ +export function getWellnessExhibition(params) { + return request.get("/wellness/exhibition", params) +} + +/** + * 康养生活-展会详情 + * @param {*} id + * @returns + */ +export function getWellnessExhibitionDetails(id) { + return request.get("/wellness/exhibition/" + id) +} \ No newline at end of file diff --git a/pkg_product/views/expoDetails.vue b/pkg_product/views/expoDetails.vue index df0bc77..96f367b 100644 --- a/pkg_product/views/expoDetails.vue +++ b/pkg_product/views/expoDetails.vue @@ -1,34 +1,28 @@ @@ -123,13 +149,12 @@ export default { .atr{ width: 52rpx; height: 52rpx; - background: #707070; border-radius: 50%; } .img{ width: 320rpx; height: 320rpx; - background: #707070; + // background: #707070; border-radius: 16rpx; position: relative; }