index.html 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. <include file="Public:header"/>
  2. <link href="__PUBLIC__/Admin/index_css/style.css" rel="stylesheet">
  3. <link href="__PUBLIC__/Admin/index_js/morris.js-0.4.3/morris.css" rel="stylesheet">
  4. <script src="__PUBLIC__/Admin/index_js/morris.js-0.4.3/morris.min.js" type="text/javascript"></script>
  5. <script src="__PUBLIC__/Admin/index_js/morris.js-0.4.3/raphael-min.js" type="text/javascript"></script>
  6. <div id="main-content">
  7. <div id="top-alert" class="fixed alert alert-error" style="display: none;">
  8. <button class="close fixed" style="margin-top: 4px;">&times;</button>
  9. <div class="alert-content">警告内容</div>
  10. </div>
  11. <section class="wrapper">
  12. <!--state overview start-->
  13. <div class="row state-overview">
  14. <style>
  15. .panel-heading{text-align: center;font-size: 18px;}
  16. .symbol{width:30%!important;}
  17. .state-overview .value {width:70%!important;}
  18. </style>
  19. <div class="col-lg-3 col-sm-6">
  20. <section class="panel">
  21. <div class="symbol">
  22. <i class="glyphicon glyphicon-user" style="color: #4acea1;"></i>
  23. </div>
  24. <div class="value">
  25. <h1 class="count" style="font-size: 24px;">{$alluser} </h1>
  26. <p>注册总人数(人)</p>
  27. </div>
  28. </section>
  29. </div>
  30. <div class="col-lg-3 col-sm-6">
  31. <section class="panel">
  32. <div class="symbol">
  33. <i class="glyphicon glyphicon-th" style="color: #fa4b4c;"></i>
  34. </div>
  35. <div class="value">
  36. <h1 class=" count2" style="font-size: 24px;">{$allhy} </h1>
  37. <p>快速合约未平仓(条)</p>
  38. </div>
  39. </section>
  40. </div>
  41. <div class="col-lg-3 col-sm-6">
  42. <section class="panel">
  43. <div class="symbol">
  44. <i class="glyphicon glyphicon-transfer" style="color: #ffdc3a;"></i>
  45. </div>
  46. <div class="value">
  47. <h1 class=" count3" style="font-size: 24px;">{$bball}</h1>
  48. <p>币币交易额度(USDT)</p>
  49. </div>
  50. </section>
  51. </div>
  52. <div class="col-lg-3 col-sm-6">
  53. <section class="panel">
  54. <div class="symbol">
  55. <i class="glyphicon glyphicon-tasks" style="color: #4b9afa;"></i>
  56. </div>
  57. <div class="value">
  58. <h1 class=" count4" style="font-size: 24px;">{$allkj} </h1>
  59. <p>全网有效矿机总数(台)</p>
  60. </div>
  61. </section>
  62. </div>
  63. </div>
  64. <div class="row state-overview">
  65. <style>
  66. .panel-heading{text-align: center;font-size: 18px;}
  67. </style>
  68. <div class="col-lg-3 col-sm-6">
  69. <section class="panel">
  70. <div class="symbol">
  71. <i class="glyphicon glyphicon-gift" style="color: #4acea1;"></i>
  72. </div>
  73. <div class="value">
  74. <h1 class="count" style="font-size: 24px;">{$allissue}</h1>
  75. <p>认购记录数(条)</p>
  76. </div>
  77. </section>
  78. </div>
  79. <div class="col-lg-3 col-sm-6">
  80. <section class="panel">
  81. <div class="symbol">
  82. <i class="glyphicon glyphicon-save" style="color: #fa4b4c;"></i>
  83. </div>
  84. <div class="value">
  85. <h1 class=" count2" style="font-size: 24px;">{$allcz}</h1>
  86. <p>充值总量(USDT)</p>
  87. </div>
  88. </section>
  89. </div>
  90. <div class="col-lg-3 col-sm-6">
  91. <section class="panel">
  92. <div class="symbol">
  93. <i class="glyphicon glyphicon-open" style="color: #ffdc3a;"></i>
  94. </div>
  95. <div class="value">
  96. <h1 class=" count3" style="font-size: 24px;">{$alltx}</h1>
  97. <p>提币总量(USDT)</p>
  98. </div>
  99. </section>
  100. </div>
  101. <div class="col-lg-3 col-sm-6">
  102. <section class="panel">
  103. <div class="symbol">
  104. <i class="glyphicon glyphicon-check" style="color: #4b9afa;"></i>
  105. </div>
  106. <div class="value">
  107. <h1 class=" count4" style="font-size: 24px;">{$allline}</h1>
  108. <p>今日访客量(人)</p>
  109. </div>
  110. </section>
  111. </div>
  112. </div>
  113. <div id="morris">
  114. <div class="row">
  115. <div class="col-lg-6">
  116. <section class="panel">
  117. <header class="panel-heading">
  118. 用户注册报表(30天)
  119. </header>
  120. <div class="panel-body">
  121. <div id="hero-bar" class="graph"></div>
  122. </div>
  123. </section>
  124. </div>
  125. <div class="col-lg-6">
  126. <section class="panel">
  127. <header class="panel-heading">
  128. 充值/提现 统计图(30天)
  129. </header>
  130. <div class="panel-body">
  131. <div id="hero-graph" class="graph"></div>
  132. </div>
  133. </section>
  134. </div>
  135. </div>
  136. </div>
  137. </section>
  138. </div>
  139. <script>
  140. var Script = function () {
  141. $(function () {
  142. show_cztx({$cztx});
  143. show_reg({$reg});
  144. //系统 充值/提现 统计图
  145. function show_cztx(data) {
  146. Morris.Line({
  147. element: 'hero-graph',
  148. data: data,
  149. xkey: 'date',
  150. ykeys: [
  151. 'charge',
  152. 'withdraw'
  153. ],
  154. labels: [
  155. '充值',
  156. '提现'
  157. ],
  158. lineColors: [
  159. '#8075c4',
  160. '#6883a3'
  161. ],
  162. xLabels: 'day',
  163. postUnits: ' '
  164. });
  165. }
  166. //用户注册报表
  167. function show_reg(data) {
  168. Morris.Bar({
  169. element: 'hero-bar',
  170. data: data,
  171. xkey: 'date',
  172. ykeys: ['sum'],
  173. labels: ['人数'],
  174. barRatio: 0.4,
  175. xLabelAngle: 35,
  176. hideHover: 'auto',
  177. barColors: ['#6883a3'],
  178. xLabels: 'day',
  179. postUnits: ' 人',
  180. });
  181. }
  182. //市场交易报表
  183. function show_trance(data) {
  184. Morris.Area({
  185. element: 'hero-area',
  186. data: [
  187. ],
  188. xkey: 'date',
  189. ykeys: [
  190. ],
  191. labels: [
  192. ],
  193. hideHover: 'auto',
  194. lineWidth: 1,
  195. pointSize: 10,
  196. lineColors: [
  197. '#4a8bc2',
  198. '#ff6c60',
  199. '#a9d86e'
  200. ],
  201. fillOpacity: 0.5,
  202. smooth: true,
  203. postUnits: ' 元',
  204. xLabels: 'day',
  205. });
  206. }
  207. });
  208. }();
  209. </script>
  210. <include file="Public:footer"/>
  211. <div style="display:none">
  212. </div>
  213. <block name="script">
  214. <script type="text/javascript" charset="utf-8">
  215. //导航高亮
  216. highlight_subnav("{:U('Index/index')}");
  217. </script>
  218. </block>