This commit is contained in:
lixuan
2022-12-06 20:22:34 +08:00
parent 2902947b0d
commit 6ac28b64e5
2 changed files with 8 additions and 8 deletions

View File

@@ -91,14 +91,14 @@
{
title: '距离优先',
isMutiple: false,
key: 'comprehensiveSort',
key: 'sort',
detailList: [{
title: "距离优先",
value: 1
value: 'juli'
},
{
title: "价格优先",
value: 2
value: 'price'
}
]
},
@@ -503,7 +503,7 @@
currentPage: this.currentPage,
pageSize: 10,
params: { //类型Object 必有字段 备注:// 筛选对象
sort: "juli", //类型String 必有字段 备注:// 智能排序 ( price价格最低 juli距离最近 ) 默认距离排序
// sort: "juli", //类型String 必有字段 备注:// 智能排序 ( price价格最低 juli距离最近 ) 默认距离排序
siteName: this.siteName,
...uni.getStorageSync('location'),
// ...this.filterData
@@ -519,7 +519,7 @@
// siteLevel: this.siteName ? '' : this.filterDatas
siteLevel: this.filterDatas
.siteLevel ,
comprehensiveSort:this.filterDatas.comprehensiveSort?this.filterDatas.comprehensiveSort:1,
sort:this.filterDatas.sort?this.filterDatas.sort:'juli',
provinceCode:this.filterDatas.provinceCode,
cityCode:this.filterDatas.cityCode,
areaCode:this.filterDatas.areaCode,