Commit d53a11d9 authored by 王晓旭's avatar 王晓旭

修改样式

parent 9b3f384b
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
@click="handleJump(item.url)" @click="handleJump(item.url)"
@mouseover="hoverItem(index)" @mouseover="hoverItem(index)"
@mouseleave="hoverleave(index)" @mouseleave="hoverleave(index)"
:style="{background: `url(${require('@/assets/images/dataActuary/'+(index+1)+'.png')})`}"> :style="{background: `url(${require('@/assets/images/dataActuary/'+(index+1)+'.png')}) no-repeat`}">
<div class="actitem_tit"> <div class="actitem_tit">
{{item.name}} {{item.name}}
</div> </div>
...@@ -169,12 +169,10 @@ export default { ...@@ -169,12 +169,10 @@ export default {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
transition: all 1s ease 0s; transition: all 1s ease 0s;
.yw{
background: url('~@/assets/images/dataActuary/1.png');
}
.act_mod_item:hover{ .act_mod_item:hover{
animation: startopen 1s normal 1 forwards; // animation: startopen 1s normal 1 forwards;
transition: all 1s ease 0s;
overflow: hidden; overflow: hidden;
flex-shrink: 0; flex-shrink: 0;
width: 551px; width: 551px;
...@@ -206,7 +204,8 @@ export default { ...@@ -206,7 +204,8 @@ export default {
} }
} }
.act_mod_item{ .act_mod_item{
animation: leaveopen .5s normal 1 forwards; // animation: leaveopen .5s normal 1 forwards;
transition: all .5s ease 0s;
flex-shrink: 0; flex-shrink: 0;
width: 170px; width: 170px;
height: 450px; height: 450px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment