css样式修改 搜索页增加直接输入url判断

This commit is contained in:
luJianJun 2023-08-01 12:05:21 +08:00
parent bbbeed395a
commit 58a723558f
3 changed files with 11 additions and 4 deletions

View File

@ -256,6 +256,7 @@ watchEffect(()=>{
color: #AAAAAA;
margin-top: 15px;
padding: 0 10px;
word-wrap: break-word;
}
.rent-box{
line-height:20px;

View File

@ -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)

View File

@ -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;