|
@@ -4,11 +4,9 @@
|
|
|
<img src="../../assets/images/arrow.png"/>
|
|
|
<div class="items">
|
|
|
<img
|
|
|
- class="animate__animated"
|
|
|
- :class="{animate__fadeInDown: inited ? item[2] : true}"
|
|
|
+ class="animate__animated animate__fadeInDown"
|
|
|
:src="require(`./images/${index + 1}.png`)"
|
|
|
v-for="(item, index) in items" :key="index"
|
|
|
- @mouseenter="mouseenter(index)"
|
|
|
:style="{top: item[0] + 'px', left: item[1] + 'px', 'animation-delay': (!inited ? (index * 0.3) + 's' : '0s')}"
|
|
|
/>
|
|
|
</div>
|
|
@@ -78,6 +76,10 @@ export default {
|
|
|
>img{
|
|
|
width: 120px;
|
|
|
position: absolute;
|
|
|
+ transition: all .3s ease-in-out;
|
|
|
+ &:hover{
|
|
|
+ margin-top: -10px;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|