general.html 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. {include file="public/header" /}
  2. <div class="page">
  3. <div class="fixed-bar">
  4. <div class="item-title">
  5. <div class="subject">
  6. <h3>{$Think.lang.ds_statgeneral}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <div class="explanation" id="explanation">
  13. <div class="title" id="checkZoom">
  14. <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
  15. <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
  16. </div>
  17. <ul>
  18. <li>{$Think.lang.stat_validorder_explain}</li>
  19. </ul>
  20. </div>
  21. <table class="ds-default-table">
  22. <thead class="thead">
  23. <tr class="space">
  24. <th colspan="15">{$stat_time|date="Y-m-d"}{$Think.lang.latest_news}</th>
  25. </tr>
  26. </thead>
  27. <tbody>
  28. <tr>
  29. <td>
  30. {$Think.lang.statstore_orderamount}&nbsp;<i title="{$Think.lang.statstore_orderamount_tips}" class="tip iconfont">&#xe66f;</i>
  31. <br><b>{$statnew_arr.orderamount}{$Think.lang.ds_yuan}</b>
  32. </td>
  33. <td>
  34. {$Think.lang.membernum}&nbsp;<i title="{$Think.lang.membernum_tips}" class="tip iconfont">&#xe66f;</i>
  35. <br><b>{$statnew_arr.ordermembernum}</b>
  36. </td>
  37. <td>
  38. {$Think.lang.statstore_ordernum}&nbsp;<i title="{$Think.lang.statstore_ordernum_tips}" class="tip iconfont">&#xe66f;</i>
  39. <br><b>{$statnew_arr.ordernum}</b>
  40. </td>
  41. <td>
  42. {$Think.lang.goodsnum}&nbsp;<i title="{$Think.lang.goodsnum_tips}" class="tip iconfont">&#xe66f;</i>
  43. <br><b>{$statnew_arr.ordergoodsnum}</b>
  44. </td>
  45. </tr>
  46. <tr>
  47. <td>
  48. {$Think.lang.average_price}&nbsp;<i title="{$Think.lang.average_price_tips}" class="tip iconfont">&#xe66f;</i>
  49. <br><b>{$statnew_arr.priceavg}{$Think.lang.ds_yuan}</b>
  50. </td>
  51. <td>
  52. {$Think.lang.average_per_member_price}&nbsp;<i title="{$Think.lang.average_per_member_price_tips}" class="tip iconfont">&#xe66f;</i>
  53. <br><b>{$statnew_arr.orderavg}</b>
  54. </td>
  55. <td>
  56. {$Think.lang.stat_newmember}&nbsp;<i title="{$Think.lang.stat_newmember_tips}" class="tip iconfont">&#xe66f;</i>
  57. <br><b>{$statnew_arr.newmember}</b>
  58. </td>
  59. <td>
  60. {$Think.lang.user_total}&nbsp;<i title="{$Think.lang.user_total_tips}" class="tip iconfont">&#xe66f;</i>
  61. <br><b>{$statnew_arr.membernum}</b>
  62. </td>
  63. </tr>
  64. <tr>
  65. <td>
  66. {$Think.lang.stat_newstore}&nbsp;<i title="{$Think.lang.stat_newstore_tips}" class="tip iconfont">&#xe66f;</i>
  67. <br><b>{$statnew_arr.newstore}</b></td>
  68. <td>
  69. {$Think.lang.store_total}&nbsp;<i title="{$Think.lang.store_total_tips}" class="tip iconfont">&#xe66f;</i>
  70. <br><b>{$statnew_arr.storenum}</b></td>
  71. <td>
  72. {$Think.lang.goods_add_total}&nbsp;<i title="{$Think.lang.goods_add_total_tips}" class="tip iconfont">&#xe66f;</i>
  73. <br><b>{$statnew_arr.newgoods}</b></td>
  74. <td>
  75. {$Think.lang.goods_total}&nbsp;<i title="{$Think.lang.goods_total_tips}" class="tip iconfont">&#xe66f;</i>
  76. <br><b>{$statnew_arr.goodsnum}</b></td>
  77. </tr>
  78. </tbody>
  79. </table>
  80. <table class="ds-default-table">
  81. <thead class="thead">
  82. <tr class="space">
  83. <th colspan="15">{$stat_time|date="Y-m-d"}{$Think.lang.sale_trend}</th>
  84. </tr>
  85. </thead>
  86. <tbody>
  87. <tr>
  88. <td><div id="container" class="w100pre close_float" style="height:400px"></div></td>
  89. </tr>
  90. </tbody>
  91. </table>
  92. <div style="overflow: hidden;">
  93. <div class="w40pre floatleft">
  94. <table class="ds-default-table">
  95. <thead class="thead">
  96. <tr class="space">
  97. <th colspan="15">{$Think.lang.store_sale_top_30}&nbsp;<i title="{$Think.lang.store_sale_top_30_tips}" class="tip iconfont">&#xe66f;</i></th>
  98. </tr>
  99. </thead>
  100. <tbody>
  101. <tr>
  102. <td>{$Think.lang.statstore_number}</td>
  103. <td>{$Think.lang.ds_store_name}</td>
  104. <td>{$Think.lang.statstore_orderamount}</td>
  105. </tr>
  106. {foreach name="storetop30_arr" item="v"}
  107. <tr>
  108. <td>{$key+1}</td>
  109. <td>{$v.store_name}</td>
  110. <td>{$v.orderamount}</td>
  111. </tr>
  112. {/foreach}
  113. </tbody>
  114. </table>
  115. </div>
  116. <div class="w50pre floatleft" style="margin-left: 50px;">
  117. <table class="ds-default-table">
  118. <thead class="thead">
  119. <tr class="space">
  120. <th colspan="15">{$Think.lang.goods_sale_top_30}&nbsp;<i title="{$Think.lang.goods_sale_top_30_tips}" class="tip iconfont">&#xe66f;</i></th>
  121. </tr>
  122. </thead>
  123. <tbody>
  124. <tr>
  125. <td>{$Think.lang.statstore_number}</td>
  126. <td>{$Think.lang.ds_goods}</td>
  127. <td>{$Think.lang.stat_storesale}</td>
  128. </tr>
  129. {foreach name="goodstop30_arr" item="v"}
  130. <tr>
  131. <td>{$key+1}</td>
  132. <td class="alignleft"><a href="{:url('home/Goods/index',['goods_id'=>$v.goods_id])}" target="_blank">{$v.goods_name}</a></td>
  133. <td>{$v.ordergoodsnum}</td>
  134. </tr>
  135. {/foreach}
  136. </tbody>
  137. </table>
  138. </div>
  139. </div>
  140. <div class="close_float"></div>
  141. </div>
  142. </div>
  143. <script>
  144. jQuery.browser={};(function(){jQuery.browser.msie=false; jQuery.browser.version=0;if(navigator.userAgent.match(/MSIE ([0-9]+)./)){ jQuery.browser.msie=true;jQuery.browser.version=RegExp.$1;}})();
  145. </script>
  146. <script src="{$Think.PLUGINS_SITE_ROOT}/jquery.poshytip.min.js"></script>
  147. <script src="{$Think.PLUGINS_SITE_ROOT}/highcharts/highcharts.js"></script>
  148. <script>
  149. $(function () {
  150. //Ajax提示
  151. $('.tip').poshytip({
  152. className: 'tip-yellowsimple',
  153. showTimeout: 1,
  154. alignTo: 'target',
  155. alignX: 'center',
  156. alignY: 'top',
  157. offsetY: 5,
  158. allowTipHover: false
  159. });
  160. });
  161. var chart = new Highcharts.Chart('container', {$stattoday_json|raw});
  162. </script>