main.html
21.3 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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
<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="__WEBPUBLIC__/static/js/jquery-ui/jquery-ui.min.js?v=__CSSVERSION__"></script>
<script type="text/javascript" src="__PUBLIC__/static/js/jquery.cookie.js"></script>
</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">
<div class="item item_price">
<i class="icon"><img src="__PUBLIC__/static/images/1.png" width="71" height="74"></i>
<div class="desc">
<div class="tit"><!----><em>¥</em>0.00<!----></div>
<span>今日销售总额</span>
</div>
</div>
<div class="item item_order">
<i class="icon"><img src="__PUBLIC__/static/images/2.png"></i>
<div class="desc">
<div class="tit">1</div>
<span>今日订单总数</span>
</div>
<i class="icon"></i>
</div>
<div class="item item_comment">
<i class="icon"><img src="__PUBLIC__/static/images/3.png" width="90" height="86"></i>
<div class="desc">
<div class="tit">0</div>
<span>今日评论数</span>
</div>
</div>
<div class="item item_flow">
<i class="icon"><img src="__PUBLIC__/static/images/4.png" width="86"></i>
<div class="desc">
<div class="tit">15</div>
<span>今日访问量</span>
</div>
<i class="icon"></i>
</div>
</div>
<div class="section user_section">
<div class="sc_title">
<i class="sc_icon"></i>
<h3>个人会员信息</h3>
<cite>(单位:个)</cite>
</div>
<div class="sc_warp">
<div class="user_item user_today_new">
<div class="num">1</div>
<span class="tit">今日新增</span>
</div>
<div class="user_item user_yest_new">
<div class="num">0</div>
<span class="tit">昨日新增</span>
</div>
<div class="user_item user_month_new">
<div class="num">1</div>
<span class="tit">本月新增</span>
</div>
<div class="user_item user_total">
<div class="num">23</div>
<span class="tit">会员总数</span>
</div>
</div>
</div>
<div class="section goods_section">
<div class="sc_title">
<i class="sc_icon"></i>
<h3>商品一览</h3>
<cite>(单位:件)</cite>
</div>
<div class="sc_warp">
<div class="goods_item">
<div class="tit">自营商品</div>
<div class="number">
<div class="st">实体:<a href="goods.php?act=list&self=1">303</a></div>
<div class="xn">虚拟:<a href="goods.php?act=list&extension_code=virtual_card&self=1">1</a></div>
</div>
</div>
<div class="goods_item">
<div class="tit">商家商品</div>
<div class="number">
<div class="st">实体:<a href="goods.php?act=list&merchants=1">168</a></div>
<div class="xn">虚拟:<a href="goods.php?act=list&extension_code=virtual_card&merchants=1">0</a></div>
</div>
</div>
</div>
</div>
</div>
<div class="contentWarp_item clearfix">
<div class="section_order_select">
<ul>
<li>
<a href="order.php?act=list&composite_status=0&source=start">
<i class="ice ice_w"></i>
<div class="t">未确认订单</div>
<span class="number">19</span>
</a>
</li>
<li>
<a href="order.php?act=list&composite_status=100&source=start">
<i class="ice ice_d"></i>
<div class="t">待支付订单</div>
<span class="number">3</span>
</a>
</li>
<li>
<a href="order.php?act=list&composite_status=101&source=start">
<i class="ice ice_n"></i>
<div class="t">待发货订单</div>
<span class="number">4</span>
</a>
</li>
<li>
<a href="order.php?act=list&composite_status=102&source=start">
<i class="ice ice_f"></i>
<div class="t">已成交订单数</div>
<span class="number">0</span>
</a>
</li>
<li>
<a href="goods_booking.php?act=list_all">
<i class="ice ice_y"></i>
<div class="t">新缺货登记</div>
<span class="number">0</span>
</a>
</li>
<li>
<a href="order.php?act=list&composite_status=6&source=start">
<i class="ice ice_q"></i>
<div class="t">部分发货订单</div>
<span class="number">0</span>
</a>
</li>
<li>
<a href="user_account.php?act=list&process_type=1&is_paid=0">
<i class="ice ice_b"></i>
<div class="t">用户退款申请</div>
<span class="number">0</span>
</a>
</li>
</ul>
</div>
<div class="clear"></div>
<div class="section section_order_count">
<div class="sc_title">
<i class="sc_icon"></i>
<h3>订单统计</h3>
<div class="filter_date">
<a href="javascript:;" onClick="set_statistical_chart(this, 'order', 'week')" class="active">七天</a>
<a href="javascript:;" onClick="set_statistical_chart(this, 'order', 'month')">一月</a>
<a href="javascript:;" onClick="set_statistical_chart(this, 'order', 'year')">半年</a>
</div>
</div>
<div class="sc_warp">
<div id="order_main" style="height: 274px; -webkit-tap-highlight-color: transparent; user-select: none; background-color: rgba(0, 0, 0, 0);" _echarts_instance_="1482567663284"><div style="position: relative; overflow: hidden; width: 975px; height: 274px;"><div data-zr-dom-id="bg" class="zr-element" style="position: absolute; left: 0px; top: 0px; width: 975px; height: 274px; user-select: none;"></div><canvas width="975" height="274" data-zr-dom-id="0" class="zr-element" style="position: absolute; left: 0px; top: 0px; width: 975px; height: 274px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></canvas><canvas width="975" height="274" data-zr-dom-id="1" class="zr-element" style="position: absolute; left: 0px; top: 0px; width: 975px; height: 274px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></canvas><canvas width="975" height="274" data-zr-dom-id="_zrender_hover_" class="zr-element" style="position: absolute; left: 0px; top: 0px; width: 975px; height: 274px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></canvas></div></div>
</div>
</div>
<div class="section section_total_count">
<div class="sc_title">
<i class="sc_icon"></i>
<h3>销售统计</h3>
<div class="filter_date">
<a href="javascript:;" onClick="set_statistical_chart(this, 'sale', 'week')" class="active">七天</a>
<a href="javascript:;" onClick="set_statistical_chart(this, 'sale', 'month')">一月</a>
<a href="javascript:;" onClick="set_statistical_chart(this, 'sale', 'year')">半年</a>
</div>
</div>
<div class="sc_warp">
<div id="total_main" style="height: 274px; -webkit-tap-highlight-color: transparent; user-select: none; background-color: rgba(0, 0, 0, 0);" _echarts_instance_="1482567663285"><div style="position: relative; overflow: hidden; width: 975px; height: 274px;"><div data-zr-dom-id="bg" class="zr-element" style="position: absolute; left: 0px; top: 0px; width: 975px; height: 274px; user-select: none;"></div><canvas width="975" height="274" data-zr-dom-id="0" class="zr-element" style="position: absolute; left: 0px; top: 0px; width: 975px; height: 274px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></canvas><canvas width="975" height="274" data-zr-dom-id="1" class="zr-element" style="position: absolute; left: 0px; top: 0px; width: 975px; height: 274px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></canvas><canvas width="975" height="274" data-zr-dom-id="_zrender_hover_" class="zr-element" style="position: absolute; left: 0px; top: 0px; width: 975px; height: 274px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></canvas></div></div>
</div>
</div>
</div>
</div>
<div class="contentWarp bf100">
<div class="section col_section">
<div class="sc_title">
<i class="sc_icon"></i>
<h3>控制面板</h3>
</div>
<div class="sc_warp">
<div class="item_section item_section_frist">
<div class="section_header">商城管理</div>
<div class="section_body">
<dl>
<dt>商城首页:</dt>
<dd><a href="" target="_blank">http://demo.tpshop.cn/</a></dd>
</dl>
<dl>
<dt>平台后台:</dt>
<dd><a href="" target="_blank">http://demo.tpshop.cn/admin</a></dd>
</dl>
<dl>
<dt>商家后台:</dt>
<dd><a href="" target="_blank">http://demo.tpshop.cn/seller</a></dd>
</dl>
<dl>
<dt>门店后台:</dt>
<dd><a href="" target="_blank">http://demo.tpshop.cn/stores</a></dd>
</dl>
<dl>
<dt>WAP首页:</dt>
<dd><a href="" target="_blank">http://demo.tpshop.cn/mobile</a></dd>
</dl>
</div>
</div>
<div class="item_section">
<div class="section_header">客户服务</div>
<div class="section_body">
<dl>
<dt>客服电话:</dt>
<dd>4001-021-758</dd>
</dl>
<dl>
<dt>客服 QQ:</dt>
<dd><a href="#" target="_blank">703522188</a></dd>
</dl>
<dl>
<dt>问答反馈:</dt>
<dd><a href="http://wenda.tpshop.com" target="_blank">http://www.tpshop.cn</a></dd>
</dl>
<dl>
<dt>官方网站:</dt>
<dd><a href="http://www.tpshop.com" target="_blank">http://www.tpshop.cn</a></dd>
</dl>
<dl>
<dt>官网:</dt>
<dd><a href="http://www.tpshop.cn" target="_blank">http://www.tpshop.cn</a></dd>
</dl>
</div>
</div>
</div>
</div>
</div>
<div class="contentWarp">
<div class="section system_section w190">
<div class="system_section_con">
<div class="sc_title">
<i class="sc_icon"></i>
<h3>系统信息</h3>
<span class="stop stop_jia" title="展开详情"></span>
</div>
<div class="sc_warp">
<table cellpadding="0" cellspacing="0" class="system_table">
<tbody><tr>
<td class="gray_bg">服务器操作系统:</td>
<td>Linux (114.55.34.251)</td>
<td class="gray_bg">Web 服务器:</td>
<td>nginx/1.10.2</td>
</tr>
<tr>
<td class="gray_bg">PHP 版本:</td>
<td>5.3.29</td>
<td class="gray_bg">MySQL 版本:</td>
<td>5.1.73</td>
</tr>
<tr>
<td class="gray_bg">安全模式:</td>
<td>否</td>
<td class="gray_bg">安全模式GID:</td>
<td>否</td>
</tr>
<tr>
<td class="gray_bg">Socket 支持:</td>
<td>是</td>
<td class="gray_bg">时区设置:</td>
<td>Asia/Shanghai</td>
</tr>
<tr>
<td class="gray_bg">GD 版本:</td>
<td>GD2 ( JPEG GIF PNG)</td>
<td class="gray_bg">Zlib 支持:</td>
<td>是</td>
</tr>
<tr>
<td class="gray_bg">IP 库版本:</td>
<td>20071024</td>
<td class="gray_bg">文件上传的最大大小:</td>
<td>40M</td>
</tr>
<tr>
<td class="gray_bg">程序版本:</td>
<td>v1.9.4 RELEASE 20161222</td>
<td class="gray_bg">安装日期:</td>
<td>2016-06-07</td>
</tr>
<tr>
<td class="gray_bg">编码:</td>
<td>UTF-8</td>
<td class="gray_bg"></td>
<td></td>
</tr>
</tbody></table>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="footer" style="position: static; bottom: 0px;">
<p>版权所有 © 2012-2017 深圳搜豹网络科技有限公司,并保留所有权利。</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="__WEBPUBLIC__/static/js/echart/echarts.min.js?v=__CSSVERSION__"></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: '最小值'}
]
}
}
]
}
//展开收起系统信息
$.upDown(".stop",".sc_title",".system_section",73);
</script>
</body>
</html>