goodsinfo.html 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {if isset($stat_msg) && $stat_msg}
  2. <div class="alert alert-info mt10" style="clear:both;">{$stat_msg}</div>
  3. {else /}
  4. <div class="alert alert-info mt10" style="clear:both;">
  5. <h6 class="w tc bolder">“{$goods_info.goods_name}”{$Think.lang.movements_figure}</h6><br>
  6. <ul class="mt5">
  7. <li>
  8. <span class="w210 fl h30" style="display:block;">
  9. <i title="{$Think.lang.nearly_orders_money_title}" class="tip iconfont">&#xe649;</i>
  10. {$Think.lang.nearly_orders_money}:<strong>{$stat_count.ordergamount}{$Think.lang.ds_yuan}</strong>
  11. </span>
  12. <span class="w210 fl h30" style="display:block;">
  13. <i title="{$Think.lang.nearly_orders_shop_title}" class="tip iconfont">&#xe649;</i>
  14. {$Think.lang.nearly_orders_shop}:<strong>{$stat_count.ordergoodsnum}</strong>
  15. </span>
  16. <span class="w210 fl h30" style="display:block;">
  17. <i title="{$Think.lang.nearly_orders_number_title}" class="tip iconfont">&#xe649;</i>
  18. {$Think.lang.nearly_orders_number}:<strong>{$stat_count.ordernum}</strong>
  19. </span>
  20. </li>
  21. </ul>
  22. <div style="clear:both;"></div>
  23. </div>
  24. <div id="container_ordergamount"></div>
  25. <div id="container_ordergoodsnum"></div>
  26. <div id="container_ordernum"></div>
  27. <script>
  28. 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;}})();
  29. </script>
  30. <script src="{$Think.PLUGINS_SITE_ROOT}/jquery.poshytip.min.js"></script>
  31. <script src="{$Think.PLUGINS_SITE_ROOT}/highcharts/highcharts.js"></script>
  32. <script type="text/javascript">
  33. $(function(){
  34. $('#container_ordergamount').highcharts({$stat_json.ordergamount|raw});
  35. $('#container_ordergoodsnum').highcharts({$stat_json.ordergoodsnum|raw});
  36. $('#container_ordernum').highcharts({$stat_json.ordernum|raw});
  37. //Ajax提示
  38. $('.tip').poshytip({
  39. className: 'tip-yellowsimple',
  40. showTimeout: 1,
  41. alignTo: 'target',
  42. alignX: 'center',
  43. alignY: 'top',
  44. offsetY: 5,
  45. allowTipHover: false
  46. });
  47. });
  48. </script>
  49. {/if}