makeMusicDetail.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620
  1. .make-music-detail {
  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. min-width: 306rpx;
  65. // width: 260rpx;
  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. .style-section,
  94. .input-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. .section-title {
  176. font-size: 28rpx;
  177. font-weight: 400;
  178. font-family: "PingFang SC-Bold";
  179. color: #1f1f1f;
  180. position: relative;
  181. margin-bottom: 20rpx;
  182. .required {
  183. color: #ff4d4f;
  184. margin-left: 4rpx;
  185. }
  186. }
  187. .input-area {
  188. width: 100%;
  189. height: 200rpx;
  190. background: #f2f6f2;
  191. border-radius: 16rpx;
  192. padding: 24rpx;
  193. font-size: 28rpx;
  194. border: 1rpx solid #f0f0f0;
  195. transition: border-color 0.3s, box-shadow 0.3s;
  196. &:focus {
  197. border-color: #2b85e4;
  198. box-shadow: 0 0 0 2rpx rgba(43, 133, 228, 0.2);
  199. }
  200. }
  201. .content {
  202. flex: 1;
  203. .input-section {
  204. margin-bottom: 20rpx;
  205. animation: fadeIn 0.5s ease;
  206. position: relative;
  207. left: 0;
  208. top: 0;
  209. .label {
  210. font-size: 28rpx;
  211. font-weight: 400;
  212. font-family: "PingFang SC-Bold";
  213. color: #1f1f1f;
  214. position: relative;
  215. margin-bottom: 20rpx;
  216. }
  217. .input-field {
  218. width: 100%;
  219. height: 88rpx;
  220. border-radius: 16rpx;
  221. border: 2rpx solid #e8e8e8;
  222. padding: 0 30rpx;
  223. font-size: 28rpx;
  224. background: #fff;
  225. transition: all 0.3s ease;
  226. &:focus {
  227. border-color: #007aff;
  228. box-shadow: 0 0 0 2rpx rgba(0, 122, 255, 0.1);
  229. }
  230. }
  231. .textarea-field {
  232. width: 100%;
  233. border-radius: 16rpx;
  234. border: 2rpx solid #e8e8e8;
  235. padding: 30rpx;
  236. font-size: 28rpx;
  237. background: #fff;
  238. transition: all 0.3s ease;
  239. &:focus {
  240. border-color: #007aff;
  241. box-shadow: 0 0 0 2rpx rgba(0, 122, 255, 0.1);
  242. }
  243. }
  244. .textarea-footer {
  245. display: flex;
  246. justify-content: flex-end;
  247. align-items: center;
  248. margin-top: 16rpx;
  249. position: absolute;
  250. bottom: 35rpx;
  251. right: 40rpx;
  252. .ai-btn {
  253. image {
  254. width: 134rpx;
  255. height: 52rpx;
  256. margin-left: 20rpx;
  257. }
  258. }
  259. }
  260. .count {
  261. font-size: 24rpx;
  262. color: #999;
  263. }
  264. .lyricCount {
  265. position: absolute;
  266. bottom: 50rpx;
  267. right: 40rpx;
  268. }
  269. }
  270. .style-section {
  271. .label {
  272. font-size: 32rpx;
  273. font-weight: 600;
  274. margin-bottom: 20rpx;
  275. display: block;
  276. color: #2b2b2b;
  277. }
  278. .tab-nav {
  279. display: flex;
  280. justify-content: flex-start;
  281. padding: 20rpx 20rpx;
  282. box-sizing: border-box;
  283. background: #ffffff;
  284. .tab-item {
  285. padding: 10rpx 38rpx;
  286. color: #1f1f1f;
  287. font-size: 28rpx;
  288. background: #f2f6f2;
  289. margin-right: 20rpx;
  290. border-radius: 30rpx;
  291. position: relative;
  292. left: 0;
  293. top: 0;
  294. .indicator-triangle {
  295. position: absolute;
  296. bottom: -10rpx;
  297. left: 50%;
  298. transform: translateX(-50%);
  299. width: 0;
  300. height: 0;
  301. border-left: 10rpx solid transparent;
  302. border-right: 10rpx solid transparent;
  303. border-top: 10rpx solid #acf934;
  304. display: none;
  305. }
  306. &.active {
  307. background: #acf934;
  308. font-family: "CustomFont" !important;
  309. .indicator-triangle {
  310. display: block;
  311. }
  312. }
  313. }
  314. }
  315. .tab-nav {
  316. display: flex;
  317. justify-content: flex-start;
  318. padding: 20rpx 20rpx;
  319. box-sizing: border-box;
  320. background: #ffffff;
  321. .tab-item {
  322. padding: 10rpx 38rpx;
  323. color: #1f1f1f;
  324. font-size: 28rpx;
  325. background: #f2f6f2;
  326. margin-right: 20rpx;
  327. border-radius: 30rpx;
  328. position: relative;
  329. left: 0;
  330. top: 0;
  331. .indicator-triangle {
  332. position: absolute;
  333. bottom: -10rpx;
  334. left: 50%;
  335. transform: translateX(-50%);
  336. width: 0;
  337. height: 0;
  338. border-left: 10rpx solid transparent;
  339. border-right: 10rpx solid transparent;
  340. border-top: 10rpx solid #acf934;
  341. display: none;
  342. }
  343. &.active {
  344. background: #acf934;
  345. font-family: "CustomFont" !important;
  346. .indicator-triangle {
  347. display: block;
  348. }
  349. }
  350. }
  351. }
  352. .tabs {
  353. display: flex;
  354. justify-content: flex-start;
  355. padding: 20rpx 20rpx;
  356. box-sizing: border-box;
  357. background: #ffffff;
  358. padding-bottom: 30rpx;
  359. text {
  360. padding: 12rpx 38rpx;
  361. color: #1f1f1f;
  362. font-size: 28rpx;
  363. background: #f2f6f2;
  364. margin-right: 20rpx;
  365. border-radius: 30rpx;
  366. position: relative;
  367. left: 0;
  368. top: 0;
  369. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  370. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
  371. &:active {
  372. transform: scale(0.95);
  373. box-shadow: 0 1rpx 4rpx rgba(0, 0, 0, 0.05);
  374. }
  375. .indicator-triangle {
  376. position: absolute;
  377. bottom: -10rpx;
  378. left: 50%;
  379. transform: translateX(-50%);
  380. width: 0;
  381. height: 0;
  382. border-left: 10rpx solid transparent;
  383. border-right: 10rpx solid transparent;
  384. border-top: 10rpx solid #acf934;
  385. display: none;
  386. transition: all 0.3s ease;
  387. }
  388. &.active {
  389. background: #acf934;
  390. font-family: "CustomFont" !important;
  391. box-shadow: 0 4rpx 12rpx rgba(172, 249, 52, 0.3);
  392. .indicator-triangle {
  393. display: block;
  394. transform: translateX(-50%) scale(1.2);
  395. }
  396. }
  397. }
  398. }
  399. .tags {
  400. display: flex;
  401. flex-wrap: wrap;
  402. gap: 10rpx;
  403. margin-top: 20rpx;
  404. .tag {
  405. padding: 18rpx 35rpx 16rpx 35rpx;
  406. background: #f5f7fa;
  407. border-radius: 12rpx;
  408. font-size: 28rpx;
  409. color: #666;
  410. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  411. border: 1rpx solid transparent;
  412. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.03);
  413. border: 2rpx solid #e6e6e6;
  414. background: #ffffff;
  415. position: relative;
  416. overflow: hidden;
  417. &::after {
  418. content: '';
  419. position: absolute;
  420. top: 0;
  421. left: 0;
  422. width: 100%;
  423. height: 100%;
  424. background: rgba(126, 188, 0, 0.1);
  425. transform: scale(0);
  426. transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  427. border-radius: 12rpx;
  428. }
  429. &:active {
  430. transform: scale(0.95);
  431. &::after {
  432. transform: scale(1);
  433. }
  434. }
  435. &.active {
  436. background: #f7ffea;
  437. border-radius: 12rpx;
  438. border: 2rpx solid #7ebc00;
  439. color: #7ebc00;
  440. font-weight: 500;
  441. box-shadow: 0 4rpx 12rpx rgba(126, 188, 0, 0.15);
  442. &::after {
  443. transform: scale(1);
  444. }
  445. }
  446. }
  447. }
  448. }
  449. }
  450. .bottom-section {
  451. padding: 40rpx 30rpx;
  452. background: rgba(255, 255, 255, 0.95);
  453. backdrop-filter: blur(10px);
  454. border-top: 2rpx solid rgba(0, 0, 0, 0.05);
  455. .submit-btn {
  456. width: 100%;
  457. height: 88rpx;
  458. background: linear-gradient(135deg, #007aff, #00b4ff);
  459. color: #fff;
  460. border-radius: 44rpx;
  461. display: flex;
  462. align-items: center;
  463. justify-content: center;
  464. font-size: 32rpx;
  465. font-weight: 600;
  466. transition: all 0.3s ease;
  467. box-shadow: 0 8rpx 20rpx rgba(0, 122, 255, 0.3);
  468. &:active {
  469. transform: scale(0.98);
  470. box-shadow: 0 4rpx 10rpx rgba(0, 122, 255, 0.2);
  471. }
  472. .small {
  473. font-size: 24rpx;
  474. margin-left: 10rpx;
  475. font-weight: normal;
  476. opacity: 0.9;
  477. }
  478. }
  479. .promotion-text {
  480. text-align: center;
  481. margin-top: 20rpx;
  482. .link-text {
  483. color: #007aff;
  484. font-size: 24rpx;
  485. text-decoration: underline;
  486. opacity: 0.9;
  487. transition: opacity 0.3s ease;
  488. &:active {
  489. opacity: 0.7;
  490. }
  491. }
  492. }
  493. }
  494. .bottom-button {
  495. padding: 40rpx 30rpx;
  496. .generate-btn {
  497. width: 626rpx;
  498. height: 88rpx;
  499. background: url("../../static//makedetail/cz_btn_lijishengcheng.png")
  500. center / 100% 100% no-repeat;
  501. font-family: "PingFang SC-Bold";
  502. color: #acf934;
  503. font-size: 32rpx;
  504. display: flex;
  505. align-items: center;
  506. justify-content: center;
  507. border-radius: 58rpx;
  508. image {
  509. width: 36rpx;
  510. height: 36rpx;
  511. margin: 4rpx;
  512. margin-left: 12rpx;
  513. }
  514. &.prohibit {
  515. background: #d7ded7;
  516. color: #1f1f1f;
  517. overflow: hidden;
  518. box-shadow: none;
  519. border: 0rpx solid transparent;
  520. transform: none;
  521. margin: 0 auto;
  522. }
  523. &:active {
  524. transform: scale(0.98);
  525. box-shadow: 0 4rpx 10rpx rgba(43, 133, 228, 0.2);
  526. }
  527. }
  528. .promotion-link {
  529. text-align: center;
  530. margin-top: 30rpx;
  531. color: #2b85e4;
  532. font-size: 26rpx;
  533. display: flex;
  534. align-items: center;
  535. justify-content: center;
  536. color: #814600;
  537. .jiantou {
  538. width: 28rpx;
  539. height: 28rpx;
  540. left: 10rpx;
  541. }
  542. .vip {
  543. width: 34rpx;
  544. height: 34rpx;
  545. margin-right: 12rpx;
  546. }
  547. text {
  548. position: relative;
  549. }
  550. }
  551. }
  552. }
  553. ::v-deep .uni-textarea-placeholder {
  554. color: #999999;
  555. }
  556. ::v-deep .input-placeholder {
  557. font-family: "PingFang SC-Medium";
  558. color: #999;
  559. font-size: 28rpx;
  560. }
  561. @keyframes fadeIn {
  562. from {
  563. opacity: 0;
  564. transform: translateY(10rpx);
  565. }
  566. to {
  567. opacity: 1;
  568. transform: translateY(0);
  569. }
  570. }
  571. @keyframes rotate {
  572. from {
  573. transform: rotate(0deg);
  574. }
  575. to {
  576. transform: rotate(360deg);
  577. }
  578. }