更新:ajax 载入动图更新

This commit is contained in:
杨水淼
2025-07-19 10:01:53 +08:00
parent de11c31f0b
commit bd4f92d465
5 changed files with 108 additions and 15 deletions
-5
View File
@@ -26,8 +26,6 @@ include_once "html/head.php";
<div class="spinner"></div>
<p style="font-size:18px; color:#2c3e50;">正在加载数据,请稍候...</p>
</div>
</div>
<div id="pe_ttm" style="width: 1000px; height:400px; margin: 0 auto 20px;"></div>
<div id="pb" style="width: 1000px; height:400px; margin: 0 auto 20px;"></div>
<div id="ps" style="width: 1000px; height:400px; margin: 0 auto 20px;"></div>
@@ -38,9 +36,6 @@ include_once "html/head.php";
<script>
// 页面加载时初始化图表
$(document).ready(function() {
// 设置默认值
$('#code').val('<?= $_REQUEST['code'] ?>');
$('#se').val('<?= $_REQUEST['se'] ?>');
// 加载初始数据
loadChartData();