workDetail.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  1. // 导入FontAwesome
  2. @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');
  3. page {
  4. background-color: #ffffff;
  5. width: 100%;
  6. color: #333;
  7. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  8. }
  9. .page {
  10. background-color: #ffffff;
  11. width: 100%;
  12. }
  13. .header {
  14. display: flex;
  15. flex-direction: row;
  16. justify-content: flex-start;
  17. align-items: center;
  18. width: 750rpx;height: 320rpx;
  19. padding-top: calc(var(--status-bar-height) + 0rpx);
  20. .left {
  21. display: flex;flex-direction: row;width:200rpx;height:120rpx;
  22. justify-content: center;
  23. padding-left:50rpx;
  24. image {
  25. width:124rpx;height:40rpx;
  26. }
  27. }
  28. }
  29. .thread {
  30. height: 20rpx;
  31. }
  32. .thread2 {
  33. height: 60rpx;
  34. }
  35. .topUser {
  36. width:750rpx;
  37. height:750rpx;
  38. position: relative;
  39. overflow: hidden;
  40. .home_image{
  41. width: 100%;
  42. height: 100%;
  43. transition: transform 0.3s ease;
  44. &:active {
  45. transform: scale(1.05);
  46. }
  47. }
  48. .image-indicator {
  49. position: absolute;
  50. top: 30rpx;
  51. right: 30rpx;
  52. background-color: rgba(0, 0, 0, 0.5);
  53. color: #fff;
  54. padding: 8rpx 16rpx;
  55. border-radius: 20rpx;
  56. font-size: 24rpx;
  57. }
  58. /* 添加歌词显示样式 */
  59. .lyrics-overlay {
  60. position: absolute;
  61. top: 0;
  62. left: 0;
  63. right: 0;
  64. bottom: 0;
  65. display: flex;
  66. justify-content: center;
  67. align-items: center;
  68. background-color: rgba(0, 0, 0, 0.4);
  69. padding: 30rpx;
  70. .lyrics-text {
  71. color: #fff;
  72. font-size: 36rpx;
  73. text-align: center;
  74. text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.5);
  75. font-weight: 500;
  76. line-height: 1.6;
  77. }
  78. }
  79. /* 添加播放按钮样式 */
  80. .play-button {
  81. position: absolute;
  82. top: 50%;
  83. left: 50%;
  84. transform: translate(-50%, -50%);
  85. width: 120rpx;
  86. height: 120rpx;
  87. background-color: rgba(0, 0, 0, 0.6);
  88. border-radius: 60rpx;
  89. display: flex;
  90. justify-content: center;
  91. align-items: center;
  92. z-index: 10;
  93. .fa {
  94. color: #fff;
  95. font-size: 60rpx;
  96. }
  97. &:active {
  98. background-color: rgba(0, 0, 0, 0.8);
  99. transform: translate(-50%, -50%) scale(0.95);
  100. }
  101. }
  102. .list {
  103. position: absolute;
  104. bottom: 20rpx;
  105. width:100%;
  106. display: flex;
  107. flex-direction: row;
  108. justify-content: center;
  109. align-items: flex-end;
  110. padding: 0 20rpx;
  111. overflow-x: auto;
  112. &::-webkit-scrollbar {
  113. display: none;
  114. }
  115. .img {
  116. width:84rpx;height:84rpx;margin: 0 10rpx;
  117. transition: all 0.3s ease;
  118. image {
  119. width:84rpx;height:84rpx;border-radius: 16rpx;border: solid 4rpx #fff;
  120. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.2);
  121. }
  122. }
  123. .active {
  124. width:136rpx;height:136rpx;
  125. image {
  126. width:136rpx;height:136rpx;border-radius: 24rpx;border: solid 4rpx #fff;
  127. box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.3);
  128. }
  129. }
  130. }
  131. }
  132. .body {
  133. width:750rpx;margin-top:-60rpx;
  134. border-radius: 40rpx 40rpx 0 0;padding-top:30rpx;
  135. display: flex;flex-direction: column;justify-content: flex-start;align-items: flex-start;
  136. box-shadow: 0 -10rpx 20rpx rgba(0, 0, 0, 0.05);
  137. position: relative;
  138. z-index: 10;
  139. .article-header {
  140. display: flex;
  141. flex-direction: column;
  142. justify-content: flex-start;
  143. align-items: flex-start;
  144. padding: 40rpx 50rpx 20rpx;
  145. width: 100%;
  146. box-sizing: border-box;
  147. .title {
  148. font-size: 40rpx;
  149. font-weight: bold;
  150. color: #222;
  151. margin-bottom: 20rpx;
  152. line-height: 1.4;
  153. }
  154. .meta-info {
  155. display: flex;
  156. flex-direction: row;
  157. flex-wrap: wrap;
  158. color: #999;
  159. font-size: 26rpx;
  160. .meta-item {
  161. display: flex;
  162. align-items: center;
  163. margin-right: 30rpx;
  164. margin-bottom: 10rpx;
  165. .meta-text {
  166. margin-left: 8rpx;
  167. }
  168. }
  169. }
  170. }
  171. .divider {
  172. height: 1rpx;
  173. background-color: #eee;
  174. width: 650rpx;
  175. margin: 10rpx auto 30rpx;
  176. }
  177. .article-content {
  178. padding: 0 50rpx 40rpx;
  179. width: 100%;
  180. box-sizing: border-box;
  181. .content {
  182. font-size: 32rpx;
  183. color: #333;
  184. line-height: 1.8;
  185. text-align: justify;
  186. }
  187. }
  188. .article-footer {
  189. width: 100%;
  190. padding: 20rpx 0;
  191. border-top: 1rpx solid #f0f0f0;
  192. .action-bar {
  193. display: flex;
  194. justify-content: space-around;
  195. align-items: center;
  196. .action-item {
  197. display: flex;
  198. flex-direction: column;
  199. align-items: center;
  200. padding: 20rpx 0;
  201. .fa {
  202. font-size: 40rpx;
  203. color: #666;
  204. margin-bottom: 10rpx;
  205. &.liked {
  206. color: #ff5151;
  207. }
  208. }
  209. .action-text {
  210. font-size: 24rpx;
  211. color: #666;
  212. }
  213. &:active {
  214. opacity: 0.7;
  215. }
  216. }
  217. }
  218. }
  219. }
  220. .list_wish {
  221. display: flex;flex-direction: column;justify-content: flex-start;align-items: center;color:#fff;
  222. width:750rpx;
  223. .item {
  224. margin-top: 20rpx;color:#fff;font-size: 28rpx;
  225. display: flex;flex-direction: row;justify-content: center;align-items: center;
  226. width: 690rpx;height: 156rpx;
  227. background: #28292D;
  228. border-radius: 28rpx;
  229. .avator {
  230. width: 116rpx;height: 116rpx;margin-left:14rpx;
  231. background: #161616;
  232. border-radius: 28rpx;
  233. display: flex;flex-direction: row;justify-content: center;align-items: center;
  234. .icon {
  235. width:100rpx;height:100rpx;border-radius: 20rpx;
  236. }
  237. }
  238. .left {
  239. width:370rpx;display: flex;flex-direction: column;justify-content: flex-start;align-items: flex-start;
  240. margin-left:20rpx;
  241. .name {
  242. font-size: 32rpx;margin-bottom:20rpx;
  243. }
  244. .jindu {
  245. display: flex;flex-direction: row;justify-content: flex-start;align-items: center;
  246. .bord {
  247. width: 216rpx;height: 20rpx;margin-left:0rpx;
  248. background: #0F0F0F;
  249. border-radius: 24rpx;
  250. .active {
  251. width: 0%;height: 20rpx;
  252. background: linear-gradient( 142deg, #FF5967 0%, #FF2A95 100%);
  253. border-radius: 24rpx;
  254. }
  255. }
  256. .tips {
  257. margin-left:20rpx;font-weight: 400;font-size: 24rpx;color: #FF3D83;
  258. }
  259. }
  260. }
  261. .right {
  262. width:190rpx;
  263. .btn_submit {
  264. width: 168rpx;height: 72rpx;
  265. background: linear-gradient( 142deg, #FF5967 0%, #FF2A95 100%);
  266. border-radius: 28rpx 28rpx 28rpx 28rpx;
  267. display: flex;flex-direction: column;justify-content: center;align-items: center;
  268. }
  269. .state {
  270. width:168rpx;height: 72rpx;text-align: center;line-height: 72rpx;
  271. }
  272. }
  273. }
  274. }
  275. .list_info {
  276. display: flex;flex-direction: column;justify-content: flex-start;align-items: center;color:#fff;
  277. width:750rpx;
  278. .item {
  279. width: 690rpx;margin: 0rpx 0;color:#fff;font-size: 28rpx;padding:20rpx 0 0rpx;
  280. display: flex;flex-direction: row;justify-content: flex-start;align-items: center;
  281. .avator {
  282. width:88rpx;
  283. .icon {
  284. width:72rpx;height:72rpx;border-radius: 36rpx;
  285. }
  286. }
  287. .tit {
  288. width:470rpx;
  289. .list1 {
  290. display: flex;flex-direction: row;justify-content: flex-start;align-items: center;
  291. .name {
  292. font-size: 32rpx;padding-right: 10rpx;height:40rpx;line-height: 40rpx;
  293. }
  294. .sex1 {
  295. width: 76rpx;
  296. height: 40rpx;
  297. background: #423339;
  298. border-radius: 16rpx 16rpx 16rpx 16rpx;
  299. border: 2rpx solid #36D6FF;color:#36D6FF;
  300. display: flex;flex-direction: row;justify-content: flex-start;align-items: center;
  301. image {
  302. width:24rpx;height:24rpx;margin-left:4rpx;margin-right: 4rpx;
  303. }
  304. }
  305. .sex2 {
  306. width: 76rpx;
  307. height: 40rpx;
  308. background: #423339;
  309. border-radius: 16rpx 16rpx 16rpx 16rpx;
  310. border: 2rpx solid #FF7D88;color:#FF7D88;
  311. display: flex;flex-direction: row;justify-content: flex-start;align-items: center;
  312. image {
  313. width:24rpx;height:24rpx;margin-left:4rpx;margin-right: 4rpx;
  314. }
  315. }
  316. .xinzuo {
  317. width: 92rpx;height: 44rpx;margin-left:10rpx;line-height: 44rpx;
  318. border-radius: 16rpx 16rpx 16rpx 16rpx;
  319. border: 2rpx solid #404040;font-size: 20rpx;color: #D0D0D0;
  320. display: flex;flex-direction: row;justify-content: center;align-items: center;
  321. }
  322. }
  323. .time {
  324. color:#D0D0D0;font-size: 24rpx;
  325. }
  326. }
  327. .state {
  328. width:130rpx;font-size: 28rpx;font-weight: normal;text-align: right;
  329. .status_1 {
  330. color:#999;
  331. }
  332. .status_9 {
  333. color:#36D6FF;
  334. }
  335. .status_2 {
  336. color:#FE2D56;
  337. }
  338. }
  339. }
  340. .content {
  341. width: 690rpx;font-weight: 400;font-size: 28rpx;color: #FFFFFF;text-align: left;font-style: normal;
  342. text-transform: none;padding:20rpx 0;
  343. padding-left:88rpx;
  344. }
  345. .photo_list {
  346. width: 690rpx;margin-bottom:0rpx;padding-left:88rpx;
  347. border-radius: 28rpx;font-size: 28rpx;
  348. display: flex;flex-direction: row;align-items: center;
  349. flex-wrap: wrap;
  350. .img {
  351. width:186rpx;height:186rpx;margin-bottom: 24rpx;margin-right: 12rpx;
  352. image {
  353. width:186rpx;height:186rpx;border-radius: 28rpx;border:solid 1px rgba(255, 255, 255, 0.2);
  354. }
  355. }
  356. .right {
  357. color:#fff;
  358. }
  359. }
  360. .desc {
  361. width: 690rpx;padding:0rpx 0 0rpx;padding-left:88rpx;
  362. font-weight: 400;
  363. font-size: 24rpx;
  364. color: #999999;
  365. line-height: 0rpx;
  366. text-align: left;
  367. font-style: normal;
  368. text-transform: none;
  369. display: flex;flex-direction: row;justify-content: space-between;align-items: center;
  370. image {
  371. width:40rpx;height:40rpx;
  372. }
  373. .addr {
  374. width:200rpx;
  375. }
  376. .img {
  377. display: flex;flex-direction: row;justify-content: center;align-items: center;
  378. padding:0 0rpx 0 30rpx;font-size: 28rpx;color:#fff;
  379. image {
  380. margin-top:-8rpx;
  381. }
  382. }
  383. }
  384. }
  385. .btn_submit {
  386. width: 336rpx;height: 100rpx;margin:50rpx auto;
  387. background: linear-gradient( 90deg, #FF536D 0%, #FF3B84 100%);
  388. border-radius: 50rpx 50rpx 50rpx 50rpx;
  389. display: flex;flex-direction: row;justify-content: center;align-items: center;
  390. font-weight: bold;
  391. font-size: 32rpx;
  392. color: #FFFFFF;
  393. image {
  394. width:44rpx;height:44rpx;margin-right: 8rpx;margin-top:4rpx;
  395. }
  396. }
  397. .btn {
  398. text-align: center;
  399. color: #fff;
  400. padding: 20rpx;
  401. margin: 50rpx;
  402. border-radius: 20rpx;
  403. background-color: #2979ff;
  404. }
  405. .font-awesome-import {
  406. display: none;
  407. }
  408. .fa {
  409. font-family: 'FontAwesome';
  410. margin-right: 6rpx;
  411. }
  412. // 评论区域样式
  413. .comment-section {
  414. background-color: #f8f8f8;
  415. padding: 30rpx 0;
  416. margin-top: 20rpx;
  417. border-radius: 30rpx 30rpx 0 0;
  418. .section-header {
  419. display: flex;
  420. align-items: center;
  421. padding: 0 30rpx 20rpx;
  422. border-bottom: 1rpx solid #eee;
  423. margin-bottom: 20rpx;
  424. .fa {
  425. font-size: 36rpx;
  426. color: #2979ff;
  427. }
  428. .section-title {
  429. font-size: 32rpx;
  430. font-weight: bold;
  431. margin: 0 10rpx;
  432. color: #333;
  433. }
  434. .comment-count {
  435. font-size: 28rpx;
  436. color: #999;
  437. }
  438. }
  439. .comment-button {
  440. display: flex;
  441. align-items: center;
  442. justify-content: center;
  443. width: 650rpx;
  444. height: 90rpx;
  445. background-color: #2979ff;
  446. color: #fff;
  447. border-radius: 45rpx;
  448. margin: 40rpx auto 20rpx;
  449. font-size: 30rpx;
  450. box-shadow: 0 4rpx 12rpx rgba(41, 121, 255, 0.3);
  451. transition: all 0.3s ease;
  452. .fa {
  453. margin-right: 10rpx;
  454. }
  455. &:active {
  456. transform: scale(0.97);
  457. background-color: #2567db;
  458. }
  459. }
  460. }
  461. /* 确保评论按钮样式 */
  462. .comment-button {
  463. display: flex;
  464. align-items: center;
  465. justify-content: center;
  466. width: 650rpx;
  467. height: 90rpx;
  468. background-color: #2979ff;
  469. color: #fff;
  470. border-radius: 45rpx;
  471. margin: 40rpx auto 20rpx;
  472. font-size: 30rpx;
  473. box-shadow: 0 4rpx 12rpx rgba(41, 121, 255, 0.3);
  474. }
  475. .comment-button .fa {
  476. margin-right: 10rpx;
  477. }
  478. .comment-button:active {
  479. opacity: 0.9;
  480. transform: scale(0.98);
  481. }