makeImgDetail.scss 11 KB

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