邓洁 : 注释log
This commit is contained in:
@@ -44,60 +44,60 @@
|
||||
this.$emit('cancelDrop');
|
||||
},
|
||||
sendQueryInfo() {
|
||||
console.log(this.queryInfo);
|
||||
console.log(this.type);
|
||||
console.log(this.activeIndex);
|
||||
|
||||
// console.log(this.queryInfo);
|
||||
// console.log(this.type);
|
||||
// console.log(this.activeIndex);
|
||||
|
||||
if (this.type === '行业') {
|
||||
if(this.list[this.activeIndex] == '全部'){
|
||||
if (this.list[this.activeIndex] == '全部') {
|
||||
this.queryInfo = {
|
||||
business: ''
|
||||
}
|
||||
}else{
|
||||
} else {
|
||||
this.queryInfo = {
|
||||
business: this.activeIndex
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} else if (this.type === '区域') {
|
||||
if(this.list[this.activeIndex] == '全区域'){
|
||||
if (this.list[this.activeIndex] == '全区域') {
|
||||
this.queryInfo = {
|
||||
region: ''
|
||||
}
|
||||
}else{
|
||||
} else {
|
||||
this.queryInfo = {
|
||||
region: this.activeIndex
|
||||
}
|
||||
}
|
||||
} else if (this.type === '面积') {
|
||||
if(this.list[this.activeIndex] == '任意面积'){
|
||||
if (this.list[this.activeIndex] == '任意面积') {
|
||||
this.queryInfo = {
|
||||
areatype: ''
|
||||
}
|
||||
}else {
|
||||
} else {
|
||||
this.queryInfo = {
|
||||
areatype: this.activeIndex
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} else if (this.type === '筛选') {
|
||||
if(this.list[this.activeIndex] == '全部'){
|
||||
if (this.list[this.activeIndex] == '全部') {
|
||||
this.queryInfo = {
|
||||
sortType: ''
|
||||
}
|
||||
}else{
|
||||
} else {
|
||||
this.queryInfo = {
|
||||
sortType: this.activeIndex
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
// 发送queryInfo
|
||||
console.log(this.queryInfo, 'sendqueryInfo');
|
||||
this.$emit('getQueryInfo', this.queryInfo);
|
||||
// console.log(this.queryInfo, 'sendqueryInfo');
|
||||
this.$emit('getQueryInfo', this.queryInfo);
|
||||
},
|
||||
resetQueryInfo(){
|
||||
console.log("重置了DropdownItem");
|
||||
resetQueryInfo() {
|
||||
// console.log("重置了DropdownItem");
|
||||
this.currentClassActive = 0
|
||||
this.currentRegionActive = 0
|
||||
this.currentAreaActive = 0
|
||||
@@ -170,6 +170,7 @@
|
||||
border-radius: 0px 0px 20px 20px;
|
||||
height: 320rpx;
|
||||
overflow-y: auto;
|
||||
|
||||
.item {
|
||||
border-top: 1px solid #EEEEEE;
|
||||
font-weight: 500;
|
||||
|
||||
Reference in New Issue
Block a user