This commit is contained in:
2023-07-31 19:15:09 +08:00
parent 8104cbbb8c
commit e3e711dd42

View File

@@ -1,7 +1,7 @@
<template> <template>
<div class="box-min-1200-src"> <div class="box-min-1200-src">
<pageTopBar></pageTopBar> <pageTopBar></pageTopBar>
<el-affix :offset="0" @change="changeTitleType" z-index="666"> <el-affix :offset="0" z-index="666">
<div class="top-bar-box dis-f jus-x" v-if="titleType"> <div class="top-bar-box dis-f jus-x" v-if="titleType">
<div class="top-bar dis-f al-item jus-bet"> <div class="top-bar dis-f al-item jus-bet">
<div class="dis-f al-item"> <div class="dis-f al-item">
@@ -82,7 +82,7 @@
<div class="info-box"> <div class="info-box">
<div class="detail-price-box dis-f" style="align-items: end;"> <div class="detail-price-box dis-f" style="align-items: end;">
<span class="need-houing-type" v-if="pageType == 3">预算</span> <span class="need-houing-type" v-if="pageType == 3">预算</span>
<span class="unit" :style="{ 'font-size': pageType === 3 ? '20px' : '' }">HK$</span><span <span class="unit" :class="{'line-h-17':pageType==3}" :style="{ 'font-size': pageType === 3 ? '20px' : '' }">HK$</span><span
class="rent" v-if="pageType != 3">{{ class="rent" v-if="pageType != 3">{{
housingInfo['data'] && housingInfo['data'].info.rent }}</span> housingInfo['data'] && housingInfo['data'].info.rent }}</span>
<span class="rent" v-if="pageType == 3"> <span class="rent" v-if="pageType == 3">
@@ -1111,6 +1111,7 @@ let setShowDistance = () => {
let titleType = ref(false) let titleType = ref(false)
//标题 //标题
let changeTitleType = () => { let changeTitleType = () => {
console.log(1)
titleType.value = !titleType.value titleType.value = !titleType.value
} }
@@ -1968,6 +1969,7 @@ img {
font-family: 'Arial-Black', 'Arial Black', sans-serif; font-family: 'Arial-Black', 'Arial Black', sans-serif;
font-weight: 900; font-weight: 900;
color: #F95D5D; color: #F95D5D;
margin:0 5px;
} }
.icon { .icon {
@@ -2238,7 +2240,10 @@ img {
font-family: 'Arial-Black', 'Arial Black', sans-serif; font-family: 'Arial-Black', 'Arial Black', sans-serif;
font-weight: 900; font-weight: 900;
color: #000000; color: #000000;
line-height:20px; line-height:15px;
}
.line-h-17{
line-height:17px;
} }
} }