diff --git a/pages/resiAndHouse/resiAndHouse.js b/pages/resiAndHouse/resiAndHouse.js
index a710f59..a5d936f 100644
--- a/pages/resiAndHouse/resiAndHouse.js
+++ b/pages/resiAndHouse/resiAndHouse.js
@@ -433,9 +433,10 @@ Page({
msg
} = await getResidentBaseInfo(parm)
if (code == 0) {
+
this.setData({
loadMoreType: data.list.length === this.data.pageSize ? 'more' : 'none',
- tableData: this.data.tableData.concat(data.list),
+ tableData: this.data.tableData.concat(data.list.map(item=>({...item,categoryNameStr:item.categoryNameStr?item.categoryNameStr.split(','):null}))),
})
if (this.data.tableData.length == 0) {
this.setData({
diff --git a/pages/resiAndHouse/resiAndHouse.wxml b/pages/resiAndHouse/resiAndHouse.wxml
index a59a3e4..57d058d 100644
--- a/pages/resiAndHouse/resiAndHouse.wxml
+++ b/pages/resiAndHouse/resiAndHouse.wxml
@@ -15,10 +15,10 @@
-
+
-
+
搜索
@@ -47,15 +47,21 @@
- {{item.name}}
-
-
- {{itemC}}
-
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+ {{itemC}}
-
- 信息完整度:{{item.synthesizeScore}}
+
@@ -65,7 +71,7 @@
电话:
- {{item.mobile}}
+ {{item.mobile||'--'}}
地址:
@@ -96,7 +102,7 @@
-
+
注:
自住
diff --git a/pages/resiAndHouse/resiAndHouse.wxss b/pages/resiAndHouse/resiAndHouse.wxss
index 04a3707..c4b428a 100644
--- a/pages/resiAndHouse/resiAndHouse.wxss
+++ b/pages/resiAndHouse/resiAndHouse.wxss
@@ -431,7 +431,7 @@ page {
/* height: 36rpx; */
flex-direction: row;
align-items: center;
- justify-content: space-between;
+ justify-content: start;
display: flex;
margin: 20rpx 0 0 0;
}
@@ -1353,13 +1353,20 @@ page {
.resi_tag {
display: flex;
flex-grow: 0;
- justify-content: start;
- max-width: 302rpx;
+ /* justify-content: start; */
+ /* max-width: 302rpx; */
overflow-x: scroll;
padding: 10rpx 0;
box-sizing: border-box;
+ margin-left: 16rpx;
+}
+.resi_tag view{
+ padding: 7rpx 9rpx;
+ box-sizing: border-box;
+ white-space:nowrap;
+ margin-right:5rpx;
+ border-radius: 6rpx;
}
-
.form_item {
margin-top: 10rpx;
padding: 0 30rpx 30rpx;
@@ -1484,4 +1491,40 @@ page {
.font_bold {
font-weight: 600;
+}
+.hong{
+ color:#ff3c3c;
+ background-color:#ffe3e3 ;
+}
+.lan{
+ color:#4f94ff;
+ background-color:#e6f0ff ;
+}
+.ju{
+ color:#fe840d;
+ background-color:#ffeedd ;
+}
+.qing{
+ color: #04b8ad;
+ background-color:#dcf5f3 ;
+}
+.zi{
+ color: #b462e8;
+ background-color:#f4e9fc ;
+}
+.hui{
+ color: #959495;
+ background-color:#f1f1f1 ;
+}
+.lv{
+ color: #52ba74;
+ background-color:#e7f5ec ;
+}
+.fen{
+ color: #ff688f;
+ background-color:#ffeaef ;
+}
+.huang{
+ color: #fcac00;
+ background-color: #fff3db;
}
\ No newline at end of file
diff --git a/subpages/searchResult/pages/resiInfo/resiInfo.wxml b/subpages/searchResult/pages/resiInfo/resiInfo.wxml
index 6318e0b..6f71cf6 100644
--- a/subpages/searchResult/pages/resiInfo/resiInfo.wxml
+++ b/subpages/searchResult/pages/resiInfo/resiInfo.wxml
@@ -47,34 +47,34 @@
*
证件类型:
- {{idTypeList[form.baseInfoDto.idType].label}}
+ {{idTypeList[form.baseInfoDto.idType].label||'--'}}
*
证件号:
- {{form.baseInfoDto.idNum}}
+ {{form.baseInfoDto.idNum||'--'}}
*
联系电话:
- {{form.baseInfoDto.mobile}}
+ {{form.baseInfoDto.mobile||'--'}}
文化程度:
- {{form.eduInfoDto.cultureLevelName}}
+ {{form.eduInfoDto.cultureLevelName||'--'}}
性别:
- {{form.baseInfoDto.genderName}}
+ {{form.baseInfoDto.genderName||'--'}}
出生日期:
- {{form.baseInfoDto.birthday}}
+ {{form.baseInfoDto.birthday||'--'}}
民族:
- {{form.baseInfoDto.nationName}}
+ {{form.baseInfoDto.nationName||'--'}}
婚姻状况: