|
@@ -129,12 +129,12 @@
|
|
|
<view :class="'property-row-wrap'">
|
|
|
<view class="property-body u-skeleton-fillet box-shadow" v-for="(item, index) in propertyList" :key="index" @click="showDetail(index)">
|
|
|
<view class="image-wrap">
|
|
|
- <text class="tag u-skeleton-rect">{{ item.sale_tag }}</text>
|
|
|
- <image class="u-skeleton-rect" :src="item.cover_image" mode="aspectFill"></image>
|
|
|
+ <text class="tag u-skeleton-rect">{{ '热销推荐' }}</text>
|
|
|
+ <image class="u-skeleton-rect" :src="item.pri_image" mode="aspectFill"></image>
|
|
|
</view>
|
|
|
<view class="property-info-wrap">
|
|
|
- <view class="title u-skeleton-rect">{{ item.name }}</view>
|
|
|
- <view class="commission u-line-1 u-skeleton-rect">{{ item.commissionText }}</view>
|
|
|
+ <view class="title u-skeleton-rect">{{ item.estate_name }}</view>
|
|
|
+ <view class="commission u-line-1 u-skeleton-rect">{{ item.commissionText}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -144,16 +144,16 @@
|
|
|
<u-popup v-model="commonRulesShow" mode="center" width="80%" height="800rpx" border-radius="20" closeable>
|
|
|
<view class="bwin-popup">
|
|
|
<view class="popup-header">平台佣金政策</view>
|
|
|
- <view class="popup-body"><!-- <u-parse :html="xxxxxxxxxx"></u-parse> --></view>
|
|
|
+ <view class="popup-body">需上传身份证、银行卡进行实名认证,认证通过后方可获得佣金<!-- <u-parse :html="xxxxxxxxxx"></u-parse> --></view>
|
|
|
</view>
|
|
|
</u-popup>
|
|
|
|
|
|
<!-- 项目佣金政策信息弹窗 -->
|
|
|
<u-popup v-model="propertyPopupShow" mode="center" width="80%" height="800rpx" border-radius="20" closeable>
|
|
|
<view class="bwin-popup">
|
|
|
- <view class="popup-header">{{ propertyList[currentPropertyIndex].name + '佣金政策' }}</view>
|
|
|
+ <view class="popup-header">{{ propertyList[currentPropertyIndex].estate_name + '佣金政策' }}</view>
|
|
|
<view class="popup-body">
|
|
|
- <u-parse :html="propertyList[currentPropertyIndex].rulesInfo.des_content"></u-parse>
|
|
|
+ <u-parse :html="'全号报备,过期重新报备,提供带访二维码,需提前30分钟以上带看'"></u-parse>
|
|
|
<u-divider marginTop="20" marginBottom="20">详情</u-divider>
|
|
|
<view class="property-info">
|
|
|
<view class="item">
|
|
@@ -162,11 +162,19 @@
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<view class="item-title">销售热线:</view>
|
|
|
- <view class="item-info">{{ propertyList[currentPropertyIndex].tel }}</view>
|
|
|
+ <view class="item-info">{{ propertyList[currentPropertyIndex].tel || '00000000' }}</view>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
- <view class="item-title">保护期:</view>
|
|
|
- <view class="item-info">{{ propertyList[currentPropertyIndex].rulesInfo.safe_time + '小时' }}</view>
|
|
|
+ <view class="item-title">带看需收集:</view>
|
|
|
+ <view class="item-info">{{ '三方水印+带看单' }}</view>
|
|
|
+ </view>
|
|
|
+ <view class="item">
|
|
|
+ <view class="item-title">报备保护期:</view>
|
|
|
+ <view class="item-info">{{ propertyList[currentPropertyIndex].report_lock + '天' }}</view>
|
|
|
+ </view>
|
|
|
+ <view class="item">
|
|
|
+ <view class="item-title">带看保护期:</view>
|
|
|
+ <view class="item-info">{{ propertyList[currentPropertyIndex].lead_lock + '天' }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -189,23 +197,14 @@ export default {
|
|
|
agentTypeList: ['', '自由经纪人', '渠道经纪人', '老业主'],
|
|
|
propertyList: [
|
|
|
{
|
|
|
- name: '在售项目1',
|
|
|
- cover_image: 'https://zdcdn.2bwin.cn/uploads/20220501/af6eb9c2a5d462be10a15c2302e5e6b5.jpg',
|
|
|
+ estate_name: '在售项目1',
|
|
|
+ pri_image: 'https://zdcdn.2bwin.cn/uploads/20220501/af6eb9c2a5d462be10a15c2302e5e6b5.jpg',
|
|
|
sale_tag: '刚需好盘',
|
|
|
rulesInfo: {
|
|
|
- des: '内容加载中....',
|
|
|
- des_content: '内容加载中....'
|
|
|
+ des: '内容加载中1....',
|
|
|
+ des_content: '内容加载中2....'
|
|
|
}
|
|
|
},
|
|
|
- {
|
|
|
- name: '在售项目2',
|
|
|
- cover_image: 'https://zdcdn.2bwin.cn/uploads/20220501/f11aa1c5e2e091f6b1e8a1d58fbe9d5e.jpg',
|
|
|
- sale_tag: '佣金易拿',
|
|
|
- rulesInfo: {
|
|
|
- des: '内容加载中....',
|
|
|
- des_content: '内容加载中....'
|
|
|
- }
|
|
|
- }
|
|
|
],
|
|
|
commonRulesShow: false,
|
|
|
propertyPopupShow: false,
|
|
@@ -268,14 +267,11 @@ export default {
|
|
|
})
|
|
|
this.reportStepCountObj = {...reportStepCountObj}
|
|
|
})
|
|
|
- // uni.api.estate.apireportlist({
|
|
|
- // token: 'xxxx'
|
|
|
- // }).then(res => {
|
|
|
- // console.log(res)
|
|
|
- // })
|
|
|
- // uni.api.estate.apiestatelist().then(res => {
|
|
|
- // console.log(res)
|
|
|
- // })
|
|
|
+ uni.api.estate.apiestatelist().then(res => {
|
|
|
+ const list = res.list || []
|
|
|
+ // let oneObj = list[0] || {}
|
|
|
+ this.propertyList = [list[0], list[1], list[2]]
|
|
|
+ })
|
|
|
|
|
|
// let currentTime = Date.parse(new Date()) / 1000; // 秒级
|
|
|
// // 初始化平台数据
|
|
@@ -384,8 +380,8 @@ export default {
|
|
|
},
|
|
|
// 弹窗展示项目佣金详情
|
|
|
showDetail(index) {
|
|
|
- that.currentPropertyIndex = index;
|
|
|
- that.propertyPopupShow = true;
|
|
|
+ this.currentPropertyIndex = index;
|
|
|
+ this.propertyPopupShow = true;
|
|
|
}
|
|
|
},
|
|
|
// 监听器
|
|
@@ -658,9 +654,13 @@ export default {
|
|
|
.item {
|
|
|
display: flex;
|
|
|
margin-bottom: 10rpx;
|
|
|
-
|
|
|
+ text-align: left;
|
|
|
.item-title {
|
|
|
font-weight: bold;
|
|
|
+ width: 170rpx;
|
|
|
+ }
|
|
|
+ .item-info {
|
|
|
+ flex: 1;
|
|
|
}
|
|
|
}
|
|
|
}
|