Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
million
Commits
7171ee3d
Commit
7171ee3d
authored
Nov 29, 2024
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
未改分辨率
parent
b450daff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
indexNav.vue
src/components/home/indexNav.vue
+6
-4
indexRoll1.vue
src/components/home/indexRoll1.vue
+1
-1
indexRoll2.vue
src/components/home/indexRoll2.vue
+3
-3
No files found.
src/components/home/indexNav.vue
View file @
7171ee3d
<
template
>
<!-- @mouseleave="ClearData" -->
<q-page
class=
"relative
gap-1 overflow-hidden animate__animated duration5"
@
mouseleave=
"ClearData"
<q-page
class=
"relative gap-1 overflow-hidden animate__animated duration5"
@
mouseleave=
"ClearData"
:style=
"
{'background-color':plugData.BgColor?plugData.BgColor:'#fff'}" style="height: 100vh;">
<div
class=
"absolute top0 right0 bottom0 left0 indexNavFormP row"
>
<div
class=
"col column carousel1-left relative"
@
mouseenter
.
stop
.
prevent=
"ClearData"
>
...
...
@@ -11,7 +11,8 @@
<img
class=
"carousel1-leftImg inline-block"
:src=
"plugData.Logo"
/>
</div>
<div
class=
"col column"
style=
"position: relative; z-index: 2;"
>
<div
class=
"column col"
@
mouseenter
.
stop
.
prevent=
"ClearData"
style=
"padding-top: 40px;flex-grow: 1;"
<div
class=
"column col"
@
mouseenter
.
stop
.
prevent=
"ClearData"
style=
"padding-top: 40px;flex-grow: 1;"
:style=
"
{'z-index': CurrentIndex==null?-2:2}">
<ul
class=
"column MenuListBox row relative"
>
<div
class=
"p-x40 row no-wrap justify-center"
>
...
...
@@ -80,8 +81,8 @@
</div>
</div>
<div
class=
"carousel1-right overflow-hidden relative"
:class=
"[windowWidth>1280?'col':'col-12']"
@
mouseenter
.
stop
.
prevent=
"ClearData"
>
<
template
v-if=
"windowWidth>=768"
>
:class=
"[windowWidth>
=
1280?'col':'col-12']"
@
mouseenter
.
stop
.
prevent=
"ClearData"
>
<
template
v-if=
"windowWidth>=768"
>
<q-img
v-if=
"ImgObj.FileType!=2"
class=
"carousel1-rightImg"
@
mouseenter
.
stop
.
prevent=
"ClearData"
:class=
"[oldCoverImg!=coverImg?'active':'']"
:src=
"coverImg"
fill=
"contain"
/>
...
...
@@ -178,6 +179,7 @@ export default {
this
.
FileUrlList
.
push
(
x
.
FileUrl
)
}
})
console
.
log
(
this
.
windowWidth
,
'---==='
)
},
methods
:
{
handleMouseEnter
(
$event
,
index
){
...
...
src/components/home/indexRoll1.vue
View file @
7171ee3d
...
...
@@ -146,7 +146,7 @@
//设置能够同时显示的数量(可设置 auto)
speed
:
1000
,
autoplay
:
{
delay
:
4
000
,
delay
:
6
000
,
stopOnLastSlide
:
false
,
disableOnInteraction
:
false
},
...
...
src/components/home/indexRoll2.vue
View file @
7171ee3d
...
...
@@ -28,7 +28,7 @@
class=
"swiper"
@
slideChange=
"onSlideChange"
>
<swiper-slide
:key=
"index"
:index=
"index"
style=
"width: 12.91vw;"
class=
"cursor-pointer swiperR2W"
v-for=
"(item, index) in plugData.NavList"
>
<div
class=
"relative"
>
<div
class=
"relative
swiperR2Hover
"
>
<template
v-if=
"item.FileType==1"
>
<q-img
:src=
"item.FileUrl"
alt=
"image"
:ratio=
"0.64"
fill=
"cover"
@
click
.
stop=
"OpenNewUrl(item.LinkUrl)"
>
...
...
@@ -408,12 +408,12 @@
padding
:
5px
20px
8px
20px
;
font-size
:
1
.1rem
;
}
.swiperR2
W
>
div
:hover
.swipercomTvR2Bj
{
.swiperR2
Hover
:hover
.swipercomTvR2Bj
{
top
:
0
;
bottom
:
0
;
opacity
:
1
;
}
.swiperR2
W
>
div
:hover
.swipercomTvR2
{
.swiperR2
Hover
:hover
.swipercomTvR2
{
top
:
0
;
bottom
:
0
;
opacity
:
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment