详情样式修改
This commit is contained in:
parent
0db05ee43a
commit
5e7d8c5f4d
@ -159,16 +159,16 @@
|
||||
</div>
|
||||
</div>
|
||||
<span class="dis-f al-item sort-text" v-show="tabType !== 'apartment'">
|
||||
<el-dropdown trigger="click">
|
||||
<el-dropdown trigger="click" @command="listSortCheck">
|
||||
<span class="dis-f al-item sort-text">
|
||||
{{ listSort.check }}<img class="img" src="../../assets/homeImage/sortIcon.png" alt="">
|
||||
</span>
|
||||
<template #dropdown>
|
||||
<el-dropdown-menu class="pd-10 el-dropdown-menu">
|
||||
<el-dropdown-item v-for="(items, j) in listSort.type" :key="j">
|
||||
<el-dropdown-item v-for="(items, j) in listSort.type" :key="j" :command="j">
|
||||
<div class="dropdown-text"
|
||||
:class="{ 'dropdown-check-text': listSort.checkType === items.type }"
|
||||
@click="listSortCheck(items)">{{
|
||||
>{{
|
||||
items.title
|
||||
}}
|
||||
<div class="type-icon" v-show="listSort.checkType === items.type"></div>
|
||||
@ -443,9 +443,10 @@ let listSort = shallowReactive({
|
||||
})
|
||||
//搜索列表排序
|
||||
let listSortCheck = (item) => {
|
||||
listSort.checkType = item.type
|
||||
listSort.check = item.title
|
||||
setSeachConditions('orderby', item.type)
|
||||
let obj= listSort.type[item]
|
||||
listSort.checkType = obj.type
|
||||
listSort.check = obj.title
|
||||
setSeachConditions('orderby', obj.type)
|
||||
}
|
||||
|
||||
let seachArea = {};//区域找房
|
||||
|
@ -2266,7 +2266,7 @@ img {
|
||||
.icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-right: 8px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user