|
@@ -1,20 +1,18 @@
|
|
|
<template>
|
|
|
<div class="list" :class="{ listHide: incoShow }">
|
|
|
- <!-- 收起之后展开 -->
|
|
|
- <div
|
|
|
- class="incoShow2"
|
|
|
- @click="incoShow = false"
|
|
|
- :class="{ incoNone: !incoShow }"
|
|
|
- >
|
|
|
- <img src="../../assets/img/menu2.png" alt="" />
|
|
|
+ <div class="incoShow" @click="incoShow = !incoShow">
|
|
|
+ <img src="../../assets/img/menu2.png" alt="" v-if="incoShow" />
|
|
|
+ <img src="../../assets/img/menu.png" alt="" v-else />
|
|
|
</div>
|
|
|
+ <!-- 收起之后展开 -->
|
|
|
+
|
|
|
<div class="topTitBox">
|
|
|
<div
|
|
|
class="oneLi"
|
|
|
@click="handleTabone({ children: [1], id: 100, name: '航拍' }, 0)"
|
|
|
:class="{ activeOne: 100 == taboneActive.id }"
|
|
|
>
|
|
|
- 航拍
|
|
|
+ 航拍全景
|
|
|
</div>
|
|
|
|
|
|
<div
|
|
@@ -36,9 +34,6 @@
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
- <div class="incoShow" @click="incoShow = true">
|
|
|
- <img src="../../assets/img/menu.png" alt="" />
|
|
|
- </div>
|
|
|
</div>
|
|
|
<div class="listBac">
|
|
|
<!-- 左右箭头 -->
|
|
@@ -101,10 +96,12 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 右下角的几个按钮 -->
|
|
|
- <div class="txtShowBtnBox">
|
|
|
- <div class="txtShowBtn2" @click="fullShow" title="全屏">
|
|
|
- <img src="../../assets/img/fullscreen.png" alt="" />
|
|
|
- </div>
|
|
|
+ <div class="txtShowBtn2" @click="fullShow">
|
|
|
+ <img
|
|
|
+ :src="require(`@/assets/img/Goods/full${isFullscreen ? 'Ac' : ''}.png`)"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ <p :class="{ acFull: isFullscreen }">全屏</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -179,6 +176,11 @@ export default {
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
+ // 从倾斜摄影进来
|
|
|
+ incoShowClose() {
|
|
|
+ this.incoShow = true;
|
|
|
+ },
|
|
|
+
|
|
|
// 点击全屏
|
|
|
fullShow() {
|
|
|
let element = document.documentElement;
|
|
@@ -338,76 +340,77 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
- created() {
|
|
|
- this.$nextTick(() => {
|
|
|
- setTimeout(() => {
|
|
|
- let i = this.scenes.findIndex((v) => v.sceneCode === this.sceneNum);
|
|
|
- if (this.scenes[i + 1]) this.handleVR(this.scenes[i + 1], i + 1);
|
|
|
- else this.handleVR(this.scenes[0], 0);
|
|
|
- }, 200);
|
|
|
- });
|
|
|
- },
|
|
|
+ created() {},
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
-.txtShowBtnBox {
|
|
|
+.txtShowBtn2 {
|
|
|
position: fixed;
|
|
|
z-index: 15;
|
|
|
- bottom: 10px;
|
|
|
- right: 15px;
|
|
|
-}
|
|
|
-.txtShowBtn2 {
|
|
|
+ top: 35px;
|
|
|
+ right: 30px;
|
|
|
+
|
|
|
+ color: #333333;
|
|
|
width: 50px;
|
|
|
- height: 50px;
|
|
|
cursor: pointer;
|
|
|
- background-image: url("../../assets/img/fullscreen.png");
|
|
|
background-size: 100% 100%;
|
|
|
+ & > img {
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ .acFull {
|
|
|
+ color: #930909;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.list {
|
|
|
transition: bottom 0.5s;
|
|
|
position: fixed;
|
|
|
- bottom: -18px;
|
|
|
+ bottom: -4px;
|
|
|
left: 0;
|
|
|
- z-index: 30;
|
|
|
+ z-index: 99;
|
|
|
text-align: center;
|
|
|
width: 100%;
|
|
|
-
|
|
|
- .incoShow2 {
|
|
|
- transition: opacity 0.5s;
|
|
|
- border-radius: 50%;
|
|
|
- background: repeating-linear-gradient(
|
|
|
- to right,
|
|
|
- rgba(75, 121, 132, 0.3),
|
|
|
- rgba(2, 42, 88, 1),
|
|
|
- rgba(2, 42, 88, 0.3)
|
|
|
- );
|
|
|
+ height: 330px;
|
|
|
+ background-image: url("../../assets/img/dalan.png");
|
|
|
+ background-size: 100% 100%;
|
|
|
+ .incoShow {
|
|
|
cursor: pointer;
|
|
|
z-index: 20;
|
|
|
- position: fixed;
|
|
|
- right: 462px;
|
|
|
- width: 50px;
|
|
|
- height: 50px;
|
|
|
- bottom: 10px;
|
|
|
+ position: absolute;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ top: 30px;
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
+ & > img {
|
|
|
+ width: 20px;
|
|
|
+ height: 18px;
|
|
|
+ }
|
|
|
}
|
|
|
- .incoNone {
|
|
|
- opacity: 0;
|
|
|
- pointer-events: none;
|
|
|
- }
|
|
|
+
|
|
|
.topTitBox {
|
|
|
+ color: #333333;
|
|
|
+ max-width: 1000px;
|
|
|
+ z-index: 10;
|
|
|
+ position: absolute;
|
|
|
+ top: 135px;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ height: 54px;
|
|
|
+ padding: 0 0px 0 85px;
|
|
|
.oneLi {
|
|
|
+ padding: 0 8px;
|
|
|
position: absolute;
|
|
|
z-index: 20;
|
|
|
- width: 100px;
|
|
|
- height: 48px;
|
|
|
+ height: 30px;
|
|
|
top: 3px;
|
|
|
left: 5px;
|
|
|
cursor: pointer;
|
|
|
- line-height: 48px;
|
|
|
+ line-height: 30px;
|
|
|
}
|
|
|
.activeOne {
|
|
|
color: #d00724;
|
|
@@ -416,69 +419,41 @@ export default {
|
|
|
opacity: 1;
|
|
|
margin-right: 15px;
|
|
|
}
|
|
|
- max-width: 1000px;
|
|
|
- z-index: 10;
|
|
|
- position: absolute;
|
|
|
- top: -60px;
|
|
|
- left: 50%;
|
|
|
- transform: translateX(-50%);
|
|
|
- height: 54px;
|
|
|
- background: repeating-linear-gradient(
|
|
|
- to right,
|
|
|
- rgba(75, 121, 132, 0.3),
|
|
|
- rgba(2, 42, 88, 1),
|
|
|
- rgba(2, 42, 88, 0.3)
|
|
|
- );
|
|
|
- padding: 0 60px 0 120px;
|
|
|
- .incoShow {
|
|
|
- cursor: pointer;
|
|
|
- z-index: 20;
|
|
|
- position: absolute;
|
|
|
- right: 5px;
|
|
|
- width: 40px;
|
|
|
- height: 40px;
|
|
|
- top: 10px;
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- & > img {
|
|
|
- width: 24px;
|
|
|
- height: 24px;
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
.topTit {
|
|
|
.row {
|
|
|
- opacity: 0.5;
|
|
|
cursor: pointer;
|
|
|
margin: 3px 10px 0;
|
|
|
- padding: 0 20px;
|
|
|
- height: 48px;
|
|
|
- line-height: 48px;
|
|
|
+ padding: 0 10px;
|
|
|
+ height: 30px;
|
|
|
+ line-height: 30px;
|
|
|
width: auto;
|
|
|
- min-width: 100px;
|
|
|
}
|
|
|
.active {
|
|
|
+ color: #d00724;
|
|
|
+ border-bottom: 2px solid #d00724;
|
|
|
pointer-events: none;
|
|
|
opacity: 1;
|
|
|
- color: #8af8ff;
|
|
|
- background-image: url("../../assets/img/selected.png");
|
|
|
- background-size: 100% 100%;
|
|
|
}
|
|
|
}
|
|
|
.listBac {
|
|
|
- width: 80%;
|
|
|
- margin: 0 auto;
|
|
|
- height: 130px;
|
|
|
- background-image: url("../../assets/img/footer.png");
|
|
|
- background-size: 100% 100%;
|
|
|
- position: relative;
|
|
|
+ width: 100%;
|
|
|
+ height: 140px;
|
|
|
+ position: absolute;
|
|
|
+ bottom: 10px;
|
|
|
+ left: 0;
|
|
|
+ .swiper-scrollbar {
|
|
|
+ background-color: #d8b275;
|
|
|
+ }
|
|
|
+ /deep/.swiper-scrollbar-drag {
|
|
|
+ background-color: #930909;
|
|
|
+ }
|
|
|
.swiper-button-prev {
|
|
|
position: absolute;
|
|
|
- left: 80px;
|
|
|
- top: 42px;
|
|
|
- width: 26px;
|
|
|
- height: 74px;
|
|
|
+ left: 30px;
|
|
|
+ top: 50%;
|
|
|
+ width: 20px;
|
|
|
+ height: 30px;
|
|
|
background: url("../../assets/img/left.png") no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
&::after {
|
|
@@ -487,10 +462,10 @@ export default {
|
|
|
}
|
|
|
.swiper-button-next {
|
|
|
position: absolute;
|
|
|
- right: 80px;
|
|
|
- top: 42px;
|
|
|
- width: 26px;
|
|
|
- height: 74px;
|
|
|
+ right: 30px;
|
|
|
+ top: 50%;
|
|
|
+ width: 20px;
|
|
|
+ height: 30px;
|
|
|
background: url("../../assets/img/right.png") no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
&::after {
|
|
@@ -502,13 +477,12 @@ export default {
|
|
|
.l-con {
|
|
|
width: 100%;
|
|
|
transition: all ease 0.3s;
|
|
|
- max-height: 0px;
|
|
|
overflow: hidden;
|
|
|
pointer-events: auto;
|
|
|
|
|
|
.pic-con {
|
|
|
border-radius: 4px;
|
|
|
- padding: 0 140px;
|
|
|
+ padding: 0 70px;
|
|
|
}
|
|
|
|
|
|
.clip-scroller {
|
|
@@ -542,58 +516,29 @@ export default {
|
|
|
width: 100%;
|
|
|
padding: 0;
|
|
|
}
|
|
|
-
|
|
|
- // &.active {
|
|
|
- // @size:5px;
|
|
|
- // &::before {
|
|
|
- // content: "";
|
|
|
- // display: inline-block;
|
|
|
- // width: 0;
|
|
|
- // height: 0;
|
|
|
- // border-left: @size * 1.5 solid transparent;
|
|
|
- // border-right: @size * 1.5 solid transparent;
|
|
|
- // border-top: @size*2 solid rgba(0, 0, 0, 0.5);
|
|
|
- // position: absolute;
|
|
|
- // top: -20px;
|
|
|
- // left: 50%;
|
|
|
- // transform: translateX(-50%);
|
|
|
- // }
|
|
|
- // }
|
|
|
}
|
|
|
}
|
|
|
.pic-list {
|
|
|
- padding: 10px 0;
|
|
|
> li {
|
|
|
cursor: pointer;
|
|
|
- width: 100px;
|
|
|
- height: 90px;
|
|
|
+ width: 180px;
|
|
|
+ height: 140px;
|
|
|
> div {
|
|
|
box-sizing: border-box;
|
|
|
width: 100%;
|
|
|
- height: 100%;
|
|
|
+ height: 140px;
|
|
|
opacity: 1;
|
|
|
border-radius: 4px;
|
|
|
- overflow: hidden;
|
|
|
position: relative;
|
|
|
cursor: pointer;
|
|
|
- &::after {
|
|
|
- content: "";
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- background-color: rgba(0, 0, 0, 0.5);
|
|
|
- }
|
|
|
+
|
|
|
.dWenZi {
|
|
|
+ color: #333333;
|
|
|
width: 100%;
|
|
|
text-align: center;
|
|
|
- padding: 5px 0;
|
|
|
- height: 36px;
|
|
|
- line-height: 36px;
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
- bottom: 0px;
|
|
|
+ bottom: 15px;
|
|
|
z-index: 10;
|
|
|
font-size: 14px;
|
|
|
padding: 0 5px;
|
|
@@ -602,11 +547,9 @@ export default {
|
|
|
white-space: nowrap;
|
|
|
}
|
|
|
> img {
|
|
|
- position: absolute;
|
|
|
- top: 50%;
|
|
|
- left: 50%;
|
|
|
- transform: translate(-50%, -50%);
|
|
|
- z-index: -1;
|
|
|
+ width: 100%;
|
|
|
+ height: 100px;
|
|
|
+ object-fit: cover;
|
|
|
}
|
|
|
.iconfont {
|
|
|
position: absolute;
|
|
@@ -626,14 +569,11 @@ export default {
|
|
|
width: 100%;
|
|
|
}
|
|
|
&.active {
|
|
|
- border: 3px solid #8af8ff;
|
|
|
- .dWenZi {
|
|
|
- background-color: rgba(0, 0, 0, 0.5);
|
|
|
- height: 30px;
|
|
|
- line-height: 30px;
|
|
|
+ & > img {
|
|
|
+ border: 3px solid #930909;
|
|
|
}
|
|
|
- &::after {
|
|
|
- background-color: transparent;
|
|
|
+ .dWenZi {
|
|
|
+ color: #930909;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -652,11 +592,10 @@ export default {
|
|
|
&.active {
|
|
|
position: relative;
|
|
|
top: 0px;
|
|
|
- max-height: 130px;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
.listHide {
|
|
|
- bottom: -300px;
|
|
|
+ bottom: -260px;
|
|
|
}
|
|
|
</style>
|