.prompt-overlay { position: fixed; /* 使提示层固定在视口 */ top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0); /* 全透明背景 */ display: none; justify-content: center; align-items: center; /* 垂直居中 */ z-index: 1000; /* 确保在最上层 */ }
.prompt-box { background: #f6f6f6; padding: 20px; border-radius: 5px; box-shadow: 0 2px 9px rgba(0, 0, 0, 0.2); }
