Commit 4ee5646a by 李伟康

commit 增加动画

1 parent 8c1109ac

6.75 KB | W: | H:

1.38 KB | W: | H:

src/assets/images/factor/center-bottom-arrow.png
src/assets/images/factor/center-bottom-arrow.png
src/assets/images/factor/center-bottom-arrow.png
src/assets/images/factor/center-bottom-arrow.png
  • 2-up
  • Swipe
  • Onion skin

7 KB | W: | H:

2.64 KB | W: | H:

src/assets/images/factor/center-top-arrow.png
src/assets/images/factor/center-top-arrow.png
src/assets/images/factor/center-top-arrow.png
src/assets/images/factor/center-top-arrow.png
  • 2-up
  • Swipe
  • Onion skin

126 KB | W: | H:

1.96 MB | W: | H:

src/assets/images/factor/factor-left.gif
src/assets/images/factor/factor-left.gif
src/assets/images/factor/factor-left.gif
src/assets/images/factor/factor-left.gif
  • 2-up
  • Swipe
  • Onion skin

176 KB | W: | H:

2.86 MB | W: | H:

src/assets/images/factor/factor-right.gif
src/assets/images/factor/factor-right.gif
src/assets/images/factor/factor-right.gif
src/assets/images/factor/factor-right.gif
  • 2-up
  • Swipe
  • Onion skin
......@@ -21,6 +21,10 @@
</div>
<div class="arrow">
<img src="@/assets/images/factor/center-top-arrow.png" />
<img
class="box-center"
src="@/assets/images/factor/center-top-arrow.gif"
/>
</div>
<div class="center-list flex">
<template v-for="(i,index) in centerList">
......@@ -48,6 +52,10 @@
</div>
<div class="arrow">
<img src="@/assets/images/factor/center-bottom-arrow.png" />
<img
class="box-center"
src="@/assets/images/factor/center-bottom-arrow.gif"
/>
</div>
<div class="model-title">
<div class="text">车辆数据元件</div>
......@@ -159,6 +167,7 @@ export default {
height: 3.85vh;
display: block;
margin: 0 auto;
position: relative;
}
.center-list {
justify-content: center;
......@@ -204,6 +213,7 @@ export default {
font-size: 16px;
color: #e8e8e8;
line-height: 2.5vh;
text-align: center;
}
}
&:nth-child(2) {
......
......@@ -100,7 +100,7 @@ export default {
color: #fff;
position: absolute;
text-align: center;
top: 13.08vh;
top: 12.58vh;
right: 48px;
font-size: 18px;
}
......
......@@ -23,7 +23,8 @@
class="chain-item"
:key="index"
>
<img :src="i">
<div class="border box-center"></div>
<img :src="i" class="img">
</div>
</template>
<div class="chain-line-box flex y-center">
......@@ -233,6 +234,48 @@ export default {
right: -31px;
}
}
@keyframes rotate {
100% {
transform: translate(-50%, -50%) rotate(1turn);
}
}
.border {
width: calc(100% + 2px);
height: calc(100% + 2px);
overflow: hidden;
border-radius: 12px;
&::before {
content: '';
position: absolute;
z-index: -2;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 300%;
height: 50%;
background-color: transparent;
background-repeat: no-repeat;
background-size: 50% 50%;
background-position: 0 0;
background-image: conic-gradient(#56fefe, #56fefe);
animation: rotate 4s linear infinite;
}
&::after {
content: '';
position: absolute;
z-index: -1;
left: 2px;
top: 2px;
width: calc(100% - 4px);
height: calc(100% - 4px);
background: rgb(6,33,69);
border-radius: 12px;
}
}
.img{
position: relative;
z-index: 2;
}
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!