Merge remote-tracking branch 'origin/main'

This commit is contained in:
2023-07-21 15:58:09 +08:00
7 changed files with 170 additions and 23 deletions

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="53px" height="53px" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter x="-50.00%" y="-50.00%" width="200.00%" height="200.00%" filterUnits="objectBoundingBox" id="filter1182">
<feColorMatrix type="matrix" values="1 0 0 0 1 0 1 0 0 1 0 0 1 0 1 0 0 0 1 0 " in="SourceGraphic" />
</filter>
<filter x="400px" y="978px" width="53px" height="53px" filterUnits="userSpaceOnUse" id="filter1183">
<feOffset dx="0" dy="0" in="SourceAlpha" result="shadowOffsetInner" />
<feGaussianBlur stdDeviation="5" in="shadowOffsetInner" result="shadowGaussian" />
<feComposite in2="shadowGaussian" operator="atop" in="SourceAlpha" result="shadowComposite" />
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.662745098039216 0 " in="shadowComposite" />
</filter>
<g id="widget1184">
<image preserveAspectRatio="none" style="overflow:visible" width="33" height="33" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAQKADAAQAAAABAAAAQAAAAABGUUKwAAAEVElEQVR4Ae2bvY7TQBDHly8JJIqUdFxJR3gCTEdHrqMjPMFBR3fhDe4NYp4guSe40NFd7g1S0iWRKJD4OH6j+KSNbzdex7N2LLzSyvYyOzP//87Mrp3DmK51DHQMdAz8xwzcqQP7fWNeYieh9+lH15srt9sNZ+aMLOhynf025ivXdrYHxrwD+OSeMddVuugQXa1goWdMD4dPAbysAtozdym6xcZBkhEReD6ClkTEycGQgDN9wF96Vi3vvNqz2BTbjRIhK1E38Ly9xqIBR8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QOyJ+lzesmQmyK7ajgyijPokHr2OwtdBC9anzVfcRkBVKOzjGIWLHqo1oLnQ9oyDgkDKQyV02NTMcgxOY+MkHvAvsotucAIuFZuuSs/Kcp53uFnN/59wV9Tpf/NDXj2rWOgY6BjoGOgVgM/AP9HjGMza5aZwAAAABJRU5ErkJggg==" x="410px" y="988px" filter="url(#filter1182)" />
</g>
</defs>
<g transform="matrix(1 0 0 1 -400 -978 )">
<use xlink:href="#widget1184" filter="url(#filter1183)" />
<use xlink:href="#widget1184" />
</g>
</svg>

View File

@@ -1,6 +1,6 @@
<template> <template>
<div class="dis-f jus-x al-item" style="position: relative;z-index: 333;"> <div class="dis-f jus-x al-item" style="position: relative;z-index: 333;">
<div class="body-maxWidth"> <div class="body-maxWidth" :class="{ 'seachPage': !props.seachPage }">
<div class="s-w-100 seach-box-bg"> <div class="s-w-100 seach-box-bg">
<div class="seach-box"> <div class="seach-box">
<div class="top-seach dis-f al-item" v-if="props.seachPage"> <div class="top-seach dis-f al-item" v-if="props.seachPage">
@@ -18,7 +18,8 @@
popper-style="background: transparent;padding:0;box-shadow: none;border: none;transform: translateX(50px);"> popper-style="background: transparent;padding:0;box-shadow: none;border: none;transform: translateX(50px);">
<template #reference> <template #reference>
<el-input class="search-input" v-model="pitchValue['keyword']" placeholder="搜索房源或输入房源ID" <el-input class="search-input" v-model="pitchValue['keyword']" placeholder="搜索房源或输入房源ID"
@keyup.enter='handleKeyword(pitchValue["keyword"])' style="height:48px;width:460px;"></el-input> @keyup.enter='handleKeyword(pitchValue["keyword"])'
style="height:48px;width:460px;"></el-input>
</template> </template>
<div class="dis-f al-item pos-r"> <div class="dis-f al-item pos-r">
<div class="seach-hiosory-box scrollbar" :class="{ 'seach-history-h': historyShow }"> <div class="seach-hiosory-box scrollbar" :class="{ 'seach-history-h': historyShow }">
@@ -70,8 +71,8 @@
</div> </div>
<div class="consult-hint">微信扫码添加好友</div> <div class="consult-hint">微信扫码添加好友</div>
<div class="consult-remark flexacenter">备注<b>寄托租房</b></div> <div class="consult-remark flexacenter">备注<b>寄托租房</b></div>
</div> </div>
<!-- <img class="QR-code" :src="wechat['wechatqrcode']" alt=""> -->
</el-popover> </el-popover>
</div> </div>
@@ -347,6 +348,23 @@ const selectOption = (type, value) => {
justify-content: space-between; justify-content: space-between;
} }
.seachPage {
.seach-box-bg {
background-color: none;
box-shadow: none;
.seach-box {
transform: translate(0, 0);
box-shadow: none;
.option-area {
border-top: none;
}
}
}
}
.seach-box-bg { .seach-box-bg {
background: #d7d7d7; background: #d7d7d7;
border-radius: 16px; border-radius: 16px;

View File

@@ -166,20 +166,12 @@ const tabList = [{
transform: translateX(-50%); transform: translateX(-50%);
margin: 0 auto; margin: 0 auto;
width: 100%; width: 100%;
// <<<<<<< HEAD
// height: 47px;
// =======
height: 50px; height: 50px;
// >>>>>>> origin/main
background: rgba(0, 0, 0, 0.596078431372549); background: rgba(0, 0, 0, 0.596078431372549);
border-bottom: 4px solid rgba(78, 144, 204, 1); border-bottom: 4px solid rgba(78, 144, 204, 1);
.nav-list { .nav-list {
// <<<<<<< HEAD
// // background: red;
// color: #e2edf7;
// font-size: 18px;
// =======
color: #E2EDF7; color: #E2EDF7;
text-align: center; text-align: center;
// >>>>>>> origin/main // >>>>>>> origin/main

View File

@@ -98,13 +98,11 @@ const router = createRouter({
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
// <<<<<<< HEAD
//导航数据 //导航数据
if (/['seachPage','needHousing','intermediaryHousing','personHousing']/.test(from.path)) { if (/['seachPage','needHousing','intermediaryHousing','personHousing']/.test(from.path)) {
store.state.routeList.secondaryIndex.title = from.meta.title store.state.routeList.secondaryIndex.title = from.meta.title
store.state.routeList.secondaryIndex.path = from.path store.state.routeList.secondaryIndex.path = from.path
} }
// >>>>>>> 542e853 (提交)
next() next()
let meta = to['meta'] || {} let meta = to['meta'] || {}
let title = meta['title'] let title = meta['title']

View File

@@ -25,21 +25,49 @@
<div class="details-left flex1"> <div class="details-left flex1">
<div class="type-box"> <div class="type-box">
<div class="type-item"> <div class="type-item">
<div class="type-left flex1">
<div class="type-name">双人套间A</div> <div class="type-name">双人套间A</div>
<div class="type-tags flexacenter">
<div class="tags-item flexcenter" :class="{ 'first': item == 1 }" v-for="item in 4">仅剩1间
</div>
</div>
<div class="media-box flexflex">
<div class="media-item flexcenter" v-for="item in 5">
<img class="media-img"
src="https://axure-file.lanhuapp.com/md5__c1c85f2680e7e9a2026de4d381081fc6.svg">
<img class="media-icon" src="@/assets/img/apartmentDetail/media-icon.svg" />
</div> </div>
</div> </div>
</div> </div>
<div class="details-right"></div> <div class="type-right">
<div class="price-box flexflex">
<div class="former">HK$ 7600/</div>
<div class="new flexacenter">
<div class="unit">HK$</div>
<div class="cost">8200</div>
/
</div>
</div>
<div class="consult-btn flexcenter">咨询</div>
</div>
</div>
</div>
</div>
<div class="details-right flexacenter">
</div>
</div> </div>
</div> </div>
</template> </template>
<script setup> <script setup>
import { ref } from 'vue';
import pageTopBar from '../components/pageTopBar/pageTopBar.vue'; import pageTopBar from '../components/pageTopBar/pageTopBar.vue';
const uniqid = "1qfWOLTPbyPH" const uniqid = "1qfWOLTPbyPH"
let input = ref("")
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@@ -152,7 +180,100 @@ const uniqid = "1qfWOLTPbyPH"
.details-left { .details-left {
.type-box { .type-box {
.type-item { .type-item {
height: ; width: 876px;
height: 230px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(235, 235, 235, 1);
border-radius: 16px;
-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.117647058823529);
-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.117647058823529);
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.117647058823529);
font-size: 14px;
.type-left {
.type-name {
font-weight: 650;
font-size: 20px;
color: #000000;
}
.type-tags {
.tags-item {
height: 24px;
background-color: rgba(242, 242, 242, 1);
border-radius: 4px;
line-height: 26px;
font-size: 14px;
color: #7F7F7F;
margin-right: 8px;
padding: 0 9px;
&.first {
border: 1px solid rgba(80, 227, 194, 1);
color: #50e3c2;
background-color: #fff;
}
}
}
.media-box {
.media-item {
position: relative;
height: 80px;
margin-right: 10px;
.media-img {}
.media-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 53px;
height: 53px;
}
}
}
}
.type-right {
.price-box {
flex-direction: column;
align-items: flex-end;
.former {
color: #AAAAAA;
font-size: 14px;
text-decoration: line-through;
text-decoration-color: #797979;
}
.new {
.unit {
font-family: 'Arial-Black', 'Arial Black', sans-serif;
font-weight: 900;
color: #000000;
font-size: 16px;
}
}
}
.consult-btn {
width: 90px;
height: 40px;
background: -webkit-linear-gradient(321.966692522331deg, rgba(98, 177, 255, 1) -13%, rgba(128, 255, 255, 1) 137%);
background: -moz-linear-gradient(128.033307477669deg, rgba(98, 177, 255, 1) -13%, rgba(128, 255, 255, 1) 137%);
background: linear-gradient(128.033307477669deg, rgba(98, 177, 255, 1) -13%, rgba(128, 255, 255, 1) 137%);
border-radius: 36px;
font-weight: 400;
font-size: 16px;
color: #FFFFFF;
cursor: pointer;
}
}
} }
} }
} }

View File

@@ -20,7 +20,6 @@
<!-- 右下角咨询 --> <!-- 右下角咨询 -->
<circle-btn></circle-btn> <circle-btn></circle-btn>
</template> </template>
<script setup> <script setup>
@@ -104,7 +103,7 @@ const handleScroll = () => {
const scrollHeight = document.documentElement.scrollHeight; const scrollHeight = document.documentElement.scrollHeight;
const clientHeight = document.documentElement.clientHeight; const clientHeight = document.documentElement.clientHeight;
const scrollTop = document.documentElement.scrollTop || document.body.scrollTop; const scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
if (scrollTop + clientHeight >= scrollHeight) getData() if (scrollTop + clientHeight >= scrollHeight - 350) getData()
}; };
let pitchValue = {} let pitchValue = {}
@@ -150,6 +149,4 @@ const handleTransfer = (data) => {
justify-content: center; justify-content: center;
margin: 0 auto; margin: 0 auto;
} }
</style> </style>

View File

@@ -288,7 +288,7 @@ const handleScroll = () => {
const scrollHeight = document.documentElement.scrollHeight; const scrollHeight = document.documentElement.scrollHeight;
const clientHeight = document.documentElement.clientHeight; const clientHeight = document.documentElement.clientHeight;
const scrollTop = document.documentElement.scrollTop || document.body.scrollTop; const scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
if (scrollTop + clientHeight >= scrollHeight) { if (scrollTop + clientHeight >= scrollHeight - 350) {
if (tabState.value == 'publish') getPublishData() if (tabState.value == 'publish') getPublishData()
else getFavData() else getFavData()
} }