module/flk/themes/admin/flk_stat/index.html

(完整代码) 1KB

<!DOCTYPE html>
<html>
	{include file="head.html"}
	<body>
		<div class="tabs-border">
			<div class="item active">订单统计</div>
		</div>
		<div class="main">
		<div id="pv" style="width: 100%;height:400px;"></div>
		</div>
		{include file="footer.html"}
		<script src="/plugin/echarts/echarts.common.min.js"></script>
		<script>
		var myChart = echarts.init(document.getElementById('pv'));
		getPvStat();
		function getPvStat(){
			$.get("/moduleadmin.php?m=flk_stat&a=data&ajax=1",function(res){
				var option = {
				    title: {
				        text: ''
				    },
				    tooltip: {
						trigger: 'axis'
					},
					legend: {
						data:['订单金额']
					},
				    xAxis: {
						type: 'category',
						data: res.data.labels
					},
					yAxis: {
						type: 'value'
					},
					series: [
						{
							name:"订单金额",
							data: res.data.orderMoneys,
							type: 'line',
							smooth: true
						}			
						
					]
				};
				 myChart.setOption(option);
			},"json")
		}
		</script>
	</body>
</html>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。