Aurora Admin v1.2.0: 79 components x 5 ends, doc site, contracts batch 1, playground, regression, deploy ready
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<!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: #F5F7FA; font-family: var(--font-family, sans-serif); }
|
||||
.aa-box { position: relative; height: 200px; background: #fff; border: 1px solid #E8ECF1; 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" id="inline" style="display:none">
|
||||
<div class="aa-loading-spinner"></div>
|
||||
<div class="aa-loading-text">加载中…</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="aa-loading-overlay" id="full" style="display:none">
|
||||
<div class="aa-loading-spinner"></div>
|
||||
<div class="aa-loading-text">正在提交,请稍候</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>
|
||||
Reference in New Issue
Block a user