|
@@ -83,7 +83,7 @@
|
|
|
</view>
|
|
|
<view class="screenCon-con">
|
|
|
<view class="screenCon-choice" v-for="(item ,index) in qyList" :key="item.id" @click="qyClick(item,index)">
|
|
|
- <view :class="activeClass == index ? 'choice-item active':'choice-item'">{{item.name}}</view>
|
|
|
+ <view :class="qyActiveClass == index ? 'choice-item active':'choice-item'">{{item.name}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -93,7 +93,7 @@
|
|
|
</view>
|
|
|
<view class="screenCon-con">
|
|
|
<view class="screenCon-choice" v-for="(item ,index) in xlList" :key="item.id" @click="xlClick(item,index)">
|
|
|
- <view :class="activeClass == index ? 'choice-item active':'choice-item'">{{item.name}}</view>
|
|
|
+ <view :class="xlActiveClass == index ? 'choice-item active':'choice-item'">{{item.name}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -103,7 +103,7 @@
|
|
|
</view>
|
|
|
<view class="screenCon-con">
|
|
|
<view class="screenCon-choice" v-for="(item ,index) in hyqkList" :key="item.id" @click="hyqkClick(item,index)">
|
|
|
- <view :class="activeClass == index ? 'choice-item active':'choice-item'">{{item.name}}</view>
|
|
|
+ <view :class="hyqkActiveClass == index ? 'choice-item active':'choice-item'">{{item.name}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -113,7 +113,7 @@
|
|
|
</view>
|
|
|
<view class="screenCon-con">
|
|
|
<view class="screenCon-choice" v-for="(item ,index) in znqkList" :key="item.id" @click="znqkClick(item,index)">
|
|
|
- <view :class="activeClass == index ? 'choice-item active':'choice-item'">{{item.name}}</view>
|
|
|
+ <view :class="znqkActiveClass == index ? 'choice-item active':'choice-item'">{{item.name}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -191,8 +191,8 @@
|
|
|
hyqk: '', //婚姻情况
|
|
|
znqk: '', //子女情况
|
|
|
pageIndex: 1,
|
|
|
- pageSize: 20,
|
|
|
- },
|
|
|
+ pageSize: 20
|
|
|
+ },
|
|
|
recordsTotal: 0,
|
|
|
list: [],
|
|
|
friendList: [],
|
|
@@ -200,7 +200,10 @@
|
|
|
xlList: [], //学历
|
|
|
hyqkList: [], //婚姻情况
|
|
|
znqkLis: [], //子女情况
|
|
|
- activeClass: 0,
|
|
|
+ qyActiveClass: 0,
|
|
|
+ xlActiveClass: 0,
|
|
|
+ hyqkActiveClass: 0,
|
|
|
+ znqkActiveClass: 0,
|
|
|
tabList: [{
|
|
|
name: '全部'
|
|
|
}, {
|
|
@@ -223,6 +226,7 @@
|
|
|
if(this.carhelp.getPersonInfo().id != null) {
|
|
|
this.data.memberId = this.carhelp.getPersonInfo().id;
|
|
|
}
|
|
|
+ this.getFriendList();
|
|
|
this.getConditionList();
|
|
|
},
|
|
|
onReachBottom() {
|
|
@@ -253,24 +257,23 @@
|
|
|
return '' + this.pad(hours, 2) + ':' + this.pad(minutes_min, 2) + ':' + '00';
|
|
|
},
|
|
|
qyClick(item,index) {
|
|
|
- this.activeClass = index;
|
|
|
- this.data.qy = item.name;
|
|
|
+ this.qyActiveClass = index;
|
|
|
+ this.data.qy = item.value;
|
|
|
},
|
|
|
xlClick(item,index) {
|
|
|
- this.activeClass = index;
|
|
|
- this.data.xl = item.name;
|
|
|
+ this.xlActiveClass = index;
|
|
|
+ this.data.xl = item.value;
|
|
|
},
|
|
|
hyqkClick(item,index) {
|
|
|
- this.activeClass = index;
|
|
|
- this.data.hyqk = item.name;
|
|
|
+ this.hyqkActiveClass = index;
|
|
|
+ this.data.hyqk = item.value;
|
|
|
},
|
|
|
znqkClick(item,index) {
|
|
|
- this.activeClass = index;
|
|
|
- this.data.znqk = item.name;
|
|
|
+ this.znqkActiveClass = index;
|
|
|
+ this.data.znqk = item.value;
|
|
|
},
|
|
|
sure() {
|
|
|
- this.show = false;
|
|
|
-
|
|
|
+ this.friendList = [];
|
|
|
if(this.checked) {
|
|
|
this.data.oppositeSex = '1';
|
|
|
}
|
|
@@ -278,21 +281,21 @@
|
|
|
this.data.ageEnd = this.rangeValues[1];
|
|
|
this.data.heightStart = this.rangeValues2[0];
|
|
|
this.data.heightEnd = this.rangeValues2[1];
|
|
|
- console.log(this.qyList[0].name)
|
|
|
if(this.data.qy == ''){
|
|
|
- this.data.qy = this.qyList[0].name;
|
|
|
+ this.data.qy = this.qyList[0].value;
|
|
|
}
|
|
|
if(this.data.xl == ''){
|
|
|
- this.data.xl = this.xlList[0].name;
|
|
|
+ this.data.xl = this.xlList[0].value;
|
|
|
}
|
|
|
if(this.data.hyqk == ''){
|
|
|
- this.data.hyqk = this.hyqkList[0].name;
|
|
|
+ this.data.hyqk = this.hyqkList[0].value;
|
|
|
}
|
|
|
if(this.data.znqk == ''){
|
|
|
- this.data.znqk = this.znqkList[0].name;
|
|
|
+ this.data.znqk = this.znqkList[0].value;
|
|
|
}
|
|
|
|
|
|
this.getFriendList();
|
|
|
+ this.show = false;
|
|
|
},
|
|
|
change(index) {
|
|
|
this.current = index;
|
|
@@ -364,10 +367,7 @@
|
|
|
title: error
|
|
|
})
|
|
|
})
|
|
|
- },
|
|
|
- onReady() {
|
|
|
- this.getFriendList();
|
|
|
- }
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
</script>
|