changedinner.html 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {include file="../application/h5/view/wx_book_dinner/header.html"}
  2. <style>
  3. .weui-form-preview-hd {
  4. padding: 0 15px;
  5. position: relative;
  6. text-align: right;
  7. }
  8. .pull-right{
  9. float: right!important;
  10. }
  11. .text-muted{
  12. color: #888888;
  13. }
  14. </style>
  15. <div class="weui-header bg-blue">
  16. <div class="weui-header-left"> <a class="icon icon-109 f-white" href="{:url('order_detail',['id'=>$orderId])}">返回</a> </div>
  17. <h1 class="weui-header-title">换流食</h1>
  18. <div class="weui-header-right"></div>
  19. </div>
  20. <form id="form" action="{:url('changedinner')}" enctype="multipart/form-data" method="post" class="ajax-form-order">
  21. <input type="hidden" name="sign" value="{$sign}">
  22. <div class="weui_cells_title">{$day} [{$dinnertype}] {$group}</div>
  23. <div class="weui_cells">
  24. <div class="weui_cell" style="background-color: #ccc;">
  25. <div class="weui_cell_bd weui_cell_primary">
  26. <div class="weui_input" type="readonly" >{$dinnernames}</div>
  27. </div>
  28. </div>
  29. </div>
  30. <div class="weui_cells_title">请选择要替换的流食或半流食</div>
  31. <div class="weui_cells weui_cells_form">
  32. <div class="weui_cells weui_cells_radio" style="margin-top: 0;">
  33. {empty name="dinners"}
  34. <div style="padding: 15px;text-align: center">暂无流食</div>
  35. {/empty}
  36. {volist name="dinners" id="v"}
  37. <label class="weui_cell weui_check_label" for="x{$v.id}">
  38. <div class="weui_cell_bd weui_cell_primary">
  39. <p>{$v.name} ¥{$v.money}</p>
  40. </div>
  41. <div class="weui_cell_ft">
  42. <input type="radio" class="weui_check" name="dinner_id" id="x{$v.id}" value="{$v.id}">
  43. <span class="weui_icon_checked"></span>
  44. </div>
  45. </label>
  46. {/volist}
  47. </div>
  48. </div>
  49. {empty name="order['img']"}
  50. <div>
  51. <div class="weui_cells_title">上传医嘱<i style="color:red;">*</i></div>
  52. <div class="weui_cells">
  53. <div class="weui_cell">
  54. <div class="weui_cell_bd weui_cell_primary">
  55. <input class="weui_input" style="height: auto!important;" type="file" accept="image/png,image/jpeg" name="files">
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. {/empty}
  61. <div class="weui_btn_area">
  62. <button type="submit" class="weui_btn weui_btn_primary">提交</button>
  63. </div>
  64. <div style="height: 30px;"/>
  65. </form>
  66. <script src="/static/elementui2.15.5/vue-2.6.14.js"></script>
  67. <script>
  68. </script>
  69. <script type="text/javascript">
  70. </script>