列表的排序增加“综合”、最新排序修改值

This commit is contained in:
A1300399510
2024-04-10 15:14:30 +08:00
parent b8df0bdc22
commit 7f7ca20641
13 changed files with 28 additions and 13 deletions

View File

@@ -366,7 +366,7 @@ let hotArr = reactive({ data: [] })
let seachAllType = reactive({
keyword: "",
location: [],
orderby: "timestamp",
orderby: "default",
})
// const pitchValue = inject("pitchValue") || {}
@@ -381,7 +381,7 @@ let pitchValue = reactive({
gender: 0,
iselevator: 0,
issunshinearea: 0,
orderby: "timestamp",
orderby: "default",
publish: "",
types: "",
})
@@ -699,7 +699,8 @@ let publishList = reactive([
// 排序的选项
let orderbyList = reactive([
{ name: "最新发布", type: "timestamp" },
{ name: "综合", type: "default" },
{ name: "最新发布", type: "updatetime" },
{ name: "热门", type: "hotnum" },
{ name: "价格从低到高", type: "rentasc" },
{ name: "价格从高到低", type: "rentdesc" },