details.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <div class="row">
  4. <div class="col-sm-12">
  5. <div class="ibox float-e-margins">
  6. <div class="ibox-title">
  7. <h5>{$meta_title}</h5>
  8. <div class="ibox-tools">
  9. <a class="toback" href="{:url('index')}">
  10. 返回上一页
  11. </a>
  12. </div>
  13. </div>
  14. <div class="ibox-content">
  15. <table class="table table-bordered">
  16. <tbody>
  17. <tr>
  18. <th style="width:120px ">订单号</th><td>{$info['order_sn']}</td>
  19. </tr>
  20. <tr>
  21. <th>订单金额</th><td>{$info['amount']}</td>
  22. </tr>
  23. <tr>
  24. <th>收货人</th><td>{$info['name']}</td>
  25. </tr>
  26. <tr>
  27. <th>联系电话</th><td>{$info['phone']}</td>
  28. </tr>
  29. <tr>
  30. <th>详细地址</th><td>{$info['address']}</td>
  31. </tr>
  32. <tr>
  33. <th>创建日期</th><td>{$info['create_time']}</td>
  34. </tr>
  35. <tr>
  36. <th>支付日期</th><td>{$info['pay_time']}</td>
  37. </tr>
  38. <tr>
  39. <th>支付状态</th>
  40. {if condition="$info['status'] eq 0"}
  41. <td>未支付</td>
  42. {elseif condition="$info['status'] eq 1"}
  43. <td>已支付</td>
  44. {elseif condition="$info['status'] eq 2"}
  45. <td>已完成</td>
  46. {elseif condition="$info['status'] eq 3"}
  47. <td>已取消</td>
  48. {elseif condition="$info['status'] eq 4"}
  49. <td>已退款</td>
  50. {/if}
  51. </tr>
  52. <tr>
  53. <th>是否送货</th>
  54. {if condition="$info['delivery_type'] eq 0"}
  55. <td>否</td>
  56. {elseif condition="$info['delivery_type'] eq 1"}
  57. <td>是</td>
  58. {/if}
  59. </tr>
  60. {if condition = "$info['delivery_type'] eq 1"}
  61. <tr>
  62. <th>送货时间</th><td>{$info['delivery_date']}</td>
  63. </tr>
  64. {/if}
  65. {if $info['tk']==1}
  66. <tr>
  67. <th>操作</th><td><a href="javascript:;" url="{:url('GOrders/refund',['id'=>$info['id']])}" data-title="退款" onclick="layer_open(this,2)" class="btn btn-xs btn-danger">退款</a>
  68. </td>
  69. </tr>
  70. {/if}
  71. </tbody>
  72. </table>
  73. </div>
  74. <div class="ibox-content">
  75. <table class="table table-bordered">
  76. <thead>
  77. <tr>
  78. <th>图片</th>
  79. <th>商品名称</th>
  80. <th>价格</th>
  81. <th>购买数量</th>
  82. </tr>
  83. </thead>
  84. <tbody>
  85. {volist name="info['goods']" id='v'}
  86. <tr>
  87. <td><img src="{$v['img']}" alt="" onclick="open_img(this)" style="width: 40px;" ></td>
  88. <td>{$v['title']}</td>
  89. <td>{$v['price']}</td>
  90. <td>{$v['nums']}</td>
  91. </tr>
  92. {/volist}
  93. </tbody>
  94. </table>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. {/block}