_id.scss 61 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864
  1. .consult-detail-wrapper {
  2. position: relative;
  3. width: 1000px;
  4. .userinfo-wrapper {
  5. position: relative;
  6. width: 1000px;
  7. height: auto;
  8. padding: 30px 20px 20px 20px;
  9. opacity: 1;
  10. background: #ffffff;
  11. border-radius: 10px;
  12. .userinfo-content {
  13. position: relative;
  14. width: 100%;
  15. display: flex;
  16. .avatar-content {
  17. flex-shrink: 0;
  18. width: calc(200px * 16 / 9);
  19. height: 200px;
  20. border-radius: 4px;
  21. .avatar {
  22. width: calc(200px * 16 / 9);
  23. height: 200px;
  24. border-radius: 6px;
  25. }
  26. }
  27. .userinfo-detail {
  28. flex: 1;
  29. margin-left: 20px;
  30. .nickname-content {
  31. width: 100%;
  32. height: 58px;
  33. display: flex;
  34. align-items: center;
  35. border-bottom: 1px solid #eee;
  36. .nickname {
  37. max-width: 350px;
  38. font-size: 24px;
  39. font-family: PingFangSC, PingFangSC-Medium;
  40. font-weight: 500;
  41. color: #222222;
  42. margin-right: 6px;
  43. overflow: hidden;
  44. text-overflow: ellipsis;
  45. white-space: nowrap;
  46. }
  47. .user-level {
  48. margin-right: 30px;
  49. img {
  50. width: 34px;
  51. height: 20px;
  52. }
  53. }
  54. .address-content {
  55. display: flex;
  56. align-items: center;
  57. font-size: 14px;
  58. font-family: PingFangSC, PingFangSC-Regular;
  59. color: #666666;
  60. img {
  61. width: 16px;
  62. height: 16px;
  63. margin-right: 3px;
  64. }
  65. }
  66. .description-edit-btn {
  67. position: absolute;
  68. right: 0;
  69. padding: 0;
  70. height: 20px;
  71. font-size: 12px;
  72. font-family: PingFangSC, PingFangSC-Regular;
  73. font-weight: 400;
  74. color: #308eff;
  75. background: #ffffff;
  76. border: none;
  77. }
  78. }
  79. .company-content {
  80. position: relative;
  81. margin-top: 10px;
  82. width: 100%;
  83. height: 60px;
  84. .company-text,
  85. .experience-text {
  86. display: flex;
  87. align-items: center;
  88. font-size: 14px;
  89. font-family: PingFangSC, PingFangSC-Medium;
  90. font-weight: 500;
  91. color: #222222;
  92. line-height: 30px;
  93. img {
  94. width: 16px;
  95. height: 16px;
  96. margin-right: 8px;
  97. }
  98. }
  99. .all-buy-btn {
  100. position: absolute;
  101. right: 0;
  102. top: 6px;
  103. width: 150px;
  104. height: 48px;
  105. padding: 0;
  106. border: none;
  107. background: #308eff;
  108. border-radius: 7px;
  109. font-size: 15px;
  110. font-family: PingFangSC, PingFangSC-Medium;
  111. font-weight: 500;
  112. text-align: center;
  113. color: #ffffff;
  114. }
  115. }
  116. .stats-content {
  117. margin-top: 10px;
  118. width: 100%;
  119. height: 20px;
  120. line-height: 20px;
  121. display: flex;
  122. align-items: center;
  123. font-size: 14px;
  124. font-family: PingFangSC, PingFangSC-Regular;
  125. font-weight: 400;
  126. color: #666666;
  127. .rating-text {
  128. margin-right: 30px;
  129. }
  130. .rating-text, .num-text {
  131. span {
  132. color: #308eff;
  133. }
  134. }
  135. }
  136. .self-description-content {
  137. position: relative;
  138. margin-top: 13px;
  139. .description-text {
  140. width: 520px;
  141. line-height: 21px;
  142. font-size: 14px;
  143. font-family: PingFangSC, PingFangSC-Regular;
  144. color: #666666;
  145. overflow: hidden;
  146. text-overflow: ellipsis;
  147. display: -webkit-box;
  148. white-space: pre-wrap;
  149. -webkit-box-orient: vertical;
  150. -webkit-line-clamp: 3;
  151. }
  152. }
  153. }
  154. }
  155. .status-content {
  156. width: 100%;
  157. margin-top: 24px;
  158. display: flex;
  159. align-items: center;
  160. justify-content: center;
  161. }
  162. // .avatar-content {
  163. // flex-shrink: 0;
  164. // width: 134px;
  165. // margin-top: 29px;
  166. // display: flex;
  167. // flex-direction: column;
  168. // align-items: center;
  169. // .avatar {
  170. // width: 134px;
  171. // height: 134px;
  172. // border-radius: 10px;
  173. // }
  174. // .line-status {
  175. // margin-top: 14px;
  176. // height: 18px;
  177. // line-height: 18px;
  178. // font-size: 13px;
  179. // font-family: PingFangSC, PingFangSC-Regular;
  180. // font-weight: 400;
  181. // color: #999999;
  182. // }
  183. // }
  184. // .userinfo-content {
  185. // margin-left: 35px;
  186. // margin-right: 35px;
  187. // flex: 1;
  188. // display: flex;
  189. // flex-direction: column;
  190. // .nickname-content {
  191. // width: 100%;
  192. // height: 33px;
  193. // line-height: 33px;
  194. // margin-top: 23px;
  195. // display: flex;
  196. // align-items: center;
  197. // .nickname {
  198. // max-width: 290px;
  199. // font-size: 24px;
  200. // font-family: PingFangSC, PingFangSC-Medium;
  201. // font-weight: 500;
  202. // color: #222222;
  203. // margin-right: 30px;
  204. // overflow: hidden;
  205. // text-overflow: ellipsis;
  206. // white-space: nowrap;
  207. // }
  208. // .company-content {
  209. // // width: 100%;
  210. // display: flex;
  211. // align-items: center;
  212. // .icon {
  213. // width: 16px;
  214. // height: 16px;
  215. // }
  216. // .text {
  217. // height: 20px;
  218. // line-height: 20px;
  219. // margin-left: 5px;
  220. // font-size: 14px;
  221. // font-family: PingFangSC, PingFangSC-Medium;
  222. // font-weight: 500;
  223. // color: #333333;
  224. // }
  225. // .company-text {
  226. // margin-right: 30px;
  227. // }
  228. // }
  229. // }
  230. // .split-line {
  231. // margin-top: 16px;
  232. // width: 100%;
  233. // height: 1px;
  234. // background-color: #eee;
  235. // }
  236. // .stats-content {
  237. // margin-top: 14px;
  238. // width: 100%;
  239. // height: 20px;
  240. // line-height: 20px;
  241. // display: flex;
  242. // align-items: center;
  243. // font-size: 14px;
  244. // font-family: PingFangSC, PingFangSC-Regular;
  245. // font-weight: 400;
  246. // text-align: left;
  247. // color: #666666;
  248. // .rating-text {
  249. // margin-right: 36px;
  250. // }
  251. // .rating-text, .num-text {
  252. // span {
  253. // color: #308eff;
  254. // }
  255. // }
  256. // }
  257. // .self-description-content {
  258. // display: flex;
  259. // flex-direction: column;
  260. // margin-top: 12px;
  261. // .description-input {
  262. // width: 100%;
  263. // height: 168px;
  264. // line-height: 21px;
  265. // font-size: 13px;
  266. // color: #666666;
  267. // }
  268. // .description-text {
  269. // width: 100%;
  270. // max-height: 168px;
  271. // line-height: 21px;
  272. // font-size: 13px;
  273. // font-family: PingFangSC, PingFangSC-Regular;
  274. // font-weight: 400;
  275. // color: #666666;
  276. // // overflow-x: hidden;
  277. // // overflow-y: scroll;
  278. // overflow: hidden;
  279. // text-overflow: ellipsis;
  280. // display: -webkit-box;
  281. // white-space: pre-wrap;
  282. // -webkit-box-orient: vertical;
  283. // -webkit-line-clamp: 8;
  284. // }
  285. // .btns-group {
  286. // position: relative;
  287. // margin-top: 8px;
  288. // height: 21px;
  289. // display: flex;
  290. // align-items: center;
  291. // .edit-btn {
  292. // padding: 0;
  293. // height: 21px;
  294. // font-size: 12px;
  295. // font-family: PingFangSC, PingFangSC-Regular;
  296. // font-weight: 400;
  297. // color: #308eff;
  298. // background: #ffffff;
  299. // border: none;
  300. // img {
  301. // width: 14px;
  302. // height: 14px;
  303. // margin-right: 3px;
  304. // }
  305. // }
  306. // .more-btn {
  307. // position: absolute;
  308. // right: 0;
  309. // padding: 0;
  310. // height: 21px;
  311. // font-size: 12px;
  312. // font-family: PingFangSC, PingFangSC-Regular;
  313. // font-weight: 400;
  314. // color: #308eff;
  315. // background: #ffffff;
  316. // border: none;
  317. // }
  318. // }
  319. // }
  320. // }
  321. // .qrcode-content {
  322. // flex-shrink: 0;
  323. // margin-top: 90px;
  324. // width: 160px;
  325. // height: 200px;
  326. // background: #ffffff;
  327. // border: 1px solid #eaeaea;
  328. // display: flex;
  329. // flex-direction: column;
  330. // align-items: center;
  331. // img {
  332. // width: 136px;
  333. // height: 136px;
  334. // margin-top: 15px;
  335. // }
  336. // .qrcode-tips {
  337. // height: 17px;
  338. // line-height: 17px;
  339. // font-size: 12px;
  340. // margin-top: 12px;
  341. // font-family: PingFangSC, PingFangSC-Regular;
  342. // font-weight: 400;
  343. // color: #333;
  344. // a {
  345. // color: #308eff;
  346. // text-decoration: underline;
  347. // }
  348. // }
  349. // }
  350. }
  351. // 吸顶 tabs
  352. .fixed-tabs {
  353. position: sticky;
  354. top: 83px;
  355. z-index: 5;
  356. width: 1000px;
  357. height: 50px;
  358. margin-top: 10px;
  359. border-radius: 8px;
  360. opacity: 1;
  361. background: #ffffff;
  362. box-shadow: 0px 6px 16px 0px rgba(6,10,28,0.06);
  363. .fixed-tabs-content {
  364. width: 1000px;
  365. height: 100%;
  366. display: flex;
  367. align-items: center;
  368. justify-content: space-between;
  369. .tabs-content {
  370. height: 100%;
  371. display: flex;
  372. align-items: center;
  373. padding-left: 30px;
  374. .tabs-item {
  375. position: relative;
  376. display: inline-block;
  377. height: 50px;
  378. line-height: 50px;
  379. margin-right: 30px;
  380. font-size: 16px;
  381. font-family: PingFangSC, PingFangSC-Regular;
  382. color: #999999;
  383. cursor: pointer;
  384. }
  385. .tabs-item-active {
  386. font-family: PingFangSC, PingFangSC-Semibold;
  387. font-weight: 600;
  388. color: #333333;
  389. &:after {
  390. content: " ";
  391. position: absolute;
  392. bottom: 0;
  393. left: calc((100% - 15px) / 2);
  394. width: 15px;
  395. height: 3px;
  396. background: #308eff;
  397. border-radius: 2px;
  398. }
  399. }
  400. }
  401. }
  402. }
  403. .consult-list {
  404. position: relative;
  405. width: 100%;
  406. .consult-item {
  407. width: 100%;
  408. padding-bottom: 20px;
  409. margin-top: 15px;
  410. background: #ffffff;
  411. border-radius: 10px;
  412. overflow: hidden;
  413. .consult-item-header {
  414. position: relative;
  415. width: 100%;
  416. padding-left: 20px;
  417. height: 66px;
  418. line-height: 66px;
  419. background: rgba(34, 34, 34, 0.08);
  420. font-size: 20px;
  421. font-family: PingFangSC, PingFangSC-Semibold;
  422. font-weight: 600;
  423. color: #222222;
  424. overflow: hidden;
  425. text-overflow: ellipsis;
  426. white-space: nowrap;
  427. &:after {
  428. position: absolute;
  429. content: " ";
  430. left: 0;
  431. top: calc(50% - 8.5px);
  432. width: 4px;
  433. height: 17px;
  434. border-radius: 5px;
  435. background: #308eff;
  436. }
  437. }
  438. .consult-item-pay {
  439. width: 100%;
  440. height: 40px;
  441. padding: 0 20px;
  442. display: flex;
  443. align-items: center;
  444. justify-content: space-between;
  445. .expand-wrapper {
  446. display: flex;
  447. align-items: center;
  448. font-size: 16px;
  449. font-family: PingFangSC, PingFangSC-Medium;
  450. font-weight: 500;
  451. text-align: left;
  452. color: #222222;
  453. cursor: pointer;
  454. .expand-icon {
  455. width: 19px;
  456. height: 19px;
  457. }
  458. }
  459. .price-wrapper {
  460. display: flex;
  461. align-items: center;
  462. .price-text {
  463. margin-right: 20px;
  464. font-size: 24px;
  465. font-family: DINAlternate, DINAlternate-Bold;
  466. font-weight: 700;
  467. color: #ff6600;
  468. }
  469. .pay-btn {
  470. width: 124px;
  471. height: 40px;
  472. padding: 0;
  473. border: none;
  474. background: #308eff;
  475. border-radius: 6px;
  476. font-size: 14px;
  477. font-family: PingFangSC, PingFangSC-Medium;
  478. font-weight: 500;
  479. color: #ffffff;
  480. }
  481. }
  482. }
  483. .consult-item-content {
  484. position: relative;
  485. margin-top: 20px;
  486. margin-bottom: 20px;
  487. .content-info {
  488. width: 100%;
  489. max-height: 87px;
  490. line-height: 29px;
  491. padding: 0 20px;
  492. font-size: 16px;
  493. font-family: PingFangSC, PingFangSC-Regular;
  494. color: #222222;
  495. overflow: hidden;
  496. text-overflow: ellipsis;
  497. display: -webkit-box;
  498. white-space: normal;
  499. -webkit-box-orient: vertical;
  500. -webkit-line-clamp: 3;
  501. }
  502. .content-info-expand {
  503. width: 100%;
  504. line-height: 29px;
  505. padding: 0 20px;
  506. font-size: 16px;
  507. font-family: PingFangSC, PingFangSC-Regular;
  508. color: #222222;
  509. display: flex;
  510. flex-direction: column;
  511. align-items: center;
  512. img {
  513. max-width: 100%;
  514. margin-top: 24px;
  515. object-fit: scale-down;
  516. }
  517. }
  518. }
  519. }
  520. }
  521. .why-me-wrapper {
  522. position: relative;
  523. .edit-why-me-btn {
  524. position: absolute;
  525. z-index: 3;
  526. top: 24px;
  527. // right: 20px;
  528. left: 156px;
  529. padding: 0;
  530. height: 20px;
  531. font-size: 12px;
  532. font-family: PingFangSC, PingFangSC-Regular;
  533. font-weight: 400;
  534. color: #308eff;
  535. background: #ffffff;
  536. border: none;
  537. }
  538. .why-me-content {
  539. margin-top: 15px;
  540. font-size: 16px;
  541. line-height: 29px;
  542. font-family: PingFangSC, PingFangSC-Regular;
  543. font-weight: 400;
  544. color: #222222;
  545. white-space: pre-line;
  546. }
  547. }
  548. .comment-wrapper {
  549. position: relative;
  550. .comment-input {
  551. margin-top: 10px;
  552. }
  553. .comment-btn {
  554. width: 128px;
  555. height: 42px;
  556. line-height: 42px;
  557. margin-top: 8px;
  558. padding: 0;
  559. border: none;
  560. background: #308eff;
  561. border-radius: 4px;
  562. font-size: 15px;
  563. font-family: PingFangSC, PingFangSC-Medium;
  564. font-weight: 500;
  565. text-align: center;
  566. color: #ffffff;
  567. }
  568. .comment-list-wrapper {
  569. margin-top: 24px;
  570. .comment-item {
  571. width: 100%;
  572. margin-top: 8px;
  573. .top-info {
  574. width: 100%;
  575. height: 40px;
  576. display: flex;
  577. align-items: center;
  578. justify-content: space-between;
  579. .userinfo {
  580. display: flex;
  581. align-items: center;
  582. .avatar {
  583. width: 40px;
  584. height: 40px;
  585. border-radius: 50%;
  586. }
  587. .nickname {
  588. margin-left: 10px;
  589. font-size: 14px;
  590. font-family: PingFangSC, PingFangSC-Regular;
  591. font-weight: 400;
  592. color: #308eff;
  593. // &:hover {
  594. // color: #308eff;
  595. // }
  596. }
  597. }
  598. .time {
  599. font-size: 12px;
  600. font-family: PingFangSC, PingFangSC-Regular;
  601. font-weight: 400;
  602. color: #8f9aa8;
  603. }
  604. }
  605. }
  606. .content {
  607. max-width: 700px;
  608. margin-left: 50px;
  609. font-size: 14px;
  610. font-family: PingFangSC, PingFangSC-Regular;
  611. font-weight: 400;
  612. color: #1d2a3a;
  613. line-height: 20px;
  614. white-space: pre-wrap;
  615. }
  616. }
  617. .comment-pagination-wrapper {
  618. margin-top: 16px;
  619. display: flex;
  620. align-items: center;
  621. justify-content: center;
  622. }
  623. }
  624. .skill-list-wrapper {
  625. padding-bottom: 45px !important;
  626. .skill-list-content {
  627. margin-top: 30px;
  628. .skill-scroll-container {
  629. position: relative;
  630. width: 100%;
  631. height: 310px;
  632. overflow: hidden;
  633. padding: 0;
  634. margin: 0;
  635. .left-arrow,
  636. .right-arrow {
  637. position: absolute;
  638. top: 80px;
  639. width: 60px;
  640. height: 60px;
  641. z-index: 3;
  642. opacity: 0;
  643. cursor: pointer;
  644. transition: none;
  645. // background-position: 50%;
  646. background-size: 100% 100%;
  647. background-repeat: no-repeat;
  648. }
  649. .left-arrow {
  650. left: 0;
  651. background-image: url('~@/assets/img/common/scroller-left2@2x.png');
  652. &:hover {
  653. // background-image: url('~@/assets/img/common/scroller-left-active2@2x.png');
  654. background-image: url('~@/assets/img/common/scroller-right-active2@2x.png');
  655. transform: rotate(180deg);
  656. }
  657. }
  658. .right-arrow {
  659. right: 0;
  660. // background-image: url('~@/assets/img/common/scroller-right2@2x.png');
  661. background-image: url('~@/assets/img/common/scroller-left2@2x.png');
  662. transform: rotate(180deg);
  663. &:hover {
  664. transform: rotate(0);
  665. background-image: url('~@/assets/img/common/scroller-right-active2@2x.png');
  666. }
  667. }
  668. .scroll-outer {
  669. position: absolute;
  670. left: 0;
  671. right: 0;
  672. top: 0;
  673. bottom: 0;
  674. .scroll-body {
  675. position: absolute;
  676. display: inline-block;
  677. height: 100%;
  678. overflow: visible;
  679. white-space: nowrap;
  680. transition: left .3s ease;
  681. display: flex;
  682. .skill-item {
  683. width: 290px;
  684. height: 310px;
  685. margin-right: 15px;
  686. background: #ffffff;
  687. border-radius: 10px;
  688. overflow: hidden;
  689. box-shadow: 0px 6px 16px 0px rgba(6,10,28,0.06);
  690. display: flex;
  691. flex-direction: column;
  692. .cover {
  693. width: 100%;
  694. height: 175px;
  695. overflow: hidden;
  696. object-fit: scale-down;
  697. }
  698. .owner-wrapper {
  699. width: 100%;
  700. height: 22px;
  701. margin-top: 10px;
  702. padding: 0 10px;
  703. display: flex;
  704. align-items: center;
  705. .avatar {
  706. flex-shrink: 0;
  707. width: 22px;
  708. height: 22px;
  709. overflow: hidden;
  710. border-radius: 50%;
  711. }
  712. .nickname {
  713. flex: 1;
  714. line-height: 22px;
  715. margin-left: 6px;
  716. font-size: 14px;
  717. font-family: PingFangSC, PingFangSC-Regular;
  718. font-weight: 400;
  719. color: #666666;
  720. overflow: hidden;
  721. text-overflow: ellipsis;
  722. white-space: nowrap;
  723. }
  724. }
  725. .title {
  726. width: 100%;
  727. height: 42px;
  728. margin-top: 12px;
  729. padding: 0 12px;
  730. line-height: 21px;
  731. font-size: 15px;
  732. font-family: PingFangSC, PingFangSC-Medium;
  733. font-weight: 500;
  734. color: #333333;
  735. overflow: hidden;
  736. text-overflow: ellipsis;
  737. display: -webkit-box;
  738. white-space: normal;
  739. -webkit-box-orient: vertical;
  740. -webkit-line-clamp: 2;
  741. word-break: break-all;
  742. &:hover {
  743. color: #308eff;
  744. }
  745. }
  746. .price-wrapper {
  747. width: 100%;
  748. height: 20px;
  749. margin-top: 12px;
  750. padding: 0 12px;
  751. display: flex;
  752. align-items: center;
  753. justify-content: space-between;
  754. .price-text {
  755. line-height: 20px;
  756. font-size: 19px;
  757. font-family: DINAlternate, DINAlternate-Bold;
  758. font-weight: 700;
  759. color: #ff6600;
  760. }
  761. .buy-num {
  762. font-size: 14px;
  763. font-family: PingFangSC, PingFangSC-Regular;
  764. font-weight: 400;
  765. color: #999999;
  766. }
  767. }
  768. }
  769. }
  770. }
  771. &:hover {
  772. .left-arrow, .right-arrow {
  773. opacity: 1;
  774. }
  775. }
  776. }
  777. }
  778. .skill-list-empty {
  779. height: 160px;
  780. }
  781. }
  782. .common-card {
  783. position: relative;
  784. width: 100%;
  785. margin-top: 15px;
  786. padding: 20px 20px 30px;
  787. background: #fff;
  788. border-radius: 10px;
  789. backdrop-filter: blur(40px);
  790. .common-title {
  791. position: relative;
  792. line-height: 28px;
  793. height: 28px;
  794. font-size: 20px;
  795. font-family: PingFangSC, PingFangSC-Semibold;
  796. font-weight: 600;
  797. color: #222222;
  798. &:after {
  799. position: absolute;
  800. content: " ";
  801. left: -20px;
  802. top: 5.5px;
  803. width: 4px;
  804. height: 17px;
  805. background: #308eff;
  806. border-radius: 5px;
  807. }
  808. }
  809. .comment-title {
  810. height: 28px;
  811. line-height: 28px;
  812. font-size: 16px;
  813. font-family: PingFangSC, PingFangSC-Medium;
  814. font-weight: 500;
  815. color: #333333;
  816. }
  817. }
  818. }
  819. .mobileMain {
  820. position: relative;
  821. width: 100%;
  822. min-height: calc(100vh - 64px);
  823. margin: 0;
  824. }
  825. .consult-detail-wrapper-mobile {
  826. position: relative;
  827. width: 100%;
  828. padding-bottom: calc(36px + constant(safe-area-inset-bottom));
  829. padding-bottom: calc(36px + env(safe-area-inset-bottom));
  830. display: flex;
  831. flex-direction: column;
  832. .pay-wrapper {
  833. position: fixed;
  834. bottom: 0;
  835. left: 0;
  836. width: 100%;
  837. height: calc(56px + constant(safe-area-inset-bottom));
  838. height: calc(56px + env(safe-area-inset-bottom));
  839. padding: 0 10px;
  840. background: #ffffff;
  841. display: flex;
  842. justify-content: space-between;
  843. .price-info {
  844. margin-top: 10px;
  845. display: flex;
  846. flex-direction: column;
  847. .price-text {
  848. height: 18px;
  849. line-height: 18px;
  850. font-size: 19px;
  851. font-family: PingFangSC, PingFangSC-Semibold;
  852. font-weight: 600;
  853. color: #ff6600;
  854. }
  855. span {
  856. height: 18px;
  857. line-height: 18px;
  858. font-size: 12px;
  859. font-family: PingFangSC, PingFangSC-Regular;
  860. font-weight: 400;
  861. color: #999999;
  862. }
  863. }
  864. .pay-btn {
  865. margin-top: 6px;
  866. width: 122px;
  867. height: 44px;
  868. border: none;
  869. background: #308eff;
  870. border-radius: 6px;
  871. font-size: 15px;
  872. font-family: PingFangSC, PingFangSC-Medium;
  873. font-weight: 500;
  874. color: #ffffff;
  875. }
  876. }
  877. .userinfo-wrapper {
  878. width: 100%;
  879. padding: 20px 10px;
  880. background: #fff;
  881. .user-content {
  882. width: 100%;
  883. display: flex;
  884. .avatar {
  885. flex-shrink: 0;
  886. width: 130px;
  887. height: calc(130px * 9 / 16);
  888. border-radius: 3px;
  889. object-fit: cover;
  890. }
  891. .user-intro-content {
  892. flex: 1;
  893. margin-left: 10px;
  894. .nickname-content {
  895. height: 24px;
  896. display: flex;
  897. align-items: center;
  898. .nickname {
  899. max-width: calc(100vw - 130px - 20px - 36px);
  900. font-size: 17px;
  901. font-family: PingFangSC, PingFangSC-Medium;
  902. font-weight: 500;
  903. color: #222222;
  904. overflow: hidden;
  905. text-overflow: ellipsis;
  906. white-space: nowrap;
  907. }
  908. .user-level {
  909. flex-shrink: 0;
  910. width: 34px;
  911. height: 20px;
  912. margin-left: 2px;
  913. }
  914. }
  915. .description-text {
  916. width: 100%;
  917. line-height: 18px;
  918. margin-top: 7px;
  919. font-size: 13px;
  920. font-family: PingFangSC, PingFangSC-Regular;
  921. color: #666666;
  922. overflow: hidden;
  923. text-overflow: ellipsis;
  924. display: -webkit-box;
  925. white-space: pre-wrap;
  926. -webkit-box-orient: vertical;
  927. -webkit-line-clamp: 2;
  928. word-break: break-all;
  929. }
  930. }
  931. }
  932. .stats-content {
  933. margin-top: 12px;
  934. width: 100%;
  935. height: 18px;
  936. display: flex;
  937. align-items: center;
  938. justify-content: space-between;
  939. .stats-info {
  940. display: flex;
  941. align-items: center;
  942. .stats-item {
  943. font-size: 13px;
  944. font-family: PingFangSC, PingFangSC-Regular;
  945. color: #666666;
  946. margin-right: 12px;
  947. &:last-child {
  948. margin-right: 0;
  949. }
  950. span {
  951. color: #308eff;
  952. }
  953. }
  954. }
  955. .other-user-info {
  956. font-size: 13px;
  957. font-family: PingFangSC, PingFangSC-Regular;
  958. color: #999999;
  959. }
  960. }
  961. }
  962. .consult-list-wrapper {
  963. margin-top: 0;
  964. .consult-list {
  965. position: relative;
  966. width: 100%;
  967. .consult-item {
  968. margin: 0 10px;
  969. padding-bottom: 16px;
  970. margin-bottom: 10px;
  971. background: #ffffff;
  972. border-radius: 8px;
  973. overflow: hidden;
  974. &:last-child {
  975. margin-bottom: 0;
  976. }
  977. .consult-item-header {
  978. position: relative;
  979. width: 100%;
  980. padding: 0 14px;
  981. height: 50px;
  982. line-height: 50px;
  983. background: rgba(34, 34, 34, 0.08);
  984. font-size: 14px;
  985. font-family: PingFangSC, PingFangSC-Semibold;
  986. font-weight: 600;
  987. color: #222222;
  988. overflow: hidden;
  989. text-overflow: ellipsis;
  990. white-space: nowrap;
  991. }
  992. .consult-item-pay {
  993. width: 100%;
  994. height: 32px;
  995. padding: 0 16px;
  996. display: flex;
  997. align-items: center;
  998. justify-content: space-between;
  999. .expand-wrapper {
  1000. display: flex;
  1001. align-items: center;
  1002. font-size: 13px;
  1003. font-family: PingFangSC, PingFangSC-Medium;
  1004. font-weight: 500;
  1005. text-align: left;
  1006. color: #222222;
  1007. cursor: pointer;
  1008. .expand-icon {
  1009. width: 15px;
  1010. height: 15px;
  1011. }
  1012. }
  1013. .price-wrapper {
  1014. display: flex;
  1015. align-items: center;
  1016. .price-text {
  1017. margin-right: 16px;
  1018. font-size: 13px;
  1019. font-family: PingFangSC, PingFangSC-Semibold;
  1020. font-weight: 600;
  1021. color: #ff6600;
  1022. }
  1023. .pay-btn {
  1024. width: 100px;
  1025. height: 32px;
  1026. padding: 0;
  1027. border: none;
  1028. background: #308eff;
  1029. border-radius: 5px;
  1030. font-size: 12px;
  1031. font-family: PingFangSC, PingFangSC-Medium;
  1032. font-weight: 500;
  1033. color: #fff;
  1034. opacity: 0.88;
  1035. }
  1036. }
  1037. }
  1038. .consult-item-content {
  1039. position: relative;
  1040. margin-top: 15px;
  1041. margin-bottom: 11px;
  1042. .content-info {
  1043. width: 100%;
  1044. max-height: 69px;
  1045. line-height: 23px;
  1046. padding: 0 16px;
  1047. font-size: 13px;
  1048. font-family: PingFangSC, PingFangSC-Regular;
  1049. color: #222222;
  1050. overflow: hidden;
  1051. text-overflow: ellipsis;
  1052. display: -webkit-box;
  1053. white-space: normal;
  1054. -webkit-box-orient: vertical;
  1055. -webkit-line-clamp: 3;
  1056. }
  1057. .content-info-expand {
  1058. width: 100%;
  1059. line-height: 23px;
  1060. padding: 0 16px;
  1061. font-size: 13px;
  1062. font-family: PingFangSC, PingFangSC-Regular;
  1063. color: #222222;
  1064. display: flex;
  1065. flex-direction: column;
  1066. align-items: center;
  1067. img {
  1068. max-width: 100%;
  1069. margin-top: 16px;
  1070. object-fit: scale-down;
  1071. }
  1072. }
  1073. }
  1074. }
  1075. }
  1076. }
  1077. .why-me-wrapper {
  1078. .why-me-content {
  1079. width: calc(100vw - 20px);
  1080. margin: 3px 10px 0;
  1081. padding: 20px 10px;
  1082. font-size: 15px;
  1083. font-family: PingFangSC, PingFangSC-Regular;
  1084. color: #222222;
  1085. line-height: 27px;
  1086. background: #ffffff;
  1087. border-radius: 8px;
  1088. white-space: pre-wrap;
  1089. }
  1090. }
  1091. .skill-list-wrapper {
  1092. .skill-list {
  1093. position: relative;
  1094. width: calc(100vw - 20px);
  1095. display: flex;
  1096. margin: 10px 10px 0;
  1097. overflow-x: scroll;
  1098. overflow-y: hidden;
  1099. -webkit-overflow-scrolling: touch;
  1100. &::-webkit-scrollbar {
  1101. display: none;
  1102. }
  1103. .skill-item {
  1104. flex-shrink: 0;
  1105. width: 260px;
  1106. height: 260px;
  1107. margin-right: 10px;
  1108. background: #ffffff;
  1109. overflow: hidden;
  1110. border-radius: 9px;
  1111. box-shadow: 0px 5px 14px 0px rgba(6,10,28,0.06);
  1112. display: flex;
  1113. flex-direction: column;
  1114. &:last-child {
  1115. margin-right: 0;
  1116. }
  1117. .cover {
  1118. width: 100%;
  1119. height: 135px;
  1120. overflow: hidden;
  1121. object-fit: scale-down;
  1122. }
  1123. .owner-wrapper {
  1124. width: 100%;
  1125. height: 20px;
  1126. margin-top: 15px;
  1127. padding: 0 10px;
  1128. display: flex;
  1129. align-items: center;
  1130. .avatar {
  1131. flex-shrink: 0;
  1132. width: 20px;
  1133. height: 20px;
  1134. overflow: hidden;
  1135. border-radius: 50%;
  1136. }
  1137. .nickname {
  1138. flex: 1;
  1139. line-height: 20px;
  1140. margin-left: 5px;
  1141. font-size: 14px;
  1142. font-family: PingFangSC, PingFangSC-Regular;
  1143. font-weight: 400;
  1144. color: #666666;
  1145. overflow: hidden;
  1146. text-overflow: ellipsis;
  1147. white-space: nowrap;
  1148. }
  1149. }
  1150. .title {
  1151. width: 100%;
  1152. height: 38px;
  1153. margin-top: 11px;
  1154. padding: 0 10px;
  1155. line-height: 19px;
  1156. font-size: 14px;
  1157. font-family: PingFangSC, PingFangSC-Medium;
  1158. font-weight: 500;
  1159. color: #333333;
  1160. overflow: hidden;
  1161. text-overflow: ellipsis;
  1162. display: -webkit-box;
  1163. white-space: normal;
  1164. -webkit-box-orient: vertical;
  1165. -webkit-line-clamp: 2;
  1166. word-break: break-all;
  1167. &:hover {
  1168. color: #308eff;
  1169. }
  1170. }
  1171. .price-wrapper {
  1172. width: 100%;
  1173. height: 15px;
  1174. margin-top: 10px;
  1175. padding: 0 10px;
  1176. display: flex;
  1177. align-items: center;
  1178. justify-content: space-between;
  1179. .price-text {
  1180. font-size: 17px;
  1181. line-height: 15px;
  1182. font-family: PingFangSC, PingFangSC-Semibold;
  1183. font-weight: 600;
  1184. color: #ff6600;
  1185. }
  1186. .buy-num {
  1187. font-size: 14px;
  1188. font-family: PingFangSC, PingFangSC-Regular;
  1189. font-weight: 400;
  1190. color: #999999;
  1191. }
  1192. }
  1193. }
  1194. }
  1195. .skill-empty {
  1196. width: 100%;
  1197. height: auto;
  1198. display: flex;
  1199. flex-direction: column;
  1200. align-items: center;
  1201. justify-content: center;
  1202. img {
  1203. margin-top: -20px;
  1204. width: 154px;
  1205. height: 154px;
  1206. }
  1207. span {
  1208. margin-top: -20px;
  1209. height: 20px;
  1210. line-height: 20px;
  1211. font-size: 14px;
  1212. font-family: PingFangSC, PingFangSC-Regular;
  1213. color: #999999
  1214. }
  1215. }
  1216. }
  1217. .common-card-mobile {
  1218. position: relative;
  1219. width: 100%;
  1220. margin-top: 15px;
  1221. .common-title-mobile {
  1222. position: relative;
  1223. width: 100%;
  1224. height: 42px;
  1225. padding-left: 16px;
  1226. display: flex;
  1227. align-items: center;
  1228. font-size: 15px;
  1229. font-family: PingFangSC, PingFangSC-Semibold;
  1230. font-weight: 600;
  1231. color: #222222;
  1232. &:after {
  1233. position: absolute;
  1234. content: " ";
  1235. top: 13px;
  1236. left: 0;
  1237. width: 2px;
  1238. height: 16px;
  1239. background: #308eff;
  1240. border-radius: 2px;
  1241. }
  1242. }
  1243. }
  1244. .consult-btn {
  1245. position: fixed;
  1246. width: 170px;
  1247. height: 52px;
  1248. bottom: 51px;
  1249. left: calc(50% - 88px);
  1250. border-radius: 26px;
  1251. background: #308eff;
  1252. opacity: 0.95;
  1253. display: flex;
  1254. align-items: center;
  1255. justify-content: center;
  1256. font-size: 14px;
  1257. font-family: PingFangSC, PingFangSC-Medium;
  1258. font-weight: 500;
  1259. color: #ffffff;
  1260. img {
  1261. width: 16px;
  1262. height: 16px;
  1263. margin-right: 4px;
  1264. }
  1265. }
  1266. }
  1267. // 时间选择 dialog
  1268. .time-dialog-title {
  1269. width: 100%;
  1270. height: 28px;
  1271. line-height: 28px;
  1272. font-size: 20px;
  1273. font-family: PingFangSC, PingFangSC-Semibold;
  1274. font-weight: 600;
  1275. text-align: center;
  1276. color: #222222;
  1277. }
  1278. .time-dialog-content {
  1279. position: relative;
  1280. width: 100%;
  1281. margin: 0 0 20px 15px;
  1282. .title {
  1283. flex-shrink: 0;
  1284. height: 45px;
  1285. line-height: 45px;
  1286. font-size: 14px;
  1287. font-family: PingFangSC, PingFangSC-Semibold;
  1288. font-weight: 600;
  1289. color: #222222;
  1290. }
  1291. .date-wrapper {
  1292. width: 100%;
  1293. height: 48px;
  1294. display: flex;
  1295. align-items: center;
  1296. .date-list-wrapper {
  1297. flex: 1;
  1298. display: flex;
  1299. align-items: center;
  1300. .date-item {
  1301. position: relative;
  1302. width: 80px;
  1303. height: 48px;
  1304. line-height: 48px;
  1305. font-size: 15px;
  1306. font-family: PingFangSC, PingFangSC-Regular;
  1307. text-align: center;
  1308. color: #666666;
  1309. cursor: pointer;
  1310. &.active {
  1311. font-family: PingFangSC, PingFangSC-Semibold;
  1312. font-weight: 600;
  1313. text-align: center;
  1314. color: #308eff;
  1315. &:after {
  1316. position: absolute;
  1317. content: " ";
  1318. bottom: 0;
  1319. left: calc(50% - 11.5px);
  1320. width: 23px;
  1321. height: 2px;
  1322. opacity: 1;
  1323. background: #308eff;
  1324. border-radius: 2px;
  1325. }
  1326. }
  1327. }
  1328. }
  1329. }
  1330. .time-wrapper {
  1331. width: 100%;
  1332. min-height: 45px;
  1333. margin-top: 25px;
  1334. display: flex;
  1335. .time-list-wrapper {
  1336. position: relative;
  1337. width: 100%;
  1338. .time-list-item {
  1339. position: relative;
  1340. width: 100%;
  1341. margin-left: 8px;
  1342. display: flex;
  1343. flex-wrap: wrap;
  1344. align-items: center;
  1345. .time-item {
  1346. width: 97px;
  1347. height: 45px;
  1348. line-height: 43px;
  1349. margin-right: 8px;
  1350. background: #ffffff;
  1351. border: 1px solid rgba(0,0,0,0.07);
  1352. border-radius: 6px;
  1353. box-shadow: 0px 3px 12px 0px rgba(8,27,50,0.05);
  1354. font-size: 15px;
  1355. font-family: PingFangSC, PingFangSC-Regular;
  1356. font-weight: 400;
  1357. text-align: center;
  1358. color: #666666;
  1359. cursor: pointer;
  1360. &.active {
  1361. font-family: PingFangSC, PingFangSC-Semibold;
  1362. font-weight: 600;
  1363. color: #308eff;
  1364. border: 1px solid #308eff;
  1365. box-shadow: none;
  1366. }
  1367. &:nth-of-type(n + 6) {
  1368. margin-top: 8px;
  1369. }
  1370. }
  1371. .time-empty {
  1372. // width: 100%;
  1373. height: 45px;
  1374. line-height: 45px;
  1375. margin-left: 200px;
  1376. font-size: 15px;
  1377. font-family: PingFangSC, PingFangSC-Regular;
  1378. font-weight: 400;
  1379. text-align: center;
  1380. color: #666666;
  1381. }
  1382. }
  1383. }
  1384. }
  1385. .action-wrapper {
  1386. width: 100%;
  1387. margin-top: 60px;
  1388. display: flex;
  1389. align-items: center;
  1390. justify-content: center;
  1391. .confirm-btn {
  1392. width: 170px;
  1393. height: 46px;
  1394. background: #308eff;
  1395. border-radius: 6px;
  1396. margin-right: 12px;
  1397. font-size: 15px;
  1398. font-family: PingFangSC, PingFangSC-Medium;
  1399. font-weight: 500;
  1400. color: #ffffff;
  1401. border: none !important;
  1402. }
  1403. .cancel-btn {
  1404. width: 170px;
  1405. height: 46px;
  1406. background: #f4f5f9;
  1407. border-radius: 6px;
  1408. font-size: 15px;
  1409. font-family: PingFangSC, PingFangSC-Medium;
  1410. font-weight: 500;
  1411. color: #666666;
  1412. border: none !important;
  1413. }
  1414. }
  1415. }
  1416. // 行家自述 modal
  1417. .self-description-title,
  1418. .why-me-title,
  1419. .select-consult-title {
  1420. width: 100%;
  1421. height: 28px;
  1422. line-height: 28px;
  1423. font-size: 20px;
  1424. font-family: PingFangSC, PingFangSC-Semibold;
  1425. font-weight: 600;
  1426. text-align: center;
  1427. color: #222222;
  1428. }
  1429. .self-description-content,
  1430. .why-me-content,
  1431. .select-consult-content {
  1432. position: relative;
  1433. width: 100%;
  1434. .self-description-input,
  1435. .why-me-input {
  1436. width: 100%;
  1437. line-height: 21px;
  1438. font-size: 13px;
  1439. color: #666666;
  1440. }
  1441. .self-description-text {
  1442. width: 100%;
  1443. line-height: 21px;
  1444. font-size: 13px;
  1445. font-family: PingFangSC, PingFangSC-Regular;
  1446. font-weight: 400;
  1447. color: #666666;
  1448. white-space: pre-wrap;
  1449. }
  1450. .action-wrapper {
  1451. width: 100%;
  1452. margin-top: 40px;
  1453. display: flex;
  1454. align-items: center;
  1455. justify-content: center;
  1456. .confirm-btn {
  1457. width: 170px;
  1458. height: 46px;
  1459. background: #308eff;
  1460. border-radius: 6px;
  1461. margin-right: 12px;
  1462. font-size: 15px;
  1463. font-family: PingFangSC, PingFangSC-Medium;
  1464. font-weight: 500;
  1465. color: #ffffff;
  1466. border: none !important;
  1467. }
  1468. .cancel-btn {
  1469. width: 170px;
  1470. height: 46px;
  1471. background: #f4f5f9;
  1472. border-radius: 6px;
  1473. font-size: 15px;
  1474. font-family: PingFangSC, PingFangSC-Medium;
  1475. font-weight: 500;
  1476. color: #666666;
  1477. border: none !important;
  1478. }
  1479. }
  1480. }
  1481. // 全部咨询选择 modal
  1482. .select-consult-content {
  1483. .select-consult-list {
  1484. position: relative;
  1485. width: 100%;
  1486. max-height: 170px;
  1487. overflow-x: hidden;
  1488. overflow-y: scroll;
  1489. .select-consult-item {
  1490. width: 100%;
  1491. height: 50px;
  1492. padding: 0 16px;
  1493. margin-bottom: 10px;
  1494. border: 1px solid #f1f1f1;
  1495. display: flex;
  1496. align-items: center;
  1497. font-size: 15px;
  1498. font-family: PingFangSC, PingFangSC-Regular;
  1499. color: #222222;
  1500. overflow: hidden;
  1501. text-overflow: ellipsis;
  1502. white-space: nowrap;
  1503. cursor: pointer;
  1504. &.active {
  1505. border-color: #308eff;
  1506. color: #308eff;
  1507. }
  1508. &:last-child {
  1509. margin-bottom: 0;
  1510. }
  1511. }
  1512. }
  1513. .time-wrapper {
  1514. width: 100%;
  1515. height: 59px;
  1516. margin-top: 27px;
  1517. box-shadow: 0px -1px 0px 0px #f4f4f4 inset;
  1518. display: flex;
  1519. align-items: center;
  1520. justify-content: space-between;
  1521. cursor: pointer;
  1522. .time-title {
  1523. font-size: 16px;
  1524. font-family: PingFangSC, PingFangSC-Regular;
  1525. font-weight: 400;
  1526. color: #333333;
  1527. display: flex;
  1528. align-items: center;
  1529. img {
  1530. width: 24px;
  1531. height: 24px;
  1532. margin-right: 10px;
  1533. }
  1534. }
  1535. .selected-time {
  1536. font-size: 16px;
  1537. font-family: PingFangSC, PingFangSC-Regular;
  1538. font-weight: 400;
  1539. color: #999999;
  1540. letter-spacing: 0px;
  1541. display: flex;
  1542. align-items: center;
  1543. img {
  1544. width: 15px;
  1545. height: 15px;
  1546. margin-right: 3px;
  1547. }
  1548. }
  1549. }
  1550. .action-wrapper {
  1551. margin-top: 20px;
  1552. .confirm-btn {
  1553. width: 215px;
  1554. }
  1555. }
  1556. .tips-text {
  1557. width: 100%;
  1558. margin-top: 9px;
  1559. line-height: 18px;
  1560. font-size: 13px;
  1561. font-family: PingFangSC, PingFangSC-Regular;
  1562. font-weight: 400;
  1563. text-align: center;
  1564. color: #999999;
  1565. }
  1566. }
  1567. // 移动端:时间选择 drawer
  1568. .mobile-time-dialog-title,
  1569. .mobile-select-consult-title {
  1570. width: 100%;
  1571. height: 28px;
  1572. line-height: 28px;
  1573. font-size: 20px;
  1574. font-family: PingFangSC, PingFangSC-Semibold;
  1575. font-weight: 600;
  1576. text-align: center;
  1577. color: #222222;
  1578. }
  1579. .mobile-time-dialog-content {
  1580. position: relative;
  1581. width: 100%;
  1582. padding: 0 16px;
  1583. .title {
  1584. flex-shrink: 0;
  1585. height: 20px;
  1586. line-height: 20px;
  1587. font-size: 14px;
  1588. font-family: PingFangSC, PingFangSC-Semibold;
  1589. font-weight: 600;
  1590. color: #222222;
  1591. }
  1592. .date-wrapper {
  1593. width: 100%;
  1594. display: flex;
  1595. flex-direction: column;
  1596. .date-list-wrapper {
  1597. flex: 1;
  1598. display: flex;
  1599. align-items: center;
  1600. overflow-x: scroll;
  1601. overflow-y: hidden;
  1602. // padding-right: 10px;
  1603. -webkit-overflow-scrolling: touch;
  1604. &::-webkit-scrollbar {
  1605. display: none;
  1606. }
  1607. .date-item {
  1608. flex-shrink: 0;
  1609. position: relative;
  1610. width: 80px;
  1611. height: 48px;
  1612. line-height: 48px;
  1613. font-size: 15px;
  1614. font-family: PingFangSC, PingFangSC-Regular;
  1615. text-align: center;
  1616. color: #666666;
  1617. cursor: pointer;
  1618. &.active {
  1619. font-family: PingFangSC, PingFangSC-Semibold;
  1620. font-weight: 600;
  1621. text-align: center;
  1622. color: #308eff;
  1623. &:after {
  1624. position: absolute;
  1625. content: " ";
  1626. bottom: 0;
  1627. left: calc(50% - 11.5px);
  1628. width: 23px;
  1629. height: 2px;
  1630. opacity: 1;
  1631. background: #308eff;
  1632. border-radius: 2px;
  1633. }
  1634. }
  1635. }
  1636. }
  1637. }
  1638. .time-wrapper {
  1639. width: 100%;
  1640. margin-top: 24px;
  1641. display: flex;
  1642. flex-direction: column;
  1643. .time-list-wrapper {
  1644. position: relative;
  1645. width: 100%;
  1646. margin-top: 8px;
  1647. .time-list-item {
  1648. position: relative;
  1649. width: 100%;
  1650. // margin-left: 8px;
  1651. display: flex;
  1652. align-items: center;
  1653. overflow-x: scroll;
  1654. overflow-y: hidden;
  1655. // padding-right: 12px;
  1656. -webkit-overflow-scrolling: touch;
  1657. &::-webkit-scrollbar {
  1658. display: none;
  1659. }
  1660. .time-item {
  1661. flex-shrink: 0;
  1662. width: 97px;
  1663. height: 45px;
  1664. line-height: 43px;
  1665. margin-right: 8px;
  1666. background: #ffffff;
  1667. border: 1px solid rgba(0,0,0,0.07);
  1668. border-radius: 6px;
  1669. box-shadow: 0px 3px 12px 0px rgba(8,27,50,0.05);
  1670. font-size: 15px;
  1671. font-family: PingFangSC, PingFangSC-Regular;
  1672. font-weight: 400;
  1673. text-align: center;
  1674. color: #666666;
  1675. cursor: pointer;
  1676. &:last-child {
  1677. margin-right: 0;
  1678. }
  1679. &.active {
  1680. font-family: PingFangSC, PingFangSC-Semibold;
  1681. font-weight: 600;
  1682. color: #308eff;
  1683. border: 1px solid #308eff;
  1684. box-shadow: none;
  1685. }
  1686. }
  1687. .time-empty {
  1688. width: 100%;
  1689. // margin-top: 8px;
  1690. height: 45px;
  1691. line-height: 45px;
  1692. font-size: 15px;
  1693. font-family: PingFangSC, PingFangSC-Regular;
  1694. font-weight: 400;
  1695. text-align: center;
  1696. color: #666666;
  1697. }
  1698. }
  1699. }
  1700. }
  1701. .action-wrapper {
  1702. width: 100%;
  1703. margin-top: 40px;
  1704. display: flex;
  1705. align-items: center;
  1706. // justify-content: center;
  1707. .confirm-btn {
  1708. width: calc(100vw - 40px);
  1709. height: 46px;
  1710. background: #308eff;
  1711. border-radius: 6px;
  1712. font-size: 15px;
  1713. font-family: PingFangSC, PingFangSC-Medium;
  1714. font-weight: 500;
  1715. color: #ffffff;
  1716. border: none !important;
  1717. }
  1718. }
  1719. }
  1720. // 移动端:咨询选择 drawer
  1721. .mobile-select-consult-content {
  1722. position: relative;
  1723. width: 100%;
  1724. padding: 0 16px;
  1725. .select-consult-list {
  1726. position: relative;
  1727. width: 100%;
  1728. .select-consult-item {
  1729. width: 100%;
  1730. height: 50px;
  1731. padding: 0 16px;
  1732. margin-bottom: 10px;
  1733. border: 1px solid #f1f1f1;
  1734. display: flex;
  1735. align-items: center;
  1736. font-size: 15px;
  1737. font-family: PingFangSC, PingFangSC-Regular;
  1738. color: #222222;
  1739. overflow: hidden;
  1740. text-overflow: ellipsis;
  1741. white-space: nowrap;
  1742. cursor: pointer;
  1743. &.active {
  1744. border-color: #308eff;
  1745. color: #308eff;
  1746. }
  1747. &:last-child {
  1748. margin-bottom: 0;
  1749. }
  1750. }
  1751. }
  1752. .time-wrapper {
  1753. width: 100%;
  1754. height: 59px;
  1755. margin-top: 27px;
  1756. box-shadow: 0px -1px 0px 0px #f4f4f4 inset;
  1757. display: flex;
  1758. align-items: center;
  1759. justify-content: space-between;
  1760. cursor: pointer;
  1761. .time-title {
  1762. font-size: 16px;
  1763. font-family: PingFangSC, PingFangSC-Regular;
  1764. font-weight: 400;
  1765. color: #333333;
  1766. display: flex;
  1767. align-items: center;
  1768. img {
  1769. width: 24px;
  1770. height: 24px;
  1771. margin-right: 10px;
  1772. }
  1773. }
  1774. .selected-time {
  1775. font-size: 16px;
  1776. font-family: PingFangSC, PingFangSC-Regular;
  1777. font-weight: 400;
  1778. color: #999999;
  1779. letter-spacing: 0px;
  1780. display: flex;
  1781. align-items: center;
  1782. img {
  1783. width: 15px;
  1784. height: 15px;
  1785. margin-right: 3px;
  1786. }
  1787. }
  1788. }
  1789. .action-wrapper {
  1790. width: 100%;
  1791. margin-top: 40px;
  1792. display: flex;
  1793. align-items: center;
  1794. // justify-content: center;
  1795. .confirm-btn {
  1796. width: calc(100vw - 40px);
  1797. height: 46px;
  1798. background: #308eff;
  1799. border-radius: 6px;
  1800. font-size: 15px;
  1801. font-family: PingFangSC, PingFangSC-Medium;
  1802. font-weight: 500;
  1803. color: #ffffff;
  1804. border: none !important;
  1805. }
  1806. }
  1807. .tips-text {
  1808. width: 100%;
  1809. margin-top: 9px;
  1810. line-height: 18px;
  1811. font-size: 13px;
  1812. font-family: PingFangSC, PingFangSC-Regular;
  1813. font-weight: 400;
  1814. text-align: center;
  1815. color: #999999;
  1816. }
  1817. }
  1818. // 支付成功 dialog
  1819. .pay-success-title {
  1820. width: 100%;
  1821. height: 21px;
  1822. line-height: 21px;
  1823. font-size: 15px;
  1824. font-family: PingFangSC, PingFangSC-Medium;
  1825. font-weight: 500;
  1826. text-align: center;
  1827. color: #222222;
  1828. }
  1829. .pay-success-content {
  1830. position: relative;
  1831. padding: 0 20px;
  1832. .pay-success-text {
  1833. width: 100%;
  1834. line-height: 20px;
  1835. font-size: 14px;
  1836. font-family: PingFangSC, PingFangSC-Regular;
  1837. font-weight: 400;
  1838. text-align: center;
  1839. color: #333333;
  1840. }
  1841. .action-wrapper {
  1842. width: 100%;
  1843. display: flex;
  1844. align-items: center;
  1845. justify-content: center;
  1846. margin-top: 36px;
  1847. .confirm-btn {
  1848. width: 100%;
  1849. height: 40px;
  1850. padding: 0;
  1851. border: none;
  1852. background: #308eff;
  1853. border-radius: 6px;
  1854. font-size: 14px;
  1855. font-family: PingFangSC, PingFangSC-Medium;
  1856. font-weight: 500;
  1857. text-align: center;
  1858. color: #ffffff;
  1859. }
  1860. }
  1861. }
  1862. .buy-disabled {
  1863. opacity: 0.65;
  1864. }