Commit 3dc93d86 by liimin

动画添加opacity

1 parent 157cc8f3
......@@ -2,7 +2,7 @@
* @Author: lizhijie429
* @Date: 2021-08-19 11:16:08
* @LastEditors: limin
* @LastEditTime: 2023-11-17 15:47:40
* @LastEditTime: 2023-11-17 17:39:01
* @Description:
-->
<template>
......@@ -75,11 +75,11 @@ export default {
top: 50%;
left: 50%;
&:nth-child(1) {
// opacity: 1;
opacity: 1;
transform: translate(-50%, -50%);
}
&:nth-child(2) {
// opacity: 0;
opacity: 0;
transform: translate(112px, -50%);
}
transition: transform 0.18s ease, opacity 0.2s ease;
......@@ -90,11 +90,11 @@ export default {
}
.el-image {
&:nth-child(1) {
// opacity: 0;
opacity: 0;
transform: translate(-208px, -50%);
}
&:nth-child(2) {
// opacity: 1;
opacity: 1;
transform: translate(-50%, -50%);
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!