index.html 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. {extend name="default/base/base_seller" /}
  2. {block name="seller_main"}
  3. <div class="alert mt10" style="clear:both;">
  4. <ul class="mt5">
  5. <li>{$Think.lang.statistical_information1}</li>
  6. <li>{$Think.lang.statistical_information2}</li>
  7. </ul>
  8. </div>
  9. <div class="alert alert-info mt10" style="clear:both;">
  10. <ul class="mt5">
  11. <li>
  12. <span class="w200 fl h30" style="display:block;">
  13. <i title="{$Think.lang.nearly_orders_money_title}" class="tip iconfont">&#xe649;</i>
  14. {$Think.lang.nearly_orders_money}:<strong>{$statnew_arr.orderamount}{$Think.lang.ds_yuan}</strong>
  15. </span>
  16. <span class="w200 fl h30" style="display:block;">
  17. <i title="{$Think.lang.nearly_orders_members_title}" class="tip iconfont">&#xe649;</i>
  18. {$Think.lang.nearly_orders_members}:<strong>{$statnew_arr.ordermembernum}</strong>
  19. </span>
  20. <span class="w200 fl h30" style="display:block;">
  21. <i title="{$Think.lang.nearly_orders_number_title}" class="tip iconfont">&#xe649;</i>
  22. {$Think.lang.nearly_orders_number}:<strong>{$statnew_arr.ordernum}</strong>
  23. </span>
  24. <span class="w200 fl h30" style="display:block;">
  25. <i title="{$Think.lang.nearly_orders_shop_title}" class="tip iconfont">&#xe649;</i>
  26. {$Think.lang.nearly_orders_shop}:<strong>{$statnew_arr.ordergoodsnum}</strong>
  27. </span>
  28. </li>
  29. <li>
  30. <span class="w200 fl h30" style="display:block;">
  31. <i title="{$Think.lang.average_guest_price_title}" class="tip iconfont">&#xe649;</i>
  32. {$Think.lang.average_guest_price}:<strong>{$statnew_arr.avgorderamount}{$Think.lang.ds_yuan}</strong>
  33. </span>
  34. <span class="w200 fl h30" style="display:block;">
  35. <i title="{$Think.lang.average_price_title}" class="tip iconfont">&#xe649;</i>
  36. {$Think.lang.average_price}:<strong>{$statnew_arr.avggoodsprice}{$Think.lang.ds_yuan}</strong>
  37. </span>
  38. <span class="w200 fl h30" style="display:block;">
  39. <i title="{$Think.lang.merchandise_inventory_title}" class="tip iconfont">&#xe649;</i>
  40. {$Think.lang.merchandise_inventory}:<strong>{$statnew_arr.gcollectnum}</strong>
  41. </span>
  42. <span class="w200 fl h30" style="display:block;">
  43. <i title="{$Think.lang.goods_total_number_title}" class="tip iconfont">&#xe649;</i>
  44. {$Think.lang.goods_total_number}:<strong>{$statnew_arr.goodsnum}</strong>
  45. </span>
  46. </li>
  47. <li>
  48. <span class="w200 fl h30" style="display:block;">
  49. <i title="{$Think.lang.store_stock_title}" class="tip iconfont">&#xe649;</i>
  50. {$Think.lang.store_stock}:<strong>{$statnew_arr.store_collect}</strong>
  51. </span>
  52. <span class="w400 fl h30" style="display:block;">
  53. <i title="{$Think.lang.order_peak_title}" class="tip iconfont">&#xe649;</i>
  54. {$Think.lang.order_peak}:<strong>{$statnew_arr.hothour ?$statnew_arr.hothour :lang('temporary_no')}</strong>
  55. </span>
  56. </li>
  57. </ul>
  58. <div style="clear:both;"></div>
  59. </div>
  60. <div id="container"></div>
  61. <div class="w450 fl mr50">
  62. <div class="alert alert-info" style="margin-bottom:0px;"><strong>{$Think.lang.recommended_promotion}</strong>
  63. &nbsp;<i title="{$Think.lang.recommended_promotion_title}" class="tip iconfont">&#xe649;</i>
  64. </div>
  65. <table class="dssc-default-table">
  66. <thead>
  67. <tr class="sortbar-array">
  68. <th class="align-center">{$Think.lang.serial_number}</th>
  69. <th class="align-center">{$Think.lang.commodity_name}</th>
  70. <th class="align-center">{$Think.lang.sales}</th>
  71. </tr>
  72. </thead>
  73. <tbody id="datatable">
  74. {notempty name="goodstop30_arr"}
  75. {foreach name="goodstop30_arr" item="v"}
  76. <tr class="bd-line">
  77. <td class="w50">{$key+1}</td>
  78. <td class="tl">
  79. <span class="over_hidden w340 h20">
  80. <a href="{:url('Goods/index',['goods_id'=>$v.goods_id])}" target="_blank">{$v.goods_name}</a>
  81. </span>
  82. </td>
  83. <td class="w50">{$v.ordergoodsnum}</td>
  84. </tr>
  85. {/foreach}
  86. {else /}
  87. <tr>
  88. <td colspan="20" class="norecord">
  89. <div class="warning-option">
  90. <i class="iconfont">&#xe64c;</i>
  91. <span>{$Think.lang.no_record}</span>
  92. </div>
  93. </td>
  94. </tr>
  95. {/notempty}
  96. </tbody>
  97. </table>
  98. </div>
  99. <div class="w450 fl">
  100. <div class="alert alert-info" style="margin-bottom:0px;">
  101. <strong>{$Think.lang.peer_selling}</strong>
  102. &nbsp;<i title="{$Think.lang.peer_selling_title}" class="tip iconfont">&#xe649;</i>
  103. </div>
  104. <table class="dssc-default-table">
  105. <thead>
  106. <tr class="sortbar-array">
  107. <th class="align-center">{$Think.lang.serial_number}</th>
  108. <th class="align-center">{$Think.lang.commodity_name}</th>
  109. <th class="align-center">{$Think.lang.sales}</th>
  110. </tr>
  111. </thead>
  112. <tbody id="datatable">
  113. {notempty name="othergoodstop30_arr" id="v"}
  114. {foreach name="othergoodstop30_arr" item="v"}
  115. <tr class="bd-line">
  116. <td class="w50">{$key+1}</td>
  117. <td class="tl">
  118. <span class="over_hidden w340 h20">
  119. <a href="{:url('Goods/index',['goods_id'=>$v.goods_id])}" target="_blank">{$v.goods_name}</a>
  120. </span>
  121. </td>
  122. <td class="w50">{$v.ordergoodsnum}</td>
  123. </tr>
  124. {/foreach}
  125. {else /}
  126. <tr>
  127. <td colspan="20" class="norecord">
  128. <div class="warning-option">
  129. <i class="iconfont">&#xe64c;</i>
  130. <span>{$Think.lang.no_record}</span>
  131. </div>
  132. </td>
  133. </tr>
  134. {/notempty}
  135. </tbody>
  136. </table>
  137. </div>
  138. <div class="h30 cb">&nbsp;</div>
  139. <script>
  140. 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;}})();
  141. </script>
  142. <script src="{$Think.PLUGINS_SITE_ROOT}/jquery.poshytip.min.js"></script>
  143. <script src="{$Think.PLUGINS_SITE_ROOT}/highcharts/highcharts.js"></script>
  144. <script>
  145. $(function(){
  146. //Ajax提示
  147. $('.tip').poshytip({
  148. className: 'tip-yellowsimple',
  149. showTimeout: 1,
  150. alignTo: 'target',
  151. alignX: 'center',
  152. alignY: 'top',
  153. offsetY: 5,
  154. allowTipHover: false
  155. });
  156. $('#container').highcharts({$stattoday_json|raw});
  157. });
  158. </script>
  159. {/block}