From 192786c6e3c502c889f118f042bbc979b729b0f8 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Wed, 13 Mar 2024 14:08:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 2 +- components/recommend/index.vue | 14 +- pages.json | 18 ++ pages/cloud_warehouse/home/home.vue | 346 ++++++++++++++++++++++++ pages/cloud_warehouse/market/market.vue | 306 +++++++++++++++++++++ pages/gather/gather.vue | 12 +- pages/users/login/login_copy.vue | 2 +- store/modules/app.js | 12 +- 8 files changed, 700 insertions(+), 12 deletions(-) create mode 100644 pages/cloud_warehouse/home/home.vue create mode 100644 pages/cloud_warehouse/market/market.vue diff --git a/App.vue b/App.vue index 8d1df25..bdd538d 100644 --- a/App.vue +++ b/App.vue @@ -117,7 +117,7 @@ that.$Cache.set('MP_VERSION_ISNEW', false) } // #endif - that.getConfigData() + that.getConfigData(); }, onShow() { let that = this diff --git a/components/recommend/index.vue b/components/recommend/index.vue index 5317a33..b4d1a17 100644 --- a/components/recommend/index.vue +++ b/components/recommend/index.vue @@ -6,7 +6,7 @@ - + @@ -15,7 +15,7 @@ 供销物资市场 - + @@ -77,6 +77,7 @@ import { HTTP_REQUEST_URL } from '@/config/app'; +import { Toast } from "../../libs/uniApi"; export default { components: { WaterfallsFlow @@ -137,6 +138,15 @@ changeTab(e) { this.currTabs = e; }, + + navTo(url){ + uni.navigateTo({ + url: url, + fail: () => { + Toast('暂未开放') + } + }) + }, goDetail(item) { goShopDetail(item, this.uid).then(res => { diff --git a/pages.json b/pages.json index 1bf1877..9aaa692 100644 --- a/pages.json +++ b/pages.json @@ -272,6 +272,24 @@ "bounce": "none" } } + }, + { + "path" : "home/home", + "style" : + { + "navigationBarTitleText" : "里海云仓", + "enablePullDownRefresh" : false, + "navigationStyle": "custom" + } + }, + { + "path" : "market/market", + "style" : + { + "navigationBarTitleText" : "供销云市场", + "enablePullDownRefresh" : false, + "navigationStyle": "custom" + } }] }, { "root": "pages/users", diff --git a/pages/cloud_warehouse/home/home.vue b/pages/cloud_warehouse/home/home.vue new file mode 100644 index 0000000..6ed5010 --- /dev/null +++ b/pages/cloud_warehouse/home/home.vue @@ -0,0 +1,346 @@ + + + + \ No newline at end of file diff --git a/pages/cloud_warehouse/market/market.vue b/pages/cloud_warehouse/market/market.vue new file mode 100644 index 0000000..debf87f --- /dev/null +++ b/pages/cloud_warehouse/market/market.vue @@ -0,0 +1,306 @@ + + + + \ No newline at end of file diff --git a/pages/gather/gather.vue b/pages/gather/gather.vue index d8a40a7..eecc21b 100644 --- a/pages/gather/gather.vue +++ b/pages/gather/gather.vue @@ -132,7 +132,6 @@