Commit 62b2d17e authored by youjie's avatar youjie

no message

parent 011d49d9
...@@ -355,6 +355,22 @@ ul,li{ ...@@ -355,6 +355,22 @@ ul,li{
} }
} }
@media (min-width: 1280px) { @media (min-width: 1280px) {
.MenuListItem{
bottom: 65px;
}
.MenuListLi.active .MenuListItem{
opacity: 1;
bottom: 70px;
}
.SubMenuListBox{
height: 166px;
}
.MenuListLi.active .SubMenuListBox{
height: 186px;
}
.carousel1-leftImg{
width: 100px
}
.homeContainer{ .homeContainer{
max-width: 1280px; max-width: 1280px;
padding-left: 40px; padding-left: 40px;
...@@ -386,6 +402,14 @@ ul,li{ ...@@ -386,6 +402,14 @@ ul,li{
left: -1.5rem; left: -1.5rem;
} }
} }
@media (min-width: 1366px) {
.MenuListItem{
bottom: 0;
}
.MenuListLi.active .MenuListItem{
bottom: 0px;
}
}
@media (min-width: 1440px) { @media (min-width: 1440px) {
.MenuListItem{ .MenuListItem{
bottom: 49px; bottom: 49px;
...@@ -467,12 +491,24 @@ ul,li{ ...@@ -467,12 +491,24 @@ ul,li{
} }
} }
@media (min-width: 1800px) { @media (min-width: 1800px) {
.MenuListItem{
bottom: -116px;
}
.MenuListLi.active .MenuListItem{
bottom: -16px;
}
.MenuListLi.active .SubMenuListBox{
height: 296px;
}
.MenuListBox li{ .MenuListBox li{
padding-top: 40px; padding-top: 40px;
} }
.swipercomSubEnLenR2{ .swipercomSubEnLenR2{
font-size: 2rem; font-size: 2rem;
} }
.carousel1-leftImg{
width: 128px;
}
.homeContainer{ .homeContainer{
max-width: 1440px; max-width: 1440px;
padding-left: 40px; padding-left: 40px;
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</ul> </ul>
<ul class="BottomListBox absolute row justify-center"> <ul class="BottomListBox absolute row justify-center">
<li class="q-py-sm q-px-lg relative cursor-pointer" v-for="(item,index) in plugData.BottomList" <li class="q-py-sm q-px-lg relative cursor-pointer" v-for="(item,index) in plugData.BottomList"
@click.stop="OpenNewUrl(item.LinkUrl)"> @click.stop="OpenNewUrl(item.LinkUrl)" v-if="item.LinkUrl">
<a class="text-grey-7 transition-base"> <a class="text-grey-7 transition-base">
<span class="text-xs font-serif tracking-1 pointer-events-none">{{item.LinkTitle}}</span> <span class="text-xs font-serif tracking-1 pointer-events-none">{{item.LinkTitle}}</span>
</a> </a>
...@@ -59,9 +59,13 @@ ...@@ -59,9 +59,13 @@
<div class="carousel1-right overflow-hidden relative" <div class="carousel1-right overflow-hidden relative"
:class="[windowWidth>1280?'col':'col-12']" @mouseenter="ClearData"> :class="[windowWidth>1280?'col':'col-12']" @mouseenter="ClearData">
<template v-if="windowWidth>=768"> <template v-if="windowWidth>=768">
<q-img class="carousel1-rightImg" @mouseenter="ClearData" <q-img v-if="ImgObj.FileType!=2" class="carousel1-rightImg" @mouseenter="ClearData"
:class="[oldCoverImg!=coverImg?'active':'']" :class="[oldCoverImg!=coverImg?'active':'']"
:src="coverImg" fill="contain"/> :src="coverImg" fill="contain"/>
<q-img v-else alt="" :ratio="16/9" fill="cover">
<q-video class="carousel1-rightImg" style="width: 100%;" :src="coverImg" frameborder="0"
allowfullscreen @mouseenter="ClearData"/>
</q-img>
</template> </template>
<template v-else> <template v-else>
<q-carousel <q-carousel
...@@ -103,7 +107,7 @@ ...@@ -103,7 +107,7 @@
</ul> </ul>
<ul class="BottomListBox absolute row justify-center" style="bottom: 0;"> <ul class="BottomListBox absolute row justify-center" style="bottom: 0;">
<li class="q-py-sm q-px-lg relative cursor-pointer" v-for="(item,index) in plugData.BottomList" <li class="q-py-sm q-px-lg relative cursor-pointer" v-for="(item,index) in plugData.BottomList"
@click.stop="OpenNewUrl(item.LinkUrl)"> @click.stop="OpenNewUrl(item.LinkUrl)" v-if="item.LinkUrl">
<a class="text-grey-7 transition-base"> <a class="text-grey-7 transition-base">
<span class="text-xs font-serif tracking-1 pointer-events-none">{{item.LinkTitle}}</span> <span class="text-xs font-serif tracking-1 pointer-events-none">{{item.LinkTitle}}</span>
</a> </a>
...@@ -125,6 +129,7 @@ export default { ...@@ -125,6 +129,7 @@ export default {
return { return {
isMenu: false, isMenu: false,
CurrentIndex: null, CurrentIndex: null,
ImgObj: {},
coverImg: '', coverImg: '',
oldCoverImg: '', oldCoverImg: '',
slide: 1, slide: 1,
...@@ -143,6 +148,7 @@ export default { ...@@ -143,6 +148,7 @@ export default {
}, },
mounted() { mounted() {
this.ImgObj = this.plugData.MenuList[0]
this.coverImg = this.plugData.MenuList[0].FileUrl this.coverImg = this.plugData.MenuList[0].FileUrl
this.plugData.MenuList.forEach(x=>{ this.plugData.MenuList.forEach(x=>{
if(x.FileUrl){ if(x.FileUrl){
...@@ -155,10 +161,14 @@ export default { ...@@ -155,10 +161,14 @@ export default {
this.oldCoverImg = JSON.parse(JSON.stringify(this.coverImg)) this.oldCoverImg = JSON.parse(JSON.stringify(this.coverImg))
if(this.CurrentIndex==index) return if(this.CurrentIndex==index) return
else if(index>=0) { else if(index>=0) {
this.ImgObj = {}
this.CurrentIndex = null this.CurrentIndex = null
setTimeout(()=>{ setTimeout(()=>{
this.CurrentIndex = index this.CurrentIndex = index
if(this.plugData.MenuList[index].FileUrl) this.coverImg = this.plugData.MenuList[index].FileUrl if(this.plugData.MenuList[index].FileUrl) {
this.coverImg = this.plugData.MenuList[index].FileUrl
this.ImgObj = this.plugData.MenuList[index]
}
},300) },300)
} }
}, },
...@@ -230,7 +240,6 @@ export default { ...@@ -230,7 +240,6 @@ export default {
} }
.carousel1-leftImg{ .carousel1-leftImg{
width: 128px;
display: block; display: block;
margin-top: 6rem; margin-top: 6rem;
} }
...@@ -247,7 +256,6 @@ export default { ...@@ -247,7 +256,6 @@ export default {
} }
.MenuListItem{ .MenuListItem{
position: absolute; position: absolute;
bottom: -65px;
left: 10px; left: 10px;
opacity: 0; opacity: 0;
transition: .4s; transition: .4s;
...@@ -274,12 +282,10 @@ export default { ...@@ -274,12 +282,10 @@ export default {
} }
.MenuListLi.active .MenuListItem{ .MenuListLi.active .MenuListItem{
opacity: 1; opacity: 1;
bottom: -16px;
} }
.MenuListLi.active .SubMenuListBox{ .MenuListLi.active .SubMenuListBox{
position: absolute; position: absolute;
z-index: 999; z-index: 999;
height: 296px;
opacity: 1; opacity: 1;
} }
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
</q-img> </q-img>
</template> </template>
<q-img v-else alt="" :ratio="16/9" fill="cover"> <q-img v-else alt="" :ratio="16/9" fill="cover">
<q-video class="cursor-pointer" :src="item.FileUrl" frameborder="0" <q-video class="cursor-pointer" style="width: 100%;" :src="item.FileUrl" frameborder="0"
allowfullscreen @click.stop="OpenNewUrl(item.LinkUrl)"/> allowfullscreen @click.stop="OpenNewUrl(item.LinkUrl)"/>
</q-img> </q-img>
<div class="swipercomSubEnLen absolute bg-white row items-center justify-center"> <div class="swipercomSubEnLen absolute bg-white row items-center justify-center">
...@@ -339,6 +339,7 @@ ...@@ -339,6 +339,7 @@
} }
.swipercom .swiper-slide-active{ .swipercom .swiper-slide-active{
opacity: 1; opacity: 1;
cursor: pointer !important;
} }
.swipercom.active .swiper-slide-next{ .swipercom.active .swiper-slide-next{
top: -5rem; top: -5rem;
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</q-img> </q-img>
</template> </template>
<q-img v-else alt="" :ratio="0.64" fill="cover"> <q-img v-else alt="" :ratio="0.64" fill="cover">
<q-video class="cursor-pointer" :src="item.FileUrl" frameborder="0" <q-video class="cursor-pointer" style="width: 100%;" :src="item.FileUrl" frameborder="0"
allowfullscreen @click.stop="OpenNewUrl(item.LinkUrl)"/> allowfullscreen @click.stop="OpenNewUrl(item.LinkUrl)"/>
</q-img> </q-img>
<div class="swipercomSubEnLenR2 absolute writing-modes-vertical font-serifEn"> <div class="swipercomSubEnLenR2 absolute writing-modes-vertical font-serifEn">
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
</template> </template>
</q-img> </q-img>
<q-img v-else :ratio="16/9"> <q-img v-else :ratio="16/9">
<q-video class="cursor-pointer" :src="item.FileUrl" frameborder="0" allowfullscreen @click.stop="OpenNewUrl(item.LinkUrl)"/> <q-video class="cursor-pointer" style="width: 100%;" :src="item.FileUrl" frameborder="0" allowfullscreen @click.stop="OpenNewUrl(item.LinkUrl)"/>
</q-img> </q-img>
<div class="inSliSubNameBox absolute cursor-pointer" <div class="inSliSubNameBox absolute cursor-pointer"
:style="{'background-color':windowWidth>=992?plugData.BgColor:''}" :style="{'background-color':windowWidth>=992?plugData.BgColor:''}"
......
src/statics/icons/favicon-128x128.png

11.3 KB | W: | H:

src/statics/icons/favicon-128x128.png

3.66 KB | W: | H:

src/statics/icons/favicon-128x128.png
src/statics/icons/favicon-128x128.png
src/statics/icons/favicon-128x128.png
src/statics/icons/favicon-128x128.png
  • 2-up
  • Swipe
  • Onion skin
src/statics/icons/favicon-16x16.png

1.62 KB | W: | H:

src/statics/icons/favicon-16x16.png

498 Bytes | W: | H:

src/statics/icons/favicon-16x16.png
src/statics/icons/favicon-16x16.png
src/statics/icons/favicon-16x16.png
src/statics/icons/favicon-16x16.png
  • 2-up
  • Swipe
  • Onion skin
src/statics/icons/favicon-32x32.png

2.77 KB | W: | H:

src/statics/icons/favicon-32x32.png

915 Bytes | W: | H:

src/statics/icons/favicon-32x32.png
src/statics/icons/favicon-32x32.png
src/statics/icons/favicon-32x32.png
src/statics/icons/favicon-32x32.png
  • 2-up
  • Swipe
  • Onion skin
src/statics/icons/favicon-96x96.png

8.68 KB | W: | H:

src/statics/icons/favicon-96x96.png

2.9 KB | W: | H:

src/statics/icons/favicon-96x96.png
src/statics/icons/favicon-96x96.png
src/statics/icons/favicon-96x96.png
src/statics/icons/favicon-96x96.png
  • 2-up
  • Swipe
  • Onion skin
src/statics/icons/favicon.ico

66.1 KB | W: | H:

src/statics/icons/favicon.ico

3.66 KB | W: | H:

src/statics/icons/favicon.ico
src/statics/icons/favicon.ico
src/statics/icons/favicon.ico
src/statics/icons/favicon.ico
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment