feat: enhance WechatModal component functionality
This commit is contained in:
parent
df4bedc186
commit
68b5b730bd
@ -216,7 +216,7 @@ onUnmounted(() => {
|
||||
}
|
||||
|
||||
.wechat-modal-container {
|
||||
width: min(320px, 90vw);
|
||||
width: min(420px, 90vw);
|
||||
background-color: var(--v-theme-surface);
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
|
||||
@ -269,13 +269,13 @@ onUnmounted(() => {
|
||||
display: inline-block;
|
||||
margin-bottom: 16px;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
|
||||
min-width: 200px;
|
||||
min-height: 200px;
|
||||
min-width: 240px;
|
||||
min-height: 240px;
|
||||
}
|
||||
|
||||
.qr-code-image {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
width: 240px;
|
||||
height: 240px;
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
transition: opacity 0.3s ease;
|
||||
@ -378,6 +378,22 @@ onUnmounted(() => {
|
||||
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
|
||||
}
|
||||
|
||||
/* 响应式布局 */
|
||||
@media (min-width: 360px) {
|
||||
.wechat-modal-container {
|
||||
width: min(420px, 90vw);
|
||||
}
|
||||
.qr-code-wrapper {
|
||||
min-width: 280px;
|
||||
min-height: 280px;
|
||||
}
|
||||
.qr-code-image {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
max-width: 280px;
|
||||
}
|
||||
}
|
||||
|
||||
/* 减少运动偏好设置 */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.wechat-modal-container,
|
||||
|
Loading…
x
Reference in New Issue
Block a user