default.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <title>后台管理系统</title>
  7. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  8. <link rel="stylesheet" href="js/bootstrap/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="css/font-awesome.min.css">
  10. <link rel="stylesheet" href="css/index.css">
  11. <script src="js/jquery/jQuery-2.2.0.min.js"></script>
  12. <script src="js/charts/Chart.js"></script>
  13. <script>
  14. $(function () {
  15. Canvas1();
  16. Canvas2();
  17. Canvas3();
  18. });
  19. function Canvas1() {
  20. var randomScalingFactor = function () {
  21. return Math.round(Math.random() * 100)
  22. };
  23. var doughnutData = [
  24. {
  25. value: randomScalingFactor(),
  26. color: "#F7464A",
  27. highlight: "#FF5A5E",
  28. label: "事假"
  29. },
  30. {
  31. value: randomScalingFactor(),
  32. color: "#46BFBD",
  33. highlight: "#5AD3D1",
  34. label: "病假"
  35. },
  36. {
  37. value: randomScalingFactor(),
  38. color: "#FDB45C",
  39. highlight: "#FFC870",
  40. label: "公休假"
  41. },
  42. {
  43. value: randomScalingFactor(),
  44. color: "#949FB1",
  45. highlight: "#A8B3C5",
  46. label: "调休假"
  47. }
  48. ];
  49. var ctx = document.getElementById("Canvas1").getContext("2d");
  50. window.myDoughnut = new Chart(ctx).Doughnut(doughnutData, {responsive: false});
  51. }
  52. function Canvas2() {
  53. var randomScalingFactor = function () {
  54. return Math.round(Math.random() * 100)
  55. };
  56. var lineChartData = {
  57. labels: ["星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
  58. datasets: [
  59. {
  60. fillColor: "rgba(220,220,220,0.2)",
  61. strokeColor: "rgba(220,220,220,1)",
  62. pointColor: "rgba(220,220,220,1)",
  63. pointStrokeColor: "#fff",
  64. pointHighlightFill: "#fff",
  65. pointHighlightStroke: "rgba(220,220,220,1)",
  66. data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()]
  67. }
  68. ]
  69. }
  70. var ctx = document.getElementById("Canvas2").getContext("2d");
  71. window.myLine = new Chart(ctx).Line(lineChartData, {
  72. bezierCurve: false,
  73. });
  74. }
  75. function Canvas3() {
  76. var randomScalingFactor = function () {
  77. return Math.round(Math.random() * 100)
  78. };
  79. var lineChartData = {
  80. labels: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "8月", "10月", "11月", "12月"],
  81. datasets: [
  82. {
  83. fillColor: "#578ebe",
  84. data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()]
  85. }
  86. ]
  87. }
  88. var ctx = document.getElementById("Canvas3").getContext("2d");
  89. window.myLine = new Chart(ctx).Bar(lineChartData, {
  90. bezierCurve: false,
  91. });
  92. }
  93. </script>
  94. <style>
  95. #copyrightcontent {
  96. height: 30px;
  97. line-height: 29px;
  98. overflow: hidden;
  99. position: absolute;
  100. top: 100%;
  101. margin-top: -30px;
  102. width: 100%;
  103. background-color: #fff;
  104. border: 1px solid #e6e6e6;
  105. padding-left: 10px;
  106. padding-right: 10px;
  107. }
  108. .dashboard-stats {
  109. float: left;
  110. width: 25%;
  111. }
  112. .dashboard-stats-item {
  113. position: relative;
  114. overflow: hidden;
  115. color: #fff;
  116. cursor: pointer;
  117. height: 105px;
  118. margin-right: 10px;
  119. margin-bottom: 10px;
  120. padding-left: 15px;
  121. padding-top: 20px;
  122. }
  123. .dashboard-stats-item .m-top-none {
  124. margin-top: 5px;
  125. }
  126. .dashboard-stats-item h2 {
  127. font-size: 28px;
  128. font-family: inherit;
  129. line-height: 1.1;
  130. font-weight: 500;
  131. padding-left: 70px;
  132. }
  133. .dashboard-stats-item h2 span {
  134. font-size: 12px;
  135. padding-left: 5px;
  136. }
  137. .dashboard-stats-item h5 {
  138. font-size: 12px;
  139. font-family: inherit;
  140. margin-top: 1px;
  141. line-height: 1.1;
  142. padding-left: 70px;
  143. }
  144. .dashboard-stats-item .stat-icon {
  145. position: absolute;
  146. top: 18px;
  147. font-size: 50px;
  148. opacity: .3;
  149. }
  150. .dashboard-stats i.fa.stats-icon {
  151. width: 50px;
  152. padding: 20px;
  153. font-size: 50px;
  154. text-align: center;
  155. color: #fff;
  156. height: 50px;
  157. border-radius: 10px;
  158. }
  159. .panel-default {
  160. border: none;
  161. border-radius: 0px;
  162. margin-bottom: 0px;
  163. box-shadow: none;
  164. -webkit-box-shadow: none;
  165. }
  166. .panel-default > .panel-heading {
  167. color: #777;
  168. background-color: #fff;
  169. border-color: #e6e6e6;
  170. padding: 10px 10px;
  171. }
  172. .panel-default > .panel-body {
  173. padding: 10px;
  174. padding-bottom: 0px;
  175. }
  176. .panel-default > .panel-body ul {
  177. overflow: hidden;
  178. padding: 0;
  179. margin: 0px;
  180. margin-top: -5px;
  181. }
  182. .panel-default > .panel-body ul li {
  183. line-height: 27px;
  184. list-style-type: none;
  185. white-space: nowrap;
  186. text-overflow: ellipsis;
  187. }
  188. .panel-default > .panel-body ul li .time {
  189. color: #a1a1a1;
  190. float: right;
  191. padding-right: 5px;
  192. }
  193. </style>
  194. </head>
  195. <body>
  196. <div id="areascontent">
  197. <div class="rows" style="margin-bottom: 0.8%; overflow: hidden;">
  198. <div style="float: left; width: 69.2%;">
  199. <div style="height: 100%; border: 1px solid #e6e6e6; overflow: hidden;">
  200. <div class="dashboard-stats">
  201. <div class="dashboard-stats-item" style="background-color: #578ebe;">
  202. <div class="stat-icon">
  203. <i class="fa fa-clock-o"></i>
  204. </div>
  205. <h2 class="m-top-none">17<span>个</span></h2>
  206. <h5>待办未处理</h5>
  207. </div>
  208. </div>
  209. <div class="dashboard-stats">
  210. <div class="dashboard-stats-item" style="background-color: #e35b5a;">
  211. <h2 class="m-top-none">12<span>条</span></h2>
  212. <h5>预警信息未读</h5>
  213. <div class="stat-icon">
  214. <i class="fa fa-bell"></i>
  215. </div>
  216. </div>
  217. </div>
  218. <div class="dashboard-stats">
  219. <div class="dashboard-stats-item" style="background-color: #44b6ae;">
  220. <h2 class="m-top-none">20<span>封</span></h2>
  221. <h5>邮件未读</h5>
  222. <div class="stat-icon">
  223. <i class="fa fa-envelope-o"></i>
  224. </div>
  225. </div>
  226. </div>
  227. <div class="dashboard-stats">
  228. <div class="dashboard-stats-item" style="background-color: #8775a7; margin-right: 0px;">
  229. <h2 class="m-top-none">6</h2>
  230. <h5>对公待签收任务</h5>
  231. <div class="stat-icon">
  232. <i class="fa fa-gavel"></i>
  233. </div>
  234. </div>
  235. </div>
  236. <div class="dashboard-stats">
  237. <div class="dashboard-stats-item" style="background-color: #4f5c65; margin-bottom: 0px;">
  238. <h2 class="m-top-none">324<span>件</span></h2>
  239. <h5>今日订单数</h5>
  240. <div class="stat-icon">
  241. <i class="fa fa-shopping-cart"></i>
  242. </div>
  243. </div>
  244. </div>
  245. <div class="dashboard-stats">
  246. <div class="dashboard-stats-item" style="background-color: #14aae4; margin-bottom: 0px;">
  247. <h2 class="m-top-none">525<span>件</span></h2>
  248. <h5>昨日订单数</h5>
  249. <div class="stat-icon">
  250. <i class="fa fa-file-text-o"></i>
  251. </div>
  252. </div>
  253. </div>
  254. <div class="dashboard-stats">
  255. <div class="dashboard-stats-item" style="background-color: #949FB1; margin-bottom: 0px;">
  256. <h2 class="m-top-none">355<span>件</span></h2>
  257. <h5>回退订单数</h5>
  258. <div class="stat-icon">
  259. <i class="fa fa-coffee"></i>
  260. </div>
  261. </div>
  262. </div>
  263. <div class="dashboard-stats">
  264. <div class="dashboard-stats-item" style="background-color: #f29503; margin-right: 0px; margin-bottom: 0px;">
  265. <h2 class="m-top-none">3335<span>元</span></h2>
  266. <h5>昨日成交金额</h5>
  267. <div class="stat-icon">
  268. <i class="fa fa-rmb" style="padding-left: 10px;"></i>
  269. </div>
  270. </div>
  271. </div>
  272. </div>
  273. </div>
  274. <div style="float: right; width: 30%;">
  275. <div style="height: 221px; border: 1px solid #e6e6e6; background-color: #fff;">
  276. <div class="panel panel-default">
  277. <div class="panel-heading"><i class="fa fa-area-chart fa-lg" style="padding-right: 5px;"></i>成交订单</div>
  278. <div class="panel-body">
  279. <canvas id="Canvas2" style="height: 165px; width: 100%;"></canvas>
  280. </div>
  281. </div>
  282. </div>
  283. </div>
  284. </div>
  285. <div class="rows" style="margin-bottom: 0.8%; overflow: hidden;">
  286. <div style="float: left; width: 69.2%;">
  287. <div style="height: 290px; border: 1px solid #e6e6e6; background-color: #fff;">
  288. <div class="panel panel-default">
  289. <div class="panel-heading"><i class="fa fa-bar-chart fa-lg" style="padding-right: 5px;"></i>柱状图</div>
  290. <div class="panel-body">
  291. <canvas id="Canvas3" style="height: 230px; width: 100%;"></canvas>
  292. </div>
  293. </div>
  294. </div>
  295. </div>
  296. <div style="float: right; width: 30%;">
  297. <div style="height: 290px; border: 1px solid #e6e6e6; background-color: #fff;">
  298. <div class="panel panel-default">
  299. <div class="panel-heading"><i class="fa fa-pie-chart fa-lg" style="padding-right: 5px;"></i>请假统计</div>
  300. <div class="panel-body">
  301. <canvas id="Canvas1" style="height: 180px; width: 100%; margin-top: 10px;"></canvas>
  302. <div style="text-align: center; padding-top: 15px;">
  303. <span><i class="fa fa-square" style="color: #F7464A; font-size: 20px; padding-right: 5px; vertical-align: middle; margin-top: -3px;"></i>事假</span>
  304. <span style="margin-left: 10px;"><i class="fa fa-square" style="color: #46BFBD; font-size: 20px; padding-right: 5px; vertical-align: middle; margin-top: -3px;"></i>病假</span>
  305. <span style="margin-left: 10px;"><i class="fa fa-square" style="color: #FDB45C; font-size: 20px; padding-right: 5px; vertical-align: middle; margin-top: -3px;"></i>公休假</span>
  306. <span style="margin-left: 10px;"><i class="fa fa-square" style="color: #949FB1; font-size: 20px; padding-right: 5px; vertical-align: middle; margin-top: -3px;"></i>调休假</span>
  307. </div>
  308. </div>
  309. </div>
  310. </div>
  311. </div>
  312. </div>
  313. <div class="rows" style="overflow: hidden;">
  314. <div style="float: left; width: 33.8%; margin-right: 0.8%;">
  315. <div style="height: 240px; border: 1px solid #e6e6e6; background-color: #fff;">
  316. <div class="panel panel-default">
  317. <div class="panel-heading"><i class="fa fa-send fa-lg" style="padding-right: 5px;"></i>企业文化</div>
  318. <div class="panel-body">
  319. <ul>
  320. <li><a href="http://www.game7000.com/" target="_blank">石家庄龙游科技有限公司,期待您的加入!</a><span class="time">2016-07-02</span></li>
  321. <li><a href="http://www.game7000.com/" target="_blank">石家庄龙游科技有限公司,期待您的加入!</a><span class="time">2016-06-18</span></li>
  322. <li><a href="http://www.game7000.com/" target="_blank">石家庄龙游科技有限公司,期待您的加入!</a><span class="time">2016-06-26</span></li>
  323. <li><a href="http://www.game7000.com/" target="_blank">石家庄龙游科技有限公司,期待您的加入!</a><span class="time">2016-04-20</span></li>
  324. <li><a href="http://www.game7000.com/" target="_blank">石家庄龙游科技有限公司,期待您的加入! </a><span class="time">2016-03-08</span></li>
  325. <li><a href="http://www.game7000.com/" target="_blank">石家庄龙游科技有限公司,期待您的加入!</a><span class="time">2016-02-22</span></li>
  326. <li><a href="http://www.game7000.com/" target="_blank">石家庄龙游科技有限公司,期待您的加入!</a><span class="time">2016-02-15</span></li>
  327. </ul>
  328. </div>
  329. </div>
  330. </div>
  331. </div>
  332. <div style="float: left; width: 34.6%; margin-right: 0.8%;">
  333. <div style="height: 240px; border: 1px solid #e6e6e6; background-color: #fff;">
  334. <div class="panel panel-default">
  335. <div class="panel-heading"><i class="fa fa-rss fa-lg" style="padding-right: 5px;"></i>通知公告</div>
  336. <div class="panel-body">
  337. <ul>
  338. <li><a href="http://www.game7000.com/" target="_blank">【通知】石家庄龙游科技有限公司</a><span class="time">2016-07-21</span></li>
  339. <li><a href="http://www.game7000.com/" target="_blank">【公告】石家庄龙游科技有限公司</a><span class="time">2016-07-21</span></li>
  340. <li><a href="http://www.game7000.com/" target="_blank">【公告】石家庄龙游科技有限公司</a><span class="time">2016-07-21</span></li>
  341. <li><a href="http://www.game7000.com/" target="_blank">【通知】石家庄龙游科技有限公司</a><span class="time">2016-07-21</span></li>
  342. <li><a href="http://www.game7000.com/" target="_blank">【通知】石家庄龙游科技有限公司</a><span class="time">2016-07-21</span></li>
  343. <li><a href="http://www.game7000.com/" target="_blank">【通知】石家庄龙游科技有限公司</a><span class="time">2016-07-21</span></li>
  344. <li><a href="http://www.game7000.com/" target="_blank">【公告】石家庄龙游科技有限公司</a><span class="time">2016-07-21</span></li>
  345. </ul>
  346. </div>
  347. </div>
  348. </div>
  349. </div>
  350. <div style="float: right; width: 30%;">
  351. <div style="height: 240px; border: 1px solid #e6e6e6; background-color: #fff;">
  352. <div class="panel panel-default">
  353. <div class="panel-heading"><i class="fa fa-thumbs-o-up fa-lg" style="padding-right: 5px;"></i>最新签约</div>
  354. <div class="panel-body">
  355. <ul>
  356. <li><a href="http://www.game7000.com/" target="_blank">石家庄龙游科技有限公司</a><span class="time">2016-07-21</span></li>
  357. <li><a href="http://www.game7000.com/" target="_blank">石家庄龙游科技有限公司</a><span class="time">2016-07-20</span></li>
  358. <li><a href="http://www.game7000.com/" target="_blank">石家庄龙游科技有限公司</a><span class="time">2016-07-19</span></li>
  359. <li><a href="http://www.game7000.com/" target="_blank">石家庄龙游科技有限公司</a><span class="time">2016-07-17</span></li>
  360. <li><a href="http://www.game7000.com/" target="_blank">石家庄龙游科技有限公司</a><span class="time">2016-07-17</span></li>
  361. <li><a href="http://www.game7000.com/" target="_blank">石家庄龙游科技有限公司</a><span class="time">2016-07-13</span></li>
  362. <li><a href="http://www.game7000.com/" target="_blank">石家庄龙游科技有限公司</a><span class="time">2016-07-12</span></li>
  363. </ul>
  364. </div>
  365. </div>
  366. </div>
  367. </div>
  368. </div>
  369. </div>
  370. </body>
  371. </html>