makeImgDetail.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599
  1. .makedetail-container {
  2. min-height: 100vh;
  3. background: #f8f9fa;
  4. padding: 0 0rpx;
  5. font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  6. background: url("../../static/makedetail/cz_bg_top.png") center top / 100%
  7. auto no-repeat,
  8. #f2f6f2;
  9. .status-bar {
  10. height: var(--status-bar-height);
  11. }
  12. .nav-bar {
  13. width: 100vw;
  14. height: calc(96rpx + var(--status-bar-height));
  15. display: flex;
  16. align-items: center;
  17. justify-content: space-between;
  18. padding: 0 24rpx;
  19. padding-top: var(--status-bar-height);
  20. box-sizing: border-box;
  21. background: url("../../static/makedetail/cz_bg_top.png") center top / 100%
  22. auto no-repeat,
  23. #f2f6f2;
  24. // background-position-y: var(--status-bar-height);
  25. @keyframes rotate360 {
  26. from {
  27. transform: rotate(0deg);
  28. }
  29. to {
  30. transform: rotate(360deg);
  31. }
  32. }
  33. .left {
  34. display: flex;
  35. align-items: center;
  36. .create {
  37. font-family: "Alimama ShuHeiTi-Bold";
  38. font-weight: 700;
  39. color: #1f1f1f;
  40. font-size: 36rpx;
  41. margin-left: 15rpx;
  42. margin-right: 4rpx;
  43. }
  44. .edit {
  45. width: 44rpx;
  46. height: 44rpx;
  47. }
  48. .uni-btn-icon {
  49. font-size: 45rpx;
  50. font-weight: bold;
  51. color: #1f1f1f;
  52. transition: color 0.2s;
  53. &:active {
  54. color: #2b85e4;
  55. }
  56. }
  57. }
  58. .right {
  59. display: flex;
  60. align-items: center;
  61. font-size: 28rpx;
  62. font-family: "PingFang SC-Bold";
  63. font-weight: 400;
  64. // width: 260rpx;
  65. min-width: 306rpx;
  66. image {
  67. width: 40rpx;
  68. height: 40rpx;
  69. margin-right: 4rpx;
  70. }
  71. .coinM,
  72. .coinC {
  73. display: flex;
  74. flex-direction: row;
  75. align-items: center;
  76. justify-content: center;
  77. border-radius: 30rpx;
  78. transition: transform 0.2s, box-shadow 0.2s;
  79. // box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
  80. margin-left: 16rpx;
  81. background: #fff;
  82. padding: 6rpx 12rpx 6rpx 8rpx;
  83. &:active {
  84. transform: scale(0.98);
  85. }
  86. text {
  87. display: inline-block;
  88. padding-left: 4rpx;
  89. line-height: 0;
  90. }
  91. }
  92. }
  93. }
  94. .preview-section,
  95. .description-section,
  96. .action-section,
  97. .environment-section,
  98. .image-section,
  99. .style-section {
  100. margin: 20rpx;
  101. background: #fff;
  102. border-radius: 20rpx;
  103. padding: 20rpx;
  104. box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
  105. animation: fadeIn 0.5s ease;
  106. ::v-deep .uni-textarea-textarea,
  107. ::v-deep .uni-input-input {
  108. font-size: 28rpx;
  109. color: #1f1f1f;
  110. font-family: "PingFang SC-Medium";
  111. font-weight: 400;
  112. }
  113. }
  114. .preview-section {
  115. width: 710rpx;
  116. height: 590rpx;
  117. margin: 0 auto;
  118. margin-bottom: 20rpx;
  119. background: #fff;
  120. border-radius: 20rpx;
  121. .preview-card {
  122. width: 346rpx;
  123. height: 468rpx;
  124. margin: 0 auto;
  125. display: flex;
  126. align-items: center;
  127. justify-content: center;
  128. flex-direction: column;
  129. background: url("../../static/makedetail/cz_bg_shengcheng.png")
  130. center/100% 100% no-repeat;
  131. image {
  132. width: 52rpx;
  133. height: 50rpx;
  134. }
  135. color: #fff;
  136. .text1 {
  137. font-family: "PingFang SC-Bold";
  138. font-weight: 400;
  139. font-size: 28rpx;
  140. padding-top: 24rpx;
  141. padding-bottom: 4rpx;
  142. }
  143. .text2 {
  144. font-family: "PingFang SC-Medium";
  145. font-weight: 400;
  146. font-size: 24rpx;
  147. }
  148. }
  149. }
  150. .lineUp-section {
  151. .section-title {
  152. display: flex;
  153. align-items: center;
  154. justify-content: space-between;
  155. width: 100%;
  156. .member-box {
  157. display: flex;
  158. align-items: center;
  159. background: #fffaf1;
  160. border-radius: 12rpx;
  161. border: 2rpx solid #fbd6a1;
  162. font-size: 24rpx;
  163. font-family: "PingFang SC-Bold";
  164. padding: 10rpx 12rpx 8rpx 12rpx;
  165. color: #814600;
  166. image {
  167. width: 34rpx;
  168. height: 34rpx;
  169. margin-right: 8rpx;
  170. }
  171. }
  172. }
  173. .preview-card {
  174. background: #fff;
  175. color: #1f1f1f;
  176. image {
  177. animation: rotate360 0.8s linear infinite;
  178. }
  179. }
  180. }
  181. .description-section {
  182. margin-top: 0;
  183. position: relative;
  184. .section-title {
  185. padding-bottom: 0;
  186. }
  187. .input-area {
  188. min-height: 212rpx;
  189. padding-bottom: 50rpx;
  190. }
  191. }
  192. .section-title {
  193. font-size: 28rpx;
  194. font-weight: 400;
  195. font-family: "PingFang SC-Bold";
  196. color: #1f1f1f;
  197. position: relative;
  198. margin-bottom: 20rpx;
  199. .required {
  200. color: #ff4d4f;
  201. margin-left: 4rpx;
  202. }
  203. }
  204. .input-area {
  205. width: 100%;
  206. height: 200rpx;
  207. background: #f2f6f2;
  208. border-radius: 16rpx;
  209. padding: 24rpx;
  210. font-size: 28rpx;
  211. border: 1rpx solid #f0f0f0;
  212. transition: border-color 0.3s, box-shadow 0.3s;
  213. &:focus {
  214. border-color: #2b85e4;
  215. box-shadow: 0 0 0 2rpx rgba(43, 133, 228, 0.2);
  216. }
  217. }
  218. .input-box {
  219. width: 100%;
  220. height: 88rpx;
  221. background: #f2f6f2;
  222. border-radius: 16rpx;
  223. padding: 0 24rpx;
  224. margin-bottom: 24rpx;
  225. border: 1rpx solid #f0f0f0;
  226. transition: border-color 0.3s, box-shadow 0.3s;
  227. &:focus {
  228. border-color: #2b85e4;
  229. box-shadow: 0 0 0 2rpx rgba(43, 133, 228, 0.2);
  230. }
  231. }
  232. .tag-group {
  233. display: flex;
  234. flex-wrap: wrap;
  235. gap: 10rpx;
  236. .tag {
  237. padding: 18rpx 35rpx 16rpx 35rpx;
  238. background: #f5f7fa;
  239. border-radius: 12rpx;
  240. font-size: 28rpx;
  241. color: #666;
  242. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  243. border: 1rpx solid transparent;
  244. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.03);
  245. border: 2rpx solid #e6e6e6;
  246. background: #ffffff;
  247. position: relative;
  248. overflow: hidden;
  249. &::after {
  250. content: '';
  251. position: absolute;
  252. top: 0;
  253. left: 0;
  254. width: 100%;
  255. height: 100%;
  256. background: rgba(126, 188, 0, 0.1);
  257. transform: scale(0);
  258. transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  259. border-radius: 12rpx;
  260. }
  261. &:active {
  262. transform: scale(0.95);
  263. &::after {
  264. transform: scale(1);
  265. }
  266. }
  267. &.active {
  268. background: #f7ffea;
  269. border-radius: 12rpx;
  270. border: 2rpx solid #7ebc00;
  271. color: #7ebc00;
  272. font-weight: 500;
  273. box-shadow: 0 4rpx 12rpx rgba(126, 188, 0, 0.15);
  274. &::after {
  275. transform: scale(1);
  276. }
  277. }
  278. }
  279. }
  280. .style-scroll {
  281. white-space: nowrap;
  282. padding: 10rpx 0;
  283. .style-item {
  284. display: inline-block;
  285. margin-right: 24rpx;
  286. text-align: center;
  287. flex-direction: column;
  288. transition: transform 0.3s;
  289. &:active {
  290. transform: scale(0.97);
  291. }
  292. .image {
  293. width: 166rpx;
  294. height: 166rpx;
  295. margin-bottom: 12rpx;
  296. padding: 4rpx;
  297. border-radius:16rpx;
  298. // box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
  299. transition: all 0.3s;
  300. border: 4rpx solid transparent;
  301. image {
  302. border-radius: 16rpx;
  303. width:100%;
  304. height:100%;
  305. }
  306. }
  307. text {
  308. display: block;
  309. font-size: 26rpx;
  310. color: #666;
  311. transition: color 0.3s;
  312. }
  313. }
  314. }
  315. .bottom-button {
  316. padding: 40rpx 30rpx;
  317. .generate-btn {
  318. width: 626rpx;
  319. height: 88rpx;
  320. background: url("../../static//makedetail/cz_btn_lijishengcheng.png")
  321. center / 100% 100% no-repeat;
  322. font-family: "PingFang SC-Bold";
  323. color: #acf934;
  324. font-size: 32rpx;
  325. display: flex;
  326. align-items: center;
  327. justify-content: center;
  328. border-radius: 58rpx;
  329. image {
  330. width: 36rpx;
  331. height: 36rpx;
  332. margin: 4rpx;
  333. margin-left: 12rpx;
  334. }
  335. &.prohibit {
  336. background: #d7ded7;
  337. color: #1f1f1f;
  338. overflow: hidden;
  339. box-shadow: none;
  340. border: 0rpx solid transparent;
  341. transform: none;margin: 0 auto;
  342. }
  343. &:active {
  344. transform: scale(0.98);
  345. box-shadow: 0 4rpx 10rpx rgba(43, 133, 228, 0.2);
  346. }
  347. }
  348. .promotion-link {
  349. text-align: center;
  350. margin-top: 30rpx;
  351. color: #2b85e4;
  352. font-size: 26rpx;
  353. display: flex;
  354. align-items: center;
  355. justify-content: center;
  356. color: #814600;
  357. .jiantou {
  358. width: 28rpx;
  359. height: 28rpx;
  360. left: 10rpx;
  361. }
  362. .vip {
  363. width: 34rpx;
  364. height: 34rpx;
  365. margin-right: 12rpx;
  366. }
  367. text {
  368. position: relative;
  369. }
  370. }
  371. }
  372. .section-header {
  373. display: flex;
  374. justify-content: space-between;
  375. align-items: center;
  376. margin-bottom: 20rpx;
  377. .clear-text {
  378. display: flex;
  379. align-items: center;
  380. font-size: 24rpx;
  381. color: #999;
  382. transition: color 0.3s;
  383. &:active {
  384. color: #ff4d4f;
  385. }
  386. > image {
  387. width: 28rpx;
  388. height: 28rpx;
  389. margin-right: 8rpx;
  390. }
  391. .clear-box {
  392. display: flex;
  393. align-items: center;
  394. color: #0084ff;
  395. > image {
  396. margin-top: 3rpx;
  397. margin-right: 5rpx;
  398. width: 24rpx;
  399. height: 24rpx;
  400. }
  401. }
  402. }
  403. }
  404. ::v-deep .uni-textarea-placeholder {
  405. color: #999999;
  406. }
  407. ::v-deep .input-placeholder {
  408. font-family: "PingFang SC-Medium";
  409. color: #999;
  410. font-size: 28rpx;
  411. }
  412. .word-count {
  413. text-align: right;
  414. font-size: 24rpx;
  415. color: #999;
  416. margin-top: 12rpx;
  417. position: absolute;
  418. right: 40rpx;
  419. bottom: 36rpx;
  420. }
  421. .style-item {
  422. &.active {
  423. .image {
  424. border: 4rpx solid #acf934;
  425. border-radius: 16rpx;
  426. }
  427. text {
  428. // color: #2b85e4;
  429. // font-weight: 500;
  430. }
  431. }
  432. }
  433. .right-info {
  434. .coin,
  435. .diamond {
  436. display: flex;
  437. align-items: center;
  438. image {
  439. width: 40rpx;
  440. height: 40rpx;
  441. margin-right: 8rpx;
  442. }
  443. text {
  444. font-size: 28rpx;
  445. color: #1f1f1f;
  446. }
  447. }
  448. }
  449. }
  450. /* 添加新样式 */
  451. .lyrics-overlay {
  452. position: absolute;
  453. top: 0;
  454. left: 0;
  455. right: 0;
  456. bottom: 0;
  457. display: flex;
  458. justify-content: center;
  459. align-items: center;
  460. background-color: rgba(0, 0, 0, 0.4);
  461. padding: 30rpx;
  462. .lyrics-text {
  463. color: #fff;
  464. font-size: 36rpx;
  465. text-align: center;
  466. text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.5);
  467. font-weight: 500;
  468. line-height: 1.6;
  469. }
  470. }
  471. .play-button {
  472. position: absolute;
  473. top: 50%;
  474. left: 50%;
  475. transform: translate(-50%, -50%);
  476. width: 120rpx;
  477. height: 120rpx;
  478. background-color: rgba(0, 0, 0, 0.6);
  479. border-radius: 60rpx;
  480. display: flex;
  481. justify-content: center;
  482. align-items: center;
  483. z-index: 10;
  484. .fa {
  485. color: #fff;
  486. font-size: 60rpx;
  487. }
  488. &:active {
  489. background-color: rgba(0, 0, 0, 0.8);
  490. transform: translate(-50%, -50%) scale(0.95);
  491. }
  492. }
  493. .creation-details {
  494. margin-top: 30rpx;
  495. .detail-item {
  496. margin-bottom: 20rpx;
  497. .detail-label {
  498. font-size: 28rpx;
  499. color: #666;
  500. margin-right: 10rpx;
  501. }
  502. .detail-value {
  503. font-size: 28rpx;
  504. color: #1f1f1f;
  505. }
  506. }
  507. }
  508. .status-info {
  509. margin-top: 40rpx;
  510. .queue-info {
  511. .queue-text {
  512. font-size: 28rpx;
  513. color: #666;
  514. margin-bottom: 10rpx;
  515. }
  516. .progress-bar {
  517. height: 16rpx;
  518. background-color: #f0f0f0;
  519. border-radius: 8rpx;
  520. overflow: hidden;
  521. .progress-fill {
  522. height: 100%;
  523. background: linear-gradient(90deg, #2979ff, #36d6ff);
  524. border-radius: 8rpx;
  525. }
  526. }
  527. }
  528. }
  529. .error-message {
  530. margin-top: 30rpx;
  531. padding: 20rpx;
  532. background-color: #fff5f5;
  533. border-radius: 12rpx;
  534. border-left: 8rpx solid #ff5151;
  535. .error-text {
  536. font-size: 28rpx;
  537. color: #ff5151;
  538. }
  539. }
  540. @keyframes fadeIn {
  541. from {
  542. opacity: 0;
  543. transform: translateY(20rpx);
  544. }
  545. to {
  546. opacity: 1;
  547. transform: translateY(0);
  548. }
  549. }