stat_storearea.html 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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_statstore}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <div class="fixed-empty"></div>
  13. <form method="get" name="formSearch" id="formSearch">
  14. <div class="ds-search-form">
  15. <dl>
  16. <dd>
  17. <select name="search_sclass" id="search_sclass" class="querySelect">
  18. <option value="" selected>{$Think.lang.ds_storeclass}</option>
  19. {foreach name="store_class" item="v"}
  20. <option value="{$v.storeclass_id}" {$Request.param.search_sclass== $v.storeclass_id ? 'selected' :''}>{$v.storeclass_name}</option>
  21. {/foreach}
  22. </select>
  23. </dd>
  24. <dd>
  25. <input class="txt date" type="text" value="{if $Request.param.search_time}{$Request.param.search_time}{else}{:date('Y-m-d')}{/if}" id="search_time" name="search_time">
  26. </dd>
  27. </dl>
  28. <div class="btn_group">
  29. <a href="javascript:void(0);" id="dssubmit" class="btn tooltip" title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
  30. <a href="{:url('Statstore/storearea')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  31. </div>
  32. </div>
  33. </form>
  34. <div class="explanation" id="explanation">
  35. <div class="title" id="checkZoom">
  36. <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
  37. <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
  38. </div>
  39. <ul>
  40. <li>{$Think.lang.statstore_stat_storearea_help1}</li>
  41. <li>{$Think.lang.statstore_stat_storearea_help2}</li>
  42. </ul>
  43. </div>
  44. <table class="ds-default-table">
  45. <thead class="thead">
  46. <tr class="space">
  47. <th colspan="15">{$Think.lang.statestore_area}</th>
  48. </tr>
  49. </thead>
  50. <tbody>
  51. <tr>
  52. <td>
  53. <!-- 地图容器 -->
  54. <div id="container_storenum" class="close_float" style="height:600px; width:90%; margin: 0 auto;">
  55. <div class="stat-map-color">{$Think.lang.statestore_heigh}&nbsp;&nbsp;<span style="background-color: #FD0B07;">&nbsp;</span><span
  56. style="background-color: #FF9191;">&nbsp;</span><span style="background-color: #F7BA17;">&nbsp;</span><span
  57. style="background-color: #FEF406;">&nbsp;</span><span style="background-color: #25AAE2;">&nbsp;</span>&nbsp;&nbsp;{$Think.lang.statestore_low}
  58. <p>{$Think.lang.statestore_area_tips}</p></div>
  59. </div>
  60. </td>
  61. </tr>
  62. </tbody>
  63. </table>
  64. <!-- 统计列表 -->
  65. <table class="ds-default-table">
  66. <thead class="thead">
  67. <tr>
  68. <th class="align-center">{$Think.lang.statstore_number}</th>
  69. <th class="align-center">{$Think.lang.statestore_area}</th>
  70. <th class="align-center">{$Think.lang.store_number}</th>
  71. <th class="align-center">{$Think.lang.ds_handle}</th>
  72. </tr>
  73. </thead>
  74. <tbody>
  75. {notempty name="statlist"}
  76. {foreach name="statlist" item="v"}
  77. <tr>
  78. <td class="align-center">{$v.sort}</td>
  79. <td class="align-center">{$v.provincename}</td>
  80. <td class="align-center">{$v.storenum}</td>
  81. <td class="align-center">
  82. {present name="v.province_id"}
  83. <a href="{$actionurl}?provid={$v.province_id}" class="dsui-btn-view"><i class="iconfont"></i>{$Think.lang.ds_view}</a>
  84. {/present}
  85. </td>
  86. </tr>
  87. {/foreach}
  88. {else /}
  89. <tr class="no_data">
  90. <td colspan="3">{$Think.lang.no_record}
  91. </td>
  92. </tr>
  93. {/notempty}
  94. </tbody>
  95. </table>
  96. </div>
  97. </div>
  98. <script src="{$Think.PLUGINS_SITE_ROOT}/highcharts/highcharts.js"></script>
  99. <script src="{$Think.PLUGINS_SITE_ROOT}/statistics.js"></script>
  100. <link rel="stylesheet" type="text/css" href="{$Think.PLUGINS_SITE_ROOT}/map/jquery.vector-map.css"/>
  101. <script type="text/javascript" src="{$Think.PLUGINS_SITE_ROOT}/map/jquery.vector-map.js"></script>
  102. <script type="text/javascript" src="{$Think.PLUGINS_SITE_ROOT}/map/china-zh.js"></script>
  103. <script>
  104. $(function () {
  105. $('#search_time').datepicker({dateFormat: 'yy-mm-dd'});
  106. $('#dssubmit').click(function(){
  107. $('#formSearch').submit();
  108. });
  109. //地图
  110. getMap({$stat_json|raw},'container_storenum');
  111. });
  112. </script>