feat: 一些实现

This commit is contained in:
cc
2026-01-29 21:13:05 +08:00
parent 3c51dee9a6
commit 26fbfd2c98
5 changed files with 217 additions and 85 deletions

View File

@@ -12,6 +12,24 @@
justify-content: center;
user-select: none;
-webkit-app-region: drag;
transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
backdrop-filter: blur(25px) saturate(180%);
background-color: var(--bg-primary);
// 让背景带一点透明度以增强毛玻璃效果
opacity: 1;
&.unlocked {
opacity: 0;
pointer-events: none;
backdrop-filter: blur(0) saturate(100%);
transform: scale(1.02);
.lock-content {
transform: translateY(-20px) scale(0.95);
filter: blur(10px);
opacity: 0;
}
}
.lock-content {
display: flex;
@@ -19,7 +37,8 @@
align-items: center;
width: 320px;
-webkit-app-region: no-drag;
animation: fadeIn 0.5s ease-out;
animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
.lock-avatar {
width: 100px;