<meta charset="utf-8" & gt;
<script SRC="https://bbs.csdn.net/static/js/jquery-3.1.1.min.js" & gt; </script>
<script SRC="https://bbs.csdn.net/static/js/echarts.min.js" & gt; </script>
<script SRC="https://bbs.csdn.net/static/js/henan.js" & gt; </script>
<link rel="stylesheet" href="https://bbs.csdn.net/topics/{{url_for (' static ', filename=" CSS/main CSS ', _external=True)}} "& gt;
<style>
</style>
<body>
<script SRC="https://bbs.csdn.net/static/js/henan_center.js" & gt; </script>
<script>
The function gettime () {
$. Ajax ({
Url:/time,
Timeout: 10000,//timeout is set to 10 seconds;
Success: the function (data) {
$(" # Tim "). The HTML (data)
},
Error: function (XHR, type, errorThrown) {
}
});
}
The function getdata () {}
$. Ajax ({
Url:/ABC,
Timeout: 10000,//timeout is set to 10 seconds;
Success: the function (data) {
$(" num h1 "). Eq (0). The text (data [' confirm '])
$(" num h1 "). Eq. (1) the text (data [' at heal])
$(" num h1 "). Eq. (2) the text (data [' dead '])
$(" num h1 "). Eq. (3) the text (data [' WZZ '])
},
Error: function (XHR, type, errorThrown) {
}
});
//setInterval (gettime, 1000)
</script>