index_v3.html 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>H+ 后台主题UI框架 - 首页示例二</title>
  7. <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
  8. <meta name="description" content="H+是一个完全响应式,基于Bootstrap3最新版本开发的扁平化主题,她采用了主流的左右两栏式布局,使用了Html5+CSS3等现代技术">
  9. <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.7" rel="stylesheet">
  10. <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
  11. <!-- Morris -->
  12. <link href="css/plugins/morris/morris-0.4.3.min.css" rel="stylesheet">
  13. <!-- Gritter -->
  14. <link href="js/plugins/gritter/jquery.gritter.css" rel="stylesheet">
  15. <link href="css/animate.css" rel="stylesheet">
  16. <link href="css/style.css?v=4.1.0" rel="stylesheet">
  17. </head>
  18. <body class="gray-bg">
  19. <div class="wrapper wrapper-content">
  20. <div class="row">
  21. <div class="col-sm-3">
  22. <div class="ibox float-e-margins">
  23. <div class="ibox-title">
  24. <span class="label label-success pull-right">月</span>
  25. <h5>收入</h5>
  26. </div>
  27. <div class="ibox-content">
  28. <h1 class="no-margins">40 886,200</h1>
  29. <div class="stat-percent font-bold text-success">98% <i class="fa fa-bolt"></i>
  30. </div>
  31. <small>总收入</small>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="col-sm-3">
  36. <div class="ibox float-e-margins">
  37. <div class="ibox-title">
  38. <span class="label label-info pull-right">全年</span>
  39. <h5>订单</h5>
  40. </div>
  41. <div class="ibox-content">
  42. <h1 class="no-margins">275,800</h1>
  43. <div class="stat-percent font-bold text-info">20% <i class="fa fa-level-up"></i>
  44. </div>
  45. <small>新订单</small>
  46. </div>
  47. </div>
  48. </div>
  49. <div class="col-sm-3">
  50. <div class="ibox float-e-margins">
  51. <div class="ibox-title">
  52. <span class="label label-primary pull-right">今天</span>
  53. <h5>访客</h5>
  54. </div>
  55. <div class="ibox-content">
  56. <h1 class="no-margins">106,120</h1>
  57. <div class="stat-percent font-bold text-navy">44% <i class="fa fa-level-up"></i>
  58. </div>
  59. <small>新访客</small>
  60. </div>
  61. </div>
  62. </div>
  63. <div class="col-sm-3">
  64. <div class="ibox float-e-margins">
  65. <div class="ibox-title">
  66. <span class="label label-danger pull-right">最近一个月</span>
  67. <h5>活跃用户</h5>
  68. </div>
  69. <div class="ibox-content">
  70. <h1 class="no-margins">80,600</h1>
  71. <div class="stat-percent font-bold text-danger">38% <i class="fa fa-level-down"></i>
  72. </div>
  73. <small>12月</small>
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. <div class="row">
  79. <div class="col-sm-12">
  80. <div class="ibox float-e-margins">
  81. <div class="ibox-title">
  82. <h5>订单</h5>
  83. <div class="pull-right">
  84. <div class="btn-group">
  85. <button type="button" class="btn btn-xs btn-white active">天</button>
  86. <button type="button" class="btn btn-xs btn-white">月</button>
  87. <button type="button" class="btn btn-xs btn-white">年</button>
  88. </div>
  89. </div>
  90. </div>
  91. <div class="ibox-content">
  92. <div class="row">
  93. <div class="col-sm-9">
  94. <div class="flot-chart">
  95. <div class="flot-chart-content" id="flot-dashboard-chart"></div>
  96. </div>
  97. </div>
  98. <div class="col-sm-3">
  99. <ul class="stat-list">
  100. <li>
  101. <h2 class="no-margins">2,346</h2>
  102. <small>订单总数</small>
  103. <div class="stat-percent">48% <i class="fa fa-level-up text-navy"></i>
  104. </div>
  105. <div class="progress progress-mini">
  106. <div style="width: 48%;" class="progress-bar"></div>
  107. </div>
  108. </li>
  109. <li>
  110. <h2 class="no-margins ">4,422</h2>
  111. <small>最近一个月订单</small>
  112. <div class="stat-percent">60% <i class="fa fa-level-down text-navy"></i>
  113. </div>
  114. <div class="progress progress-mini">
  115. <div style="width: 60%;" class="progress-bar"></div>
  116. </div>
  117. </li>
  118. <li>
  119. <h2 class="no-margins ">9,180</h2>
  120. <small>最近一个月销售额</small>
  121. <div class="stat-percent">22% <i class="fa fa-bolt text-navy"></i>
  122. </div>
  123. <div class="progress progress-mini">
  124. <div style="width: 22%;" class="progress-bar"></div>
  125. </div>
  126. </li>
  127. </div>
  128. </div>
  129. </div>
  130. </div>
  131. </div>
  132. </div>
  133. <div class="row">
  134. <div class="col-sm-4">
  135. <div class="ibox float-e-margins">
  136. <div class="ibox-title">
  137. <h5>消息</h5>
  138. <div class="ibox-tools">
  139. <a class="collapse-link">
  140. <i class="fa fa-chevron-up"></i>
  141. </a>
  142. <a class="close-link">
  143. <i class="fa fa-times"></i>
  144. </a>
  145. </div>
  146. </div>
  147. <div class="ibox-content ibox-heading">
  148. <h3><i class="fa fa-envelope-o"></i> 新消息</h3>
  149. <small><i class="fa fa-tim"></i> 您有22条未读消息</small>
  150. </div>
  151. <div class="ibox-content">
  152. <div class="feed-activity-list">
  153. <div class="feed-element">
  154. <div>
  155. <small class="pull-right text-navy">1月前</small>
  156. <strong>井幽幽</strong>
  157. <div>有人说:“一辈子很长,要跟一个有趣的人在一起”。我想关注我的人,应该是那种喜欢找乐子也乐意分享乐趣的人,你们一定挺优秀的。所以单身的应该在这条留言,互相勾搭一下。特别有钱人又帅可以直接私信我!</div>
  158. <small class="text-muted">4月11日 00:00</small>
  159. </div>
  160. </div>
  161. <div class="feed-element">
  162. <div>
  163. <small class="pull-right">2月前</small>
  164. <strong>马伯庸 </strong>
  165. <div>又方便,又防水,手感又好,还可以用手机遥控。简直是拍戏利器,由其是跟老师们搭戏的时候…想想还有点小激动啊,嘿嘿。</div>
  166. <small class="text-muted">11月8日 20:08 </small>
  167. </div>
  168. </div>
  169. <div class="feed-element">
  170. <div>
  171. <small class="pull-right">5月前</small>
  172. <strong>芒果宓 </strong>
  173. <div>一个完整的梦。</div>
  174. <small class="text-muted">11月8日 20:08 </small>
  175. </div>
  176. </div>
  177. <div class="feed-element">
  178. <div>
  179. <small class="pull-right">5月前</small>
  180. <strong>刺猬尼克索</strong>
  181. <div>哈哈哈哈 你卖什么萌啊! 蠢死了</div>
  182. <small class="text-muted">11月8日 20:08 </small>
  183. </div>
  184. </div>
  185. <div class="feed-element">
  186. <div>
  187. <small class="pull-right">5月前</small>
  188. <strong>老刀99</strong>
  189. <div>昨天评论里你见过最“温暖和感人”的诗句,整理其中经典100首,值得你收下学习。</div>
  190. <small class="text-muted">11月8日 20:08 </small>
  191. </div>
  192. </div>
  193. <div class="feed-element">
  194. <div>
  195. <small class="pull-right">5月前</small>
  196. <strong>娱乐小主 </strong>
  197. <div>你是否想过记录自己的梦?你是否想过有自己的一个记梦本?小时候写日记,没得写了就写昨晚的梦,后来变成了习惯………翻了一晚上自己做过的梦,想哭,想笑…</div>
  198. <small class="text-muted">11月8日 20:08 </small>
  199. </div>
  200. </div>
  201. <div class="feed-element">
  202. <div>
  203. <small class="pull-right">5月前</small>
  204. <strong>DMG电影 </strong>
  205. <div>《和外国男票乘地铁,被中国大妈骂不要脸》妹子实在委屈到不行,中国妹子找外国男友很令人不能接受吗?大家都来说说自己的看法</div>
  206. <small class="text-muted">11月8日 20:08 </small>
  207. </div>
  208. </div>
  209. </div>
  210. </div>
  211. </div>
  212. </div>
  213. <div class="col-sm-8">
  214. <div class="row">
  215. <div class="col-sm-6">
  216. <div class="ibox float-e-margins">
  217. <div class="ibox-title">
  218. <h5>用户项目列表</h5>
  219. <div class="ibox-tools">
  220. <a class="collapse-link">
  221. <i class="fa fa-chevron-up"></i>
  222. </a>
  223. <a class="close-link">
  224. <i class="fa fa-times"></i>
  225. </a>
  226. </div>
  227. </div>
  228. <div class="ibox-content">
  229. <table class="table table-hover no-margins">
  230. <thead>
  231. <tr>
  232. <th>状态</th>
  233. <th>日期</th>
  234. <th>用户</th>
  235. <th>值</th>
  236. </tr>
  237. </thead>
  238. <tbody>
  239. <tr>
  240. <td><small>进行中...</small>
  241. </td>
  242. <td><i class="fa fa-clock-o"></i> 11:20</td>
  243. <td>青衣5858</td>
  244. <td class="text-navy"> <i class="fa fa-level-up"></i> 24%</td>
  245. </tr>
  246. <tr>
  247. <td><span class="label label-warning">已取消</span>
  248. </td>
  249. <td><i class="fa fa-clock-o"></i> 10:40</td>
  250. <td>徐子崴</td>
  251. <td class="text-navy"> <i class="fa fa-level-up"></i> 66%</td>
  252. </tr>
  253. <tr>
  254. <td><small>进行中...</small>
  255. </td>
  256. <td><i class="fa fa-clock-o"></i> 01:30</td>
  257. <td>姜岚昕</td>
  258. <td class="text-navy"> <i class="fa fa-level-up"></i> 54%</td>
  259. </tr>
  260. <tr>
  261. <td><small>进行中...</small>
  262. </td>
  263. <td><i class="fa fa-clock-o"></i> 02:20</td>
  264. <td>武汉大兵哥</td>
  265. <td class="text-navy"> <i class="fa fa-level-up"></i> 12%</td>
  266. </tr>
  267. <tr>
  268. <td><small>进行中...</small>
  269. </td>
  270. <td><i class="fa fa-clock-o"></i> 09:40</td>
  271. <td>荆莹儿</td>
  272. <td class="text-navy"> <i class="fa fa-level-up"></i> 22%</td>
  273. </tr>
  274. <tr>
  275. <td><span class="label label-primary">已完成</span>
  276. </td>
  277. <td><i class="fa fa-clock-o"></i> 04:10</td>
  278. <td>栾某某</td>
  279. <td class="text-navy"> <i class="fa fa-level-up"></i> 66%</td>
  280. </tr>
  281. <tr>
  282. <td><small>进行中...</small>
  283. </td>
  284. <td><i class="fa fa-clock-o"></i> 12:08</td>
  285. <td>范范范二妮</td>
  286. <td class="text-navy"> <i class="fa fa-level-up"></i> 23%</td>
  287. </tr>
  288. </tbody>
  289. </table>
  290. </div>
  291. </div>
  292. </div>
  293. <div class="col-sm-6">
  294. <div class="ibox float-e-margins">
  295. <div class="ibox-title">
  296. <h5>任务列表</h5>
  297. <div class="ibox-tools">
  298. <a class="collapse-link">
  299. <i class="fa fa-chevron-up"></i>
  300. </a>
  301. <a class="close-link">
  302. <i class="fa fa-times"></i>
  303. </a>
  304. </div>
  305. </div>
  306. <div class="ibox-content">
  307. <ul class="todo-list m-t small-list ui-sortable">
  308. <li>
  309. <a href="widgets.html#" class="check-link"><i class="fa fa-check-square"></i> </a>
  310. <span class="m-l-xs todo-completed">开会</span>
  311. </li>
  312. <li>
  313. <a href="widgets.html#" class="check-link"><i class="fa fa-check-square"></i> </a>
  314. <span class="m-l-xs todo-completed">项目开发</span>
  315. </li>
  316. <li>
  317. <a href="widgets.html#" class="check-link"><i class="fa fa-square-o"></i> </a>
  318. <span class="m-l-xs">修改bug</span>
  319. <small class="label label-primary"><i class="fa fa-clock-o"></i> 1小时</small>
  320. </li>
  321. <li>
  322. <a href="widgets.html#" class="check-link"><i class="fa fa-square-o"></i> </a>
  323. <span class="m-l-xs">修改bug</span>
  324. <small class="label label-primary"><i class="fa fa-clock-o"></i> 1小时</small>
  325. </li>
  326. <li>
  327. <a href="widgets.html#" class="check-link"><i class="fa fa-square-o"></i> </a>
  328. <span class="m-l-xs">修改bug</span>
  329. <small class="label label-primary"><i class="fa fa-clock-o"></i> 1小时</small>
  330. </li>
  331. <li>
  332. <a href="widgets.html#" class="check-link"><i class="fa fa-square-o"></i> </a>
  333. <span class="m-l-xs">修改bug</span>
  334. <small class="label label-primary"><i class="fa fa-clock-o"></i> 1小时</small>
  335. </li>
  336. <li>
  337. <a href="widgets.html#" class="check-link"><i class="fa fa-square-o"></i> </a>
  338. <span class="m-l-xs">修改bug</span>
  339. <small class="label label-primary"><i class="fa fa-clock-o"></i> 1小时</small>
  340. </li>
  341. </ul>
  342. </div>
  343. </div>
  344. </div>
  345. </div>
  346. <div class="row">
  347. <div class="col-sm-12">
  348. <div class="ibox float-e-margins">
  349. <div class="ibox-title">
  350. <h5>交易地区</h5>
  351. <div class="ibox-tools">
  352. <a class="collapse-link">
  353. <i class="fa fa-chevron-up"></i>
  354. </a>
  355. <a class="close-link">
  356. <i class="fa fa-times"></i>
  357. </a>
  358. </div>
  359. </div>
  360. <div class="ibox-content">
  361. <div class="row">
  362. <div class="col-sm-6">
  363. <table class="table table-hover margin bottom">
  364. <thead>
  365. <tr>
  366. <th style="width: 1%" class="text-center">序号</th>
  367. <th>交易</th>
  368. <th class="text-center">日期</th>
  369. <th class="text-center">销售额</th>
  370. </tr>
  371. </thead>
  372. <tbody>
  373. <tr>
  374. <td class="text-center">1</td>
  375. <td>防盗门
  376. </small>
  377. </td>
  378. <td class="text-center small">2014.9.15</td>
  379. <td class="text-center"><span class="label label-primary">&yen;483.00</span>
  380. </td>
  381. </tr>
  382. <tr>
  383. <td class="text-center">2</td>
  384. <td>衣柜
  385. </td>
  386. <td class="text-center small">2014.9.15</td>
  387. <td class="text-center"><span class="label label-primary">&yen;327.00</span>
  388. </td>
  389. </tr>
  390. <tr>
  391. <td class="text-center">3</td>
  392. <td>防盗门
  393. </td>
  394. <td class="text-center small">2014.9.15</td>
  395. <td class="text-center"><span class="label label-warning">&yen;125.00</span>
  396. </td>
  397. </tr>
  398. <tr>
  399. <td class="text-center">4</td>
  400. <td>橱柜</td>
  401. <td class="text-center small">2014.9.15</td>
  402. <td class="text-center"><span class="label label-primary">&yen;344.00</span>
  403. </td>
  404. </tr>
  405. <tr>
  406. <td class="text-center">5</td>
  407. <td>手机</td>
  408. <td class="text-center small">2014.9.15</td>
  409. <td class="text-center"><span class="label label-primary">&yen;235.00</span>
  410. </td>
  411. </tr>
  412. <tr>
  413. <td class="text-center">6</td>
  414. <td>显示器</td>
  415. <td class="text-center small">2014.9.15</td>
  416. <td class="text-center"><span class="label label-primary">&yen;100.00</span>
  417. </td>
  418. </tr>
  419. </tbody>
  420. </table>
  421. </div>
  422. <div class="col-sm-6">
  423. <div id="world-map" style="height: 300px;"></div>
  424. </div>
  425. </div>
  426. </div>
  427. </div>
  428. </div>
  429. </div>
  430. </div>
  431. </div>
  432. </div>
  433. <!-- 全局js -->
  434. <script src="js/jquery.min.js?v=2.1.4"></script>
  435. <script src="js/bootstrap.min.js?v=3.3.7"></script>
  436. <!-- Flot -->
  437. <script src="js/plugins/flot/jquery.flot.js"></script>
  438. <script src="js/plugins/flot/jquery.flot.tooltip.min.js"></script>
  439. <script src="js/plugins/flot/jquery.flot.spline.js"></script>
  440. <script src="js/plugins/flot/jquery.flot.resize.js"></script>
  441. <script src="js/plugins/flot/jquery.flot.pie.js"></script>
  442. <script src="js/plugins/flot/jquery.flot.symbol.js"></script>
  443. <!-- Peity -->
  444. <script src="js/plugins/peity/jquery.peity.min.js"></script>
  445. <script src="js/demo/peity-demo.js"></script>
  446. <!-- 自定义js -->
  447. <script src="js/content.js?v=1.0.0"></script>
  448. <!-- jQuery UI -->
  449. <script src="js/plugins/jquery-ui/jquery-ui.min.js"></script>
  450. <!-- Jvectormap -->
  451. <script src="js/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
  452. <script src="js/plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
  453. <!-- EayPIE -->
  454. <script src="js/plugins/easypiechart/jquery.easypiechart.js"></script>
  455. <!-- Sparkline -->
  456. <script src="js/plugins/sparkline/jquery.sparkline.min.js"></script>
  457. <!-- Sparkline demo data -->
  458. <script src="js/demo/sparkline-demo.js"></script>
  459. <script>
  460. $(document).ready(function () {
  461. $('.chart').easyPieChart({
  462. barColor: '#f8ac59',
  463. // scaleColor: false,
  464. scaleLength: 5,
  465. lineWidth: 4,
  466. size: 80
  467. });
  468. $('.chart2').easyPieChart({
  469. barColor: '#1c84c6',
  470. // scaleColor: false,
  471. scaleLength: 5,
  472. lineWidth: 4,
  473. size: 80
  474. });
  475. var data2 = [
  476. [gd(2012, 1, 1), 7], [gd(2012, 1, 2), 6], [gd(2012, 1, 3), 4], [gd(2012, 1, 4), 8],
  477. [gd(2012, 1, 5), 9], [gd(2012, 1, 6), 7], [gd(2012, 1, 7), 5], [gd(2012, 1, 8), 4],
  478. [gd(2012, 1, 9), 7], [gd(2012, 1, 10), 8], [gd(2012, 1, 11), 9], [gd(2012, 1, 12), 6],
  479. [gd(2012, 1, 13), 4], [gd(2012, 1, 14), 5], [gd(2012, 1, 15), 11], [gd(2012, 1, 16), 8],
  480. [gd(2012, 1, 17), 8], [gd(2012, 1, 18), 11], [gd(2012, 1, 19), 11], [gd(2012, 1, 20), 6],
  481. [gd(2012, 1, 21), 6], [gd(2012, 1, 22), 8], [gd(2012, 1, 23), 11], [gd(2012, 1, 24), 13],
  482. [gd(2012, 1, 25), 7], [gd(2012, 1, 26), 9], [gd(2012, 1, 27), 9], [gd(2012, 1, 28), 8],
  483. [gd(2012, 1, 29), 5], [gd(2012, 1, 30), 8], [gd(2012, 1, 31), 25]
  484. ];
  485. var data3 = [
  486. [gd(2012, 1, 1), 800], [gd(2012, 1, 2), 500], [gd(2012, 1, 3), 600], [gd(2012, 1, 4), 700],
  487. [gd(2012, 1, 5), 500], [gd(2012, 1, 6), 456], [gd(2012, 1, 7), 800], [gd(2012, 1, 8), 589],
  488. [gd(2012, 1, 9), 467], [gd(2012, 1, 10), 876], [gd(2012, 1, 11), 689], [gd(2012, 1, 12), 700],
  489. [gd(2012, 1, 13), 500], [gd(2012, 1, 14), 600], [gd(2012, 1, 15), 700], [gd(2012, 1, 16), 786],
  490. [gd(2012, 1, 17), 345], [gd(2012, 1, 18), 888], [gd(2012, 1, 19), 888], [gd(2012, 1, 20), 888],
  491. [gd(2012, 1, 21), 987], [gd(2012, 1, 22), 444], [gd(2012, 1, 23), 999], [gd(2012, 1, 24), 567],
  492. [gd(2012, 1, 25), 786], [gd(2012, 1, 26), 666], [gd(2012, 1, 27), 888], [gd(2012, 1, 28), 900],
  493. [gd(2012, 1, 29), 178], [gd(2012, 1, 30), 555], [gd(2012, 1, 31), 993]
  494. ];
  495. var dataset = [
  496. {
  497. label: "订单数",
  498. data: data3,
  499. color: "#1ab394",
  500. bars: {
  501. show: true,
  502. align: "center",
  503. barWidth: 24 * 60 * 60 * 600,
  504. lineWidth: 0
  505. }
  506. }, {
  507. label: "付款数",
  508. data: data2,
  509. yaxis: 2,
  510. color: "#464f88",
  511. lines: {
  512. lineWidth: 1,
  513. show: true,
  514. fill: true,
  515. fillColor: {
  516. colors: [{
  517. opacity: 0.2
  518. }, {
  519. opacity: 0.2
  520. }]
  521. }
  522. },
  523. splines: {
  524. show: false,
  525. tension: 0.6,
  526. lineWidth: 1,
  527. fill: 0.1
  528. },
  529. }
  530. ];
  531. var options = {
  532. xaxis: {
  533. mode: "time",
  534. tickSize: [3, "day"],
  535. tickLength: 0,
  536. axisLabel: "Date",
  537. axisLabelUseCanvas: true,
  538. axisLabelFontSizePixels: 12,
  539. axisLabelFontFamily: 'Arial',
  540. axisLabelPadding: 10,
  541. color: "#838383"
  542. },
  543. yaxes: [{
  544. position: "left",
  545. max: 1070,
  546. color: "#838383",
  547. axisLabelUseCanvas: true,
  548. axisLabelFontSizePixels: 12,
  549. axisLabelFontFamily: 'Arial',
  550. axisLabelPadding: 3
  551. }, {
  552. position: "right",
  553. clolor: "#838383",
  554. axisLabelUseCanvas: true,
  555. axisLabelFontSizePixels: 12,
  556. axisLabelFontFamily: ' Arial',
  557. axisLabelPadding: 67
  558. }
  559. ],
  560. legend: {
  561. noColumns: 1,
  562. labelBoxBorderColor: "#000000",
  563. position: "nw"
  564. },
  565. grid: {
  566. hoverable: false,
  567. borderWidth: 0,
  568. color: '#838383'
  569. }
  570. };
  571. function gd(year, month, day) {
  572. return new Date(year, month - 1, day).getTime();
  573. }
  574. var previousPoint = null,
  575. previousLabel = null;
  576. $.plot($("#flot-dashboard-chart"), dataset, options);
  577. var mapData = {
  578. "US": 298,
  579. "SA": 200,
  580. "DE": 220,
  581. "FR": 540,
  582. "CN": 120,
  583. "AU": 760,
  584. "BR": 550,
  585. "IN": 200,
  586. "GB": 120,
  587. };
  588. $('#world-map').vectorMap({
  589. map: 'world_mill_en',
  590. backgroundColor: "transparent",
  591. regionStyle: {
  592. initial: {
  593. fill: '#e4e4e4',
  594. "fill-opacity": 0.9,
  595. stroke: 'none',
  596. "stroke-width": 0,
  597. "stroke-opacity": 0
  598. }
  599. },
  600. series: {
  601. regions: [{
  602. values: mapData,
  603. scale: ["#1ab394", "#22d6b1"],
  604. normalizeFunction: 'polynomial'
  605. }]
  606. },
  607. });
  608. });
  609. </script>
  610. <script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
  611. <!--统计代码,可删除-->
  612. </body>
  613. </html>