|
@@ -89,7 +89,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div
|
|
|
- class="swiper-container"
|
|
|
+ class="group-level-1 swiper-container"
|
|
|
id="swcatalogRoot"
|
|
|
:style="`width:${Math.min(catalogRootW, innerW)}px;
|
|
|
padding:${catalogRootW > innerW ? '0 15px' : '0'}`"
|
|
@@ -131,7 +131,7 @@ const { t } = useI18n({ useScope: "global" });
|
|
|
|
|
|
const store = useStore();
|
|
|
|
|
|
-const spanlength = ref(window.innerWidth > 1750 ? 12 : 5);
|
|
|
+const spanlength = ref(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: window.innerWidth > 1750 ? 72 : 10,
|
|
|
+ spaceBetween: window.innerWidth > 1234 ? 36 : 10,
|
|
|
centerInsufficientSlides: true,
|
|
|
centeredSlidesBounds: true,
|
|
|
freeMode: true,
|
|
@@ -265,9 +265,9 @@ onMounted(() => {
|
|
|
transition: 0.3s all ease;
|
|
|
z-index: 9;
|
|
|
width: 100%;
|
|
|
- @media only screen and (min-width: 1750px){
|
|
|
+ @media only screen and (min-width: 1234px){
|
|
|
bottom: 0;
|
|
|
- padding-top: 40px;
|
|
|
+ padding-top: 100px;
|
|
|
}
|
|
|
.swiper-container {
|
|
|
width: 100%;
|
|
@@ -307,18 +307,18 @@ onMounted(() => {
|
|
|
padding: 10px 0;
|
|
|
width: 100%;
|
|
|
background: rgba(0, 0, 0, 0.8);
|
|
|
- @media only screen and (min-width: 1750px){
|
|
|
+ @media only screen and (min-width: 1234px){
|
|
|
margin-bottom: initial;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
#swcatalogRoot {
|
|
|
padding: 0 15px;
|
|
|
- @media only screen and (min-width: 1750px){
|
|
|
+ @media only screen and (min-width: 1234px){
|
|
|
position: absolute;
|
|
|
left: 50%;
|
|
|
transform: translateX(-50%);
|
|
|
- bottom: 230px;
|
|
|
+ bottom: 150px;
|
|
|
}
|
|
|
> ul {
|
|
|
> li {
|
|
@@ -329,14 +329,14 @@ onMounted(() => {
|
|
|
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;
|
|
|
+ @media only screen and (min-width: 1234px){
|
|
|
+ width: 100px;
|
|
|
+ font-size: 16px;
|
|
|
}
|
|
|
> span {
|
|
|
width: 100%;
|
|
|
word-break: keep-all;
|
|
|
- @media only screen and (min-width: 1750px){
|
|
|
+ @media only screen and (min-width: 1234px){
|
|
|
font-family: kaiti;
|
|
|
}
|
|
|
}
|
|
@@ -358,14 +358,14 @@ onMounted(() => {
|
|
|
box-sizing: border-box;
|
|
|
overflow: hidden;
|
|
|
padding-bottom: 6px;
|
|
|
- @media only screen and (min-width: 1750px){
|
|
|
- width: 180px;
|
|
|
+ @media only screen and (min-width: 1234px){
|
|
|
+ width: 90px;
|
|
|
}
|
|
|
> span {
|
|
|
width: 100%;
|
|
|
word-break: keep-all;
|
|
|
- @media only screen and (min-width: 1750px){
|
|
|
- font-size: 20px;
|
|
|
+ @media only screen and (min-width: 1234px){
|
|
|
+ font-size: 16px;
|
|
|
font-family: kaiti;
|
|
|
}
|
|
|
}
|
|
@@ -401,9 +401,9 @@ onMounted(() => {
|
|
|
background-size: cover;
|
|
|
position: relative;
|
|
|
overflow: hidden;
|
|
|
- @media only screen and (min-width: 1750px){
|
|
|
- width: 250px;
|
|
|
- height: 140px;
|
|
|
+ @media only screen and (min-width: 1234px){
|
|
|
+ width: 125px;
|
|
|
+ height: 70px;
|
|
|
}
|
|
|
.iconfont {
|
|
|
position: absolute;
|
|
@@ -439,11 +439,11 @@ onMounted(() => {
|
|
|
line-height: 20px;
|
|
|
word-break: keep-all;
|
|
|
}
|
|
|
- @media only screen and (min-width: 1750px){
|
|
|
- height: 40px;
|
|
|
+ @media only screen and (min-width: 1234px){
|
|
|
+ height: 20px;
|
|
|
> span {
|
|
|
- font-size: 20px;
|
|
|
- line-height: 40px;
|
|
|
+ font-size: 16px;
|
|
|
+ line-height: 20px;
|
|
|
font-family: kaiti;
|
|
|
}
|
|
|
}
|
|
@@ -465,7 +465,7 @@ onMounted(() => {
|
|
|
.barshow {
|
|
|
max-height: 190px;
|
|
|
}
|
|
|
-@media only screen and (min-width: 1750px){
|
|
|
+@media only screen and (min-width: 1234px){
|
|
|
.barshow {
|
|
|
max-height: initial;
|
|
|
}
|