makeImgDetail.scss 12 KB

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