Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-scene
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 36fd5eb7
authored
Jul 13, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
动画
1 parent
dddc63af
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
57 additions
and
75 deletions
src/assets/css/index.scss
src/views/energyCar/components/CenterModel.vue
src/views/energyCar/components/RightModel.vue
src/views/videoPage/index.vue
src/assets/css/index.scss
View file @
36fd5eb
...
@@ -183,3 +183,24 @@ img {
...
@@ -183,3 +183,24 @@ img {
-webkit-background-clip
:
text
;
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
-webkit-text-fill-color
:
transparent
;
}
}
@keyframes
float
{
0
%
{
transform
:
translateY
(
0
);
}
25
%
{
transform
:
translateY
(
-10px
);
}
50
%
{
transform
:
translateY
(
0
);
}
75
%
{
transform
:
translateY
(
10px
);
}
100
%
{
transform
:
translateY
(
0px
);
}
}
.floating-element
{
animation
:
float
5s
linear
infinite
;
}
src/views/energyCar/components/CenterModel.vue
View file @
36fd5eb
<
template
>
<
template
>
<div
class=
"center-model"
>
<div
class=
"center-model"
>
<div
class=
"card-box flex"
>
<div
class=
"card-box flex"
>
<template
v-for=
"(i,index) in topList"
>
<template
v-for=
"(i, index) in topList"
>
<div
<div
:key=
"index"
:class=
"['card-item floating-element',
{ 'hover-item': index
< 2
}]"
@
click=
"index
< 2
?
showDialog
(
index
)
:
null
"
>
:key=
"index"
<img
class=
"card-item-bg"
:src=
"topImgList[index]"
/>
:class=
"['card-item',
{'hover-item':index
< 2
}]"
<div
class=
"card-text"
>
{{
i
}}
</div>
@
click=
"index
< 2
?
showDialog
(
index
)
:
null
"
>
<img
class=
"card-item-bg"
:src=
"topImgList[index]"
/>
<div
class=
"card-text"
>
{{
i
}}
</div>
</div>
</div>
</
template
>
</
template
>
</div>
</div>
...
@@ -22,27 +15,15 @@
...
@@ -22,27 +15,15 @@
</div>
</div>
<div
class=
"arrow"
>
<div
class=
"arrow"
>
<img
src=
"@/assets/images/factor/center-top-arrow.png"
/>
<img
src=
"@/assets/images/factor/center-top-arrow.png"
/>
<img
<img
class=
"box-center"
src=
"@/assets/images/factor/center-top-arrow.gif"
/>
class=
"box-center"
src=
"@/assets/images/factor/center-top-arrow.gif"
/>
</div>
</div>
<div
class=
"center-list flex"
>
<div
class=
"center-list flex"
>
<
template
v-for=
"(i,index) in centerList"
>
<
template
v-for=
"(i, index) in centerList"
>
<div
<div
:key=
"index"
class=
"center-item"
>
:key=
"index"
<img
class=
"bg"
src=
"@/assets/images/factor/center-icon.png"
/>
class=
"center-item"
>
<img
class=
"bg"
src=
"@/assets/images/factor/center-icon.png"
/>
<div
class=
"text-box flex"
>
<div
class=
"text-box flex"
>
<div
class=
"text-title"
>
{{
i
.
title
}}
</div>
<div
class=
"text-title"
>
{{
i
.
title
}}
</div>
<div
<div
class=
"text"
v-html=
"i.text"
></div>
class=
"text"
v-html=
"i.text"
></div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -53,40 +34,25 @@
...
@@ -53,40 +34,25 @@
</div>
</div>
<div
class=
"arrow"
>
<div
class=
"arrow"
>
<img
src=
"@/assets/images/factor/center-bottom-arrow.png"
/>
<img
src=
"@/assets/images/factor/center-bottom-arrow.png"
/>
<img
<img
class=
"box-center"
src=
"@/assets/images/factor/center-bottom-arrow.gif"
/>
class=
"box-center"
src=
"@/assets/images/factor/center-bottom-arrow.gif"
/>
</div>
</div>
<div
class=
"model-title"
>
<div
class=
"model-title"
>
<div
class=
"text"
>
车辆数据元件
</div>
<div
class=
"text"
>
车辆数据元件
</div>
</div>
</div>
</div>
</div>
<div
class=
"card-box flex"
>
<div
class=
"card-box flex"
>
<
template
v-for=
"(i,index) in bottomList"
>
<
template
v-for=
"(i, index) in bottomList"
>
<div
<div
:key=
"index"
:class=
"['card-item floating-element',
{ 'hover-item': index
< 2
}]"
@
click=
"index
< 2
?
showDialog
(
index
+
2
)
:
null
"
>
:key=
"index"
<img
class=
"card-item-bg"
:src=
"bottomImgList[index]"
/>
:class=
"['card-item',
{'hover-item':index
< 2
}]"
<div
class=
"card-text"
>
{{
i
}}
</div>
@
click=
"index
< 2
?
showDialog
(
index
+
2
)
:
null
"
>
<img
class=
"card-item-bg"
:src=
"bottomImgList[index]"
/>
<div
class=
"card-text"
>
{{
i
}}
</div>
</div>
</div>
</
template
>
</
template
>
</div>
</div>
<dialog-box
<dialog-box
:isShowDialog
.
sync=
"isShowDialog"
:backgroundImageList=
"backgroundImageList"
:currentIndex
.
sync=
"currentIndex"
:titleList=
"titleList"
/>
:isShowDialog
.
sync=
"isShowDialog"
:backgroundImageList=
"backgroundImageList"
:currentIndex
.
sync=
"currentIndex"
:titleList=
"titleList"
/>
</div>
</div>
</template>
</template>
<
script
type=
'text/ecmascript-6'
>
<
script
type=
"text/ecmascript-6"
>
import
DialogBox
from
'./DialogBox.vue'
import
DialogBox
from
'./DialogBox.vue'
export
default
{
export
default
{
name
:
''
,
name
:
''
,
...
@@ -136,7 +102,7 @@ export default {
...
@@ -136,7 +102,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
"scss"
>
.center-model
{
.center-model
{
width
:
1028px
;
width
:
1028px
;
height
:
83.65vh
;
height
:
83.65vh
;
...
...
src/views/energyCar/components/RightModel.vue
View file @
36fd5eb
...
@@ -4,34 +4,28 @@
...
@@ -4,34 +4,28 @@
<div
class=
"text"
>
数据产品
</div>
<div
class=
"text"
>
数据产品
</div>
</div>
</div>
<div
class=
"gif"
>
<div
class=
"gif"
>
<div
class=
"gif-text"
>
数据脱敏
<br>
数据鉴权
<br>
数据分发
</div>
<div
class=
"gif-text"
>
数据脱敏
<br
/>
数据鉴权
<br
/>
数据分发
</div>
<img
src=
"@/assets/images/factor/factor-right.gif"
/>
<img
src=
"@/assets/images/factor/factor-right.gif"
/>
</div>
</div>
<div
class=
"num-box flex"
>
<div
class=
"num-box flex"
>
<template
v-for=
"(i,index) in numList"
>
<template
v-for=
"(i, index) in numList"
>
<div
<div
class=
"num-item floating-element"
:key=
"index"
>
class=
"num-item"
<img
:src=
"i"
/>
:key=
"index"
<img
:src=
"numMask[index]"
class=
"light x-center"
/>
>
<img
:src=
"i"
>
<img
:src=
"numMask[index]"
class=
"light x-center"
>
</div>
</div>
</
template
>
</
template
>
</div>
</div>
<div
class=
"chain-box"
>
<div
class=
"chain-box"
>
<
template
v-for=
"(i,index) in chainList"
>
<
template
v-for=
"(i, index) in chainList"
>
<div
<div
class=
"chain-item"
:key=
"index"
>
class=
"chain-item"
:key=
"index"
>
<div
class=
"border box-center"
></div>
<div
class=
"border box-center"
></div>
<img
<img
:src=
"i"
class=
"img"
/>
:src=
"i"
class=
"img"
>
</div>
</div>
</
template
>
</
template
>
<div
class=
"chain-line-box flex y-center"
>
<div
class=
"chain-line-box flex y-center"
>
...
@@ -57,7 +51,7 @@
...
@@ -57,7 +51,7 @@
</div>
</div>
</template>
</template>
<
script
type=
'text/ecmascript-6'
>
<
script
type=
"text/ecmascript-6"
>
export
default
{
export
default
{
name
:
''
,
name
:
''
,
data
()
{
data
()
{
...
@@ -91,7 +85,7 @@ export default {
...
@@ -91,7 +85,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
"scss"
>
@import
url('./model.scss')
;
@import
url('./model.scss')
;
.model
{
.model
{
background-image
:
url('../../../assets/images/factor/factor-right.png')
;
background-image
:
url('../../../assets/images/factor/factor-right.png')
;
...
@@ -309,7 +303,7 @@ export default {
...
@@ -309,7 +303,7 @@ export default {
&
:nth-child
(
5
)
{
&
:nth-child
(
5
)
{
.border
{
.border
{
&::before
{
&::before
{
animation
:
rotate
8s
.5s
linear
infinite
;
animation
:
rotate
8s
0
.5s
linear
infinite
;
}
}
}
}
}
}
...
...
src/views/videoPage/index.vue
View file @
36fd5eb
...
@@ -79,6 +79,7 @@ export default {
...
@@ -79,6 +79,7 @@ export default {
},
},
beforeDestroy
()
{
beforeDestroy
()
{
document
.
removeEventListener
(
'keydown'
,
this
.
handleDown
)
document
.
removeEventListener
(
'keydown'
,
this
.
handleDown
)
// this.$refs.video.pause()
}
}
}
}
</
script
>
</
script
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment