_id.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. .mobileMain {
  2. position: relative;
  3. width: 100%;
  4. min-height: calc(100vh - 64px);
  5. margin: 0 !important;
  6. }
  7. .mobileWeb {
  8. margin-bottom: 30px !important;
  9. }
  10. .skill-detail-wrapper {
  11. position: relative;
  12. width: 1000px;
  13. .skill-info {
  14. width: 1000px;
  15. height: 328px;
  16. padding: 34px 30px;
  17. opacity: 1;
  18. background: #ffffff;
  19. border-radius: 10px;
  20. display: flex;
  21. .cover {
  22. flex-shrink: 0;
  23. width: calc(224px * 16 / 9);
  24. height: 224px;
  25. overflow: hidden;
  26. border-radius: 5px;
  27. object-fit: cover;
  28. }
  29. .info-wrapper {
  30. flex: 1;
  31. margin-left: 20px;
  32. margin-right: 20px;
  33. display: flex;
  34. flex-direction: column;
  35. overflow: hidden;
  36. .title {
  37. width: 100%;
  38. min-height: 33px;
  39. line-height: 33px;
  40. font-size: 24px;
  41. font-family: PingFangSC, PingFangSC-Medium;
  42. font-weight: 500;
  43. color: #222222;
  44. overflow: hidden;
  45. text-overflow: ellipsis;
  46. display: -webkit-box;
  47. white-space: normal;
  48. -webkit-box-orient: vertical;
  49. -webkit-line-clamp: 2;
  50. }
  51. .owner-content {
  52. margin-top: 8px;
  53. height: 24px;
  54. display: flex;
  55. align-items: center;
  56. .owner-info {
  57. cursor: pointer;
  58. display: flex;
  59. align-items: center;
  60. img {
  61. width: 24px;
  62. height: 24px;
  63. border-radius: 50%;
  64. }
  65. span {
  66. margin-left: 4px;
  67. font-size: 12px;
  68. font-family: PingFangSC, PingFangSC-Medium;
  69. font-weight: 500;
  70. color: #222222;
  71. }
  72. }
  73. }
  74. .price-content {
  75. height: 27px;
  76. margin-top: 29px;
  77. display: flex;
  78. align-items: center;
  79. .price-text {
  80. font-size: 23px;
  81. font-family: PingFangSC, PingFangSC-Semibold;
  82. font-weight: 600;
  83. color: #ff6600;
  84. }
  85. .buy-num {
  86. margin-left: 22px;
  87. font-size: 14px;
  88. font-family: PingFangSC, PingFangSC-Regular;
  89. font-weight: 400;
  90. color: rgba(153,153,153,1);
  91. span {
  92. color: #308eff;
  93. }
  94. }
  95. }
  96. .actions {
  97. margin-top: 16px;
  98. height: 50px;
  99. display: flex;
  100. align-items: center;
  101. .btn-1 {
  102. width: 152px;
  103. height: 50px;
  104. opacity: 1;
  105. background: #308eff;
  106. border-radius: 4px;
  107. border: none;
  108. font-size: 15px;
  109. font-family: PingFangSC, PingFangSC-Medium;
  110. font-weight: 500;
  111. color: #ffffff;
  112. }
  113. .btn-2 {
  114. width: 162px;
  115. height: 50px;
  116. margin-left: 10px;
  117. background: rgba(48,142,255,0.11);
  118. border-radius: 4px;
  119. border: none;
  120. font-size: 15px;
  121. font-family: PingFangSC, PingFangSC-Medium;
  122. font-weight: 500;
  123. color: #308eff;
  124. .btn-content {
  125. display: flex;
  126. align-items: center;
  127. justify-content: center;
  128. img {
  129. width: 18px;
  130. height: 18px;
  131. margin-right: 4px;
  132. }
  133. }
  134. }
  135. }
  136. }
  137. .qrcode-content {
  138. flex-shrink: 0;
  139. margin-top: 20px;
  140. width: 160px;
  141. height: 200px;
  142. background: #ffffff;
  143. border: 1px solid #eaeaea;
  144. display: flex;
  145. flex-direction: column;
  146. align-items: center;
  147. img {
  148. width: 136px;
  149. height: 136px;
  150. margin-top: 15px;
  151. }
  152. .qrcode-tips {
  153. height: 17px;
  154. line-height: 17px;
  155. font-size: 12px;
  156. margin-top: 12px;
  157. font-family: PingFangSC, PingFangSC-Regular;
  158. font-weight: 400;
  159. color: #333;
  160. a {
  161. color: #308eff;
  162. text-decoration: underline;
  163. }
  164. }
  165. }
  166. }
  167. .skill-content {
  168. width: 100%;
  169. height: auto;
  170. padding: 24px 0 42px;
  171. margin-top: 20px;
  172. background: #ffffff;
  173. border-radius: 10px;
  174. .skill-image-list {
  175. margin-top: 10px;
  176. width: 100%;
  177. padding: 0 32px;
  178. display: flex;
  179. flex-direction: column;
  180. align-items: center;
  181. img {
  182. margin-top: 10px;
  183. max-width: 100%;
  184. object-fit: scale-down;
  185. border-radius: 5px;
  186. }
  187. }
  188. .content-text {
  189. margin-top: 20px;
  190. width: 100%;
  191. padding: 0 32px;
  192. }
  193. .extra-wrapper {
  194. margin: 22px 40px 0;
  195. width: calc(100% - 80px);
  196. height: 106px;
  197. background: #f7f7f7;
  198. border-radius: 12px;
  199. }
  200. }
  201. .common-title {
  202. position: relative;
  203. width: 100%;
  204. height: 40px;
  205. line-height: 40px;
  206. padding-left: 32px;
  207. font-size: 24px;
  208. font-family: PingFangSC, PingFangSC-Medium;
  209. font-weight: 500;
  210. color: #222222;
  211. &:after {
  212. position: absolute;
  213. content: " ";
  214. width: 3px;
  215. height: 20px;
  216. opacity: 1;
  217. background: #308eff;
  218. top: 10px;
  219. left: 0;
  220. }
  221. }
  222. .contact-wrapper {
  223. position: relative;
  224. .contact-item {
  225. display: flex;
  226. align-items: center;
  227. height: 22px;
  228. margin-bottom: 20px;
  229. img {
  230. width: 22px;
  231. height: 22px;
  232. }
  233. .contact-text {
  234. font-size: 14px;
  235. font-family: PingFangSC, PingFangSC-Medium;
  236. font-weight: 500;
  237. color: #333333;
  238. margin-left: 10px;
  239. }
  240. &:last-of-type {
  241. margin-bottom: 0;
  242. }
  243. }
  244. }
  245. }
  246. .skill-detail-wrapper-mobile {
  247. position: relative;
  248. width: 100%;
  249. padding-bottom: calc(56px + 8px + constant(safe-area-inset-bottom));
  250. padding-bottom: calc(56px + 8px + env(safe-area-inset-bottom));
  251. display: flex;
  252. flex-direction: column;
  253. .image-list {
  254. width: 100%;
  255. height: calc(100vw * 9 / 16);
  256. .image-swiper {
  257. position: relative;
  258. width: 100%;
  259. height: 100%;
  260. display: flex;
  261. justify-content: center;
  262. }
  263. .swiper-wrapper {
  264. width: 100%;
  265. height: 100%;
  266. .swiper-slide {
  267. width: 100%;
  268. height: 100%;
  269. img {
  270. width: 100%;
  271. height: 100%;
  272. object-fit: scale-down;
  273. }
  274. }
  275. }
  276. .swiper-pagination {
  277. position: absolute;
  278. bottom: 10px;
  279. left: auto !important;
  280. }
  281. }
  282. .skill-info {
  283. width: 100%;
  284. height: 105px;
  285. padding: 15px 10px;
  286. background: #ffffff;
  287. border-radius: 10px 10px 0px 0px;
  288. .skill-title {
  289. width: 100%;
  290. height: 25px;
  291. line-height: 25px;
  292. font-size: 18px;
  293. font-family: PingFangSC, PingFangSC-Semibold;
  294. font-weight: 600;
  295. color: #222222;
  296. overflow: hidden;
  297. text-overflow: ellipsis;
  298. white-space: nowrap;
  299. }
  300. .userinfo-wrapper {
  301. margin-top: 15px;
  302. width: 100%;
  303. height: 34px;
  304. display: flex;
  305. align-items: center;
  306. justify-content: space-between;
  307. .left-info {
  308. display: flex;
  309. align-items: center;
  310. .avatar {
  311. width: 34px;
  312. height: 34px;
  313. border-radius: 50%;
  314. overflow: hidden;
  315. }
  316. .nickname {
  317. margin-left: 9px;
  318. height: 20px;
  319. line-height: 20px;
  320. font-size: 14px;
  321. font-family: PingFangSC, PingFangSC-Medium;
  322. font-weight: 500;
  323. color: #222222;
  324. }
  325. }
  326. }
  327. }
  328. .skill-content {
  329. margin-top: 10px;
  330. width: 100%;
  331. background: #ffffff;
  332. .ql-editor {
  333. padding: 20px 12px 30px;
  334. }
  335. }
  336. .pay-wrapper {
  337. position: fixed;
  338. bottom: 0;
  339. left: 0;
  340. width: 100%;
  341. height: calc(56px + constant(safe-area-inset-bottom));
  342. height: calc(56px + env(safe-area-inset-bottom));
  343. padding: 0 10px;
  344. background: #ffffff;
  345. display: flex;
  346. justify-content: space-between;
  347. .price-info {
  348. flex-shrink: 0;
  349. margin-top: 10px;
  350. display: flex;
  351. flex-direction: column;
  352. .price-text {
  353. height: 18px;
  354. line-height: 18px;
  355. font-size: 19px;
  356. font-family: PingFangSC, PingFangSC-Semibold;
  357. font-weight: 600;
  358. color: #ff6600;
  359. }
  360. span {
  361. height: 18px;
  362. line-height: 18px;
  363. font-size: 12px;
  364. font-family: PingFangSC, PingFangSC-Regular;
  365. font-weight: 400;
  366. color: #999999;
  367. }
  368. }
  369. .pay-btn {
  370. flex-shrink: 0;
  371. margin-top: 6px;
  372. width: 122px;
  373. height: 44px;
  374. background: #308eff;
  375. border-radius: 6px;
  376. font-size: 15px;
  377. font-family: PingFangSC, PingFangSC-Medium;
  378. font-weight: 500;
  379. color: #ffffff;
  380. }
  381. .chat-content {
  382. flex: 1;
  383. display: flex;
  384. justify-content: flex-end;
  385. align-items: center;
  386. .chat-btn {
  387. display: flex;
  388. align-items: center;
  389. .chat-icon {
  390. width: 24px;
  391. height: 24px;
  392. margin-right: 4px;
  393. }
  394. .chat-word {
  395. font-size: 13px;
  396. font-weight: 400;
  397. color: rgba(23, 34, 47, 1);
  398. margin-right: 12px;
  399. }
  400. }
  401. }
  402. }
  403. }