detail.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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-required">订单号</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-required">支付号</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-required">支付时间</label>
  23. <div class="layui-input-block">
  24. <input readonly value='{$detail.pay_time|default=""}' placeholder="" class="layui-input">
  25. </div>
  26. </div>
  27. {/if}
  28. <div class="layui-form-item">
  29. <label class="layui-form-label label-required">用户名</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-required">会员手机</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-required">商品数</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-required">商品名称</label>
  48. <div class="layui-input-block">
  49. <input readonly value='{$detail.goods_name|default=""}' placeholder="" class="layui-input">
  50. </div>
  51. </div>
  52. <div class="layui-form-item">
  53. <label class="layui-form-label label-required">商品封面</label>
  54. <div class="layui-input-block">
  55. <img src="{$detail.goods_cover|default=''}" width="50px">
  56. </div>
  57. </div>
  58. <div class="layui-form-item">
  59. <label class="layui-form-label label-required">订单总金额</label>
  60. <div class="layui-input-block">
  61. <input readonly value='{$detail.price_total|default=""}' placeholder="" class="layui-input">
  62. </div>
  63. </div>
  64. <div class="layui-form-item">
  65. <label class="layui-form-label label-required">创建时间</label>
  66. <div class="layui-input-block">
  67. <input readonly value='{$detail.create_at|default=""}' placeholder="" class="layui-input">
  68. </div>
  69. </div>
  70. </div>
  71. <script>
  72. window.form.render();
  73. </script>