From 986aee1fdb4c2fedcef9c60d3d1ec206d01ec59d Mon Sep 17 00:00:00 2001 From: lifizer <913626195@qq.com> Date: Wed, 27 Sep 2023 16:13:33 +0800 Subject: [PATCH] =?UTF-8?q?Feat(=E6=97=B6=E4=BB=A4=E5=B0=9D=E9=B2=9C):?= =?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 | 4 +- pages/shop/GoodSearch/index.vue | 9 +- pages/shop/GoodsCon/index.vue | 2 +- pages/shop/GoodsEvaluate/index.vue | 75 ++++-- pagesInn/inn/innHome.vue | 14 +- pagesInn/inn/innInfoDetail_bak.vue | 387 --------------------------- pkg_product/views/giftList_bak.vue | 160 ----------- pkg_product/views/giftList_debug.vue | 217 --------------- pkg_product/views/healthList.vue | 2 + pkg_product/views/nativeList_bak.vue | 191 ------------- pkg_product/views/season-bak.vue | 246 +++++++++++++++++ pkg_product/views/season.vue | 27 +- wenwan/views/goodsClass.vue | 2 +- 13 files changed, 331 insertions(+), 1005 deletions(-) delete mode 100644 pagesInn/inn/innInfoDetail_bak.vue delete mode 100644 pkg_product/views/giftList_bak.vue delete mode 100644 pkg_product/views/giftList_debug.vue delete mode 100644 pkg_product/views/nativeList_bak.vue create mode 100644 pkg_product/views/season-bak.vue diff --git a/api/product.js b/api/product.js index 6d5b439..2226f4e 100644 --- a/api/product.js +++ b/api/product.js @@ -46,7 +46,7 @@ export function getStoryDetail(id) { * 时令尝鲜首页 * */ export function seasonHomeData() { - return request.get("/seasonalFood/index", {}, {login: true}) + return request.get("/seasonalFood/index", {}, {login: false}) } /** @@ -57,7 +57,7 @@ export function getSeason(id) { } /** - * 时令尝鲜 + * 时令尝鲜海报 * */ export function getSeasonPoster(id) { return request.get("/seasonalFood/poster/" + id, {}, {login: true}) diff --git a/pages/shop/GoodSearch/index.vue b/pages/shop/GoodSearch/index.vue index a2d8f34..b3b87b1 100644 --- a/pages/shop/GoodSearch/index.vue +++ b/pages/shop/GoodSearch/index.vue @@ -10,6 +10,10 @@ + + + + 热门搜索 @@ -62,12 +66,9 @@ export default { - - diff --git a/pkg_product/views/giftList_bak.vue b/pkg_product/views/giftList_bak.vue deleted file mode 100644 index 82a0cc1..0000000 --- a/pkg_product/views/giftList_bak.vue +++ /dev/null @@ -1,160 +0,0 @@ - - - - - diff --git a/pkg_product/views/giftList_debug.vue b/pkg_product/views/giftList_debug.vue deleted file mode 100644 index 8c8a05d..0000000 --- a/pkg_product/views/giftList_debug.vue +++ /dev/null @@ -1,217 +0,0 @@ - - - - - diff --git a/pkg_product/views/healthList.vue b/pkg_product/views/healthList.vue index 44c9806..554594f 100644 --- a/pkg_product/views/healthList.vue +++ b/pkg_product/views/healthList.vue @@ -101,6 +101,7 @@ export default { changeTab(index) { if (this.asideList.length === 0) return; if (index === this.tabIndex) return; + this.page = 1; this.dataList = []; this.tabIndex = index; this.search(); @@ -151,6 +152,7 @@ export default { asideTap(index) { this.asideIndex = index; this.page = 1; + this.dataList = []; this.search(); }, goStore(id) { diff --git a/pkg_product/views/nativeList_bak.vue b/pkg_product/views/nativeList_bak.vue deleted file mode 100644 index 9cdc9b6..0000000 --- a/pkg_product/views/nativeList_bak.vue +++ /dev/null @@ -1,191 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pkg_product/views/season-bak.vue b/pkg_product/views/season-bak.vue new file mode 100644 index 0000000..88a375b --- /dev/null +++ b/pkg_product/views/season-bak.vue @@ -0,0 +1,246 @@ + + + + + \ No newline at end of file diff --git a/pkg_product/views/season.vue b/pkg_product/views/season.vue index f2a4162..4ba17b7 100644 --- a/pkg_product/views/season.vue +++ b/pkg_product/views/season.vue @@ -108,8 +108,8 @@ export default { - - + @@ -118,8 +118,10 @@ export default { - - + + + @@ -143,11 +145,6 @@ export default { box-sizing: border-box; } - .section { - width: 100vw; - height: 100vh; - } - .img-top { width: 100vw; } @@ -187,15 +184,19 @@ export default { } .product-list { - padding: 200rpx 32rpx 0; - background-size: 100vw auto; + position: absolute; + top: 0; + left: 0; + padding: 280rpx 32rpx 0; .item { width: 686rpx; - height: 400rpx; margin-bottom: 46rpx; - border-radius: 20rpx; } } + + .bg-img { + width: 100vw; + } } \ No newline at end of file diff --git a/wenwan/views/goodsClass.vue b/wenwan/views/goodsClass.vue index 304a5d6..894e2a7 100644 --- a/wenwan/views/goodsClass.vue +++ b/wenwan/views/goodsClass.vue @@ -129,7 +129,7 @@ export default { tabName: "", // 跳转初始分类名 lock: false, upOption: { - noMoreSize: 10, //如果列表已无数据,可设置列表的总数量要大于半页才显示无更多数据;避免列表数据过少(比如只有一条数据),显示无更多数据会不好看; 默认5 + noMoreSize: 5, //如果列表已无数据,可设置列表的总数量要大于半页才显示无更多数据;避免列表数据过少(比如只有一条数据),显示无更多数据会不好看; 默认5 auto: false, empty: { tip: '暂无商品' // 提示