123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link href="/assets/css/bootstrap.min.css" rel="stylesheet" />
- <link rel="stylesheet" href="/css/style.css"/>
- <link rel="stylesheet" href="/assets/css/font-awesome.min.css" />
- <link href="/assets/css/codemirror.css" rel="stylesheet">
- <script src="/assets/js/ace-extra.min.js"></script>
- <script src="/assets/js/jquery.min.js"></script>
- <script src="/assets/dist/echarts.js"></script>
- <script src="/assets/js/bootstrap.min.js"></script>
-
-
- <title></title>
- </head>
-
- <body>
- <div class="page-content clearfix">
- <div class="alert alert-block alert-success">
- <button type="button" class="close" data-dismiss="alert"><i class="icon-remove"></i></button>
- <i class="icon-ok green"></i>欢迎使用<strong class="green">淘淘商城后台管理系统<small>(v2.0)</small></strong>,你本次登陆时间为2017年3月12日13时34分,登陆IP:192.168.1.118.
- </div>
- <div class="state-overview clearfix">
- <div class="col-lg-3 col-sm-6">
- <section class="panel">
- <a href="#" title="商城会员">
- <div class="symbol terques">
- <i class="icon-user"></i>
- </div>
- <div class="value">
- <h1>34522</h1>
- <p>商城用户</p>
- </div>
- </a>
- </section>
- </div>
- <div class="col-lg-3 col-sm-6">
- <section class="panel">
- <div class="symbol red">
- <i class="icon-tags"></i>
- </div>
- <div class="value">
- <h1>140</h1>
- <p>分销记录</p>
- </div>
- </section>
- </div>
- <div class="col-lg-3 col-sm-6">
- <section class="panel">
- <div class="symbol yellow">
- <i class="icon-shopping-cart"></i>
- </div>
- <div class="value">
- <h1>345</h1>
- <p>商城订单</p>
- </div>
- </section>
- </div>
- <div class="col-lg-3 col-sm-6">
- <section class="panel">
- <div class="symbol blue">
- <i class="icon-bar-chart"></i>
- </div>
- <div class="value">
- <h1>¥34,500</h1>
- <p>交易记录</p>
- </div>
- </section>
- </div>
- </div>
- <!--实时交易记录-->
- <div class="clearfix">
- <div class="t_Record">
- <div id="main" style="height:300px; overflow:hidden; width:100%; overflow:auto" ></div>
- </div>
- <div class="news_style">
- <div class="title_name">最新消息</div>
- <ul class="list">
- <li><i class="icon-bell red"></i><a href="#">6月共处理订单3451比,作废为...</a></li>
- <li><i class="icon-bell red"></i><a href="#">7月商城活动更新。</a></li>
- <li><i class="icon-bell red"></i><a href="#">XXX商品审核通过!</a></li>
- <li><i class="icon-bell red"></i><a href="#">XXX商品审核通过!</a></li>
- <li><i class="icon-bell red"></i><a href="#">XXX商品审核通过!</a></li>
- </ul>
- </div>
- </div>
-
- <script type="text/javascript">
- $(document).ready(function(){
-
- $(".t_Record").width($(window).width()-320);
- //当文档窗口发生改变时 触发
- $(window).resize(function(){
- $(".t_Record").width($(window).width()-320);
- });
- });
-
-
- require.config({
- paths: {
- echarts: '/assets/dist'
- }
- });
- require(
- [
- 'echarts',
- 'echarts/theme/macarons',
- 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
- 'echarts/chart/bar'
- ],
- function (ec,theme) {
- var myChart = ec.init(document.getElementById('main'),theme);
- option = {
- title : {
- text: '月购买订单交易记录',
- subtext: '实时获取用户订单购买记录'
- },
- tooltip : {
- trigger: 'axis'
- },
- legend: {
- data:['所有订单','待付款','已付款','代发货']
- },
- toolbox: {
- show : true,
- feature : {
- mark : {show: true},
- dataView : {show: true, readOnly: false},
- magicType : {show: true, type: ['line', 'bar']},
- restore : {show: true},
- saveAsImage : {show: true}
- }
- },
- calculable : true,
- xAxis : [
- {
- type : 'category',
- data : ['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月']
- }
- ],
- yAxis : [
- {
- type : 'value'
- }
- ],
- series : [
- {
- name:'所有订单',
- type:'bar',
- data:[120, 49, 70, 232, 256, 767, 1356, 1622, 326, 200,164, 133],
- markPoint : {
- data : [
- {type : 'max', name: '最大值'},
- {type : 'min', name: '最小值'}
- ]
- }
- },
- {
- name:'待付款',
- type:'bar',
- data:[26, 59, 30, 84, 27, 77, 176, 1182, 487, 188, 60, 23],
- markPoint : {
- data : [
- {name : '年最高', value : 1182, xAxis: 7, yAxis: 1182, symbolSize:18},
- {name : '年最低', value : 23, xAxis: 11, yAxis: 3}
- ]
- },
-
-
- }
- , {
- name:'已付款',
- type:'bar',
- data:[26, 59, 60, 264, 287, 77, 176, 122, 247, 148, 60, 23],
- markPoint : {
- data : [
- {name : '年最高', value : 172, xAxis: 7, yAxis: 172, symbolSize:18},
- {name : '年最低', value : 23, xAxis: 11, yAxis: 3}
- ]
- },
-
- }
- , {
- name:'代发货',
- type:'bar',
- data:[26, 59, 80, 24, 87, 70, 175, 1072, 48, 18, 69, 63],
- markPoint : {
- data : [
- {name : '年最高', value : 1072, xAxis: 7, yAxis: 1072, symbolSize:18},
- {name : '年最低', value : 22, xAxis: 11, yAxis: 3}
- ]
- },
-
- }
- ]
- };
-
- myChart.setOption(option);
- }
- );
- </script>
- </div>
- </body>
- </html>
|