welcome.html
6.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link href="__PUBLIC__/static/css/index.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/static/css/perfect-scrollbar.min.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/static/css/purebox.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/static/js/jquery-ui/jquery-ui.min.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="__PUBLIC__/static/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/js/jquery-ui/jquery-ui.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/js/jquery.cookie.js"></script>
<style>
.contentWarp_item .section_select .item_comment{
padding: 83px 0 31px 38px;
}
.contentWarp_item .section_select .item {
padding: 83px 0 38px 38px;
}
.contentWarp_item .section_order_select li{
width: 23%;
}
</style>
</head>
<body class="iframe_body">
<div class="warpper">
<div class="title">管理中心</div>
<div class="content start_content">
<div class="contentWarp">
<div class="contentWarp_item clearfix">
<div class="section_select">
<a href = "{:U('manager/admin/index')}";>
<div class="item item_order">
<i class="icon"><img src="__PUBLIC__/static/images/admint.png"></i>
<div class="desc">
<div class="tit">{$count.stores}</div>
<span>商家总数</span>
</div>
<i class="icon"></i>
</div>
</a>
<a href = "{:U('manager/admin/index',array('shenghe'=>2))}";>
<div class="item item_order" onclick="audit_store()">
<i class="icon"><img src="__PUBLIC__/static/images/admint.png"></i>
<div class="desc">
<div class="tit" style="color: red">{$count.isno_audit}</div>
<span>未授权商家</span>
</div>
<i class="icon"></i>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
<div id="footer" style="position: static; bottom: 0px;">
<p>版权所有 © 美得得科技(深圳)有限公司,并保留所有权利。</p>
</div>
<script type="text/javascript">
$(function(){
$("*[data-toggle='tooltip']").tooltip({
position: {
my: "left top+5",
at: "left bottom"
}
});
});
</script>
<script type="text/javascript" src="__PUBLIC__/static/js/jquery.purebox.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/js/echart/echarts.min.js"></script>
<script type="text/javascript">
set_statistical_chart(".section_order_count .filter_date a:first", "order", "week"); //初始设置
set_statistical_chart(".section_total_count .filter_date a:first", "sale", "week"); //初始设置
function set_statistical_chart(obj, type, date)
{
var obj = $(obj);
obj.addClass("active");
obj.siblings().removeClass("active");
$.ajax({
type:'get',
url:'index.php',
data:'act=set_statistical_chart&type='+type+'&date='+date,
dataType:'json',
success:function(data){
if(type == 'order'){
var div_id = "order_main";
}
if(type == 'sale'){
var div_id = "total_main";
}
var myChart = echarts.init(document.getElementById(div_id));
myChart.setOption(data);
}
})
}
var option = {
title : {
text: ''
},
tooltip : {
trigger: 'axis',
backgroundColor:"#f5fdff",
borderColor:"#8cdbf6",
borderRadius:"4",
borderWidth:"1",
padding:"10",
textStyle:{
color:"#272727",
},
axisPointer:{
lineStyle:{
color:"#6cbd40",
}
}
},
toolbox: {
show : true,
orient:"vertical",
x:"right",
y:"60",
feature : {
magicType : {show: true, type: ['line', 'bar']},
saveAsImage : {show: true}
},
},
calculable : true,
xAxis : [
{
type : 'category',
boundaryGap : false,
axisLine:{
lineStyle:{
color:"#ccc",
width:"0",
}
},
data : ['07-01','07-02','07-03','07-04','07-05','07-06','07-07']
}
],
yAxis : [
{
type : 'value',
axisLine:{
lineStyle:{
color:"#ccc",
width:"0",
}
},
axisLabel : {
formatter: '{value}个',
}
}
],
series : [
{
name:'订单个数',
type:'line',
itemStyle:{
normal:{
color:"#6cbd40",
lineStyle:{
color:"#6cbd40",
}
}
},
data:[0, 5, 8, 3, 10, 15, 2],
markPoint : {
itemStyle:{
normal:{
color:"#6cbd40"
}
},
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
}
}
]
}
// $("#system_section").click(function(){
// $("#system_warp").slideDown();
// });
// function audit_store() {
// alert(123);
// window.href = "{:U('admin/index',array('is_audit'=>0))}";
// }
</script>
</body>
</html>