review.html 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <div class="titlebar"><i class="iconfont icon-home_icon"></i><span class="fn-fb">{$info.name}</span></div>
  2. <div class="titlebar"><i class="iconfont icon-calendar_icon"></i><span class="fn-fb">订单数据</span></div>
  3. <table class="table">
  4. <thead>
  5. <tr>
  6. <th>平台单号<span class="fn-fn gray">[点击追踪分账细节]</span></th>
  7. <th class="w140">创建时间</th>
  8. <th class="w140">付款时间</th>
  9. <th class="w100 fn-tar">¥计付</th>
  10. <th class="w100 fn-tar">¥优惠</th>
  11. <th class="w100 fn-tar">¥应收</th>
  12. </tr>
  13. </thead>
  14. <tbody>
  15. {foreach $orders as $vo}
  16. <tr>
  17. <td>
  18. <a href="javascript:openwin('{:url('store/queen',['order' => $vo.order_no])}')">
  19. <svg class="icon" aria-hidden="true"><use xlink:href="#icon-gongzuorizhi"></use></svg> {$vo.order_no}<br />
  20. <svg class="icon" aria-hidden="true"><use xlink:href="#icon-wechat"></use></svg> {$vo.paid_no}
  21. </a>
  22. </td>
  23. <td>{$vo.update_time|date='Y-m-d H:i'}</td>
  24. <td>{$vo.paid_time|date='Y-m-d H:i'}</td>
  25. <td class="fn-tar">¥{$vo.amount}</td>
  26. <td class="fn-tar">¥{:money($vo.amount - $vo.price)}</td>
  27. <td class="fn-tar">¥{$vo.price}</td>
  28. </tr>
  29. {/foreach}
  30. </tbody>
  31. </table>
  32. {$orders|raw}
  33. <style type="text/css">
  34. .counts{display: flex;}
  35. .counts .box{flex: 1;background: #efefef;margin: 10px;padding: 20px;color: #333;border-left:2px solid #2d8cf0;}
  36. .counts .box:first-child{margin-left: 0px;}
  37. .counts .box:last-child{margin-right: 0px;}
  38. .counts .box .iconfont{font-size:40px;}
  39. .counts .box .num{font-size:25px;}
  40. .counts .box .text{font-size:14px;}
  41. </style>
  42. <script type="text/javascript">
  43. Do('base','layer', function () {
  44. $('.isDel').isDel();
  45. $(".win").win({reload:1});
  46. $('.istop').click(function () {
  47. var url = $(this).attr("url");
  48. parent.layer.confirm('确认要改变用户身份?',{ icon: 3,title: '友情提示' }, function (index) {
  49. $.getJSON(url, function (data) {window.location.reload();});
  50. parent.layer.close(index);
  51. });
  52. })
  53. })
  54. </script>