diff --git a/src/layer/next.wc b/src/layer/next.wc index bf44ef5..877a939 100644 --- a/src/layer/next.wc +++ b/src/layer/next.wc @@ -38,10 +38,7 @@ &.shift { transition: all 0.5s ease-out; } - &.scale { - transform: scale(1.02); - transition: transform 0.1s linear; - } + &.blur { backdrop-filter: blur(5px); } @@ -53,6 +50,7 @@ /* 弹层样式 */ &__title { + display: flex; width: 100%; height: 60px; padding: 15px; @@ -62,17 +60,33 @@ } &__content { + display: flex; position: relative; width: 100%; height: auto; min-height: 50px; word-break: break-all; word-wrap: break-word; + + ::slotted(&__input) { + flex: 1; + height: 32px; + } + + ::slotted(&__frame) { + display: flex; + width: 100%; + height: 100%; + margin: 0; + padding: 0; + border: 0; + resize: none; + } } &__ctrl { display: flex; - flex-direction: row-reverse; + justify-content: flex-end; width: 100%; height: 60px; padding: 15px; @@ -156,6 +170,7 @@