Commit 157cc8f3 by liimin

调整logo动画

1 parent 25266efa
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: lizhijie429 * @Author: lizhijie429
* @Date: 2021-08-19 11:16:08 * @Date: 2021-08-19 11:16:08
* @LastEditors: limin * @LastEditors: limin
* @LastEditTime: 2023-11-17 15:20:11 * @LastEditTime: 2023-11-17 15:47:40
* @Description: * @Description:
--> -->
<template> <template>
...@@ -75,14 +75,14 @@ export default { ...@@ -75,14 +75,14 @@ export default {
top: 50%; top: 50%;
left: 50%; left: 50%;
&:nth-child(1) { &:nth-child(1) {
opacity: 1; // opacity: 1;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
} }
&:nth-child(2) { &:nth-child(2) {
opacity: 0; // opacity: 0;
transform: translate(204px, -50%); transform: translate(112px, -50%);
} }
transition: transform 0.2s ease-in-out, opacity 0.3s linear; transition: transform 0.18s ease, opacity 0.2s ease;
} }
&.collapse { &.collapse {
i { i {
...@@ -90,11 +90,11 @@ export default { ...@@ -90,11 +90,11 @@ export default {
} }
.el-image { .el-image {
&:nth-child(1) { &:nth-child(1) {
opacity: 0; // opacity: 0;
transform: translate(-184px, -50%); transform: translate(-208px, -50%);
} }
&:nth-child(2) { &:nth-child(2) {
opacity: 1; // opacity: 1;
transform: translate(-50%, -50%); 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!