index.html 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <style type="text/css">
  2. .sm-st-info span {
  3. display: block;
  4. font-size: 24px;
  5. font-weight: 600;
  6. }
  7. #statistics .panel {
  8. min-height: 150px;
  9. }
  10. #statistics .panel h5 {
  11. font-size: 13px;
  12. }
  13. </style>
  14. <div class="panel panel-default panel-intro">
  15. <div class="panel-heading">
  16. {:build_heading(null, false)}
  17. <ul class="nav nav-tabs">
  18. <li class="active"><a href="#one" data-toggle="tab">{:__('Dashboard')}</a></li>
  19. <li><a href="#two" data-toggle="tab">{:__('Custom')}</a></li>
  20. </ul>
  21. </div>
  22. <div class="panel-body">
  23. <div id="myTabContent" class="tab-content">
  24. <div class="tab-pane fade active in" id="one">
  25. <div class="widget-body no-padding" style="margin-top:15px;" id="statistics">
  26. <div class="col-xs-6 col-md-2">
  27. <div class="panel bg-green-gradient no-border">
  28. <div class="panel-body">
  29. <div class="ibox-title">
  30. <h5>{:__('Order count')}</h5>
  31. </div>
  32. <div class="ibox-content">
  33. <div class="row">
  34. <div class="col-md-12">
  35. <h1 class="no-margins">{$orderNums}</h1>
  36. <div class="font-bold"><i class="fa fa-print"></i>
  37. <small>{:__('Order count tips')}</small>
  38. </div>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="col-xs-6 col-md-2">
  46. <div class="panel bg-aqua-gradient no-border">
  47. <div class="panel-body">
  48. <div class="ibox-title">
  49. <h5>{:__('Order amount')}</h5>
  50. </div>
  51. <div class="ibox-content">
  52. <div class="row">
  53. <div class="col-md-12">
  54. <h1 class="no-margins">{$orderAmount}</h1>
  55. <div class="font-bold"><i class="fa fa-shopping-bag"></i>
  56. <small>{:__('Order amount tips')}</small>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. <div class="col-xs-6 col-md-2">
  65. <div class="panel bg-purple-gradient no-border">
  66. <div class="panel-body">
  67. <div class="ibox-title">
  68. <h5>{:__('Goods count')}</h5>
  69. </div>
  70. <div class="ibox-content">
  71. <div class="row">
  72. <div class="col-md-12">
  73. <h1 class="no-margins">{$goodsNums}</h1>
  74. <div class="font-bold"><i class="fa fa-product-hunt"></i>
  75. <small>{:__('Goods count tips')}</small>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. <div class="col-xs-6 col-md-2">
  84. <div class="panel bg-blue-gradient no-border">
  85. <div class="panel-body">
  86. <div class="panel-title">
  87. <h5>{:__('Category count')}</h5>
  88. </div>
  89. <div class="panel-content">
  90. <div class="row">
  91. <div class="col-md-12">
  92. <h1 class="no-margins">{$totalCategory}</h1>
  93. <div class="font-bold"><i class="fa fa-align-justify"></i>
  94. <small>{:__('Category count tips')}</small>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. <div class="col-xs-6 col-md-2">
  103. <div class="panel bg-red-gradient no-border">
  104. <div class="panel-body">
  105. <div class="panel-title">
  106. <h5>{:__('Coupon count')}</h5>
  107. </div>
  108. <div class="panel-content">
  109. <div class="row">
  110. <div class="col-md-12">
  111. <h1 class="no-margins">{$totalCoupon}</h1>
  112. <div class="font-bold"><i class="fa fa-gratipay"></i>
  113. <small>{:__('Coupon count tips')}</small>
  114. </div>
  115. </div>
  116. </div>
  117. </div>
  118. </div>
  119. </div>
  120. </div>
  121. <div class="col-xs-6 col-md-2">
  122. <div class="panel bg-yellow-gradient no-border">
  123. <div class="panel-body">
  124. <div class="panel-title">
  125. <h5>{:__('Ads count')}</h5>
  126. </div>
  127. <div class="panel-content">
  128. <div class="row">
  129. <div class="col-md-12">
  130. <h1 class="no-margins">{$totalAds}</h1>
  131. <div class="font-bold"><i class="fa fa-buysellads"></i>
  132. <small>{:__('Ads count tips')}</small>
  133. </div>
  134. </div>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. </div>
  140. </div>
  141. <!-- 商品销量。每天,每月,每年,能导出 -->
  142. <div class="widget-body col-lg-12 col-xs-12 col-md-12 table-bordered">
  143. <h3>{:__('Goods sales')}</h3>
  144. <table id="tableGoods" class="table table-bordered table-hover table-nowrap"
  145. width="100%">
  146. </table>
  147. </div>
  148. <!-- 收入明细。每天,每月,每年,能导出 -->
  149. <div class="widget-body col-lg-12 col-xs-12 col-md-12 table-bordered">
  150. <h3>{:__('Revenue statistics')}</h3>
  151. <table id="table" class="table table-bordered table-hover table-nowrap"
  152. width="100%">
  153. </table>
  154. <div class="col-lg-12">
  155. <div id="orderNum" class="btn-refresh" style="height:200px;width:100%;"></div>
  156. </div>
  157. <div class="col-lg-12">
  158. <div id="orderMoney" class="btn-refresh" style="height:200px;width:100%;"></div>
  159. </div>
  160. </div>
  161. </div>
  162. <div class="tab-pane fade" id="two">
  163. <div class="row">
  164. <div class="col-xs-12">
  165. {:__('Custom zone')}
  166. </div>
  167. </div>
  168. </div>
  169. </div>
  170. </div>
  171. </div>