...
|
...
|
@@ -89,7 +89,7 @@ |
|
|
</p>
|
|
|
</div>
|
|
|
<div class="group-list swiper-area" v-if="floor.length > 0">
|
|
|
<swipe class="swipe" :style="{height: floorHeight + 'px'}">
|
|
|
<swipe v-if="floor.length > 0" class="swipe" :style="{height: floorHeight + 'px'}">
|
|
|
<swipe-item v-for="item in floor" :key="item.src" :style="{backgroundColor: item.bgColor}">
|
|
|
<a v-blk-href="item.url" :title="item.title" v-if="item.url">
|
|
|
<img v-img-src="{src: item.src, width: floorImgW, height: floorImgH}">
|
...
|
...
|
@@ -185,9 +185,18 @@ |
|
|
this.floor = ret[0].data.list;
|
|
|
this.floorImgW = ret[0].data.imageWidth;
|
|
|
this.floorImgH = ret[0].data.imageHeight;
|
|
|
setTimeout(() => {
|
|
|
this.floorHeight = $('.swipe img').height();
|
|
|
}, 200);
|
|
|
this.$nextTick(() => {
|
|
|
let $img = document.querySelector('.swipe img');
|
|
|
|
|
|
if ($img) {
|
|
|
let img = new Image();
|
|
|
|
|
|
img.onload = () => {
|
|
|
this.floorHeight = document.querySelector('.swipe img').clientHeight;
|
|
|
};
|
|
|
img.src = $img.src;
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
|
...
|
...
|
@@ -303,6 +312,7 @@ |
|
|
}
|
|
|
|
|
|
this.$refs.header.$el.classList.toggle('ghost', ghost);
|
|
|
this.$refs.header.$el.classList.toggle('hide', ghost);
|
|
|
this.$refs.header.$el.classList.toggle('ghost-2', ghost2);
|
|
|
this.$refs.header.$el.classList.toggle('ghost-3', ghost3);
|
|
|
}
|
...
|
...
|
@@ -415,7 +425,7 @@ |
|
|
.vip-level {
|
|
|
display: block;
|
|
|
width: 100px;
|
|
|
height: 36px;
|
|
|
height: 38px;
|
|
|
position: relative;
|
|
|
bottom: 50px;
|
|
|
left: 185px;
|
...
|
...
|
@@ -423,7 +433,7 @@ |
|
|
|
|
|
.level-1,
|
|
|
.level-2 {
|
|
|
background-size: 100%;
|
|
|
background-size: contain;
|
|
|
}
|
|
|
|
|
|
.level-1 {
|
...
|
...
|
|