Commit 8c1109ac by 前端

Merge branch 'hotfix_v2.0.0' of http://192.168.3.233:8090/h5/glsk-data-view-scene into hotfix_v2.0.0

2 parents 2fb0cbbe 2663beae
...@@ -27,9 +27,18 @@ ...@@ -27,9 +27,18 @@
</div> </div>
</template> </template>
<div class="chain-line-box flex y-center"> <div class="chain-line-box flex y-center">
<div class="column-line"></div> <div class="column-line">
<div class="column-line"></div> <div class="arrow"></div>
<div class="column-line"></div> <div class="arrow"></div>
</div>
<div class="column-line">
<div class="arrow"></div>
<div class="arrow"></div>
</div>
<div class="column-line">
<div class="arrow"></div>
<div class="arrow"></div>
</div>
<div class="row-line y-center"> <div class="row-line y-center">
<div class="icon flex"> <div class="icon flex">
<div class="text">数据应用</div> <div class="text">数据应用</div>
...@@ -114,37 +123,59 @@ export default { ...@@ -114,37 +123,59 @@ export default {
height: 22.88vh; height: 22.88vh;
padding-left: 85px; padding-left: 85px;
box-sizing: border-box; box-sizing: border-box;
gap: 0 129px; gap: 0 60px;
.column-line { .column-line {
width: 69px; width: 138px;
height: calc(100% - 2vh); height: calc(100% - 2vh);
position: relative; position: relative;
border-right: 4px dashed #56fefe;
box-sizing: border-box; box-sizing: border-box;
&::before, &::before,
&::after { &::after {
position: absolute;
left: 50%;
transform: translateX(-50%);
content: ''; content: '';
height: 50%;
width: 4px;
background: repeating-linear-gradient(to bottom, transparent 0% 50%, #56fefe 50% 51%);
background-size: 1px 10px;
}
&::before {
top: 0;
animation: move-dots-y 4s linear infinite;
}
&::after {
bottom: 0;
animation: move-dots-y 4s linear infinite;
animation-direction: reverse;
}
.arrow {
position: absolute; position: absolute;
width: 40px; width: 40px;
height: 3.85vh; height: 3.85vh;
background-image: url('../../assets/images/factor/right-arrow.png'); background-image: url('../../assets/images/factor/right-arrow.png');
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
right: -22px; left: 50%;
} transform: translateX(-50%);
&::before { &:first-child {
top: -1vh; top: -1vh;
transform: rotate(180deg); transform: rotate(180deg) translateX(50%);
} }
&::after { &:last-child {
bottom: -1vh; bottom: -1vh;
}
} }
} }
.row-line { .row-line {
left: 105px; left: 105px;
width: 79px; width: 79px;
border-top: 4px dashed #56fefe; height: 4px;
box-sizing: border-box; box-sizing: border-box;
background: repeating-linear-gradient(to right, transparent 0% 50%, #56fefe 50% 51%);
background-size: 10px 1px;
animation: move-dots-right 4s linear infinite;
.icon { .icon {
position: absolute; position: absolute;
left: -80px; left: -80px;
...@@ -183,7 +214,10 @@ export default { ...@@ -183,7 +214,10 @@ export default {
content: ''; content: '';
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
border-top: 4px dashed #56fefe; height: 4px;
background: repeating-linear-gradient(to right, transparent 0% 50%, #56fefe 50% 51%);
background-size: 10px 1px;
animation: move-dots-right 4s linear infinite;
} }
} }
&:nth-child(4) { &:nth-child(4) {
...@@ -202,4 +236,20 @@ export default { ...@@ -202,4 +236,20 @@ export default {
} }
} }
} }
@keyframes move-dots-right {
0% {
background-position-x: 0;
}
100% {
background-position-x: 100px;
}
}
@keyframes move-dots-y {
0% {
background-position-y: 100px;
}
100% {
background-position-x: 0;
}
}
</style> </style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!