From 1669b9be74d3d4848120f2e7cda6fb16527e5dfa Mon Sep 17 00:00:00 2001 From: 1154079537 <1154079537@qq.com> Date: Mon, 20 May 2024 17:15:51 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=92=8C=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/recommend/index.vue | 8 +- pages.json | 8 +- pages/cloud_warehouse/home/home.vue | 590 +++++++++--------- pages/cloud_warehouse/market/market.vue | 170 ++--- pages/cloud_warehouse/specialty/specialty.vue | 93 +-- pages/index/index.vue | 3 +- pages/whole_sale/index.vue | 541 ++++++++-------- 7 files changed, 722 insertions(+), 691 deletions(-) diff --git a/components/recommend/index.vue b/components/recommend/index.vue index 4d510c0..cc26aa9 100644 --- a/components/recommend/index.vue +++ b/components/recommend/index.vue @@ -216,17 +216,17 @@ this.list = res.data.list; setTimeout(() => { this.$util.getDom(this, '.tabs', res => { + console.log(res.top); + // #ifdef APP - this.tabsTop = res.top - 10; + this.tabsTop = res.top; // #endif // #ifdef H5 this.tabsTop = res.top; // #endif - - console.log(this.tabsTop); }) - }, 300) + }, 1000) }) }, goDetail(item) { diff --git a/pages.json b/pages.json index 72e8341..c33f841 100644 --- a/pages.json +++ b/pages.json @@ -51,7 +51,7 @@ }, { "path": "pages/whole_sale/index", "style": { - "enablePullDownRefresh": false, + "enablePullDownRefresh": true, "navigationBarTitleText": "批发", "navigationStyle": "custom" } @@ -388,14 +388,14 @@ "style": { "navigationBarTitleText": "里海云仓", "navigationStyle": "custom", - "enablePullDownRefresh": false + "enablePullDownRefresh": true } }, { "path": "market/market", "style": { "navigationBarTitleText": "供销云市场", - "enablePullDownRefresh": false, + "enablePullDownRefresh": true, "navigationStyle": "custom" } }, @@ -403,7 +403,7 @@ "path": "specialty/specialty", "style": { "navigationBarTitleText": "名优特产", - "enablePullDownRefresh": false, + "enablePullDownRefresh": true, "navigationStyle": "custom" } } diff --git a/pages/cloud_warehouse/home/home.vue b/pages/cloud_warehouse/home/home.vue index 7cef2b8..c46210a 100644 --- a/pages/cloud_warehouse/home/home.vue +++ b/pages/cloud_warehouse/home/home.vue @@ -1,3 +1,287 @@ + + + + - - - \ No newline at end of file + \ No newline at end of file diff --git a/pages/cloud_warehouse/market/market.vue b/pages/cloud_warehouse/market/market.vue index 3bc4c7a..20f11c8 100644 --- a/pages/cloud_warehouse/market/market.vue +++ b/pages/cloud_warehouse/market/market.vue @@ -1,5 +1,5 @@