index.html 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. <style type="text/css">
  2. .sm-st {
  3. background: #fff;
  4. padding: 20px;
  5. -webkit-border-radius: 3px;
  6. -moz-border-radius: 3px;
  7. border-radius: 3px;
  8. margin-bottom: 20px;
  9. -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
  10. box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
  11. }
  12. .sm-st-icon {
  13. width: 60px;
  14. height: 60px;
  15. display: inline-block;
  16. line-height: 60px;
  17. text-align: center;
  18. font-size: 30px;
  19. background: #eee;
  20. -webkit-border-radius: 5px;
  21. -moz-border-radius: 5px;
  22. border-radius: 5px;
  23. float: left;
  24. margin-right: 10px;
  25. color: #fff;
  26. }
  27. .sm-st-info {
  28. font-size: 12px;
  29. padding-top: 2px;
  30. }
  31. .sm-st-info span {
  32. display: block;
  33. font-size: 24px;
  34. font-weight: 600;
  35. }
  36. .orange {
  37. background: #fa8564 !important;
  38. }
  39. .tar {
  40. background: #45cf95 !important;
  41. }
  42. .sm-st .green {
  43. background: #86ba41 !important;
  44. }
  45. .pink {
  46. background: #AC75F0 !important;
  47. }
  48. .yellow-b {
  49. background: #fdd752 !important;
  50. }
  51. .stat-elem {
  52. background-color: #fff;
  53. padding: 18px;
  54. border-radius: 40px;
  55. }
  56. .stat-info {
  57. text-align: center;
  58. background-color: #fff;
  59. border-radius: 5px;
  60. margin-top: -5px;
  61. padding: 8px;
  62. -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
  63. box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
  64. font-style: italic;
  65. }
  66. .stat-icon {
  67. text-align: center;
  68. margin-bottom: 5px;
  69. }
  70. .st-red {
  71. background-color: #F05050;
  72. }
  73. .st-green {
  74. background-color: #27C24C;
  75. }
  76. .st-violet {
  77. background-color: #7266ba;
  78. }
  79. .st-blue {
  80. background-color: #23b7e5;
  81. }
  82. .stats .stat-icon {
  83. color: #28bb9c;
  84. display: inline-block;
  85. font-size: 26px;
  86. text-align: center;
  87. vertical-align: middle;
  88. width: 50px;
  89. float: left;
  90. }
  91. .stat {
  92. white-space: nowrap;
  93. overflow: hidden;
  94. text-overflow: ellipsis;
  95. display: inline-block;
  96. }
  97. .stat .value {
  98. font-size: 20px;
  99. line-height: 24px;
  100. overflow: hidden;
  101. text-overflow: ellipsis;
  102. font-weight: 500;
  103. }
  104. .stat .name {
  105. overflow: hidden;
  106. text-overflow: ellipsis;
  107. }
  108. .stat.lg .value {
  109. font-size: 26px;
  110. line-height: 28px;
  111. }
  112. .stat.lg .name {
  113. font-size: 16px;
  114. }
  115. .stat-col .progress {
  116. height: 2px;
  117. }
  118. .stat-col .progress-bar {
  119. line-height: 2px;
  120. height: 2px;
  121. }
  122. .item {
  123. padding: 30px 0;
  124. }
  125. #statistics .panel {
  126. min-height: 150px;
  127. }
  128. #statistics .panel h5 {
  129. font-size: 13px;
  130. }
  131. </style>
  132. <div class="panel panel-default panel-intro">
  133. <div class="panel-heading">
  134. <ul class="nav nav-tabs">
  135. <li class="active"><a href="#one" data-toggle="tab">{:__('Dashboard')}</a></li>
  136. </ul>
  137. </div>
  138. <div class="panel-body">
  139. <div id="myTabContent" class="tab-content">
  140. <div class="tab-pane fade active in" id="one">
  141. <div class="row">
  142. <div class="col-sm-3 col-xs-6">
  143. <div class="sm-st clearfix">
  144. <span class="sm-st-icon st-red"><i class="fa fa-users"></i></span>
  145. <div class="sm-st-info">
  146. <span>{$totaluser}</span>
  147. 总人数
  148. </div>
  149. </div>
  150. </div>
  151. <div class="col-sm-3 col-xs-6">
  152. <div class="sm-st clearfix">
  153. <span class="sm-st-icon st-violet"><i class="fa fa-magic"></i></span>
  154. <div class="sm-st-info">
  155. <span>{$vipuser}</span>
  156. VIP人数
  157. </div>
  158. </div>
  159. </div>
  160. <div class="col-sm-3 col-xs-6">
  161. <div class="sm-st clearfix">
  162. <span class="sm-st-icon st-blue"><i class="fa fa-leaf"></i></span>
  163. <div class="sm-st-info">
  164. <span>{$today_gift}金币</span>
  165. 今日送礼物总额
  166. </div>
  167. </div>
  168. </div>
  169. <div class="col-sm-3 col-xs-6">
  170. <div class="sm-st clearfix">
  171. <span class="sm-st-icon st-green"><i class="fa fa-user"></i></span>
  172. <div class="sm-st-info">
  173. <span>{$month_gift}金币</span>
  174. 本月送礼物总额
  175. </div>
  176. </div>
  177. </div>
  178. </div>
  179. <div class="row">
  180. <div class="col-lg-4">
  181. <div class="card sameheight-item stats">
  182. <div class="card-block">
  183. <div class="row row-sm stats-container">
  184. <div class="col-xs-6 stat-col">
  185. <div class="stat-icon"><i class="fa fa-rocket"></i></div>
  186. <div class="stat">
  187. <div class="value"> {$today_vip_recharge}元</div>
  188. <div class="name"> 今日vip充值</div>
  189. </div>
  190. <div class="progress">
  191. <div class="progress-bar progress-bar-success" style="width: 30%"></div>
  192. </div>
  193. </div>
  194. <div class="col-xs-6 stat-col">
  195. <div class="stat-icon"><i class="fa fa-vcard"></i></div>
  196. <div class="stat">
  197. <div class="value"> {$month_vip_recharge}元</div>
  198. <div class="name"> 本月vip充值</div>
  199. </div>
  200. <div class="progress">
  201. <div class="progress-bar progress-bar-success" style="width: 25%"></div>
  202. </div>
  203. </div>
  204. <div class="col-xs-6 stat-col">
  205. <div class="stat-icon"><i class="fa fa-calendar"></i></div>
  206. <div class="stat">
  207. <div class="value"> {$today_gold_recharge}元</div>
  208. <div class="name"> 今日金币充值</div>
  209. </div>
  210. <div class="progress">
  211. <div class="progress-bar progress-bar-success" style="width: 25%"></div>
  212. </div>
  213. </div>
  214. <div class="col-xs-6 stat-col">
  215. <div class="stat-icon"><i class="fa fa-calendar-plus-o"></i></div>
  216. <div class="stat">
  217. <div class="value"> {$month_gold_recharge}元</div>
  218. <div class="name"> 本月金币充值</div>
  219. </div>
  220. <div class="progress">
  221. <div class="progress-bar progress-bar-success" style="width: 25%"></div>
  222. </div>
  223. </div>
  224. </div>
  225. </div>
  226. </div>
  227. </div>
  228. </div>
  229. </div>
  230. <div class="tab-pane fade" id="two">
  231. <div class="row">
  232. <div class="col-xs-12">
  233. {:__('Custom zone')}
  234. </div>
  235. </div>
  236. </div>
  237. </div>
  238. </div>
  239. </div>