Commit c626b0b2 by 前端

修改动画

1 parent cdd957be
......@@ -3,7 +3,7 @@
<!-- 左箭头 开始 -->
<div class="left_arrow">
<div class="arrow_inner" @click="leftClickEvent">
<img src="@/assets/images/arrow_left.png" class="img" alt="" @click="leftClickEvent" />
<img src="@/assets/images/arrow_left.png" class="img" alt="" />
<img src="@/assets/images/arrow_circle.png" class="circle" alt="" />
</div>
</div>
......@@ -22,20 +22,11 @@
<script>
export default {
name: 'FixedArrow',
props: {
// 前一页的url参数
prevUrl: {
type: String,
default: ''
},
// 下一页的url参数
nextUrl: {
type: String,
default: ''
}
},
data() {
return {}
return {
leftCircle:'',
rightCircle:''
}
},
methods: {
// 左侧箭头点击事件
......@@ -114,6 +105,10 @@ export default {
opacity: 1;
animation: rotate360 1.2s ease-out 0s;
}
// .circleAnimate{
// opacity: 1;
// animation: rotate360 1.2s ease-out 0s;
// }
}
@keyframes rotate360 {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!