增加咨询右下角组件

This commit is contained in:
A1300399510
2023-07-20 11:56:24 +08:00
parent e625743205
commit 7d2ac77df4
16 changed files with 273 additions and 50 deletions

View File

@@ -0,0 +1,14 @@
<template>
<page-top-bar></page-top-bar>
asgdaskhjdkhsk jkhkhkjhkjhjhjjjjjhjkhh
</template>
<script setup>
import pageTopBar from '../components/pageTopBar/pageTopBar.vue';
const uniqid = "1qfWOLTPbyPH"
</script>
<style lang="less" scoped></style>

View File

@@ -1,22 +1,24 @@
<template>
<div>
<pageTopBar></pageTopBar>
<!-- 筛选 -->
<div class="screen-box wid1200">
<seach-module @handleTransfer="handleTransfer" :count="listCount"></seach-module>
</div>
<div class="list wid1200 flexflex" ref="gridContainer">
<apartment-item v-if="list.length != 0" v-for="item in list" :item="item"></apartment-item>
</div>
<div v-if="list.length == 0" class="empty-box wid1200 flexcenter">
<empty-duck :hintTextTwo="'建议放宽筛选条件'"></empty-duck>
</div>
<have-questions></have-questions>
<page-footer></page-footer>
<pageTopBar></pageTopBar>
<!-- 筛选 -->
<div class="screen-box wid1200">
<seach-module @handleTransfer="handleTransfer" :count="listCount"></seach-module>
</div>
<div class="list wid1200 flexflex" ref="gridContainer">
<apartment-item v-if="list.length != 0" v-for="item in list" :item="item"></apartment-item>
</div>
<div v-if="list.length == 0" class="empty-box wid1200 flexcenter">
<empty-duck :hintTextTwo="'建议放宽筛选条件'"></empty-duck>
</div>
<have-questions></have-questions>
<page-footer></page-footer>
<!-- 右下角咨询 -->
<circle-btn></circle-btn>
</template>
<script setup>
@@ -27,6 +29,7 @@ import apartmentItem from '@/components/public/apartment-item.vue';
import haveQuestions from '@/components/public/have-questions.vue'
import pageFooter from '@/components/footer/footer.vue'
import emptyDuck from '@/components/public/empty-duck.vue'
import circleBtn from '@/components/public/circle-btn.vue'
import { ref, onMounted, onUnmounted, watch, getCurrentInstance, nextTick } from 'vue';
import { ElLoading } from 'element-plus'
import Masonry from 'masonry-layout';
@@ -114,9 +117,6 @@ const handleTransfer = (data) => {
list.value = []
getData()
}
// if () {
// }
}
@@ -151,4 +151,6 @@ const handleTransfer = (data) => {
justify-content: center;
margin: 0 auto;
}
</style>

View File

@@ -21,6 +21,8 @@
</div>
<listBtmPrompt></listBtmPrompt>
</div>
<!-- 右下角咨询 -->
<circle-btn></circle-btn>
</template>
<script setup>
@@ -30,6 +32,7 @@ import seachModule from "../../components/seachModule/seachModule.vue";
import biserialItem from '../../components/biserialListItem/biserialListItem.vue'
import listBtmPrompt from "../../components/public/have-questions.vue";
import noList from "../../components/public/empty-duck.vue";
import circleBtn from '@/components/public/circle-btn.vue'
import api from "../../utils/api";
import tool from '../../toolJs/downLoadMore'
@@ -66,7 +69,7 @@ let getDataList = (data) => {
loading.value = false
let postData = {
page: pages.value,
intermediary:1,
intermediary: 1,
...data
}
api.getLists(postData).then(res => {

View File

@@ -21,6 +21,9 @@
</div>
<listBtmPrompt></listBtmPrompt>
</div>
<!-- 右下角咨询 -->
<circle-btn></circle-btn>
</template>
<script setup>
@@ -30,6 +33,7 @@ import seachModule from "../../components/seachModule/seachModule.vue";
import biserialItem from '../../components/biserialListItem/biserialListItem.vue'
import listBtmPrompt from "../../components/public/have-questions.vue";
import noList from "../../components/public/empty-duck.vue";
import circleBtn from '@/components/public/circle-btn.vue'
import api from "../../utils/api";
import tool from '../../toolJs/downLoadMore'
@@ -53,7 +57,7 @@ let setSeachSelectData = (data) => {
...data
}
loading.value = true
console.log('seachSelectData',seachSelectData.data)
console.log('seachSelectData', seachSelectData.data)
return
getDataList(seachSelectData.data)
}
@@ -72,7 +76,7 @@ let getDataList = (data) => {
loading.value = false
let postData = {
page: pages.value,
intermediary:0,
intermediary: 0,
...data
}
api.getLists(postData).then(res => {

View File

@@ -21,6 +21,9 @@
</div>
<listBtmPrompt></listBtmPrompt>
</div>
<!-- 右下角咨询 -->
<circle-btn></circle-btn>
</template>
<script setup>
@@ -30,6 +33,7 @@ import seachModule from "../../components/seachModule/seachModule.vue";
import biserialItem from '../../components/biserialListItem/biserialListItem.vue'
import listBtmPrompt from "../../components/public/have-questions.vue";
import noList from "../../components/public/empty-duck.vue";
import circleBtn from '@/components/public/circle-btn.vue'
import api from "../../utils/api";
import tool from '../../toolJs/downLoadMore'
import { useRouter } from 'vue-router'
@@ -72,7 +76,7 @@ let getDataList = (data) => {
loading.value = false
let postData = {
page: pages.value,
intermediary:0,
intermediary: 0,
...data
}
api.getLists(postData).then(res => {

View File

@@ -144,10 +144,7 @@ const identityObj = {
"-1": "房源认证"
}
async function init() {
const init = () => {
proxy.$post("/tenement/v2/api/user").then(res => {
if (res.code != 200) return
let data = res.data
@@ -160,8 +157,6 @@ async function init() {
getFavData()
}
// getFavData()
user.value = data.user
count.value = data.count
newmessagenum.value = data.newmessagenum