1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
| /* Modal overlay styles */ .blur-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 255, 0.2); /* 蓝色背景 */ backdrop-filter: blur(15px); /* 增强毛玻璃效果 */ display: flex; justify-content: center; align-items: center; z-index: 1000; visibility: hidden; opacity: 0; transition: opacity 0.3s ease, visibility 0.3s ease; }
/* Modal active state */ .blur-background.active { visibility: visible; opacity: 1; }
/* Popup window styles */ .popup-window { position: relative; width: 600px; /* 调整宽度 */ height: auto; /* 调整高度 */ padding: 30px; /* 增加内边距 */ background: rgba(255, 255, 255, 0.7); /* 增强半透明效果 */ border-radius: 20px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); display: flex; flex-direction: column; /* 改为垂直布局 */ align-items: center; }
/* Menu bar styles */ .popup-window .menu-bar { position: absolute; top: 0; left: 0; width: 100%; height: 50px; background: rgba(0, 0, 0, 0.5); /* 菜单栏背景色 */ border-top-left-radius: 20px; border-top-right-radius: 20px; display: flex; justify-content: flex-end; align-items: center; }
/* Close button styles */ .popup-window .menu-bar .close-btn { background: #ff4d4d; color: #fff; border: none; border-radius: 50%; width: 30px; height: 30px; font-size: 20px; cursor: pointer; margin-right: 20px; }
/* Popup content styles */ .popup-window .content { display: flex; flex-direction: column; /* 改为垂直布局 */ align-items: center; width: 100%; margin-top: 50px; /* 增加顶部间距 */ }
/* Text styles */ .popup-window .content .text { font-weight: bold; font-size: 24px; text-align: center; max-width: 100%; margin-bottom: 20px; /* 增加底部间距 */ }
/* QR code styles */ .popup-window .content .qr-code img { max-height: 200px; max-width: 200px; cursor: pointer; transition: transform 0.3s; }
/* QR code hover effect */ .popup-window .content .qr-code img:hover { transform: scale(2); /* 放大效果 */ }
/* Image styles */ .popup-window .content .images img { max-width: 300px; max-height: 150px; margin: 10px 0; }
|