修改 列表的地区不限、 修改编辑的边框、输入长度

This commit is contained in:
A1300399510
2023-07-31 15:31:16 +08:00
parent 6b0baef36c
commit 323e153967
3 changed files with 32 additions and 18 deletions

View File

@@ -7,12 +7,13 @@
<div class="tab-item flexcenter" v-for="it in item['tags'].split(',')">{{ it }}</div>
</div>
<div class="location flexacenter" v-if="item['address']">
<img class="location-icon" src="@/assets/img/publicImage/location-icon.png">{{ item['address'] }}
<img class="location-icon" src="@/assets/img/publicImage/location-icon.png">
<div class="ellipsis">{{ item['address'] }}</div>
</div>
<div class="type-list" v-if="item['roomlist']">
<div class="type-item flexacenter" v-for="it in item['roomlist']">
<div class="type-name flex1">{{ it['name'] }}</div>
<div class="type-name flex1 ellipsis">{{ it['name'] }}</div>
<div class="type-data flexacenter">
<div class="unit">HK$</div>
<div class="price">{{ it['price'] }}</div>
@@ -86,7 +87,8 @@ const goapArtmentDetails = () => router.push(`/apartmentDetail?uniqid=${props['i
padding-left: 6px;
.tab-item {
height: 28px;
// height: 28px;
line-height: 28px;
background-color: rgba(224, 240, 255, 1);
border-radius: 5px;
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
@@ -96,6 +98,7 @@ const goapArtmentDetails = () => router.push(`/apartmentDetail?uniqid=${props['i
padding: 0 11px;
margin-right: 10px;
margin-bottom: 10px;
word-break: break-word;
}
}
@@ -130,6 +133,7 @@ const goapArtmentDetails = () => router.push(`/apartmentDetail?uniqid=${props['i
.type-name {
color: #000000;
font-size: 15px;
padding-right: 15px;
}
.type-data {

View File

@@ -30,7 +30,7 @@
<template v-for="it in item['location']">
<div class="address-item flexacenter" v-if="it">
<img src="../../assets/homeImage/addMarker.png" class="img" alt="">
{{ location[it >>> 0] + ' > ' + location[it] }}
{{ location[it >>> 0] + ' > ' + (it >>> 0 == it ? '不限' : location[it]) }}
</div>
</template>
</template>