This commit is contained in:
lixuan
2022-12-06 20:10:22 +08:00
parent 386045339f
commit 2902947b0d
2 changed files with 11 additions and 11 deletions

View File

@@ -89,16 +89,16 @@
siteName: '',
menuList: [
{
title: '距离排序',
title: '距离优先',
isMutiple: false,
key: 'sort',
key: 'comprehensiveSort',
detailList: [{
title: "距离排序",
value: 'juli'
title: "距离优先",
value: 1
},
{
title: "价格排序",
value: 'price'
title: "价格优先",
value: 2
}
]
},
@@ -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 ,
sort:this.filterDatas.sort?this.filterDatas.sort:'juli',
comprehensiveSort:this.filterDatas.comprehensiveSort?this.filterDatas.comprehensiveSort:1,
provinceCode:this.filterDatas.provinceCode,
cityCode:this.filterDatas.cityCode,
areaCode:this.filterDatas.areaCode,