makeImgDetail.scss 11 KB

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