修改big
This commit is contained in:
@@ -44,7 +44,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
<div class="seach-btn dis-f al-item jus-x" @click="handleKeyword(pitchValue['keyword'])">
|
<div class="seach-btn dis-f al-item jus-x" @click="pitchValue['keyword'] ? handleKeyword(pitchValue['keyword']) : ''">
|
||||||
<img src="../../assets/homeImage/seachImg.svg" class="img" alt="">
|
<img src="../../assets/homeImage/seachImg.svg" class="img" alt="">
|
||||||
搜索
|
搜索
|
||||||
</div>
|
</div>
|
||||||
@@ -267,9 +267,7 @@ const rentInput = () => clearingAmountState = false
|
|||||||
|
|
||||||
// 点击历史搜索和热门推荐
|
// 点击历史搜索和热门推荐
|
||||||
const handleKeyword = value => {
|
const handleKeyword = value => {
|
||||||
|
|
||||||
router.push(`/seachPage?keyword=${value}`)
|
router.push(`/seachPage?keyword=${value}`)
|
||||||
|
|
||||||
if (historyArr.value.indexOf(value) == -1 && value) {
|
if (historyArr.value.indexOf(value) == -1 && value) {
|
||||||
historyArr.value.unshift(value)
|
historyArr.value.unshift(value)
|
||||||
storingHistory()
|
storingHistory()
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<el-carousel-item v-for="(item, i) in list" :key="i">
|
<el-carousel-item v-for="(item, i) in list" :key="i">
|
||||||
<div class="dis-f jus-x al-item" v-if="item">
|
<div class="dis-f jus-x al-item" v-if="item">
|
||||||
<div class="img-box dis-f jus-x" style="width:600px" v-if="item['type'] != 'attachment'">
|
<div class="img-box dis-f jus-x" style="width:600px" v-if="item['type'] != 'attachment'">
|
||||||
<video autoplay="false" controls :src="item.url || item['videourl']"></video>
|
<video :autoplay="false" controls :src="item.url || item['videourl']"></video>
|
||||||
</div>
|
</div>
|
||||||
<div class="img-box dis-f jus-x" v-else>
|
<div class="img-box dis-f jus-x" v-else>
|
||||||
<img v-lazy="item && item.url || item['imageurl'] || item['image']" class="img" alt="">
|
<img v-lazy="item && item.url || item['imageurl'] || item['image']" class="img" alt="">
|
||||||
|
|||||||
@@ -93,7 +93,11 @@ async function init() {
|
|||||||
let data = res.data
|
let data = res.data
|
||||||
identityList.value = data.data
|
identityList.value = data.data
|
||||||
housingnum.value = data.housingnum
|
housingnum.value = data.housingnum
|
||||||
|
// housingnum.value = 10
|
||||||
isintermediary.value = data.isintermediary
|
isintermediary.value = data.isintermediary
|
||||||
|
// isintermediary.value = 1
|
||||||
|
|
||||||
|
// console.log("data.isintermediary",data.isintermediary);
|
||||||
if (data['ispopup'] == 0) overallJump()
|
if (data['ispopup'] == 0) overallJump()
|
||||||
else popType.value = 'choice'
|
else popType.value = 'choice'
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -127,6 +131,7 @@ let overallJump = () => {
|
|||||||
let confirmIntermediary = (isintermediary) => {
|
let confirmIntermediary = (isintermediary) => {
|
||||||
if (isintermediary == 1) identityKey.value = 1
|
if (isintermediary == 1) identityKey.value = 1
|
||||||
overallJump()
|
overallJump()
|
||||||
|
// return
|
||||||
proxy.$post("/tenement/pc/api/publish/submitidentity", {
|
proxy.$post("/tenement/pc/api/publish/submitidentity", {
|
||||||
isintermediary
|
isintermediary
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
|||||||
@@ -72,13 +72,14 @@ const goapArtmentDetails = () => router.push(`/apartmentDetail?uniqid=${props['i
|
|||||||
color: #000000;
|
color: #000000;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
padding-left: 6px;
|
padding-left: 6px;
|
||||||
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hint {
|
.hint {
|
||||||
color: #AAAAAA;
|
color: #AAAAAA;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin: 0 6px 20px;
|
margin: 0 6px 20px;
|
||||||
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-box {
|
.tab-box {
|
||||||
|
|||||||
@@ -76,6 +76,12 @@ const toConsumableArray = (arr) => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
@media screen and (max-width: 1360px) {
|
||||||
|
.btn {
|
||||||
|
right: 20px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
width: 60px;
|
width: 60px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
@@ -85,7 +91,6 @@ const toConsumableArray = (arr) => {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 98px;
|
bottom: 98px;
|
||||||
right: calc((100vw - 1200px) / 2 - 75px);
|
right: calc((100vw - 1200px) / 2 - 75px);
|
||||||
|
|
||||||
border: 1px solid #d7d7d7;
|
border: 1px solid #d7d7d7;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<page-top-bar></page-top-bar>
|
<page-top-bar></page-top-bar>
|
||||||
|
|
||||||
|
|
||||||
<div class="content wid1200">
|
<div class="content wid1200">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="top flexflex">
|
<div class="top flexflex">
|
||||||
@@ -151,7 +152,7 @@
|
|||||||
<img class="media-icon" src="@/assets/img/apartmentDetail/media-icon.svg" />
|
<img class="media-icon" src="@/assets/img/apartmentDetail/media-icon.svg" />
|
||||||
</div>
|
</div>
|
||||||
<div class="media-item flexcenter" v-for="(it, i) in item['images']"
|
<div class="media-item flexcenter" v-for="(it, i) in item['images']"
|
||||||
@click="cloaseImageShow([...item['videos'], ...item['images']], i)">
|
@click="cloaseImageShow([...item['videos'], ...item['images']], item['videos'].length + i)">
|
||||||
<img class="media-img" v-lazy="it['thumbnail']">
|
<img class="media-img" v-lazy="it['thumbnail']">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -221,7 +222,8 @@
|
|||||||
公寓设施
|
公寓设施
|
||||||
</div>
|
</div>
|
||||||
<div class="facilities-box">
|
<div class="facilities-box">
|
||||||
<div class="facilities-item flexflex" v-for="(item, key) of facilitiesKeyValue">
|
<template v-for="(item, key) of facilitiesKeyValue">
|
||||||
|
<div class="facilities-item flexflex" v-if="info['facilities'][key].length != 0">
|
||||||
<div class="facilities-header flexflex">
|
<div class="facilities-header flexflex">
|
||||||
<div class="item-title">{{ item }}</div>
|
<div class="item-title">{{ item }}</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -232,6 +234,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -288,7 +291,7 @@
|
|||||||
|
|
||||||
<div class="price-box">
|
<div class="price-box">
|
||||||
<div class="price-item flexacenter" v-for="it in item['roomlist']">
|
<div class="price-item flexacenter" v-for="it in item['roomlist']">
|
||||||
<div class="room-name">{{ it['name'] }}</div>
|
<div class="room-name ellipsis">{{ it['name'] }}</div>
|
||||||
<div class="flexacenter">
|
<div class="flexacenter">
|
||||||
<div class="unit">HK$</div>
|
<div class="unit">HK$</div>
|
||||||
<div class="quantity">{{ it['price'] }}</div>/月
|
<div class="quantity">{{ it['price'] }}</div>/月
|
||||||
@@ -976,9 +979,7 @@ const publicJump = path => router.push(path)
|
|||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.place-text {
|
.place-text {}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.place,
|
.place,
|
||||||
.else {
|
.else {
|
||||||
|
|||||||
@@ -61,14 +61,13 @@
|
|||||||
<img class="arrows-icon-pitch" src="@/assets/img/edit/blue-arrow.svg" />
|
<img class="arrows-icon-pitch" src="@/assets/img/edit/blue-arrow.svg" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 起租日期 -->
|
<!-- 起租日期 -->
|
||||||
<div v-if="item.field === 'leasetime'" class="form-option modeTwo flexacenter">
|
<div v-if="item.field === 'leasetime'" class="form-option modeTwo flexacenter">
|
||||||
<div class="modeTwo-item flexcenter" :class="{ 'pitch': info['leasetime'] == 0 }" ref="leasetime"
|
<div class="modeTwo-item flexcenter" :class="{ 'pitch': info['leasetime'] == 0 }" ref="leasetime"
|
||||||
@click="setValue('leasetime', 0)">随时</div>
|
@click="setValue('leasetime', 0)">随时</div>
|
||||||
<div class="modeTwo-item flexacenter" :class="{ 'pitch': info['leasetime'] }" ref="leasetime">
|
<div class="modeTwo-item flexacenter" :class="{ 'pitch': info['leasetime'] }" ref="leasetime">
|
||||||
<el-date-picker prefix-icon="" clear-icon="" v-model="info.leasetime" type="date"
|
<el-date-picker prefix-icon="" clear-icon="" v-model="info.leasetime" type="date"
|
||||||
placeholder="选择日期"></el-date-picker>
|
placeholder="选择日期" :locale="locale"></el-date-picker>
|
||||||
<img class="arrows-icon rotate0" src="@/assets/img/edit/arrows.svg" />
|
<img class="arrows-icon rotate0" src="@/assets/img/edit/arrows.svg" />
|
||||||
<img class="arrows-icon-pitch rotate0" src="@/assets/img/edit/blue-arrow.svg" />
|
<img class="arrows-icon-pitch rotate0" src="@/assets/img/edit/blue-arrow.svg" />
|
||||||
</div>
|
</div>
|
||||||
@@ -671,11 +670,13 @@ import failPop from '@/components/edit/fail-pop.vue'
|
|||||||
import pageTopBar from '@/components/pageTopBar/pageTopBar.vue'
|
import pageTopBar from '@/components/pageTopBar/pageTopBar.vue'
|
||||||
import userBox from '@/components/edit/user-box.vue'
|
import userBox from '@/components/edit/user-box.vue'
|
||||||
import { setSeoTitle } from '@/utils/util.js'
|
import { setSeoTitle } from '@/utils/util.js'
|
||||||
|
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ZufangEdit',
|
name: 'ZufangEdit',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
locale: zhCn,
|
||||||
value: '',
|
value: '',
|
||||||
user: {},
|
user: {},
|
||||||
userIntermediary: 0, // 用户是否是 认证中介,需要全局获取
|
userIntermediary: 0, // 用户是否是 认证中介,需要全局获取
|
||||||
|
|||||||
Reference in New Issue
Block a user