Files
aurora-admin/site/sources/loadingoverlay/html.txt
T
aurora-admin c65a69c34e
Deploy to GitHub Pages / deploy (push) Failing after 16s
Regression / regression (push) Failing after 15m2s
feat(P4): precompute移植+app.js sources双向回填+回归1003/1003+验收体积/文件/data.json
2026-09-12 14:18:41 +08:00

36 lines
1.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Aurora Admin · LoadingOverlay(普通 H5)</title>
<link rel="stylesheet" href="../.design_library/aurora-admin/colors_and_type.css" />
<link rel="stylesheet" href="LoadingOverlay.css" />
<style>
body { margin: 0; padding: 24px; background: var(--au-color-page-bg); font-family: var(--font-family, sans-serif); }
.aa-box { position: relative; height: 200px; background: var(--au-color-card-bg); border: 1px solid var(--au-color-border); border-radius: 8px; padding: 16px; margin-top: 16px; }
</style>
</head>
<body>
<button onclick="toggleFull()">切换全屏遮罩</button>
<div class="aa-box">
局部内容区域
<button style="margin-top:8px" onclick="toggleInline()">切换局部遮罩</button>
<div class="aa-loading-overlay is-inline" role="status" aria-busy="true" id="inline" style="display:none">
<div class="aa-loading-spinner" role="status" aria-busy="true"></div>
<div class="aa-loading-text" aria-busy="true">加载中…</div>
</div>
</div>
<div class="aa-loading-overlay" role="status" aria-busy="true" id="full" style="display:none">
<div class="aa-loading-spinner" role="status" aria-busy="true"></div>
<div class="aa-loading-text" aria-busy="true">正在提交,请稍候</div>
</div>
<script>
function toggleFull() { var e = document.getElementById('full'); e.style.display = e.style.display === 'none' ? 'flex' : 'none'; }
function toggleInline() { var e = document.getElementById('inline'); e.style.display = e.style.display === 'none' ? 'flex' : 'none'; }
</script>
</body>
</html>