detail.vue 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  1. <template>
  2. <div class="page">
  3. <div class="page-top">
  4. <div class="swiper"></div>
  5. <div class="club-info">
  6. <img class="logo" src="https://picsum.photos/200/200" />
  7. <div class="name">丽颜科美复兴广场店</div>
  8. <div class="remark">认证设备:LDM®-noblesse</div>
  9. </div>
  10. </div>
  11. <div class="page-content">
  12. <div class="club-info">
  13. <div class="address">
  14. 深圳市宝钢区一时路街188号好吃不上火美丽广场1105店
  15. </div>
  16. <div class="mobile">0755-25777189</div>
  17. </div>
  18. <!-- 列表标题 -->
  19. <div class="title">明星操作师</div>
  20. <!-- 列表 -->
  21. <div class="list">
  22. <div class="section flex items-center">
  23. <img class="cover" src="https://picsum.photos/200/200" />
  24. <div class="info">
  25. <div class="name">宋医师</div>
  26. <div class="tag">皮肤美容科 | 主任医师│从业24年</div>
  27. <div class="more" @click="toDetail">点击查看</div>
  28. </div>
  29. </div>
  30. <div class="section flex items-center">
  31. <img class="cover" src="https://picsum.photos/200/200" />
  32. <div class="info">
  33. <div class="name">宋医师</div>
  34. <div class="tag">皮肤美容科 | 主任医师│从业24年</div>
  35. <div class="more">点击查看</div>
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. </template>
  42. <script>
  43. export default {
  44. layout: 'app-ldm',
  45. methods: {
  46. toDetail() {
  47. this.$router.push('/ldm/approve/personnel/operate/detail')
  48. },
  49. },
  50. }
  51. </script>
  52. <style scoped lang="scss">
  53. @media screen and (min-width: 768px) {
  54. .page {
  55. display: flex;
  56. justify-content: space-between;
  57. width: 1035px;
  58. margin: 0 auto;
  59. position: relative;
  60. padding-top: 500px;
  61. padding-bottom: 60px;
  62. }
  63. .page-top {
  64. .swiper {
  65. width: 452px;
  66. height: 452px;
  67. background: pink;
  68. }
  69. .club-info {
  70. width: 100%;
  71. position: absolute;
  72. top: 80px;
  73. text-align: center;
  74. .logo {
  75. display: block;
  76. width: 158px;
  77. height: 158px;
  78. margin: 0 auto;
  79. border-radius: 50%;
  80. box-shadow: 0 4px 9px rgba(0, 0, 0, 0.34);
  81. }
  82. .name {
  83. font-size: 50px;
  84. font-weight: bold;
  85. color: #000000;
  86. margin: 39px 0 26px;
  87. }
  88. .remark {
  89. font-size: 25px;
  90. font-weight: bold;
  91. color: #000000;
  92. }
  93. }
  94. }
  95. .page-content {
  96. width: 507px;
  97. // height: 452px;
  98. // overflow-y: auto;
  99. .club-info {
  100. font-size: 19px;
  101. color: #000000;
  102. .address,
  103. .mobile {
  104. position: relative;
  105. padding: 36px 0;
  106. border-top: 1px solid rgba(0, 0, 0, 0.169);
  107. padding-left: 26px;
  108. &::after {
  109. content: '';
  110. display: block;
  111. width: 20px;
  112. height: 20px;
  113. position: absolute;
  114. left: 0;
  115. top: 40px;
  116. background-size: auto 20px;
  117. background-repeat: no-repeat;
  118. }
  119. }
  120. .mobile {
  121. border-bottom: 1px solid rgba(0, 0, 0, 0.169);
  122. &::after {
  123. background-image: url(https://static.caimei365.com/www/authentic/h5/ldm-icon-contact.png);
  124. }
  125. }
  126. .address {
  127. &::after {
  128. background-image: url(https://static.caimei365.com/www/authentic/h5/ldm-icon-address.png);
  129. }
  130. }
  131. }
  132. }
  133. .title {
  134. font-size: 21px;
  135. color: #000;
  136. font-weight: bold;
  137. padding: 40px 0;
  138. &::before {
  139. content: '';
  140. display: inline-block;
  141. width: 24px;
  142. height: 28px;
  143. background: url(https://static.caimei365.com/www/authentic/h5/ldm-icon-badge-black.png)
  144. no-repeat center;
  145. background-size: 24px;
  146. vertical-align: -7px;
  147. margin-right: 8px;
  148. }
  149. }
  150. .list {
  151. display: flex;
  152. flex-direction: column;
  153. align-items: center;
  154. .section {
  155. width: 100%;
  156. margin-bottom: 32px;
  157. .cover {
  158. display: block;
  159. width: 140px;
  160. height: 140px;
  161. border-radius: 1.7vw;
  162. }
  163. .info {
  164. position: relative;
  165. flex: 1;
  166. margin-left: 18px;
  167. .name {
  168. font-size: 26px;
  169. color: #000;
  170. font-weight: bold;
  171. text-overflow: ellipsis;
  172. overflow: hidden;
  173. white-space: nowrap;
  174. }
  175. .tag {
  176. width: 206px;
  177. font-size: 14px;
  178. color: #000;
  179. text-overflow: ellipsis;
  180. overflow: hidden;
  181. white-space: nowrap;
  182. margin-top: 15px;
  183. }
  184. .more {
  185. position: absolute;
  186. bottom: 0;
  187. right: 0;
  188. font-size: 19px;
  189. color: #0080ed;
  190. cursor: pointer;
  191. &::after {
  192. content: '>';
  193. margin-left: 8px;
  194. }
  195. }
  196. }
  197. }
  198. }
  199. }
  200. @media screen and (max-width: 768px) {
  201. .page-top {
  202. position: relative;
  203. height: 137vw;
  204. .swiper {
  205. width: 100vw;
  206. height: 100vw;
  207. background: pink;
  208. }
  209. .club-info {
  210. width: 100%;
  211. position: absolute;
  212. bottom: 0;
  213. text-align: center;
  214. .logo {
  215. display: block;
  216. width: 29.5vw;
  217. height: 29.5vw;
  218. margin: 0 auto;
  219. border-radius: 50%;
  220. box-shadow: 0 0.4vw 0.9vw rgba(0, 0, 0, 0.34);
  221. }
  222. .name {
  223. font-size: 5vw;
  224. font-weight: bold;
  225. color: #000000;
  226. margin: 6vw 0;
  227. }
  228. .remark {
  229. font-size: 2.5vw;
  230. font-weight: bold;
  231. color: #000000;
  232. }
  233. }
  234. }
  235. .page-content {
  236. .club-info {
  237. font-size: 3vw;
  238. color: #000000;
  239. padding: 6vw 3vw;
  240. .address,
  241. .mobile {
  242. position: relative;
  243. padding: 4vw 0;
  244. border-top: 0.1vw solid rgba(0, 0, 0, 0.169);
  245. padding-left: 8.6vw;
  246. &::after {
  247. content: '';
  248. display: block;
  249. width: 4vw;
  250. height: 4vw;
  251. position: absolute;
  252. left: 4.3vw;
  253. top: 4vw;
  254. background-size: auto 3.6vw;
  255. background-repeat: no-repeat;
  256. }
  257. }
  258. .mobile {
  259. border-bottom: 0.1vw solid rgba(0, 0, 0, 0.169);
  260. &::after {
  261. background-image: url(https://static.caimei365.com/www/authentic/h5/ldm-icon-contact.png);
  262. }
  263. }
  264. .address {
  265. &::after {
  266. background-image: url(https://static.caimei365.com/www/authentic/h5/ldm-icon-address.png);
  267. }
  268. }
  269. }
  270. }
  271. .title {
  272. font-size: 3.4vw;
  273. color: #000;
  274. font-weight: bold;
  275. text-align: center;
  276. &::before {
  277. content: '';
  278. display: inline-block;
  279. width: 3.7vw;
  280. height: 4.4vw;
  281. background: url(https://static.caimei365.com/www/authentic/h5/ldm-icon-badge-black.png)
  282. no-repeat center;
  283. background-size: 3.7vw;
  284. vertical-align: -0.8vw;
  285. margin-right: 1vw;
  286. }
  287. }
  288. .list {
  289. display: flex;
  290. flex-direction: column;
  291. align-items: center;
  292. margin-top: 6vw;
  293. .section {
  294. width: 95vw;
  295. padding: 5vw;
  296. background: #f1f1f1;
  297. border-radius: 2.4vw;
  298. box-sizing: border-box;
  299. margin-bottom: 2.4vw;
  300. .cover {
  301. display: block;
  302. width: 21.8vw;
  303. height: 21.8vw;
  304. border-radius: 1.7vw;
  305. }
  306. .info {
  307. position: relative;
  308. flex: 1;
  309. margin-left: 2.7vw;
  310. .name {
  311. font-size: 4.2vw;
  312. color: #000;
  313. font-weight: bold;
  314. text-overflow: ellipsis;
  315. overflow: hidden;
  316. white-space: nowrap;
  317. }
  318. .tag {
  319. width: 30vw;
  320. font-size: 2.2vw;
  321. color: #000;
  322. text-overflow: ellipsis;
  323. overflow: hidden;
  324. white-space: nowrap;
  325. margin-top: 2.5vw;
  326. }
  327. .more {
  328. position: absolute;
  329. bottom: 0;
  330. right: 0;
  331. font-size: 3vw;
  332. color: #0080ed;
  333. &::after {
  334. content: '>';
  335. margin-left: 1vw;
  336. }
  337. }
  338. }
  339. }
  340. }
  341. }
  342. </style>