_id.scss 9.1 KB

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