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