detail.vue 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <template>
  2. <div class="page">
  3. <div class="page-title">专业美容培训师</div>
  4. <div class="page-top"><div class="swiper"></div></div>
  5. <div class="page-content">
  6. <div class="doctor-info">
  7. <div class="name">宋医师<i /></div>
  8. <div class="tag">皮肤美容科 | 主任医师 | 从业24年</div>
  9. </div>
  10. <div class="param-list">
  11. <div class="param">
  12. <div class="name">个人简介:</div>
  13. <div class="content">
  14. 宋美丽,医学博士,主任医师。从事皮肤性病医教研工作三十多年。
  15. 在皮肤素病、皮肤血管病、结缔组织病,化妆品皮肤损伤、皮肤激光
  16. 医学、医疗美容技术等均有较深的造诣
  17. </div>
  18. </div>
  19. <div class="param">
  20. <div class="name">擅长:</div>
  21. <div class="content">面部皮肤管理,女性健康保养</div>
  22. </div>
  23. </div>
  24. </div>
  25. </div>
  26. </template>
  27. <script>
  28. export default {
  29. layout: 'app-ldm',
  30. }
  31. </script>
  32. <style scoped lang="scss">
  33. @media screen and (min-width: 768px) {
  34. .page {
  35. position: relative;
  36. display: flex;
  37. justify-content: space-between;
  38. width: 1016px;
  39. margin: 0 auto;
  40. padding-top: 117px;
  41. }
  42. .page-title {
  43. position: absolute;
  44. left: 0;
  45. top: 60px;
  46. font-size: 26px;
  47. color: #221815;
  48. }
  49. .page-top {
  50. .swiper {
  51. width: 452px;
  52. height: 452px;
  53. background-color: pink;
  54. }
  55. }
  56. .page-content {
  57. width: 503px;
  58. .doctor-info {
  59. padding-bottom: 35px;
  60. .name {
  61. font-size: 35px;
  62. font-weight: bold;
  63. color: #000;
  64. margin-bottom: 22px;
  65. i {
  66. font-size: 0;
  67. display: inline-block;
  68. background: url(https://static.caimei365.com/www/authentic/pc/ldm-icon-star.png)
  69. no-repeat left center;
  70. padding-left: 13px;
  71. vertical-align: 2px;
  72. margin-left: 7px;
  73. &::after,
  74. &::before {
  75. display: inline-block;
  76. content: '';
  77. width: 13px;
  78. height: 13px;
  79. background: url(https://static.caimei365.com/www/authentic/pc/ldm-icon-star.png)
  80. no-repeat center;
  81. vertical-align: middle;
  82. margin-left: 4px;
  83. }
  84. }
  85. }
  86. .tag {
  87. font-size: 16px;
  88. color: #221815;
  89. }
  90. }
  91. .param-list {
  92. .param {
  93. padding: 32px 0;
  94. border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  95. &:first-child {
  96. border-top: 1px solid rgba(0, 0, 0, 0.3);
  97. }
  98. .name {
  99. font-size: 18px;
  100. font-weight: bold;
  101. color: #000;
  102. }
  103. .content {
  104. font-size: 16px;
  105. color: #9c9c9c;
  106. margin-top: 12px;
  107. text-align: justify;
  108. line-height: 1.7;
  109. }
  110. }
  111. }
  112. }
  113. }
  114. @media screen and (max-width: 768px) {
  115. .page-top {
  116. .swiper {
  117. width: 100vw;
  118. height: 100vw;
  119. background-color: pink;
  120. }
  121. }
  122. .page-title {
  123. display: none;
  124. }
  125. .page-content {
  126. padding: 4.7vw 6.2vw;
  127. .doctor-info {
  128. padding-bottom: 6vw;
  129. .name {
  130. font-size: 6.2vw;
  131. font-weight: bold;
  132. color: #000;
  133. margin-bottom: 3.2vw;
  134. i {
  135. font-size: 0;
  136. display: inline-block;
  137. background: url(https://static.caimei365.com/www/authentic/h5/ldm-icon-star.png)
  138. no-repeat left center;
  139. padding-left: 3.2vw;
  140. vertical-align: 1vw;
  141. margin-left: 1.8vw;
  142. &::after,
  143. &::before {
  144. display: inline-block;
  145. content: '';
  146. width: 3.2vw;
  147. height: 3.2vw;
  148. background: url(https://static.caimei365.com/www/authentic/h5/ldm-icon-star.png)
  149. no-repeat center;
  150. vertical-align: middle;
  151. margin-left: 0.9vw;
  152. }
  153. }
  154. }
  155. .tag {
  156. font-size: 3vw;
  157. color: #221815;
  158. }
  159. }
  160. .param-list {
  161. .param {
  162. padding: 6vw 0;
  163. border-bottom: 0.1vw solid rgba(0, 0, 0, 0.3);
  164. &:first-child {
  165. border-top: 0.1vw solid rgba(0, 0, 0, 0.3);
  166. }
  167. .name {
  168. font-size: 3.2vw;
  169. font-weight: bold;
  170. color: #000;
  171. }
  172. .content {
  173. font-size: 3vw;
  174. color: #9c9c9c;
  175. margin-top: 1.6vw;
  176. text-align: justify;
  177. line-height: 1.7;
  178. }
  179. }
  180. }
  181. }
  182. }
  183. </style>