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
85e8c3ae
Commit
85e8c3ae
authored
Nov 26, 2024
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
32dc3a47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
indexNav.vue
src/components/home/indexNav.vue
+10
-9
No files found.
src/components/home/indexNav.vue
View file @
85e8c3ae
<
template
>
<
template
>
<q-page
class=
"relative gap-1 overflow-hidden"
@
mousemove=
"ClearData"
@
mouseleave=
"ClearData"
<!-- @mouseleave="ClearData" -->
<q-page
class=
"relative gap-1 overflow-hidden"
@
mouseleave=
"ClearData"
:style=
"
{'background-color':plugData.BgColor?plugData.BgColor:'#fff'}" style="height: 100vh;">
:style=
"
{'background-color':plugData.BgColor?plugData.BgColor:'#fff'}" style="height: 100vh;">
<div
class=
"absolute top0 right0 bottom0 left0 indexNavFormP row"
>
<div
class=
"absolute top0 right0 bottom0 left0 indexNavFormP row"
>
<div
class=
"col column carousel1-left relative"
>
<div
class=
"col column carousel1-left relative"
@
mouseenter=
"ClearData"
>
<div
class=
"row justify-center"
>
<div
class=
"row justify-center"
@
mouseenter=
"ClearData"
>
<q-img
class=
"carousel1-leftImg"
width=
"8rem"
:src=
"plugData.Logo"
/>
<q-img
class=
"carousel1-leftImg"
width=
"8rem"
:src=
"plugData.Logo"
/>
</div>
</div>
<div
class=
"p-x40 col row justify-center"
>
<div
class=
"p-x40 col row justify-center"
@
mouseenter=
"ClearData"
>
<ul
class=
"row no-wrap MenuListBox row justify-center"
>
<ul
class=
"row no-wrap MenuListBox row justify-center"
>
<template
v-for=
"(item,index) in plugData.MenuList"
>
<template
v-for=
"(item,index) in plugData.MenuList"
>
<li
class=
"MenuListLi row justify-center cursor-pointer animate__animated"
<li
class=
"MenuListLi row justify-center cursor-pointer animate__animated"
:class=
"[CurrentIndex>=0&&CurrentIndex==index?'animate__bounceInUp active':'animate__bounceOutUp']"
:class=
"[CurrentIndex>=0&&CurrentIndex==index?'animate__bounceInUp active':'animate__bounceOutUp']"
v-on:mouseenter=
"handleMouseEnter($event,index)"
@
mouseleave=
"ClearData"
>
v-on:mouseenter=
"handleMouseEnter($event,index)"
>
<div
class=
"cursor-pointer flex flex-col items-center relative justify-end"
>
<div
class=
"cursor-pointer flex flex-col items-center relative justify-end"
>
<div
class=
"row min-w-50px"
>
<div
class=
"row min-w-50px"
>
<div
class=
"font-serifEn writing-modes-vertical p text-gray-700"
>
<div
class=
"font-serifEn writing-modes-vertical p text-gray-700"
>
...
@@ -40,7 +41,7 @@
...
@@ -40,7 +41,7 @@
</
template
>
</
template
>
</div>
</div>
</div>
</div>
</li>
</li>
</template>
</template>
</ul>
</ul>
...
@@ -55,9 +56,9 @@
...
@@ -55,9 +56,9 @@
</div>
</div>
</div>
</div>
<div
class=
"carousel1-right overflow-hidden relative"
<div
class=
"carousel1-right overflow-hidden relative"
:class=
"[windowWidth>1280?'col-7':'col-12']"
>
:class=
"[windowWidth>1280?'col-7':'col-12']"
@
mouseenter=
"ClearData"
>
<
template
v-if=
"windowWidth>=768"
>
<
template
v-if=
"windowWidth>=768"
>
<q-img
class=
"carousel1-rightImg animate__animated"
<q-img
class=
"carousel1-rightImg animate__animated"
@
mouseenter=
"ClearData"
:class=
"[oldCoverImg!=coverImg?'active animate__bounceInUp':'animate__bounceOutUp']"
:class=
"[oldCoverImg!=coverImg?'active animate__bounceInUp':'animate__bounceOutUp']"
:src=
"coverImg"
fill=
"contain"
/>
:src=
"coverImg"
fill=
"contain"
/>
</
template
>
</
template
>
...
@@ -125,7 +126,7 @@ export default {
...
@@ -125,7 +126,7 @@ export default {
},
300
)
},
300
)
}
}
},
},
ClearData
(){
ClearData
(
type
){
this
.
CurrentIndex
=
null
this
.
CurrentIndex
=
null
}
}
}
}
...
...
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