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 @@