sjqgorder.html 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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. .ygrow{margin-top: 20px;}
  6. .yg5_key>div{float: left;line-height: 34px;}
  7. .store_td1{height: 45px;}
  8. .store_list_img{width: 60px;height: 60px;}
  9. .yg5_tabel{border-color: #e5e5e5;outline: 1px solid #e5e5e5;text-align: center;}
  10. .yg5_tr2>td{padding: 15px 8px;border: 1px solid #e5e5e5;}
  11. .yg5_tr1>td{
  12. border: 1px solid #e5e5e5;
  13. background-color: #FAFAFA;
  14. font-weight: bold;
  15. }
  16. .ordersucess{background-color: #44ABF7;color: white;}
  17. .ordersucess:hover{background-color: #44ABF7;color: white;}
  18. .yg5_btn{background-color: #EEEEEE;color: #333;border: 1px solid #E4E4E4;border-radius: 6px;width: 100px;height: 34px;}
  19. .inorderbtn2>span,.inorderbtn>button,.inorderbtn>a>button{margin-bottom: 10px;}
  20. .orfont1{font-weight: bold;font-size: 24px;}
  21. .orfont2{color: #F5B340;font-size: 16px;margin-left: 15px;}
  22. .orderback{background-color: #FAFAFA;height: 50px;margin-bottom: 15px;padding: 10px;}
  23. .ordermain{font-size: 14px;width: 100%;}
  24. .orfont3{font-size: 20px;font-weight: bold;}
  25. .orfont4{font-size: 12px;color: #999;}
  26. .orderconfirm{border:1px solid #44ABF7;color: #44ABF7;padding: 5px 15px;border-radius: 6px;cursor: pointer;margin-right: 10px;}
  27. .orderconfirm:hover{background-color: #44ABF7;color: white;}
  28. .orderconfirm2{color: #fff;padding: 3px 10px;border-radius: 6px;margin-right: 10px;font-size: 12px;margin-top: 5px;background-color: #44ABF7;}
  29. .orderback2{border-bottom:1px solid #E9E9E9;margin-bottom: 10px;padding-bottom: 10px;}
  30. .orderback3{margin-bottom: 10px;padding-bottom: 10px;}
  31. .orderback2>div>p{margin-bottom: 5px;}
  32. .orderdish{margin-bottom: 10px;height: 15px;width: 100%;}
  33. .orderdish>div{float: left;margin-right: 50px;}
  34. .orderbox1,.orderdish1{width: 250px;}
  35. .orderdish>div:nth-child(2){width: 80px;}
  36. .orderdish>div:nth-child(3){width: 80px;}
  37. .orderbox2,.orderdish>div:nth-child(4){width: 80px;}
  38. .orderbox2{margin-left: 310px;}
  39. .orderaccount{width: 100%;height: 25px;}
  40. .orfont5{color: #44ABF7;font-size: 14px;}
  41. .orfont6{font-size: 12px;color: #666;}
  42. .orfont7{font-weight: bold;font-size: 15px;}
  43. .orfont8{color: #44ABF7;}
  44. .orfont9{color: #666;}
  45. .orderpanel1{width: 50%;display: inline-block;}
  46. .orderpanel2{width: 30%;display: inline-block;margin-left: 30px;}
  47. .ordertelimg{width: 20px;height: 20px;}
  48. .ordertelimg1{color: #44ABF7;font-size: 14px;}
  49. .ordername{height: 30px;width: 100%;margin-bottom: 5px;}
  50. .ordername1{font-size: 20px;font-weight: bold;}
  51. .orbeizhu{color: #FF7712;}
  52. .ordertime{margin-right: 10px;}
  53. .orfont10{color: #999;}
  54. .orderbtn{border: #FF7F50 1px solid;color: #FF7F50;background-color: #fff;margin-top: -10px;}
  55. .orderbtn:hover{background-color: #FF7F50;color: white;}
  56. .ortypeimg{position: absolute;left: 27%;top:53%;z-index: 10;opacity: 0.2;width: 150px;height: 150px;}
  57. .ortypeimg>img{width: 100%;height: 100%;}
  58. .ortypeimg2{position: absolute;left: 27%;top:53%;z-index: 10;opacity: 0.4;width: 150px;height: 150px;}
  59. .ortypeimg2>img{width: 100%;height: 100%;}
  60. .orderwu{text-align: center;padding: 20px 0px;}
  61. .wufont1{font-size: 18px;color: #666;margin-top: 20px;}
  62. .orderconhui{background-color: grey;color: white;}
  63. .orfontyue1{text-indent: 4em;}
  64. .dlorfont7{font-size: 18px;color: #44ABF7;}
  65. .tip_data{
  66. border:0;
  67. margin:0;
  68. float: left;
  69. }
  70. .data_tip,.nav_head{
  71. display: flex;
  72. justify-content: space-between;
  73. align-items: center;
  74. }
  75. .box1{
  76. display:flex;
  77. }
  78. .back{
  79. position: absolute;;
  80. width:100%;
  81. background:#000;
  82. opacity: .2;
  83. height: 100%;
  84. z-index: 500;
  85. }
  86. .add_html{
  87. margin:auto;
  88. padding: 0 10px;
  89. width:40%;
  90. height: auto;
  91. border-radius: 10px;
  92. padding: 20px;
  93. /*margin:100px 20%;*/
  94. z-index: 500000000;
  95. background: #fff;
  96. /*background:#44ABF7;*/
  97. /*border: 2px solid #44ABF7;*/
  98. /*color: #fff;*/
  99. }
  100. /*.nav>.orderbtn2>a{padding: 6px 20px;border-radius: 4px;border:1px solid #FF7F50;color: #FF7F50;}*/
  101. </style>
  102. <ul class="nav nav-tabs">
  103. <span class="ygxian"></span>
  104. <div class="ygdangq">当前位置:</div>
  105. <li {if $type=='all'} class="active" {/if}><a href="{php echo $this->createWebUrl2('sjqgorder',array('type'=>all));}">全部订单</a></li>
  106. <li {if $type=='now'} class="active" {/if}><a href="{php echo $this->createWebUrl2('sjqgorder',array('type'=>now));}">待核销</a></li>
  107. <li {if $type=='ok'} class="active" {/if}><a href="{php echo $this->createWebUrl2('sjqgorder',array('type'=>ok));}">已核销</a></li>
  108. </ul>
  109. <div class="row ygrow">
  110. <div class="col-lg-11 nav_head">
  111. <form action="" method="get" style="padding: 0" class="col-md-4">
  112. <input type="hidden" name="c" value="site" />
  113. <input type="hidden" name="a" value="entry" />
  114. <input type="hidden" name="m" value="zh_tcwq" />
  115. <input type="hidden" name="do" value="sjqgorder" />
  116. <div class="input-group" style="width: 300px;">
  117. <input type="text" name="keywords" value="{$_GPC['keywords']}" class="form-control" placeholder="请输入姓名/订单编号/门店名称">
  118. <span class="input-group-btn">
  119. <input type="submit" class="btn btn-default" name="submit" value="查找"/>
  120. </span>
  121. </div>
  122. <input type="hidden" name="token" value="{$_W['token']}"/>
  123. </form>
  124. </div><!-- /.col-lg-6 -->
  125. </div>
  126. <div class="main">
  127. <div class="panel panel-default">
  128. <div class="panel-heading">全部订单</div>
  129. <div class="table-responsive">
  130. <table class="col-md-12">
  131. <tr class="yg5_tr1">
  132. <th class="store_td1 col-md-1">订单号</th>
  133. <th class="col-md-1">商家名称</th>
  134. <th class="col-md-1">买家</th>
  135. <th class="col-md-1">联系电话</th>
  136. <th class="col-md-1">商品名称</th>
  137. <th class="col-md-1">付款金额</th>
  138. <th class="col-md-1">备注</th>
  139. <th class="col-md-1">状态</th>
  140. </tr>
  141. {loop $list $key $item}
  142. <tr class="yg5_tr2">
  143. <td>
  144. {$item['order_num']}
  145. </td>
  146. <td >
  147. {$item['md_name']}
  148. </td>
  149. <td>
  150. {$item['user_name']}
  151. </td>
  152. <td>
  153. {$item['user_tel']}
  154. </td>
  155. <td >
  156. {$item['good_name']}
  157. </td>
  158. <td >
  159. {$item['money']}
  160. </td>
  161. <td >
  162. {if $item['note']}{$item['note']}{else}无{/if}
  163. </td>
  164. {if $item['state']==2}
  165. <td >
  166. <span class="label storered">待核销</span>
  167. </td>
  168. {elseif $item['state']==3}
  169. <td >
  170. <span class="label storeblue"> 已核销</span>
  171. </td>
  172. {/if}
  173. <!-- <td> {$pager}</td> -->
  174. </tr>
  175. {/loop}
  176. {if empty($list)}
  177. <tr>
  178. <td colspan="12" style="padding: 10px 30px;">
  179. 暂无订单信息
  180. </td>
  181. </tr>
  182. {/if}
  183. </table>
  184. </div>
  185. </div>
  186. </div>
  187. <div class="text-right we7-margin-top">{$pager}</div>
  188. <script type="text/javascript">
  189. $(function(){
  190. $("#frame-5").show();
  191. $("#yframe-5").addClass("wyactive");
  192. })
  193. </script>
  194. {template 'common/footer'}