From ccdac8ff1a9d3a8ae17b54ad293217359a9cf2d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=B1=AA?= <781521347@qq.com> Date: Tue, 28 Dec 2021 18:04:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/business.js | 29 ++++ components/LoadStatus.vue | 28 ++++ config/index.js | 4 +- pages.json | 3 +- pages/demandHall/business/index.vue | 171 ++++++++++++++--------- pages/demandHall/business/newsSwiper.vue | 49 +++++++ pages/demandHall/supplyHall/index.vue | 42 +++--- pages/life/articleList/index.vue | 13 +- pages/user/editNeeds/index.vue | 10 +- pages/user/index.vue | 2 +- static/images/home/top-bg.png | Bin 24538 -> 0 bytes static/images/learnMore1.png | Bin 858898 -> 0 bytes static/images/learnMore2.png | Bin 755764 -> 0 bytes static/images/learnMore3.png | Bin 730907 -> 0 bytes static/images/learnMore4.png | Bin 488255 -> 0 bytes 15 files changed, 249 insertions(+), 102 deletions(-) create mode 100644 api/business.js create mode 100644 components/LoadStatus.vue create mode 100644 pages/demandHall/business/newsSwiper.vue delete mode 100644 static/images/home/top-bg.png delete mode 100644 static/images/learnMore1.png delete mode 100644 static/images/learnMore2.png delete mode 100644 static/images/learnMore3.png delete mode 100644 static/images/learnMore4.png diff --git a/api/business.js b/api/business.js new file mode 100644 index 0000000..7e46172 --- /dev/null +++ b/api/business.js @@ -0,0 +1,29 @@ +import request from '@/utils/request' + +// 商业简报 +export function briefing(data) { + return request.get('/business/briefing', data, { + login: false, + }) +} + +// 推荐服务里的供应 +export function supply(data) { + return request.get('/business/supply', data, { + login: false, + }) +} + +// 推荐服务里的分类 +export function listResourcesCagetory(data) { + return request.get('/ResourcesCagetory/listResourcesCagetory', data, { + login: false, + }) +} + +// 优质企业列表 +export function listEnterprise(data) { + return request.get('/business/listEnterprise ', data, { + login: false, + }) +} \ No newline at end of file diff --git a/components/LoadStatus.vue b/components/LoadStatus.vue new file mode 100644 index 0000000..dd31fba --- /dev/null +++ b/components/LoadStatus.vue @@ -0,0 +1,28 @@ + + + + + diff --git a/config/index.js b/config/index.js index 9ade227..1751c55 100644 --- a/config/index.js +++ b/config/index.js @@ -1,8 +1,8 @@ // export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api'; // export const VUE_APP_API_URL = 'https://wxapi.yixiang.co/api' // export const VUE_APP_API_URL = 'http://192.168.0.112:8092/api' - // export const VUE_APP_API_URL = 'http://10.11.32.103:8092/api' -export const VUE_APP_API_URL = 'https://cloud.api.cyjyyjy.com/api' + export const VUE_APP_API_URL = 'http://10.11.32.103:8092/api' +// export const VUE_APP_API_URL = 'https://cloud.api.cyjyyjy.com/api' // export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api'; // export const VUE_APP_API_URL = 'https://thapi.xinxintuan.co/api' // export const VUE_APP_API_URL = 'https://h5api.xinxintuan.co/api'; diff --git a/pages.json b/pages.json index 89bfafb..19242ac 100644 --- a/pages.json +++ b/pages.json @@ -267,8 +267,7 @@ { "path": "pages/demandHall/business/index", "style": { - "navigationBarTitleText": "商业", - "enablePullDownRefresh": true + "navigationBarTitleText": "商业" } }, diff --git a/pages/demandHall/business/index.vue b/pages/demandHall/business/index.vue index 5f26ee1..624d2a8 100644 --- a/pages/demandHall/business/index.vue +++ b/pages/demandHall/business/index.vue @@ -24,36 +24,13 @@ - - - 2021中国酒店与商用厨具行业品牌盛即将召开 - - + - - - - 如何具有商业思维? - - + @@ -63,21 +40,21 @@ - - 换一批 + + 换一批 - - 楚象科技有限公司 + + {{item.enterpriseName}} - 持续盈利 - 财务规范 - 零负债 + {{item.cname}} + - 以领先科技,致力于推动客户成功 + {{item.enterpriseTitle}} - + 了解详情 @@ -93,46 +70,36 @@ - 我要开发小程序 - 最快一个月进入测试阶段 - + {{supplyList[0].title}} + {{supplyList[0].detailedDescription}} + - 我要H5定制 - 最快半个月进入测试阶段 - - - 装修服务 - 房屋装修 + {{supplyList[1].title}} + {{supplyList[1].detailedDescription}} - - 装修服务 - 房屋装修 + + {{supplyList[2].title || '广告位招租'}} + {{supplyList[2].detailedDescription}} - - 装修服务 - 房屋装修 - - - 装修服务 - 房屋装修 - - - 装修服务 - 房屋装修 + + + {{item.cagetoryName}} + + - 装修服务 + 查看更多 - + @@ -154,16 +121,69 @@ + + diff --git a/pages/demandHall/supplyHall/index.vue b/pages/demandHall/supplyHall/index.vue index 58560d4..7f7dae6 100644 --- a/pages/demandHall/supplyHall/index.vue +++ b/pages/demandHall/supplyHall/index.vue @@ -22,7 +22,7 @@ - + @@ -65,6 +65,7 @@ 查看详情 + @@ -108,6 +109,7 @@ 查看详情 + @@ -142,7 +144,9 @@