index.html 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. </ul>
  20. </div>
  21. <div class="panel-body">
  22. <div id="myTabContent" class="tab-content">
  23. <div class="tab-pane fade active in" id="one">
  24. <div class="widget-body no-padding" style="margin-top:15px;" id="statistics">
  25. <div class="col-xs-6 col-md-2">
  26. <div class="panel bg-green-gradient no-border">
  27. <div class="panel-body">
  28. <div class="ibox-title">
  29. <h5>{:__('Order count')}</h5>
  30. </div>
  31. <div class="ibox-content">
  32. <div class="row">
  33. <div class="col-md-12">
  34. <h1 class="no-margins">{$orderNums}</h1>
  35. <div class="font-bold"><i class="fa fa-print"></i>
  36. <small>{:__('Order count tips')}</small>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. <div class="col-xs-6 col-md-2">
  45. <div class="panel bg-aqua-gradient no-border">
  46. <div class="panel-body">
  47. <div class="ibox-title">
  48. <h5>{:__('Order amount')}</h5>
  49. </div>
  50. <div class="ibox-content">
  51. <div class="row">
  52. <div class="col-md-12">
  53. <h1 class="no-margins">{$orderAmount}</h1>
  54. <div class="font-bold"><i class="fa fa-shopping-bag"></i>
  55. <small>{:__('Order amount tips')}</small>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. <div class="col-xs-6 col-md-2">
  64. <div class="panel bg-purple-gradient no-border">
  65. <div class="panel-body">
  66. <div class="ibox-title">
  67. <h5>{:__('Goods count')}</h5>
  68. </div>
  69. <div class="ibox-content">
  70. <div class="row">
  71. <div class="col-md-12">
  72. <h1 class="no-margins">{$goodsNums}</h1>
  73. <div class="font-bold"><i class="fa fa-product-hunt"></i>
  74. <small>{:__('Goods count tips')}</small>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. <div class="col-xs-6 col-md-2">
  83. <div class="panel bg-blue-gradient no-border">
  84. <div class="panel-body">
  85. <div class="panel-title">
  86. <h5>{:__('Category count')}</h5>
  87. </div>
  88. <div class="panel-content">
  89. <div class="row">
  90. <div class="col-md-12">
  91. <h1 class="no-margins">{$totalCategory}</h1>
  92. <div class="font-bold"><i class="fa fa-align-justify"></i>
  93. <small>{:__('Category count tips')}</small>
  94. </div>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. <div class="col-xs-6 col-md-2">
  102. <div class="panel bg-red-gradient no-border">
  103. <div class="panel-body">
  104. <div class="panel-title">
  105. <h5>{:__('Coupon count')}</h5>
  106. </div>
  107. <div class="panel-content">
  108. <div class="row">
  109. <div class="col-md-12">
  110. <h1 class="no-margins">{$totalCoupon}</h1>
  111. <div class="font-bold"><i class="fa fa-gratipay"></i>
  112. <small>{:__('Coupon count tips')}</small>
  113. </div>
  114. </div>
  115. </div>
  116. </div>
  117. </div>
  118. </div>
  119. </div>
  120. </div>
  121. <!-- 商品销量。每天,每月,每年,能导出 -->
  122. <div class="widget-body col-lg-12 col-xs-12 col-md-12 table-bordered">
  123. <h3>{:__('Goods sales')}</h3>
  124. <table id="tableGoods" class="table table-bordered table-hover table-nowrap"
  125. width="100%">
  126. </table>
  127. </div>
  128. <!-- 收入明细。每天,每月,每年,能导出 -->
  129. <div class="widget-body col-lg-12 col-xs-12 col-md-12 table-bordered">
  130. <h3>{:__('Revenue statistics')}</h3>
  131. <table id="table" class="table table-bordered table-hover table-nowrap"
  132. width="100%">
  133. </table>
  134. <div class="col-lg-12">
  135. <div id="orderNum" class="btn-refresh" style="height:200px;width:100%;"></div>
  136. </div>
  137. <div class="col-lg-12">
  138. <div id="orderMoney" class="btn-refresh" style="height:200px;width:100%;"></div>
  139. </div>
  140. </div>
  141. </div>
  142. <div class="tab-pane fade" id="two">
  143. <div class="row">
  144. <div class="col-xs-12">
  145. {:__('Custom zone')}
  146. </div>
  147. </div>
  148. </div>
  149. </div>
  150. </div>
  151. </div>