xsdatalist.html 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. {template 'public/header'}
  2. {template 'public/comhead'}
  3. <link rel="stylesheet" type="text/css" href="../addons/zh_tcwq/template/public/ygcsslist.css">
  4. <style type="text/css">
  5. .row{padding-top: 20px;padding-bottom: 50px;}
  6. .neirong>tr:nth-child(odd){background-color: #F4F6F7;}
  7. .datatitle>th{text-align: center;}
  8. .table{text-align: center;}
  9. .tmoney{font-size: 26px;margin-top: 45px;text-align: center;}
  10. .today{font-size: 14px;text-align: center;margin-left: -165px;}
  11. .backimg{
  12. width: 71px;
  13. height: 74px;
  14. margin-top: 30px;
  15. }
  16. .yg9_content{padding:0px;}
  17. .yg9_content>li>.col-md-12{
  18. height: 130px;
  19. box-shadow: 0px 0px 8px rgba(0,0,0,0.1);
  20. border-radius: 6px;
  21. overflow: hidden;
  22. }
  23. .yg9_content>li:nth-child(1)>.col-md-12{
  24. background-color: #32CC7F;
  25. color: white;
  26. /*background:url(../addons/zh_tcwq/template/images/tuceng4.png) no-repeat center;
  27. background-size: 100%;*/
  28. }
  29. .yg9_content>li:nth-child(2)>.col-md-12{
  30. background-color: #f17c67;
  31. color: white;
  32. }
  33. .yg9_content>li:nth-child(3)>.col-md-12{
  34. background-color: #99CC33;
  35. color: white;
  36. }
  37. .yg9_content>li:nth-child(4)>.col-md-12{
  38. background-color: #6C6FBF;
  39. color: #fff;
  40. }
  41. .yg9_content>li:nth-child(5)>.col-md-12{
  42. background-color: #0096E8;
  43. color: white;
  44. }
  45. .yg9_content>li:nth-child(6)>.col-md-12{
  46. background-color: #E4843E;
  47. color: white;
  48. }
  49. .yg9_content>li:nth-child(7)>.col-md-12{
  50. background-color: #17BB9A;
  51. color: white;
  52. }
  53. .yg9_content>li:nth-child(8)>.col-md-12{
  54. background-color: #f17c67;
  55. color: white;
  56. }
  57. .yg9_content>li{
  58. margin-top: 20px;
  59. }
  60. .tmoney{
  61. margin-left: -155px !important;
  62. }
  63. .jyr{
  64. float: left !important;
  65. position: relative !important;
  66. left: 100px !important;
  67. top:0px !important;
  68. }
  69. .jylx{
  70. position: relative !important;
  71. left: 220px !important;
  72. }
  73. .jlzn{
  74. background: #F4F6F7;
  75. border-bottom: 2px solid #F4F6F7;
  76. }
  77. /*.table-hover{
  78. border:1px solid #DADADA !important;
  79. }*/
  80. .jl{
  81. font-size: 18px;
  82. margin-left: 20px;
  83. margin-bottom: 5px;
  84. }
  85. .neirong>td{
  86. background-color: #fff !important;
  87. }
  88. .neirong>tr:nth-child(odd) {
  89. background-color: #fff !important;
  90. }
  91. .row{
  92. padding-bottom: 0px !important;
  93. }
  94. .table>thead>tr>th{
  95. border-bottom: 2px solid #F4F6F7 !important;
  96. }
  97. .main{
  98. font-size: 15px !important;
  99. }
  100. .xhx{
  101. width: 50px !important;
  102. border-bottom: 2px solid #fff !important;
  103. }
  104. .djck {
  105. position: relative;
  106. top: -110px;
  107. left: 65px;
  108. }
  109. </style>
  110. <ul class="nav nav-tabs">
  111. <span class="ygxian"></span>
  112. <div class="ygdangq">当前位置:</div>
  113. <li class="active"><a href="javascript:void(0)">销售统计</a></li>
  114. </ul>
  115. <div class="main">
  116. <div class="panel panel-default">
  117. <div class="panel-heading">
  118. 销售统计
  119. </div>
  120. <div class="panel-body" style="padding: 0px 15px;">
  121. <div class="row">
  122. <input type="hidden" value="{$storeid}" id="storeid" >
  123. <div class="col-md-12">
  124. <form action="" method="get" class="col-md-4">
  125. <input type="hidden" name="c" value="site" />
  126. <input type="hidden" name="a" value="entry" />
  127. <input type="hidden" name="m" value="zh_tcwq" />
  128. <input type="hidden" name="do" value="xsdatalist" />
  129. <input type="hidden" name="ordertype" value="{$_GPC['ordertype']}" />
  130. <div class="input-group">
  131. {php echo tpl_form_field_daterange('time',$_GPC['time']);}
  132. <span class="input-group-btn">
  133. <input type="submit" class="btn btn-default" name="submit2" value="查找"/>
  134. <input type="hidden" name="token" value="{$_W['token']}"/>
  135. <input type="hidden" name="type" value="all"/>
  136. </span>
  137. </div><!-- /input-group -->
  138. </form>
  139. </div>
  140. <br/><br/><br/>
  141. <div class="col-md-12">
  142. <!-- <div class="jl">记录</div> -->
  143. <table class="table table-hover">
  144. <thead class="jlzn">
  145. <tr class="datatitle">
  146. <th class="col-md-1">排序</th>
  147. <th class="col-md-2">交易金额</th>
  148. <th class="col-md-2">交易时间</th>
  149. {if $_GPC['ordertype']==9}
  150. <th class="col-md-2">帖子ID</th>
  151. <th class="col-md-2">发帖人/ID</th>
  152. <th class="col-md-2">交易人/ID</th>
  153. {/if}
  154. {if $_GPC['ordertype']!=1 AND $_GPC['ordertype']!=9}
  155. <th class="col-md-2">交易人</th>
  156. <th class="col-md-2">类型</th>
  157. {if $_GPC['ordertype']==2}
  158. <th class="col-md-2">帖子id</th>
  159. {/if}
  160. {if $_GPC['ordertype']==3}
  161. <th class="col-md-2">商家id</th>
  162. {/if}
  163. {if $_GPC['ordertype']==4}
  164. <th class="col-md-2">福利id</th>
  165. {/if}
  166. {if $_GPC['ordertype']==5}
  167. <th class="col-md-2">备注</th>
  168. {/if}
  169. {if $_GPC['ordertype']==6}
  170. <th class="col-md-2">商品订单id</th>
  171. {/if}
  172. {if $_GPC['ordertype']==7}
  173. <th class="col-md-2">黄页id</th>
  174. {/if}
  175. {if $_GPC['ordertype']==8}
  176. <th class="col-md-2">拼车id</th>
  177. {/if}
  178. {/if}
  179. </tr>
  180. </thead>
  181. <tbody class="neirong">
  182. {loop $xsinfo $key $row}
  183. <tr>
  184. {php $num=($key+1)+(($_GPC['page']-1)*$pagesize)}
  185. <td class="col-md-1">{$num}</td>
  186. <td class="col-md-2">{$row['xsmoney']}</td>
  187. <td class="col-md-2">{if $_GPC['ordertype']==6}{php echo date("Y-m-d H:i:s",$row['time'])}{else}{$row['time']}{/if}</td>
  188. {if $_GPC['ordertype']==9}
  189. <td class="col-md-1">{$row['post_id']}</td>
  190. <td class="col-md-1">{$row['ftname']}/{$row['ftuser_id']}</td>
  191. <td class="col-md-1">{$row['pay_name']}/{$row['pay_user_id']}</td>
  192. {/if}
  193. {if $_GPC['ordertype']!=1 AND $_GPC['ordertype']!=9}
  194. <td class="col-md-2">{$row['name']}</td>
  195. <td class="col-md-2">{if $_GPC['ordertype']==5}{$row['level_name']}{elseif $_GPC['ordertype']==6}商品订单{elseif $_GPC['ordertype']==7}黄页入驻{elseif $_GPC['ordertype']==8}发布拼车{else}{$row['note']}{/if}</td>
  196. <td class="col-md-2">{if $_GPC['ordertype']!=5}
  197. {$row['id']}
  198. {else}
  199. {$row['note']}
  200. {/if}
  201. </td>
  202. {/if}
  203. </tr>
  204. {/loop}
  205. </tbody>
  206. </table>
  207. </div>
  208. </div>
  209. </div>
  210. </div>
  211. </div>
  212. <div class="text-right we7-margin-top">{$pager}</div>
  213. <!-- {template 'common/footer'} -->
  214. <script language='javascript'>
  215. // $("#frame-5").addClass("in");
  216. $("#frame-16").show();
  217. $("#yframe-16").addClass("wyactive");
  218. </script>{template 'common/footer'}