邓洁 : 注释log

This commit is contained in:
邓洁
2023-12-05 10:48:27 +08:00
parent 20f56b5d8d
commit 0612840cdc
27 changed files with 235 additions and 229 deletions

View File

@@ -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;