求房源
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="list-item" ref="list" @click="watchInfo" :class="{'s-w-100':detailShow}">
|
||||
<img src="../../assets/homeImage/corner.svg" class="detail-tab" v-if="detailShow&&pageType===1" alt="">
|
||||
<img src="../../assets/homeImage/intermediaryCorner.svg" class="detail-tab" v-if="detailShow&&pageType===2" alt="">
|
||||
<img src="../../assets/homeImage/corner.svg" class="detail-tab" v-if="detailShow&&pageType==1" alt="">
|
||||
<img src="../../assets/homeImage/intermediaryCorner.svg" class="detail-tab" v-if="detailShow&&pageType==2" alt="">
|
||||
<div class="authentication-box dis-f al-item" v-if="data && data.data && data.data.verified == 1 && !detailShow">
|
||||
<img src="../../assets/homeImage/authenticationLogo.png" class="logo" alt="">
|
||||
<img src="../../assets/homeImage/topAuthenticationBg.svg" class="bg" alt="">
|
||||
@@ -97,11 +97,11 @@
|
||||
data &&
|
||||
data.data.intermediary_text
|
||||
}}</div>
|
||||
<img src="../../assets/homeImage/intermediaryTabImg.png"
|
||||
v-if="data && data.data && data.data.isintermediary == 1" class="intermediary-tab-img" alt="">
|
||||
</div>
|
||||
<img src="../../assets/img/detail/authenticationHousing.png" class="intermediary-tab-img"
|
||||
v-show="detailShow && data && data.data && data.data.verified == 1" alt="">
|
||||
<img src="../../assets/homeImage/intermediaryTabImg.png"
|
||||
v-if="data && data.data && data.data.isintermediary == 1" class="intermediary-tab-img" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -1,30 +1,36 @@
|
||||
<template>
|
||||
<div class="pos-r">
|
||||
<div class="authentication-top" v-if="data['data']&&data['data'].info&&data['data'].info.verified===1">
|
||||
<div class="authentication-top"
|
||||
:class="[pageType==2?'intermediary-top':'']"
|
||||
v-if="data['data'] && data['data'].info && data['data'].info.verified === 1">
|
||||
<div class="dis-f al-item jus-bet">
|
||||
<div>
|
||||
<div v-if="pageType==1">
|
||||
<img src="../../assets/img/detail/authenticationLogon.png" class="logo" alt="">
|
||||
<img src="../../assets/img/detail/authenticationTitle.png" class="title" alt="">
|
||||
</div>
|
||||
<div v-if="pageType==2" class="dis-f al-item">
|
||||
<img src="../../assets/img/detail/intermediaryDetailLogo.png" class="logo" alt="">
|
||||
<img src="../../assets/img/detail/intermediaryDetailTItle.png" style="margin-left:-7px;" class="title" alt="">
|
||||
</div>
|
||||
<div class="dis-f al-item">
|
||||
<div class="dis-f al-item">
|
||||
<img src="../../assets/img/detail/authenticationType.svg" class="type-icon" alt="">
|
||||
<span>
|
||||
{{data['data']&&data['data'].info&&data['data'].info.intermediary!=1?'房产证明':'真实牌照'}}
|
||||
</span>
|
||||
<img src="../../assets/img/detail/authenticationType.svg" class="type-icon" alt="">
|
||||
<span>
|
||||
{{ data['data'] && data['data'].info && data['data'].info.intermediary != 1 ? '房产证明' : '真实牌照' }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="dis-f al-item" style="margin-left:20px;">
|
||||
<img src="../../assets/img/detail/authenticationType.svg" class="type-icon" alt="">
|
||||
<span>
|
||||
{{ data['data']&&data['data'].info&&data['data'].info.intermediary!=1?'房东身份证':'身份证明' }}
|
||||
{{ data['data'] && data['data'].info && data['data'].info.intermediary != 1 ? '房东身份证' : '身份证明' }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="title-top-box pos-r" style="z-index:666;">
|
||||
<div class="top-round" v-if="data['data']&&data['data'].info&&data['data'].info.verified===1">
|
||||
<div class="top-round-s"></div>
|
||||
<div class="top-round" v-if="data['data'] && data['data'].info && data['data'].info.verified === 1">
|
||||
<div class="top-round-s" :class="[pageType==2?'intermediary-bg':'']"></div>
|
||||
</div>
|
||||
<div class="breadcrumb-box">
|
||||
<el-breadcrumb :separator-icon="ArrowRight">
|
||||
@@ -69,6 +75,7 @@ import { ArrowRight } from '@element-plus/icons-vue'
|
||||
import { reactive, onMounted, ref, defineProps, watchEffect } from 'vue'
|
||||
import store from '@/store'
|
||||
import transmitBtn from '@/components/public/transmitBtn.vue'
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
const props = defineProps({
|
||||
data: {
|
||||
@@ -85,6 +92,12 @@ let data = reactive({})
|
||||
|
||||
let operation = props.operation
|
||||
|
||||
//获取路由参数
|
||||
let router = useRouter()
|
||||
//页面类型
|
||||
let pageType=ref('')
|
||||
let {type}=router.currentRoute.value.query
|
||||
pageType.value=type
|
||||
//导航数据
|
||||
let storeData = store.state.routeList
|
||||
console.log('storeData', storeData)
|
||||
@@ -129,6 +142,19 @@ img {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.intermediary-top {
|
||||
background: -webkit-linear-gradient(165.253098840457deg, rgba(180, 218, 255, 1) -2%, rgba(80, 227, 194, 1) 86%) !important;
|
||||
background: -moz-linear-gradient(-75.2530988404571deg, rgba(180, 218, 255, 1) -2%, rgba(80, 227, 194, 1) 86%) !important;
|
||||
background: linear-gradient(-75.2530988404571deg, rgba(180, 218, 255, 1) -2%, rgba(80, 227, 194, 1) 86%) !important;
|
||||
border: none;
|
||||
border-radius: 16px;
|
||||
border-bottom-right-radius: 0px;
|
||||
border-bottom-left-radius: 0px;
|
||||
-moz-box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.authentication-top {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
@@ -163,10 +189,10 @@ img {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.type-icon{
|
||||
.type-icon {
|
||||
width: 18px;
|
||||
height:18px;
|
||||
margin-right:8px;
|
||||
height: 18px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -185,21 +211,26 @@ img {
|
||||
font-size: 14px;
|
||||
transform: translateY(-38px);
|
||||
position: relative;
|
||||
.top-round{
|
||||
width:22px ;
|
||||
height:22px;
|
||||
|
||||
.top-round {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
top:-8px;
|
||||
right:-1px;
|
||||
.top-round-s{
|
||||
top: -8px;
|
||||
right: -1px;
|
||||
|
||||
.top-round-s {
|
||||
position: absolute;
|
||||
top:-13px;
|
||||
left:-1px;
|
||||
border-radius:0 0 16px 0;
|
||||
background:rgba(174, 159, 251, 1);
|
||||
width:23px;
|
||||
height:20px;
|
||||
top: -13px;
|
||||
left: -1px;
|
||||
border-radius: 0 0 16px 0;
|
||||
background: rgba(174, 159, 251, 1);
|
||||
width: 23px;
|
||||
height: 20px;
|
||||
}
|
||||
.intermediary-bg{
|
||||
background: rgba(173,214,247,1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<div class="img-box dis-f jus-x" v-if="item.thumbnail">
|
||||
<img :src="item&&item.url" class="img" alt="">
|
||||
</div>
|
||||
<div class="img-box dis-f jus-x" style="width:600px" v-if="!item.thumbnail">
|
||||
<source :src="item&&item.url" class="img" style="width:600px" type="video/mp4">
|
||||
<div class="img-box dis-f jus-x" style="width:600px" v-if="!item.thumbnail&&item.url">
|
||||
<source :controls="true" :autoplay="false" :src="item&&item.url" class="img" style="width:600px" type="video/mp4">
|
||||
</div>
|
||||
</div>
|
||||
</el-carousel-item>
|
||||
@@ -29,7 +29,7 @@
|
||||
<img src="../../assets/img/detail/videoStop.svg" class="icon" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="img-box-s dis-f jus-x" :class="{ 'select-box': imageTab === i }">
|
||||
<div class="img-box-s dis-f jus-x" :class="[{ 'select-box': imageTab === i },{'voide':!item.thumbnail}]">
|
||||
<img :src="item.thumbnail||item.image" alt="" class="img-s">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user