css样式修改 搜索页增加直接输入url判断
This commit is contained in:
parent
bbbeed395a
commit
58a723558f
@ -256,6 +256,7 @@ watchEffect(()=>{
|
||||
color: #AAAAAA;
|
||||
margin-top: 15px;
|
||||
padding: 0 10px;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.rent-box{
|
||||
line-height:20px;
|
||||
|
@ -246,12 +246,11 @@ console.log('houseingPageType',houseingPageType)
|
||||
let type = houseingPageType === '0' ? 'person' : houseingPageType === '1' ? 'intermediary' : houseingPageType === '6' ? 'need' : 'apartment'
|
||||
tabType.value = type
|
||||
|
||||
if(isNeedHousing.value)tabType.value = '6'
|
||||
|
||||
//页面判断
|
||||
let checkPageType = () => {
|
||||
// houseingPageType 0个人 1中介 6求房源
|
||||
let type = houseingPageType === '0' ? 'person' : houseingPageType === '1' ? 'intermediary' : houseingPageType === '6' ? 'need' : 'apartment'
|
||||
console.log('type',type)
|
||||
tabType.value = type
|
||||
seachAllType['tabType'] = type
|
||||
if (type === 'person') {
|
||||
@ -284,6 +283,13 @@ let seachAllType = reactive({
|
||||
searchid: '',
|
||||
intermediary: 0
|
||||
})
|
||||
|
||||
//直接输入url
|
||||
if(isNeedHousing.value){
|
||||
tabType.value = 'need'
|
||||
seachAllType['intermediary'] = 6
|
||||
}
|
||||
|
||||
//设置搜索数据
|
||||
let setSeachConditions = (type, data) => {
|
||||
console.log(1,seachAllType)
|
||||
|
@ -466,7 +466,7 @@ img {
|
||||
}
|
||||
|
||||
.list-li {
|
||||
margin-top: 20px;
|
||||
margin-top: 15px;
|
||||
cursor: pointer;
|
||||
|
||||
.text-s {
|
||||
@ -478,7 +478,7 @@ img {
|
||||
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
font-size: 15px;
|
||||
text-align: left;
|
||||
letter-spacing: normal;
|
||||
color: #333333;
|
||||
|
Loading…
x
Reference in New Issue
Block a user