Browse Source

新增些死数据

master
mk 2 years ago
parent
commit
217befb9bc
  1. BIN
      epdc-resident-mp-yushan/images/groupPrice/daiyu.png
  2. BIN
      epdc-resident-mp-yushan/images/groupPrice/hushou.png
  3. BIN
      epdc-resident-mp-yushan/images/groupPrice/jiangyou.png
  4. 30
      epdc-resident-mp-yushan/subpages/family/pages/index/index.js
  5. 29
      epdc-resident-mp-yushan/subpages/family/pages/index/index.wxml

BIN
epdc-resident-mp-yushan/images/groupPrice/daiyu.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
epdc-resident-mp-yushan/images/groupPrice/hushou.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

BIN
epdc-resident-mp-yushan/images/groupPrice/jiangyou.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

30
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) => {

29
epdc-resident-mp-yushan/subpages/family/pages/index/index.wxml

@ -1,6 +1,6 @@
<view class="f-container">
<!-- 恢复 wx:if="{{familyInfo.roomCodeShow}}"-->
<block >
<!-- 恢复 -->
<block wx:if="{{familyInfo.roomCodeShow}}">
<view class="f-top">
<view class="f-card">
<view class="flex-view">
@ -88,7 +88,7 @@
</view>
<block wx:if="{{houseInfo.length!=0}}">
<view class="housePrice-content" bindtap="handleClickHouse" data-obj="{{item}}"
wx:for="{{houseInfo}}" wx:key="index" >
wx:for="{{houseInfo}}" wx:key="index" wx:if="{{item.address!='山东路'&&item.address!='9'&&item.address!='朝歌雅园'&&item.address!='花好月圆2号楼1单元'}}" >
<view class="housePrice-header">
<image src="../../images/user.png"></image>
<view class="housePrice-header-name">
@ -112,13 +112,30 @@
</view>
<!-- 团购火了 -->
<view class="groupPrice-list" wx:if="{{selectedTabBar === 'groupPrice'}}">
<view class="groupPrice-card" bindtap="handleClickGroupPrice" data-id="'12345'">
<image src="../../../../images/mine/bg-mine.png"></image>
<!-- bindtap="handleClickGroupPrice" -->
<view class="groupPrice-card" data-id="'12345'">
<image src="../../../../images/groupPrice/daiyu.png"></image>
<view class="right">
<view class="title">【社区送达】 护手霜</view>
<view class="title">【社区送达】 带鱼段</view>
<view style="color: #999;font-size: 26rpx;"> <text style="color:#cf4133;font-size: 28rpx;">已截团</text > 2023-04-23 15:10:22</view>
</view>
</view>
<view class="groupPrice-card" data-id="'12345'">
<image src="../../../../images/groupPrice/hushou.png"></image>
<view class="right">
<view class="title">【快递发货】 护手霜</view>
<view style="color: #999;font-size: 26rpx;"> <text style="color:#cf4133;font-size: 28rpx;">已截团</text > 2023-03-23 10:10:22</view>
</view>
</view>
<view class="groupPrice-card" data-id="'12345'">
<image src="../../../../images/groupPrice/jiangyou.png"></image>
<view class="right">
<view class="title">【社区送达】 海天蚝油</view>
<view style="color: #999;font-size: 26rpx;"> <text style="color:#cf4133;font-size: 28rpx;">已截团</text > 2023-03-20 17:10:22</view>
</view>
</view>
<!-- <view class="no-data">暂无团购信息</view> -->
</view>
</view>
</block>

Loading…
Cancel
Save