From 08d1a1faf901ce363e23a16c76926e61fe6b005f Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Wed, 30 Jun 2021 11:16:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8A=A5=E4=BF=AE=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/index/indexApi.js | 26 +++++++++++--------------- conf/config.js | 4 ++-- pages/repair/repair.vue | 4 ++-- 3 files changed, 15 insertions(+), 19 deletions(-) diff --git a/api/index/indexApi.js b/api/index/indexApi.js index 57c01bf..909e2b7 100755 --- a/api/index/indexApi.js +++ b/api/index/indexApi.js @@ -76,16 +76,11 @@ export function getCategoryList() { src: "/static/images/index_openDoor.png", href: "/pages/openDoor/openDoor" }, { - name: "房屋出租", - src: "/static/images/index_openDoor.png", - href: "/pages/hireRoom/hireRoom" + name: "联系客服", + src: "/static/images/index_persion.png", + href: "callProperty" }], pagetwo: [{ - name: "联系客服", - src: "/static/images/index_persion.png", - href: "callProperty" - }, - { name: "车位申请", src: "/static/images/index_parking.png", href: "/pages/applyparking/applyparking" @@ -100,11 +95,11 @@ export function getCategoryList() { src: "/static/images/index_openDoor.png", href: "/pages/roomRenovation/roomRenovation" }, - { - name: "临时车收费", - src: "/static/images/index_openDoor.png", - href: "/pages/tempParkingFee/tempParkingFee" - }, + // { + // name: "临时车收费", + // src: "/static/images/index_openDoor.png", + // href: "/pages/tempParkingFee/tempParkingFee" + // }, { name: "合同费用", src: "/static/images/index_property.png", @@ -115,7 +110,7 @@ export function getCategoryList() { src: "/static/images/index_property.png", href: "/pages/questionAnswer/questionAnswer" } - + ] }; } @@ -137,7 +132,8 @@ export function loadActivites(dataObj) { let _activites = res.data.activitiess; let _acts = []; _activites.forEach(function(_item) { - _item.src = url.filePath + "?fileId=" + _item.headerImg + "&communityId=" + dataObj.communityId + + _item.src = url.filePath + "?fileId=" + _item.headerImg + + "&communityId=" + dataObj.communityId + "&time=" + new Date(); _item.startTime = dateTimeStringToDateString(_item.startTime); diff --git a/conf/config.js b/conf/config.js index fc98060..962dc5b 100755 --- a/conf/config.js +++ b/conf/config.js @@ -12,7 +12,7 @@ // 服务器域名 公众号时,配置为 / 就可以 const baseUrl = '/'; // #endif -const commonBaseUrl = 'https://hc.demo.winqi.cn/'; +const commonBaseUrl = 'http://demo.homecommunity.cn/'; //商城的url const mallUrl = 'http://mallapp.homecommunity.cn/'; @@ -24,7 +24,7 @@ const mallUrlRefresh = mallUrl + "#/pages/mallTokenRefresh/mallTokenRefresh?mall // #ifndef H5 //服务器域名 小程序 或者 app 时 后端地址 -const baseUrl = 'https://hc.demo.winqi.cn/'; +const baseUrl = 'http://demo.homecommunity.cn/'; // #endif //默认的小区ID和名称,用户还没有登录时显示的小区信息 diff --git a/pages/repair/repair.vue b/pages/repair/repair.vue index c8fdfbb..860cb36 100755 --- a/pages/repair/repair.vue +++ b/pages/repair/repair.vue @@ -160,8 +160,8 @@ ], repairTypes: [], repairTypeIndex: 0, - repairScopeIndex: 0, - repairObjType: '001', + repairScopeIndex: 3, + repairObjType: '004', repairObjId: '', repairObjName: '', floorNum: '',