makeImgDetail.scss 12 KB

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