diff --git a/epdc-resident-mp-yushan/images/groupPrice/daiyu.png b/epdc-resident-mp-yushan/images/groupPrice/daiyu.png new file mode 100644 index 0000000..603d4ae Binary files /dev/null and b/epdc-resident-mp-yushan/images/groupPrice/daiyu.png differ diff --git a/epdc-resident-mp-yushan/images/groupPrice/hushou.png b/epdc-resident-mp-yushan/images/groupPrice/hushou.png new file mode 100644 index 0000000..7a4569e Binary files /dev/null and b/epdc-resident-mp-yushan/images/groupPrice/hushou.png differ diff --git a/epdc-resident-mp-yushan/images/groupPrice/jiangyou.png b/epdc-resident-mp-yushan/images/groupPrice/jiangyou.png new file mode 100644 index 0000000..9819dd9 Binary files /dev/null and b/epdc-resident-mp-yushan/images/groupPrice/jiangyou.png differ diff --git a/epdc-resident-mp-yushan/subpages/family/pages/index/index.js b/epdc-resident-mp-yushan/subpages/family/pages/index/index.js index 6a347be..a442d99 100644 --- a/epdc-resident-mp-yushan/subpages/family/pages/index/index.js +++ b/epdc-resident-mp-yushan/subpages/family/pages/index/index.js @@ -32,10 +32,10 @@ Page({ async onLoad(options) { this.getUserInfo() //恢复 - // wx.showLoading({ - // title: "加载中", - // mask: true, - // }); + wx.showLoading({ + title: "加载中", + mask: true, + }); this.setData({ roomCode : options.roomCode }) @@ -55,10 +55,10 @@ Page({ */ async onShow() { //恢复 - // wx.showLoading({ - // title: "加载中", - // mask: true, - // }); + wx.showLoading({ + title: "加载中", + mask: true, + }); let roomCode = wx.getStorageSync('roomCode') this.setData({ roomCode : roomCode @@ -67,7 +67,6 @@ Page({ wx.hideLoading() }, onReachBottom: function () { - this.setData({ loadMoreVisible: true }) @@ -100,9 +99,9 @@ Page({ url: '/subpages/family/pages/addHouse/addHouse?name=卖房', }) }else if(this.data.selectedTabBar=='groupPrice'){ - wx.navigateTo({ - url: '/subpages/family/pages/addGroupBuyPublish/addGroupBuyPublish', - }) + // wx.navigateTo({ + // url: '/subpages/family/pages/addGroupBuyPublish/addGroupBuyPublish', + // }) }else{ } @@ -231,9 +230,14 @@ getHousesalerentinfo(){ console.log('房屋列表', res) for(let i in res.data.list){ res.data.list[i].createdData = res.data.list[i].createdData.substr(0,10) + } + if(res.data.list.length<10){ + this.setData({ + loadMoreVisible: true + }) } this.setData({ - houseInfo:res.data.list, + houseInfo: res.data.list, }) }) .catch((err) => { diff --git a/epdc-resident-mp-yushan/subpages/family/pages/index/index.wxml b/epdc-resident-mp-yushan/subpages/family/pages/index/index.wxml index 28eed4a..a938a58 100644 --- a/epdc-resident-mp-yushan/subpages/family/pages/index/index.wxml +++ b/epdc-resident-mp-yushan/subpages/family/pages/index/index.wxml @@ -1,6 +1,6 @@ - - + + @@ -88,7 +88,7 @@ + wx:for="{{houseInfo}}" wx:key="index" wx:if="{{item.address!='山东路'&&item.address!='9'&&item.address!='朝歌雅园'&&item.address!='花好月圆2号楼1单元'}}" > @@ -112,13 +112,30 @@ - - + + + - 【社区送达】 护手霜 + 【社区送达】 带鱼段 已截团 2023-04-23 15:10:22 + + + + 【快递发货】 护手霜 + 已截团 2023-03-23 10:10:22 + + + + + + 【社区送达】 海天蚝油 + 已截团 2023-03-20 17:10:22 + + + +