From 864d94912620757dfd8576de8881fc508641b510 Mon Sep 17 00:00:00 2001 From: lifizer <913626195@qq.com> Date: Wed, 13 Mar 2024 18:25:02 +0800 Subject: [PATCH] =?UTF-8?q?Feat(=E7=89=B9=E8=89=B2=E7=A4=BC=E5=93=81):?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/product.js | 12 +- pages.json | 9 +- pkg_product/views/giftContent.vue | 148 ++++++++ pkg_product/views/giftList.vue | 419 +++++++++------------ pkg_product/views/giftList_bak20240313.vue | 271 +++++++++++++ 5 files changed, 622 insertions(+), 237 deletions(-) create mode 100644 pkg_product/views/giftContent.vue create mode 100644 pkg_product/views/giftList_bak20240313.vue diff --git a/api/product.js b/api/product.js index da4eaf6..9df683e 100644 --- a/api/product.js +++ b/api/product.js @@ -16,9 +16,17 @@ export function wellnessPlaceList(param) { /** * 特色礼品首页 - * */ + */ export function customizedGift() { - return request.get("/customizedGift/index", {}, {login: true}) + return request.get("/customizedGift/index", {}, {login: false}) +} + +/** + * 特色礼品省份专题页 + * + */ +export function customizedGiftContent(param) { + return request.get("/customizedGift/cityContent", param, {login: false}) } /** diff --git a/pages.json b/pages.json index 80fe651..f0edad8 100644 --- a/pages.json +++ b/pages.json @@ -632,9 +632,16 @@ }, { "path": "views/giftList", + "style": { + "navigationBarTitleText": "特色礼品" + } + }, + { + "path": "views/giftContent", "style": { "navigationBarTitleText": "特色礼品", - "onReachBottomDistance": 100 + "navigationBarTextStyle": "black", + "navigationStyle": "custom" } }, { diff --git a/pkg_product/views/giftContent.vue b/pkg_product/views/giftContent.vue new file mode 100644 index 0000000..1b73009 --- /dev/null +++ b/pkg_product/views/giftContent.vue @@ -0,0 +1,148 @@ + + + + diff --git a/pkg_product/views/giftList.vue b/pkg_product/views/giftList.vue index 3cc45de..0c8f091 100644 --- a/pkg_product/views/giftList.vue +++ b/pkg_product/views/giftList.vue @@ -1,270 +1,221 @@ -