detail.vue 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. <template>
  2. <div class="page md:flex md:justify-between">
  3. <div class="page-title">医师认证</div>
  4. <div class="page-top"><div class="swiper bg-pink-100"></div></div>
  5. <div class="page-content">
  6. <div class="doctor-info px-4 pt-4 md:pt-0">
  7. <div class="name pb-4">宋医师</div>
  8. <div class="tag pb-1">主任医师|从业24年|皮肤美容专家</div>
  9. <div class="code pb-1">从业资格证编号:ZHIP1710086</div>
  10. <div class="club-name">所在机构:武汉市武昌区可素美医疗美容门诊部</div>
  11. </div>
  12. <div class="section param-list pb-4">
  13. <div class="param px-4 pt-4">
  14. <div class="name py-2">个人简介:</div>
  15. <div class="content">
  16. 宋医师,医学博士,擅长痤疮(痘痘)是令很多青年男女烦恼的
  17. 问题,由于不够重视延误治疗或者处理不当,没有使用先进的物
  18. 理局部治疗,大部分人或多或少遗留了令人遗憾的瘢痕。这可怎
  19. 么办呢?超脉冲CO2点阵激光——痤疮瘢痕治疗金标准。清洁。
  20. </div>
  21. </div>
  22. <div class="param px-4 pt-4">
  23. <div class="name py-2">擅长:</div>
  24. <div class="content">擅长痤疮(痘痘)、皮肤病。</div>
  25. </div>
  26. </div>
  27. <div class="divider"></div>
  28. <div class="device-list p-4">
  29. <div class="title">具备操作资格设备</div>
  30. <div class="list">
  31. <div class="device flex items-center py-4">
  32. <img class="cover" src="https://picsum.photos/400/400" />
  33. <div class="info">
  34. <div class="name">日本水素水细胞仪</div>
  35. <div class="brand mt-2">品牌:SKINREX</div>
  36. </div>
  37. </div>
  38. <div class="device flex items-center py-4">
  39. <img class="cover" src="https://picsum.photos/400/400" />
  40. <div class="info">
  41. <div class="name">日本水素水细胞仪</div>
  42. <div class="brand mt-2">品牌:SKINREX</div>
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. </template>
  50. <script>
  51. export default {
  52. layout: 'app',
  53. }
  54. </script>
  55. <style scoped lang="scss">
  56. // pc 端
  57. @media screen and (min-width: 768px) {
  58. .page {
  59. position: relative;
  60. width: 1200px;
  61. height: 612px;
  62. margin-left: auto;
  63. margin-right: auto;
  64. margin-top: 80px;
  65. background-color: #fff;
  66. box-sizing: border-box;
  67. padding: 16px;
  68. padding-right: 0;
  69. }
  70. .page-title {
  71. position: absolute;
  72. font-size: 24px;
  73. color: #333;
  74. top: -50px;
  75. left: 0;
  76. }
  77. .page-top {
  78. .swiper {
  79. width: 580px;
  80. height: 580px;
  81. }
  82. }
  83. .page-content {
  84. width: 580px;
  85. padding: 0 24px;
  86. overflow-y: auto;
  87. .doctor-info {
  88. line-height: 1.6;
  89. .name {
  90. font-size: 24px;
  91. color: #101010;
  92. font-weight: bold;
  93. &::after {
  94. content: '';
  95. display: inline-block;
  96. width: 76px;
  97. height: 28px;
  98. background: url(https://static.caimei365.com/www/authentic/pc/icon-doctor-level.png);
  99. background-size: 76px 28px;
  100. vertical-align: -5px;
  101. margin-left: 8px;
  102. }
  103. }
  104. .tag {
  105. font-size: 14px;
  106. color: #909399;
  107. }
  108. .code,
  109. .club-name {
  110. font-size: 14px;
  111. color: #404040;
  112. }
  113. }
  114. .param-list {
  115. .param {
  116. .name {
  117. font-size: 18px;
  118. color: #101010;
  119. font-weight: bold;
  120. }
  121. .content {
  122. font-size: 14px;
  123. color: #404040;
  124. line-height: 1.6;
  125. text-align: justify;
  126. }
  127. }
  128. }
  129. .device-list {
  130. .title {
  131. padding: 16px;
  132. font-size: 20px;
  133. font-weight: bold;
  134. color: #404040;
  135. background-color: #f3f5f6;
  136. }
  137. .list {
  138. display: flex;
  139. align-items: center;
  140. flex-direction: column;
  141. .device {
  142. width: 100%;
  143. box-sizing: border-box;
  144. border-bottom: 1px solid #d8d8d8;
  145. .cover {
  146. width: 84px;
  147. height: 84px;
  148. display: block;
  149. }
  150. .info {
  151. margin-left: 16px;
  152. width: 300px;
  153. .name {
  154. font-size: 18px;
  155. color: #101010;
  156. text-overflow: ellipsis;
  157. overflow: hidden;
  158. white-space: nowrap;
  159. }
  160. .brand {
  161. font-size: 14px;
  162. color: #666666;
  163. text-overflow: ellipsis;
  164. overflow: hidden;
  165. white-space: nowrap;
  166. }
  167. }
  168. }
  169. }
  170. }
  171. }
  172. }
  173. // 移动 端
  174. @media screen and (max-width: 768px) {
  175. .page-title {
  176. display: none;
  177. }
  178. .page-top {
  179. .swiper {
  180. width: 100vw;
  181. height: 100vw;
  182. }
  183. }
  184. .page-content {
  185. .divider {
  186. height: 3.2vw;
  187. background-color: #f7f7f7;
  188. }
  189. .doctor-info {
  190. line-height: 1.6;
  191. .name {
  192. font-size: 5vw;
  193. color: #101010;
  194. font-weight: bold;
  195. &::after {
  196. content: '';
  197. display: inline-block;
  198. width: 13.6vw;
  199. height: 5vw;
  200. background: url(https://static.caimei365.com/www/authentic/h5/icon-doctor-level.png);
  201. background-size: 13.6vw 5vw;
  202. vertical-align: -0.8vw;
  203. margin-left: 1.2vw;
  204. }
  205. }
  206. .tag {
  207. font-size: 3vw;
  208. color: #909399;
  209. }
  210. .code,
  211. .club-name {
  212. font-size: 3.2vw;
  213. color: #404040;
  214. }
  215. }
  216. .param-list {
  217. .param {
  218. .name {
  219. font-size: 3.8vw;
  220. color: #101010;
  221. font-weight: bold;
  222. }
  223. .content {
  224. font-size: 3.2vw;
  225. color: #404040;
  226. line-height: 1.6;
  227. text-align: justify;
  228. }
  229. }
  230. }
  231. .device-list {
  232. .title {
  233. font-size: 4vw;
  234. color: #101010;
  235. font-weight: bold;
  236. }
  237. .list {
  238. display: flex;
  239. align-items: center;
  240. flex-direction: column;
  241. .device {
  242. width: 100%;
  243. box-sizing: border-box;
  244. border-bottom: 0.1vw solid #d8d8d8;
  245. .cover {
  246. width: 19.6vw;
  247. height: 19.6vw;
  248. display: block;
  249. }
  250. .info {
  251. margin-left: 3.2vw;
  252. width: 66vw;
  253. .name {
  254. font-size: 3.6vw;
  255. color: #101010;
  256. text-overflow: ellipsis;
  257. overflow: hidden;
  258. white-space: nowrap;
  259. }
  260. .brand {
  261. font-size: 3vw;
  262. color: #666666;
  263. text-overflow: ellipsis;
  264. overflow: hidden;
  265. white-space: nowrap;
  266. }
  267. }
  268. }
  269. }
  270. }
  271. }
  272. }
  273. </style>