|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div
|
|
|
- class="bar-list test"
|
|
|
+ class="bar-list"
|
|
|
v-if="
|
|
|
show &&
|
|
|
!(
|
|
@@ -131,7 +131,7 @@ const { t } = useI18n({ useScope: "global" });
|
|
|
|
|
|
const store = useStore();
|
|
|
|
|
|
-const spanlength = ref(5);
|
|
|
+const spanlength = ref(window.innerWidth > 1750 ? 12 : 5);
|
|
|
|
|
|
const metadata = computed(() => store.getters["scene/metadata"]);
|
|
|
const scenes = computed(() => store.getters["scene/list"]);
|
|
@@ -216,7 +216,7 @@ const loadList = () => {
|
|
|
let tmp = new Swiper(item, {
|
|
|
slidesPerView: "auto",
|
|
|
centeredSlides: true,
|
|
|
- spaceBetween: 10,
|
|
|
+ spaceBetween: window.innerWidth > 1750 ? 72 : 10,
|
|
|
centerInsufficientSlides: true,
|
|
|
centeredSlidesBounds: true,
|
|
|
freeMode: true,
|
|
@@ -265,7 +265,10 @@ onMounted(() => {
|
|
|
transition: 0.3s all ease;
|
|
|
z-index: 9;
|
|
|
width: 100%;
|
|
|
-
|
|
|
+ @media only screen and (min-width: 1750px){
|
|
|
+ bottom: 0;
|
|
|
+ padding-top: 40px;
|
|
|
+ }
|
|
|
.swiper-container {
|
|
|
width: 100%;
|
|
|
position: relative;
|
|
@@ -304,24 +307,38 @@ onMounted(() => {
|
|
|
padding: 10px 0;
|
|
|
width: 100%;
|
|
|
background: rgba(0, 0, 0, 0.8);
|
|
|
+ @media only screen and (min-width: 1750px){
|
|
|
+ margin-bottom: initial;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
#swcatalogRoot {
|
|
|
padding: 0 15px;
|
|
|
-
|
|
|
+ @media only screen and (min-width: 1750px){
|
|
|
+ position: absolute;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ bottom: 230px;
|
|
|
+ }
|
|
|
> ul {
|
|
|
> li {
|
|
|
width: 104px;
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
border-radius: 4px;
|
|
|
- padding: 4px 10px;
|
|
|
+ padding: 3px 10px;
|
|
|
border: 1px solid rgba(255, 255, 255, 0.5);
|
|
|
box-sizing: border-box;
|
|
|
overflow: hidden;
|
|
|
-
|
|
|
+ @media only screen and (min-width: 1750px){
|
|
|
+ width: 156px;
|
|
|
+ font-size: 18px;
|
|
|
+ }
|
|
|
> span {
|
|
|
width: 100%;
|
|
|
word-break: keep-all;
|
|
|
+ @media only screen and (min-width: 1750px){
|
|
|
+ font-family: kaiti;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
&.active {
|
|
@@ -341,10 +358,16 @@ onMounted(() => {
|
|
|
box-sizing: border-box;
|
|
|
overflow: hidden;
|
|
|
padding-bottom: 6px;
|
|
|
-
|
|
|
+ @media only screen and (min-width: 1750px){
|
|
|
+ width: 180px;
|
|
|
+ }
|
|
|
> span {
|
|
|
width: 100%;
|
|
|
word-break: keep-all;
|
|
|
+ @media only screen and (min-width: 1750px){
|
|
|
+ font-size: 20px;
|
|
|
+ font-family: kaiti;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
&.active {
|
|
@@ -378,7 +401,10 @@ onMounted(() => {
|
|
|
background-size: cover;
|
|
|
position: relative;
|
|
|
overflow: hidden;
|
|
|
-
|
|
|
+ @media only screen and (min-width: 1750px){
|
|
|
+ width: 250px;
|
|
|
+ height: 140px;
|
|
|
+ }
|
|
|
.iconfont {
|
|
|
position: absolute;
|
|
|
left: 4px;
|
|
@@ -399,7 +425,6 @@ onMounted(() => {
|
|
|
filter: blur(4px);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
> div {
|
|
|
position: absolute;
|
|
|
bottom: 0;
|
|
@@ -414,6 +439,14 @@ onMounted(() => {
|
|
|
line-height: 20px;
|
|
|
word-break: keep-all;
|
|
|
}
|
|
|
+ @media only screen and (min-width: 1750px){
|
|
|
+ height: 40px;
|
|
|
+ > span {
|
|
|
+ font-size: 20px;
|
|
|
+ line-height: 40px;
|
|
|
+ font-family: kaiti;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
&.active {
|
|
@@ -432,7 +465,11 @@ onMounted(() => {
|
|
|
.barshow {
|
|
|
max-height: 190px;
|
|
|
}
|
|
|
-
|
|
|
+@media only screen and (min-width: 1750px){
|
|
|
+ .barshow {
|
|
|
+ max-height: initial;
|
|
|
+ }
|
|
|
+}
|
|
|
@keyframes wordsLoop {
|
|
|
0% {
|
|
|
transform: translateX(100%);
|