appoint-select.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <!--360浏览器优先以webkit内核解析-->
  7. <title>厦门i健康-客户服务平台</title>
  8. <link href="../../../../css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet" />
  9. <link href="../../../../css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet" />
  10. <link href="../../../../css/jqgrid/ui.jqgridffe4.css?0820" rel="stylesheet" />
  11. <link href="../../../../css/animate.min.css" rel="stylesheet" />
  12. <link href="../../../../css/style1.min.css?v=4.1.0" rel="stylesheet" />
  13. <style>
  14. body {
  15. padding-top: 20px;
  16. }
  17. .w20 {
  18. width: 20px;
  19. }
  20. .w120 {
  21. width: 120px;
  22. margin: 0 auto;
  23. }
  24. ul {
  25. list-style: none;
  26. padding: 20px;
  27. font-size: 14px;
  28. }
  29. ul li {
  30. float: left;
  31. width: 50%;
  32. margin-bottom: 10px;
  33. }
  34. ul li,
  35. ul li a {
  36. display: inline-block;
  37. height: 28px;
  38. line-height: 28px;
  39. }
  40. ul li a {
  41. overflow: hidden;
  42. max-width: 100%;
  43. text-overflow: ellipsis;
  44. white-space: nowrap;
  45. padding: 0 20px;
  46. color: #12b7f5;
  47. }
  48. ul li a:hover {
  49. background-color: #12b7f5;
  50. border-radius: 5px;
  51. color: #fff;
  52. }
  53. .col-999 {
  54. color: #999;
  55. }
  56. .col-red {
  57. color: red;
  58. }
  59. .btn {
  60. display: block;
  61. border: 1px solid #12b7f5;
  62. margin: 0 auto;
  63. color: #12b7f5;
  64. }
  65. /* .inp_border {
  66. height: 32px;
  67. padding: 2px 7px;
  68. border-radius: 2px;
  69. color: #666;
  70. } */
  71. .search-wrapper {
  72. display: flex;
  73. align-items: center;
  74. margin-left: 20px;
  75. }
  76. /* .bd1 {
  77. border: 1px solid #999;
  78. }
  79. .setInput {
  80. border: solid 1px #d7dce6;
  81. border-radius: 5px;
  82. } */
  83. .setInput input {
  84. outline: none;
  85. border-radius: 5px;
  86. }
  87. #search span {
  88. display: inline-block;
  89. content: '';
  90. width: 16px;
  91. height: 16px;
  92. background: url(../../images/search.png);
  93. background-repeat: no-repeat;
  94. background-size: 16px;
  95. vertical-align: middle;
  96. margin-right: 9px;
  97. }
  98. .middle {
  99. -webkit-box-align: center;
  100. }
  101. .hosipital-wrapper {
  102. display: flex;
  103. margin-bottom: 20px;
  104. margin-left: 20px;
  105. }
  106. .hospital {
  107. width: 100px;
  108. font-size: 15px;
  109. border: 1px solid #666;
  110. height: 30px;
  111. line-height: 30px;
  112. text-align: center;
  113. cursor: pointer;
  114. margin-right: 5px;
  115. }
  116. .selectedItem {
  117. color: #12b7f5;
  118. border: 1px solid #12b7f5;
  119. }
  120. </style>
  121. <script>
  122. var storage = localStorage.getItem('app_storage')
  123. if (storage) {
  124. storage = JSON.parse(storage)
  125. sessionStorage.setItem('LoginUser', JSON.stringify(storage.api_login_doctor))
  126. }
  127. </script>
  128. </head>
  129. <body>
  130. <div id="app" class="pl30 pr30 pb30">
  131. <template v-if="show==0">
  132. <!-- <div class="hosipital-wrapper">
  133. <div class="hospital" :class="selectHospital==1? 'selectedItem':''" @click="changeTypeHospital(1)">
  134. 医院预约
  135. </div>
  136. <div class="hospital" :class="selectHospital==2? 'selectedItem':''" @click="changeTypeHospital(2)">
  137. 社区预约
  138. </div>
  139. </div> -->
  140. <appoint-hospital :hospital="hospital" v-if="selectHospital==1" :show='0'></appoint-hospital>
  141. <!-- <appoint-country :country="country" v-if="selectHospital==2"></appoint-country> -->
  142. <div><span class="btn w120" style="background: #12b7f5;color: #fff;" @click="subscribe(1)">预约其他医院</span></div>
  143. </template>
  144. <template v-if="show==1">
  145. <div class="hosipital-wrapper">
  146. <div class="hospital" :class="selectHospital==1? 'selectedItem':''" @click="changeTypeHospital(1)">
  147. 医院预约
  148. </div>
  149. <div class="hospital" :class="selectHospital==2? 'selectedItem':''" @click="changeTypeHospital(2)">
  150. 社区预约
  151. </div>
  152. </div>
  153. <appoint-hospital :hospital="hospital" v-if="selectHospital==1"></appoint-hospital>
  154. <appoint-country :country="country" v-if="selectHospital==2"></appoint-country>
  155. <div><span class="btn w120" id="closeBtn" @click="subscribe(0)">返回</span></div>
  156. </template>
  157. </div>
  158. <script src="../../../../js/jquery-2.2.4.js" type="text/javascript" charset="utf-8"></script>
  159. <script src="../../../../js/vue.js"></script>
  160. <script src="../../../../js/underscore.js"></script>
  161. <script src="../../../../js/es6-promise.js"></script>
  162. <script src="../../../../js/util.js"></script>
  163. <script src="../../../../js/validate/jquery.validate.min.js"></script>
  164. <script src="../../../../js/validate/messages_zh.min.js"></script>
  165. <script src="../../../../plugins/toastr/toastr.min.js"></script>
  166. <script src="../../../../plugins/datepicker/bootstrap-datepicker.js"></script>
  167. <script src="../../../../plugins/jqgrid/i18n/grid.locale-cnffe4.js?0820"></script>
  168. <script src="../../../../plugins/jqgrid/jquery.jqGrid.minffe4.js"></script>
  169. <script src="../../../../component/common/event-bus.js"></script>
  170. <script src="../../appointment/appoint-hospital.js"></script>
  171. <script src="../../appointment/appoint-country.js"></script>
  172. <script src="../../../../api/http-request.js" type="text/javascript" charset="utf-8"></script>
  173. <script src="../../../../api/jbsc-api.js"></script>
  174. <script src="appoint-select.js"></script>
  175. </body>
  176. </html>