detail.html 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <style>
  2. .layui-card-body
  3. {
  4. height: 60%;
  5. }
  6. </style>
  7. <div class="layui-card-body">
  8. <div class="layui-form-item">
  9. <label class="layui-form-label ">订单号</label>
  10. <div class="layui-input-block">
  11. <input readonly value='{$detail.order_no|default=""}' placeholder="" class="layui-input">
  12. </div>
  13. </div>
  14. {if $detail.pay_state == 1}
  15. <div class="layui-form-item">
  16. <label class="layui-form-label ">支付号</label>
  17. <div class="layui-input-block">
  18. <input readonly value='{$detail.pay_no|default=""}' placeholder="" class="layui-input">
  19. </div>
  20. </div>
  21. <div class="layui-form-item">
  22. <label class="layui-form-label ">支付时间</label>
  23. <div class="layui-input-block">
  24. <input readonly value='{$detail.pay_at|default=""}' placeholder="" class="layui-input">
  25. </div>
  26. </div>
  27. {/if}
  28. <div class="layui-form-item">
  29. <label class="layui-form-label ">用户名</label>
  30. <div class="layui-input-block">
  31. <input readonly value='{$detail.user_name|default=""}' placeholder="" class="layui-input">
  32. </div>
  33. </div>
  34. <div class="layui-form-item">
  35. <label class="layui-form-label ">会员手机</label>
  36. <div class="layui-input-block">
  37. <input readonly value='{$detail.phone|default=""}' placeholder="" class="layui-input">
  38. </div>
  39. </div>
  40. <div class="layui-form-item">
  41. <label class="layui-form-label ">商品数</label>
  42. <div class="layui-input-block">
  43. <input readonly value='{$detail.goods_num|default=""}' placeholder="" class="layui-input">
  44. </div>
  45. </div>
  46. <div class="layui-form-item">
  47. <label class="layui-form-label ">商品详情</label>
  48. <div class="layui-input-block">
  49. <table class="layui-table margin-top-10" lay-skin="line">
  50. <thead>
  51. <tr>
  52. <th class='text-left nowrap'>商品</th>
  53. <th class='text-left nowrap'>图片</th>
  54. <th class='text-left nowrap'>数量</th>
  55. <th class='text-left nowrap'>明信片</th>
  56. </tr>
  57. </thead>
  58. <tbody class="no_html">
  59. {foreach :json_decode($detail.pro_info,true) as $sk=>$sv}
  60. <tr class="no_detail">
  61. <td class='text-left nowrap'>
  62. <input class='layui-input' readonly style="background-color: #e6e6e6" value="{$sv['case_name']}"/>
  63. </td>
  64. <td class='text-left nowrap'><img src="{$sv['case_cover']}" width="30px"></td>
  65. <td class='text-left nowrap'>
  66. <input class='layui-input' readonly style="background-color: #e6e6e6" value="{$sv['num']}"/>
  67. </td>
  68. <td class='text-left nowrap'>
  69. <input class='layui-input' readonly style="background-color: #e6e6e6" value="{$sv['crystal']|default='0'}"/>
  70. </td>
  71. </tr>
  72. {/foreach}
  73. </tbody>
  74. </table>
  75. </div>
  76. </div>
  77. <div class="layui-form-item">
  78. <label class="layui-form-label ">订单总金额</label>
  79. <div class="layui-input-block">
  80. <input readonly value='{$detail.price_total|default=""}' placeholder="" class="layui-input">
  81. </div>
  82. </div>
  83. <div class="layui-form-item">
  84. <label class="layui-form-label ">收货地区</label>
  85. <div class="layui-input-block">
  86. <input readonly value='{$address_info.mer_name|default=""}' placeholder="" class="layui-input">
  87. </div>
  88. </div>
  89. <div class="layui-form-item">
  90. <label class="layui-form-label ">详细地址</label>
  91. <div class="layui-input-block">
  92. <input readonly value='{$address_info.detail|default=""}' placeholder="" class="layui-input">
  93. </div>
  94. </div>
  95. <div class="layui-form-item">
  96. <label class="layui-form-label ">收货人</label>
  97. <div class="layui-input-block">
  98. <input readonly value='{$address_info.name|default=""}' placeholder="" class="layui-input">
  99. </div>
  100. </div>
  101. <div class="layui-form-item">
  102. <label class="layui-form-label ">电话</label>
  103. <div class="layui-input-block">
  104. <input readonly value='{$address_info.phone|default=""}' placeholder="" class="layui-input">
  105. </div>
  106. </div>
  107. <div class="layui-form-item">
  108. <label class="layui-form-label ">物流公司</label>
  109. <div class="layui-input-block">
  110. <input name="express_company_title" value='{$detail.express_company_title}' placeholder="" class="layui-input">
  111. </div>
  112. </div>
  113. <div class="layui-form-item">
  114. <label class="layui-form-label ">物流单号</label>
  115. <div class="layui-input-block">
  116. <input name="express_send_no" value='{$detail.express_send_no}' placeholder="" class="layui-input">
  117. </div>
  118. </div>
  119. <div class="layui-form-item">
  120. <label class="layui-form-label ">发货时间</label>
  121. <div class="layui-input-block">
  122. <input readonly name="express_send_at" value='{$detail.express_send_at|default=""}' placeholder="" class="layui-input">
  123. </div>
  124. </div>
  125. <div class="layui-form-item">
  126. <label class="layui-form-label ">创建时间</label>
  127. <div class="layui-input-block">
  128. <input readonly value='{$detail.create_at|default=""}' placeholder="" class="layui-input">
  129. </div>
  130. </div>
  131. </div>
  132. <script>
  133. window.form.render();
  134. </script>