样式修改

This commit is contained in:
2023-08-03 16:55:07 +08:00
parent 56fa9e96d1
commit 6ce8b8f5ba

View File

@@ -470,9 +470,8 @@
</div> </div>
</div> </div>
</div> </div>
<div class="dis-f jus-x" <div class="dis-f jus-x pos-r"
v-if="distanceList[0] && distanceList[0].name && pageType != 3 && distanceList.length > 1"> v-if="distanceList[0] && distanceList[0].name && pageType != 3 && distanceList.length > 1">
<div class="distance-box dis-f jus-bet">
<div class="distance-info-box pos-r" :class="{ 'show-distance-info-box': showDistance }" <div class="distance-info-box pos-r" :class="{ 'show-distance-info-box': showDistance }"
:style="{ 'height': showDistance ? `${70 + 42 + 82 * distanceList.length - 1}px` : '0px' }"> :style="{ 'height': showDistance ? `${70 + 42 + 82 * distanceList.length - 1}px` : '0px' }">
<div class="top-box"></div> <div class="top-box"></div>
@@ -489,12 +488,14 @@
:class="{ 'home-icon': item && item.address }"> :class="{ 'home-icon': item && item.address }">
<div class="line" v-show="index > 0"></div> <div class="line" v-show="index > 0"></div>
<img src="../assets/img/detail/school.png" class="icon" <img src="../assets/img/detail/school.png" class="icon"
v-show="item && item.address" alt="">
<img src="../assets/img/detail/home.png" class="icon"
v-show="item && !item.address" alt=""> v-show="item && !item.address" alt="">
<img src="../assets/img/detail/home.png" class="icon"
v-show="item && item.address" alt="">
</div> </div>
<div style="width:200px">
{{ item && item.name }} {{ item && item.name }}
<div class="dis-f" style="flex-wrap: wrap;width:540px;"> </div>
<div class="dis-f" style="flex-wrap: wrap;width:480px">
<div v-for="(items, i) in item && item.point" :key="i"> <div v-for="(items, i) in item && item.point" :key="i">
<span class="address-info"> <span class="address-info">
{{ items.title }} {{ items.title }}
@@ -510,6 +511,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="distance-box dis-f jus-bet">
<div class="dis-f al-item" style="position:relative;" @click="setShowDistance"> <div class="dis-f al-item" style="position:relative;" @click="setShowDistance">
<!-- <img src="../assets/img/detail/line.svg" class="line-img" alt=""> --> <!-- <img src="../assets/img/detail/line.svg" class="line-img" alt=""> -->
<div class="dis-f al-item s-w-100" style="position:absolute;"> <div class="dis-f al-item s-w-100" style="position:absolute;">
@@ -557,8 +559,7 @@
<div class="houseing-info-box dis-f al-item jus-bet"> <div class="houseing-info-box dis-f al-item jus-bet">
<div class="dis-f al-item"> <div class="dis-f al-item">
房源ID : &nbsp<span class="houseing-id" @click="clone(housingInfo['data'] && 房源ID : &nbsp<span class="houseing-id" @click="clone(housingInfo['data'] &&
housingInfo['data'].info.id)">{{ housingInfo['data'] && housingInfo['data'].info.id housingInfo['data'].info.id)">{{ housingInfo['data'] && housingInfo['data'].info.id}}</span>
}}</span>
<span class="browse-box"> <span class="browse-box">
浏览 :<span class="text">{{ housingInfo['data'] && housingInfo['data'].info.count_view 浏览 :<span class="text">{{ housingInfo['data'] && housingInfo['data'].info.count_view
}}</span> }}</span>
@@ -2623,7 +2624,9 @@ img {
.houseing-info-box-s { .houseing-info-box-s {
height: 17px; height: 17px;
width: 1px; width: 1px;
border-right: 1px dashed #d7d7d7; background-image: linear-gradient(to top, #d7d7d7 0%, #d7d7d7 50%, transparent 0%);
background-size: 4px 2px;
background-repeat: repeat-y;
} }
.browse-box { .browse-box {
@@ -2736,20 +2739,6 @@ img {
transition: all 0.2s linear; transition: all 0.2s linear;
} }
.distance-box {
width: 100%;
height: 101px;
background: inherit;
background-color: rgba(255, 255, 255, 1);
box-sizing: border-box;
border-width: 1px;
border-style: solid;
border-color: rgba(242, 242, 242, 1);
border-radius: 12px;
margin-top: 20px;
cursor: pointer;
position: relative;
.distance-info-box { .distance-info-box {
background: inherit; background: inherit;
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
@@ -2758,7 +2747,7 @@ img {
border-radius: 16px; border-radius: 16px;
position: absolute; position: absolute;
left: 0; left: 0;
top: 110px; top: 130px;
z-index: 666; z-index: 666;
width: 100%; width: 100%;
max-height: 610px; max-height: 610px;
@@ -2773,6 +2762,9 @@ img {
height: 500px; height: 500px;
overflow-y: scroll; overflow-y: scroll;
} }
.distance-box-s ::-webkit-scrollbar{
width: 8px;
}
.distance-info-data { .distance-info-data {
padding: 30px 45px 0 45px; padding: 30px 45px 0 45px;
@@ -2799,9 +2791,11 @@ img {
} }
.line { .line {
background-image: linear-gradient(to top, #d7d7d7 0%, #d7d7d7 50%, transparent 0%);
background-size: 5px 2px;
background-repeat: repeat-y;
height: 50px; height: 50px;
width: 1px; width: 1px;
border-left: 1px dashed #e7e7e7;
position: absolute; position: absolute;
top: -50px; top: -50px;
} }
@@ -2865,6 +2859,19 @@ img {
} }
} }
.distance-box {
width: 100%;
height: 101px;
background: inherit;
background-color: rgba(255, 255, 255, 1);
box-sizing: border-box;
border-width: 1px;
border-style: solid;
border-color: rgba(242, 242, 242, 1);
border-radius: 12px;
margin-top: 20px;
cursor: pointer;
position: relative;
/* ::-webkit-scrollbar { /* ::-webkit-scrollbar {
display: none; display: none;
} */ } */
@@ -2902,9 +2909,11 @@ img {
} }
.line-img { .line-img {
height: 1px; height: 2px;
width: 743px; width: 743px;
border: 1px dashed #d7d7d7; background-image: linear-gradient(to right, #d7d7d7 0%, #d7d7d7 50%, transparent 0%);
background-size: 4px 2px;
background-repeat: repeat-x;
} }
.address-box { .address-box {