refactor(seachPage): 优化搜索页面排序选项文案和样式
将排序选项中的"综合"改为"推荐排序","热门"改为"热门优先","价格从低到高"改为"价低优先","价格从高到低"改为"价高优先",使文案更简洁清晰。同时调整相关组件样式,删除无用代码。 重构搜索模块,移除未使用的selectTabBox组件,统一排序选项文案。更新构建产物文件。
This commit is contained in:
@@ -91,7 +91,6 @@
|
||||
<!-- {{ pitchValue }} -->
|
||||
|
||||
<div class="option-area flexflex" v-if="routePath === '/personHousing' || routePath === '/intermediaryHousing' || routePath === '/needHousing'">
|
||||
<!-- <selectTabBox :setSeachCondition="setSeachConditions" :setLocation="setLocation"></selectTabBox> -->
|
||||
<div class="option-left">
|
||||
<!-- 地理位置时除 求房源 显示的 -->
|
||||
<div class="option-item flexflex" v-if="routePath !== '/needHousing'">
|
||||
@@ -322,7 +321,6 @@ import { onMounted, ref, toRefs, watchEffect, reactive, defineProps, inject, get
|
||||
import { useStore } from "vuex";
|
||||
|
||||
import seachInfo from "../indexSeachInfo/indexSeachInfo.vue";
|
||||
import selectTabBox from "../selectTabBox/selectTabBox.vue";
|
||||
import choosingIdentity from "@/components/edit/choosingIdentity.vue";
|
||||
import { useRouter } from "vue-router";
|
||||
import store from "../../store/index";
|
||||
@@ -692,11 +690,11 @@ let publishList = reactive([
|
||||
|
||||
// 排序的选项
|
||||
let orderbyList = reactive([
|
||||
{ name: "综合", type: "default" },
|
||||
{ name: "推荐排序", type: "default" },
|
||||
{ name: "最新发布", type: "updatetime" },
|
||||
{ name: "热门", type: "hotnum" },
|
||||
{ name: "价格从低到高", type: "rentasc" },
|
||||
{ name: "价格从高到低", type: "rentdesc" },
|
||||
{ name: "热门优先", type: "hotnum" },
|
||||
{ name: "价低优先", type: "rentasc" },
|
||||
{ name: "价高优先", type: "rentdesc" },
|
||||
]);
|
||||
|
||||
// 排序弹窗的状态
|
||||
|
||||
@@ -447,14 +447,14 @@ let selectTabCheck = reactive({
|
||||
//最新发布选项
|
||||
let listSort = shallowReactive({
|
||||
type: [
|
||||
{ title: "综合", type: "default" },
|
||||
{ title: "推荐排序", type: "default" },
|
||||
{ title: "最新发布", type: "timestamp" },
|
||||
{ title: "热门", type: "hotnum" },
|
||||
{ title: "价格从低到高", type: "rentasc" },
|
||||
{ title: "价格从高到低", type: "rentdesc" },
|
||||
{ title: "热门优先", type: "hotnum" },
|
||||
{ title: "价低优先", type: "rentasc" },
|
||||
{ title: "价高优先", type: "rentdesc" },
|
||||
],
|
||||
checkType: "default",
|
||||
check: "综合",
|
||||
check: "推荐排序",
|
||||
});
|
||||
//搜索列表排序
|
||||
let listSortCheck = (item) => {
|
||||
|
||||
Reference in New Issue
Block a user