diff --git a/common/api.js b/common/api.js index 3eb7bda..f261296 100644 --- a/common/api.js +++ b/common/api.js @@ -26,7 +26,10 @@ export const UpdateInfo = (data) => http.post('/houserent-admin/info_common/upda // 根据租房分类信息获取租房带分页列表信息 export const housePageList = (params) => http.get('/houserent-admin/common_index/getHousePageList', {params,params}) -// 根据租房分类信息获取租房带分页列表信息 +// 根据租房详情id获取房源详情 +export const houseDetail = (params) => http.get('/houserent-admin/common_index/getHouseDetail', {params,params}) + +// 获取租房分类类型 export const houseType = (params) => http.get('/houserent-admin/common_index/getHouseType', {params,params}) // 获取通知公告 @@ -46,3 +49,12 @@ export const saveOrUpdateHouse = (data) => http.post('/houserent-admin/common_in export const commonIndexFindPageList = (params) => http.get('/houserent-admin/common_index/getFindPageList', {params,params}) // 获取发现列表详情 export const commonIndexFindDetail = (params) => http.get('/houserent-admin/common_index/getFindDetail', {params,params}) +// 获取首页图标的接口 +export const commonIndexIndexIcon = (params) => http.get('/houserent-admin/common_index/getIndexIcon', {params,params}) + +// 房东中心 +export const MyHousePageList = (params) => http.get('/houserent-admin/common_index/getMyHousePageList', {params,params}) +// 经纪人中心 +export const MyVipPageList = (params) => http.get('/houserent-admin/common_index/getMyVipPageList', {params,params}) +// 删除 +export const deleteHouse = (params) => http.get('/houserent-admin/common_index/deleteHouse', {params,params}) diff --git a/manifest.json b/manifest.json index e619ed4..f37dbac 100644 --- a/manifest.json +++ b/manifest.json @@ -77,6 +77,12 @@ "quickapp" : {}, "mp-weixin" : { "appid" : "wxecec2f505129f162", + "permission" : { + "scope.userLocation" : { + "desc" : "将获取你的具体位置信息,用于帮助用户浏览所在位置的零活信息" + } + }, + "requiredPrivateInfos" : [ "getLocation", "chooseLocation" ], "setting" : { "urlCheck" : false, "es6" : true, @@ -103,5 +109,11 @@ "mode" : "history" }, "title" : "tenancy" + }, + "plugins" : { + "qqmap" : { + "version" : "1.0.0", + "provider" : "qqmap" + } } } diff --git a/pages.json b/pages.json index a52c473..9e0b1ba 100644 --- a/pages.json +++ b/pages.json @@ -18,7 +18,14 @@ { "path": "pages/login/index", "style": { - "navigationStyle":"custom" + "navigationStyle":"default" + } + }, + { + "path": "pages/discover-detail/index", + "style": { + "navigationBarTitleText": "发现详情", + "navigationStyle":"default" } }, { @@ -132,6 +139,30 @@ "navigationBarBackgroundColor": "#ffffff", "navigationBarTextStyle": "black" } + }, + { + "path": "version/index", + "style": { + "navigationBarTitleText": "提示", + "navigationBarBackgroundColor": "#ffffff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "broker-center/index", + "style": { + "navigationBarTitleText": "经纪人中心", + "navigationBarBackgroundColor": "#ffffff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "landlord-center/index", + "style": { + "navigationBarTitleText": "房东中心", + "navigationBarBackgroundColor": "#ffffff", + "navigationBarTextStyle": "black" + } } ] } diff --git a/pages/auth/index.vue b/pages/auth/index.vue index f5f5b71..b34d51b 100644 --- a/pages/auth/index.vue +++ b/pages/auth/index.vue @@ -33,9 +33,9 @@ 请您务必审慎阅读、充分理解用户协议和隐私政策各条款,包括但不限于用户注意事项、用户行为规范以及为了向你提供服务而收集、使用、存储你个人信息的情况等。你可阅读 - 《租房小程序用户服务协议》 + 《{{userXyObj.keyValue}}》 - 《租房小程序平台隐私权政策》 + 《{{userYsObj.keyValue}}》 了解详细信息。如你同意,请点击下方按钮开始接受我们的服务。 @@ -60,11 +60,14 @@ logo:"../../static/image/logo.png", name:"租房小程序", checked:[], - show:false + show:false, + userXyObj:{}, + userYsObj:{} } }, mounted() { - this.$store.commit('initConfig') + this.userXyObj = this.$utils.getkeyContent('user_xy') + this.userYsObj = this.$utils.getkeyContent('user_ys') }, methods: { open(){ @@ -118,15 +121,16 @@ // that.commit('setUserInfo',{userInfo:response.result.userInfo,token:response.result.token}) getInfo({}).then(result=>{ // console.info('resultresult',result) - if(result.result.nickName){ - uni.switchTab({ - url:"/pages/home/index" - }) - }else{ - uni.navigateTo({ - url:"/pages/login/index" - }) - } + uni.navigateTo({ + url:"/pages/login/index" + }) + // if(result.result.nickName){ + // uni.switchTab({ + // url:"/pages/home/index" + // }) + // }else{ + + // } }).catch(err=>{ }) diff --git a/pages/discover-detail/index.vue b/pages/discover-detail/index.vue new file mode 100644 index 0000000..2e3e832 --- /dev/null +++ b/pages/discover-detail/index.vue @@ -0,0 +1,76 @@ + + + + + \ No newline at end of file diff --git a/pages/discover/index.vue b/pages/discover/index.vue index d31e3e0..397478f 100644 --- a/pages/discover/index.vue +++ b/pages/discover/index.vue @@ -1,6 +1,6 @@ + + \ No newline at end of file diff --git a/pages_subpack/category/index.vue b/pages_subpack/category/index.vue index fd6b0b5..85e2ee6 100644 --- a/pages_subpack/category/index.vue +++ b/pages_subpack/category/index.vue @@ -1,7 +1,47 @@ diff --git a/pages_subpack/house/index.vue b/pages_subpack/house/index.vue index 5c4b6db..5e136d7 100644 --- a/pages_subpack/house/index.vue +++ b/pages_subpack/house/index.vue @@ -14,7 +14,7 @@ - +