Commit 1ad52ea8 by 李伟康

commit 替换动画

1 parent 87ac6b0d
...@@ -184,7 +184,7 @@ export default { ...@@ -184,7 +184,7 @@ export default {
.showView { .showView {
z-index: 2; z-index: 2;
display: block; display: block;
animation: show-view 0.25s ; animation: show-view-left 0.25s ;
} }
.pen-box { .pen-box {
position: fixed; position: fixed;
...@@ -202,4 +202,14 @@ export default { ...@@ -202,4 +202,14 @@ export default {
height: 100%; height: 100%;
} }
} }
@keyframes show-view-left {
0%{
transform: translateX(1000%);
box-shadow: 0 8rpx 22rpx 0 #00000029;
}
100%{
transform: translateX(0);
box-shadow: 0 8rpx 22rpx 0 #00000029;
}
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!