You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
126 lines
7.5 KiB
126 lines
7.5 KiB
<view class="f-container">
|
|
<!-- wx:if="{{familyInfo.roomCode}}" 恢复-->
|
|
<block >
|
|
<view class="f-top">
|
|
<view class="f-card">
|
|
<view class="flex-view">
|
|
<view class="card-left">
|
|
<view class="card-title">{{ familyInfo.plotName }} - {{familyInfo.buildingName}} - {{familyInfo.unit}} - {{familyInfo.roomNo}}</view>
|
|
<!-- <view wx:if="{{familyInfo.roomCodeShow.length <= 24}}" class="card-num">
|
|
<text>No.{{ familyInfo.roomCodeShow }}</text> -->
|
|
<!-- <text >No.6666666666666666666666</text> -->
|
|
<!-- <image /> -->
|
|
<!-- </view> -->
|
|
</view>
|
|
<view class="card-right">
|
|
<view class="card-qr {{ familyInfo.roomCodeShow.length > 24 && 'card-qr-long'}}" bind:tap="handlePreview">
|
|
<image mode="widthFix" src="../../images/edit_info.png" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- <view wx:if="{{familyInfo.roomCodeShow.length > 24}}" class="card-num mt16">
|
|
<text>No.{{ familyInfo.roomCodeShow }}</text> -->
|
|
<!-- <text >No.666666666666666666666666666666666666</text> -->
|
|
<!-- <image /> -->
|
|
<!-- </view> -->
|
|
</view>
|
|
</view>
|
|
<view class="f-wr">
|
|
<view class="tab-bar">
|
|
<view class="type {{selectedTabBar === 'resiNew' ? 'selected-resiNew' : ''}}" data-type="resiNew" hover-class="hover-tabbar" hover-stay-time="300" bindtap="chooseTabBar">
|
|
成员新了
|
|
</view>
|
|
<view class="type {{selectedTabBar === 'housePrice' ? 'selected-housePrice' : ''}}" data-type="housePrice" hover-class="hover-tabbar" hover-stay-time="300" bindtap="chooseTabBar">
|
|
房价涨了
|
|
</view>
|
|
<view class="type {{selectedTabBar === 'groupPrice' ? 'selected-groupPrice' : ''}}" data-type="groupPrice" hover-class="hover-tabbar" hover-stay-time="300" bindtap="chooseTabBar">
|
|
团购火了
|
|
</view>
|
|
<view class="type {{selectedTabBar === 'integral' ? 'selected-integral' : ''}}" data-type="integral" hover-class="hover-tabbar" hover-stay-time="300" bindtap="chooseTabBar">
|
|
积分多了
|
|
</view>
|
|
|
|
<view class="select-bar {{selectedTabBar === 'resiNew' ? 'selected-resiNew' : selectedTabBar === 'housePrice' ? 'selected-housePrice' : selectedTabBar === 'groupPrice' ? 'selected-groupPrice' :selectedTabBar === 'integral' ? 'selected-integral':''}}"></view>
|
|
</view>
|
|
<!-- 成员新了 -->
|
|
<view class="resiNew-list" wx:if="{{selectedTabBar === 'resiNew'}}">
|
|
<view class="f-table mt40" wx:if="{{familyInfo.roomCodeShow}}">
|
|
<view class="table-cell table-header">
|
|
<view class="table-col">姓名</view>
|
|
<view class="table-col">成员关系</view>
|
|
<view class="table-col">手机号</view>
|
|
<view class="table-col">明细</view>
|
|
</view>
|
|
<block wx:if="{{familyInfo.members.length > 0}}">
|
|
<view class="table-cell" wx:for="{{familyInfo.members}}" wx:key="userId" class="table-cell">
|
|
<view class="table-col">{{ item.userName }}</view>
|
|
<view class="table-col">{{ item.relation }}</view>
|
|
<!-- -->
|
|
<view class="table-col">{{ item.mobile }}</view>
|
|
<view class="table-col table-col-4" wx:if="{{item.auditType == '0' && item.auditState == '0'}}">待审核</view>
|
|
<view class="table-col table-col-4" data-type="edit" data-id="{{item.idCard}}" bind:tap="toFamilyInfo" wx:else>查看</view>
|
|
</view>
|
|
</block>
|
|
<view wx:else class="no-data">暂无成员</view>
|
|
</view>
|
|
<!-- <view class="f-btns" data-type="add" data-id="{{ info.icResiUserId }}" bind:tap="handleTo">
|
|
<view class="f-btns-icon">+</view>
|
|
<view class="f-btns-label">添加家庭成员</view>
|
|
</view> -->
|
|
<view class="no-data" wx:else>暂无家庭信息</view>
|
|
</view>
|
|
<!-- 房价涨了 -->
|
|
<view class="housePrice-list" wx:if="{{selectedTabBar === 'housePrice'}}">
|
|
<view class="housePrice-hader">
|
|
<view class="{{houseFlag==='1'?'active_btn':''}}" data-status="1" bindtap="handleActiveHouse"> 我要买房</view>
|
|
<view style="margin-left:20rpx" class="{{houseFlag === '2'?'active_btn':''}}" data-status="2" bindtap="handleActiveHouse"> 我要租房 </view>
|
|
</view>
|
|
<view class="search-box">
|
|
<input type="text" bindblur="handelKeyword" value="{{keyWord}}" class="search-input" placeholder="请输入搜索关键字" />
|
|
<image class="search-img" bindtap="handelKeyword" src="../../../../images/search.png" />
|
|
</view>
|
|
<block wx:if="{{houseInfo.length!=0}}">
|
|
<view class="housePrice-content" bindtap="handleClickHouse" data-obj="{{item}}"
|
|
wx:for="{{houseInfo}}" wx:key="index" >
|
|
<view class="housePrice-header">
|
|
<image src="../../images/user.png"></image>
|
|
<view class="housePrice-header-name">
|
|
<view class="housePrice-header-top">
|
|
<text class="address">{{item.address}}</text>
|
|
<text class="tag">{{houseFlag == '1'?'在售':'在租'}}</text>
|
|
<text class="date">{{item.createdData}}</text>
|
|
</view>
|
|
<view class="price">{{item.price}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="housePrice-body"> {{item.description}}</view>
|
|
<view class="housePrice-images">
|
|
<image wx:for="{{item.photoList}}" wx:key="i" wx:for-item="img" src="{{img}}"></image>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
<view class="no-data" wx:else>暂无房屋信息</view>
|
|
<view style="display: {{loadMoreVisible ? 'flex' : 'none'}}" class="nomore-tip">没有更多了~</view>
|
|
|
|
</view>
|
|
<!-- 团购火了 -->
|
|
<view class="groupPrice-list" wx:if="{{selectedTabBar === 'groupPrice'}}">
|
|
<view class="groupPrice-card" bindtap="handleClickGroupPrice" data-id="'12345'">
|
|
<image src="../../../../images/relieve.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-04-23 15:10:22</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- <view class="f-btns" data-type="add" data-id="{{ info.icResiUserId }}" bind:tap="handleTo">
|
|
<view class="f-btns-icon">+</view>
|
|
<view class="f-btns-label">添加家庭成员</view>
|
|
</view> -->
|
|
</view>
|
|
</block>
|
|
<image src="../../../../images/family/plus.png" class="img_btn" bind:tap="handleTo"></image>
|
|
|
|
<!-- <view wx:else class="no-data">暂无家庭信息</view> 恢复-->
|
|
</view>
|
|
|
|
|