order_detail.blade.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <style>
  2. .contet {
  3. width: 100%;
  4. margin: 0 auto;
  5. padding: 10px 20px;
  6. background-color: white;
  7. }
  8. .center{
  9. margin: 0 200px;
  10. width: 800px;
  11. }
  12. .a_btn {
  13. padding: 5px;
  14. border: grey solid 1px;
  15. border-radius: 10%;
  16. text-decoration: none;
  17. }
  18. .m-l-30{
  19. margin-left: 30px;
  20. }
  21. .center span{
  22. font-size: 18px;
  23. padding: 10px 0px 5px 0px;
  24. display: block;
  25. }
  26. </style>
  27. <div class="contet">
  28. <div class="center">
  29. <h2 style="display: inline-block">订单详情</h2>
  30. @if($data->orderPatient)
  31. <a class = "a_btn m-l-30" href="/cdms/chats">会话</a>
  32. <a class = "a_btn m-l-30" href="javascript:void(0)">完成</a>
  33. @endif
  34. </div>
  35. <div class="center">
  36. <span>订单号:{{$data->order_sn}}</span>
  37. @if(!empty($data->orderPatient))
  38. <span>患者:{{$data->orderPatient->name}}</span>
  39. <span>年龄:{{birthday_to_age($data->orderPatient->birthday)}}</span>
  40. <span>身份证号:{{$data->orderPatient->card_number}}</span>
  41. <span>下单时间:{{$data->orderPatient->created_at}}</span>
  42. <span>订单状态:{{$status[$data->order_status]}}接单</span>
  43. <span>病情描述:{{$data->orderPatient->symptoms}}</span>
  44. <span>图片:{{$data->orderPatient->medical_imgs}}</span>
  45. @else
  46. <span>患者:</span>
  47. <span>年龄:</span>
  48. <span>身份证号:</span>
  49. <span>下单时间:</span>
  50. <span>订单状态:</span>
  51. <span>病情描述:</span>
  52. <span>图片:</span>
  53. @endif
  54. </div>
  55. </div>
  56. <script>
  57. </script>