修改bug
This commit is contained in:
@@ -4,14 +4,24 @@
|
||||
<div class="content wid1200">
|
||||
<div class="header">
|
||||
<div class="top flexflex">
|
||||
<div class="brand-name flexcenter">{{ company.title }}</div>
|
||||
<div class="brand-abstract">{{ info['propaganda'] }}</div>
|
||||
<!-- <div class="brand-name flexcenter">{{ company.title }}</div> -->
|
||||
<!-- <div class="brand-abstract">{{ info['propaganda'] }}</div> -->
|
||||
<div class="brand-abstract flexflex">
|
||||
<div class="flexacenter" style="height: min-content;">
|
||||
<div class="item" @click="publicJump('/')">港校租房</div>
|
||||
<img class="arrow" src="@/assets/img/publicImage/yellow-arrow.svg">
|
||||
<div class="item" @click="publicJump('/apartment')">品牌公寓</div>
|
||||
<img class="arrow" src="@/assets/img/publicImage/yellow-arrow.svg">
|
||||
<div class="item" @click="publicJump(`/apartment?companyid=${company.id}`)">{{ company.title }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="arc-bj">
|
||||
<div class="arc"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header-content flexflex">
|
||||
<!-- <img class="arc" src="@/assets/img/publicImage/arc-shadow.png"> -->
|
||||
<div class="header-left">
|
||||
<image-watch style="z-index: 1003;" arrow="never" :show="imageShow" :close="cloaseImageShow"
|
||||
:list="imageList"></image-watch>
|
||||
@@ -23,7 +33,6 @@
|
||||
:src="item['image'] || item['imageurl']" @click="cloaseImageShow(allCarouselsData)">
|
||||
</el-carousel-item>
|
||||
</el-carousel>
|
||||
<!-- <div class="indicate-type flexacenter" v-if="allCarouselsData.length != 0"> -->
|
||||
<div class="indicate-type flexacenter" v-if="indicateTypeState()">
|
||||
<div class="indicate-item"
|
||||
:class="{ 'pitch': allCarouselsData[carouselIndex]['type'] == 'lives' }"
|
||||
@@ -696,6 +705,10 @@ const indicateTypeState = () => {
|
||||
return total > 1 ? true : false
|
||||
}
|
||||
|
||||
// 公共跳转
|
||||
const publicJump = path => router.push(path)
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
@@ -733,6 +746,21 @@ const indicateTypeState = () => {
|
||||
color: #806C24;
|
||||
font-size: 14px;
|
||||
padding-top: 13px;
|
||||
|
||||
.item {
|
||||
cursor: pointer;
|
||||
|
||||
&:not(:last-of-type):hover {
|
||||
color: rgb(51, 51, 51);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.arrow {
|
||||
margin: 0 13px;
|
||||
width: 7px;
|
||||
height: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.arc-bj {
|
||||
|
||||
@@ -35,10 +35,14 @@ 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';
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
|
||||
|
||||
const { proxy } = getCurrentInstance()
|
||||
|
||||
const route = useRoute()
|
||||
|
||||
|
||||
const props = defineProps({
|
||||
item: Object,
|
||||
});
|
||||
@@ -57,7 +61,10 @@ onMounted(() => {
|
||||
gutter: 20
|
||||
});
|
||||
|
||||
if (route.query['companyid']) pitchValue['companyid'] = route.query['companyid']
|
||||
|
||||
getData()
|
||||
|
||||
window.addEventListener('scroll', handleScroll);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user