追加毛玻璃效果

This commit is contained in:
aixianling
2023-10-09 19:23:39 +08:00
parent 656b4be0c3
commit 6f6dc79702
2 changed files with 98 additions and 94 deletions

View File

@@ -88,6 +88,5 @@ export default {
.AiSummary { .AiSummary {
width: 100%; width: 100%;
height: 100%; height: 100%;
backdrop-filter: blur(1px);
} }
</style> </style>

View File

@@ -76,6 +76,7 @@
display: flex; display: flex;
position: relative; position: relative;
align-items: center; align-items: center;
backdrop-filter: blur(1px);
.right { .right {
min-width: 90px; min-width: 90px;
@@ -100,20 +101,24 @@
background-image: url(./../asset/corner.svg); background-image: url(./../asset/corner.svg);
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.corner.left-top { .corner.left-top {
left: -6px; left: -6px;
top: -6px; top: -6px;
transform: rotateY(180deg); transform: rotateY(180deg);
} }
.corner.right-top { .corner.right-top {
right: -6px; right: -6px;
top: -6px; top: -6px;
} }
.corner.left-bottom { .corner.left-bottom {
left: -6px; left: -6px;
bottom: -6px; bottom: -6px;
transform: rotateX(180deg) rotateY(180deg); transform: rotateX(180deg) rotateY(180deg);
} }
.corner.right-bottom { .corner.right-bottom {
right: -6px; right: -6px;
bottom: -6px; bottom: -6px;