Files
aurora-admin/site/sources/chartpanel/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

34 lines
1.5 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 · ChartPanel(普通 H5)</title>
<link rel="stylesheet" href="../.design_library/aurora-admin/colors_and_type.css" />
<link rel="stylesheet" href="ChartPanel.css" />
<style>body{margin:0;padding:24px;background: var(--au-color-page-bg);}</style>
</head>
<body>
<div class="aa-chartpanel" id="panel">
<div class="aa-chartpanel-head">
<span class="aa-chartpanel-title">访问趋势</span>
<div class="aa-chartpanel-tools">
<button class="aa-chartpanel-tool" id="refresh">刷新</button>
<button class="aa-chartpanel-tool" id="export">导出</button>
<button class="aa-chartpanel-tool aa-chartpanel-caret" id="toggle">▾</button>
</div>
</div>
<div class="aa-chartpanel-body" id="body">
<div style="height:160px;background:linear-gradient(135deg,var(--color-brand-bg),var(--color-border));border-radius:6px;display:flex;align-items:center;justify-content:center;color:var(--color-brand);">图表区域(可放置折线/柱状/饼图)</div>
</div>
</div>
<script>
var panel = document.getElementById('panel');
document.getElementById('toggle').onclick = function () { panel.classList.toggle('is-collapsed'); };
document.getElementById('refresh').onclick = function () { alert('刷新图表'); };
document.getElementById('export').onclick = function () { alert('导出图表'); };
</script>
</body>
</html>