makeMusicDetail.scss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645
  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. min-height: 100vh;
  10. padding-bottom: 240rpx;
  11. position: relative;
  12. left: 0;
  13. top: 0;
  14. .status-bar {
  15. height: var(--status-bar-height);
  16. }
  17. .nav-bar {
  18. width: 100vw;
  19. height: calc(96rpx + var(--status-bar-height));
  20. display: flex;
  21. align-items: center;
  22. justify-content: space-between;
  23. padding: 0 24rpx;
  24. padding-top: var(--status-bar-height);
  25. box-sizing: border-box;
  26. background: url("../../static/makedetail/cz_bg_top.png") center top / 100%
  27. auto no-repeat,
  28. #f2f6f2;
  29. // background-position-y: var(--status-bar-height);
  30. @keyframes rotate360 {
  31. from {
  32. transform: rotate(0deg);
  33. }
  34. to {
  35. transform: rotate(360deg);
  36. }
  37. }
  38. .left {
  39. display: flex;
  40. align-items: center;
  41. .create {
  42. font-family: "Alimama ShuHeiTi-Bold";
  43. font-weight: 700;
  44. color: #1f1f1f;
  45. font-size: 36rpx;
  46. margin-left: 15rpx;
  47. margin-right: 4rpx;
  48. }
  49. .edit {
  50. width: 44rpx;
  51. height: 44rpx;
  52. }
  53. .uni-btn-icon {
  54. font-size: 45rpx;
  55. font-weight: bold;
  56. color: #1f1f1f;
  57. transition: color 0.2s;
  58. &:active {
  59. color: #2b85e4;
  60. }
  61. }
  62. }
  63. .right {
  64. display: flex;
  65. align-items: center;
  66. font-size: 28rpx;
  67. font-family: "PingFang SC-Bold";
  68. font-weight: 400;
  69. min-width: 306rpx;
  70. // width: 260rpx;
  71. image {
  72. width: 40rpx;
  73. height: 40rpx;
  74. margin-right: 4rpx;
  75. }
  76. .coinM,
  77. .coinC {
  78. display: flex;
  79. flex-direction: row;
  80. align-items: center;
  81. justify-content: center;
  82. border-radius: 30rpx;
  83. transition: transform 0.2s, box-shadow 0.2s;
  84. // box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
  85. margin-left: 16rpx;
  86. background: #fff;
  87. padding: 6rpx 12rpx 6rpx 8rpx;
  88. &:active {
  89. transform: scale(0.98);
  90. }
  91. text {
  92. display: inline-block;
  93. padding-left: 4rpx;
  94. line-height: 0;
  95. }
  96. }
  97. }
  98. }
  99. .preview-section,
  100. .style-section,
  101. .input-section {
  102. margin: 20rpx;
  103. background: #fff;
  104. border-radius: 20rpx;
  105. padding: 20rpx;
  106. // box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
  107. ::v-deep .uni-textarea-textarea,
  108. ::v-deep .uni-input-input {
  109. font-size: 28rpx;
  110. color: #1f1f1f;
  111. font-family: "PingFang SC-Medium";
  112. font-weight: 400;
  113. }
  114. }
  115. .preview-section {
  116. width: 710rpx;
  117. height: 590rpx;
  118. margin: 0 auto;
  119. margin-bottom: 20rpx;
  120. background: #fff;
  121. border-radius: 20rpx;
  122. .preview-card {
  123. width: 346rpx;
  124. height: 468rpx;
  125. margin: 0 auto;
  126. display: flex;
  127. align-items: center;
  128. justify-content: center;
  129. flex-direction: column;
  130. background: url("../../static/makedetail/cz_bg_shengcheng.png")
  131. center/100% 100% no-repeat;
  132. image {
  133. width: 52rpx;
  134. height: 50rpx;
  135. }
  136. color: #fff;
  137. .text1 {
  138. font-family: "PingFang SC-Bold";
  139. font-weight: 400;
  140. font-size: 28rpx;
  141. padding-top: 24rpx;
  142. padding-bottom: 4rpx;
  143. }
  144. .text2 {
  145. font-family: "PingFang SC-Medium";
  146. font-weight: 400;
  147. font-size: 24rpx;
  148. }
  149. }
  150. }
  151. .lineUp-section {
  152. .section-title {
  153. display: flex;
  154. align-items: center;
  155. justify-content: space-between;
  156. width: 100%;
  157. .member-box {
  158. display: flex;
  159. align-items: center;
  160. background: #fffaf1;
  161. border-radius: 12rpx;
  162. border: 2rpx solid #fbd6a1;
  163. font-size: 24rpx;
  164. font-family: "PingFang SC-Bold";
  165. padding: 10rpx 12rpx 8rpx 12rpx;
  166. color: #814600;
  167. image {
  168. width: 34rpx;
  169. height: 34rpx;
  170. margin-right: 8rpx;
  171. }
  172. }
  173. }
  174. .preview-card {
  175. background: #fff;
  176. color: #1f1f1f;
  177. image {
  178. animation: rotate360 0.8s linear infinite;
  179. }
  180. }
  181. }
  182. .section-title {
  183. font-size: 28rpx;
  184. font-weight: 400;
  185. font-family: "PingFang SC-Bold";
  186. color: #1f1f1f;
  187. position: relative;
  188. margin-bottom: 20rpx;
  189. .required {
  190. color: #ff4d4f;
  191. margin-left: 4rpx;
  192. }
  193. }
  194. .input-area {
  195. width: 100%;
  196. height: 200rpx;
  197. background: #f2f6f2;
  198. border-radius: 16rpx;
  199. padding: 24rpx;
  200. font-size: 28rpx;
  201. border: 1rpx solid #f0f0f0;
  202. transition: border-color 0.3s, box-shadow 0.3s;
  203. &:focus {
  204. border-color: #2b85e4;
  205. box-shadow: 0 0 0 2rpx rgba(43, 133, 228, 0.2);
  206. }
  207. }
  208. .content {
  209. flex: 1;
  210. .input-section {
  211. margin-bottom: 20rpx;
  212. animation: fadeIn 0.5s ease;
  213. position: relative;
  214. left: 0;
  215. top: 0;
  216. .label {
  217. font-size: 28rpx;
  218. font-weight: 400;
  219. font-family: "PingFang SC-Bold";
  220. color: #1f1f1f;
  221. position: relative;
  222. padding-bottom: 20rpx;
  223. display: inline-block;
  224. }
  225. .input-field {
  226. width: 100%;
  227. height: 88rpx;
  228. border-radius: 16rpx;
  229. // border: 2rpx solid #e8e8e8;
  230. padding: 0 30rpx;
  231. font-size: 28rpx;
  232. background: #f2f6f2;
  233. transition: all 0.3s ease;
  234. &:focus {
  235. border-color: #007aff;
  236. box-shadow: 0 0 0 2rpx rgba(0, 122, 255, 0.1);
  237. }
  238. }
  239. .textarea-field {
  240. width: 100%;
  241. border-radius: 16rpx;
  242. // border: 2rpx solid #e8e8e8;
  243. padding: 30rpx;
  244. font-size: 28rpx;
  245. background: #f2f6f2;
  246. transition: all 0.3s ease;
  247. &:focus {
  248. border-color: #007aff;
  249. box-shadow: 0 0 0 2rpx rgba(0, 122, 255, 0.1);
  250. }
  251. }
  252. .textarea-footer {
  253. display: flex;
  254. justify-content: flex-end;
  255. align-items: center;
  256. margin-top: 16rpx;
  257. position: absolute;
  258. bottom: 35rpx;
  259. right: 40rpx;
  260. .ai-btn {
  261. image {
  262. width: 134rpx;
  263. height: 52rpx;
  264. margin-left: 20rpx;
  265. }
  266. }
  267. }
  268. .count {
  269. font-size: 24rpx;
  270. color: #999;
  271. }
  272. .lyricCount {
  273. position: absolute;
  274. bottom: 45rpx;
  275. right: 40rpx;
  276. }
  277. }
  278. .style-section {
  279. .label {
  280. font-size: 28rpx;
  281. font-weight: 600;
  282. // margin-bottom: 20rpx;
  283. display: block;
  284. color: #2b2b2b;
  285. }
  286. .tab-nav {
  287. display: flex;
  288. justify-content: flex-start;
  289. padding: 20rpx 20rpx;
  290. box-sizing: border-box;
  291. background: #ffffff;
  292. .tab-item {
  293. padding: 10rpx 38rpx;
  294. color: #1f1f1f;
  295. font-size: 28rpx;
  296. background: #f2f6f2;
  297. margin-right: 20rpx;
  298. border-radius: 30rpx;
  299. position: relative;
  300. left: 0;
  301. top: 0;
  302. .indicator-triangle {
  303. position: absolute;
  304. bottom: -10rpx;
  305. left: 50%;
  306. transform: translateX(-50%);
  307. width: 0;
  308. height: 0;
  309. border-left: 10rpx solid transparent;
  310. border-right: 10rpx solid transparent;
  311. border-top: 10rpx solid #acf934;
  312. display: none;
  313. }
  314. &.active {
  315. background: #acf934;
  316. font-family: "CustomFont" !important;
  317. .indicator-triangle {
  318. display: block;
  319. }
  320. }
  321. }
  322. }
  323. .tab-nav {
  324. display: flex;
  325. justify-content: flex-start;
  326. padding: 20rpx 20rpx;
  327. box-sizing: border-box;
  328. background: #ffffff;
  329. .tab-item {
  330. padding: 15rpx 38rpx;
  331. color: #1f1f1f;
  332. font-size: 28rpx;
  333. background: #f2f6f2;
  334. margin-right: 20rpx;
  335. border-radius: 30rpx;
  336. position: relative;
  337. left: 0;
  338. top: 0;
  339. line-height: 1;
  340. .indicator-triangle {
  341. position: absolute;
  342. bottom: -10rpx;
  343. left: 50%;
  344. transform: translateX(-50%);
  345. width: 0;
  346. height: 0;
  347. border-left: 10rpx solid transparent;
  348. border-right: 10rpx solid transparent;
  349. border-top: 10rpx solid #acf934;
  350. display: none;
  351. }
  352. &.active {
  353. background: #acf934;
  354. font-family: "CustomFont" !important;
  355. .indicator-triangle {
  356. display: block;
  357. }
  358. }
  359. }
  360. }
  361. .tabs {
  362. padding: 20rpx 20rpx;
  363. box-sizing: border-box;
  364. background: #ffffff;
  365. padding-bottom: 30rpx;
  366. line-height: 1;
  367. padding-left: 0;
  368. white-space: nowrap;
  369. width: 100%;
  370. padding-bottom: 10rpx;
  371. text {
  372. padding: 12rpx 38rpx;
  373. color: #1f1f1f;
  374. font-size: 28rpx;
  375. background: #f2f6f2;
  376. margin-right: 20rpx;
  377. border-radius: 30rpx;
  378. position: relative;
  379. left: 0;
  380. top: 0;
  381. display: inline-block;
  382. margin-right: 10rpx;
  383. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  384. // box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
  385. &:active {
  386. transform: scale(0.95);
  387. // box-shadow: 0 1rpx 4rpx rgba(0, 0, 0, 0.05);
  388. }
  389. .indicator-triangle {
  390. position: absolute;
  391. bottom: -10rpx;
  392. left: 50%;
  393. transform: translateX(-50%);
  394. width: 0;
  395. height: 0;
  396. border-left: 10rpx solid transparent;
  397. border-right: 10rpx solid transparent;
  398. border-top: 10rpx solid #acf934;
  399. display: none;
  400. transition: all 0.3s ease;
  401. }
  402. &.active {
  403. background: #acf934;
  404. font-family: "CustomFont" !important;
  405. box-shadow: 0 4rpx 12rpx rgba(172, 249, 52, 0.3);
  406. .indicator-triangle {
  407. display: block;
  408. transform: translateX(-50%) scale(1.2);
  409. }
  410. }
  411. }
  412. }
  413. .tags {
  414. display: grid;
  415. grid-template-columns: repeat(4, 1fr);
  416. gap: 24rpx 18rpx;
  417. margin-top: 20rpx;
  418. .tag {
  419. // padding: 18rpx 35rpx 16rpx 35rpx;
  420. width: 152rpx;
  421. height: 64rpx;
  422. display: flex;
  423. align-items: center;
  424. justify-content: center;
  425. background: #f5f7fa;
  426. border-radius: 16rpx;
  427. font-size: 28rpx;
  428. font-weight: 400;
  429. font-family: "PingFang SC-Bold";
  430. color: #1f1f1f;
  431. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  432. border: 1rpx solid transparent;
  433. // box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.03);
  434. border: 2rpx solid #e6e6e6;
  435. background: #ffffff;
  436. position: relative;
  437. overflow: hidden;
  438. &::after {
  439. content: "";
  440. position: absolute;
  441. top: 0;
  442. left: 0;
  443. width: 100%;
  444. height: 100%;
  445. background: rgba(126, 188, 0, 0.1);
  446. transform: scale(0);
  447. transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  448. // border-radius: 16rpx;
  449. }
  450. &:active {
  451. transform: scale(0.95);
  452. &::after {
  453. transform: scale(1);
  454. }
  455. }
  456. &.active {
  457. // background: #f7ffea;
  458. border-radius: 16rpx;
  459. border: 2rpx solid #7ebc00;
  460. color: #7ebc00;
  461. font-weight: 500;
  462. // box-shadow: 0 4rpx 12rpx rgba(126, 188, 0, 0.15);
  463. &::after {
  464. transform: scale(1);
  465. }
  466. }
  467. }
  468. }
  469. }
  470. }
  471. .bottom-section {
  472. padding: 40rpx 30rpx;
  473. background: rgba(255, 255, 255, 0.95);
  474. backdrop-filter: blur(10px);
  475. border-top: 2rpx solid rgba(0, 0, 0, 0.05);
  476. .submit-btn {
  477. width: 100%;
  478. height: 88rpx;
  479. background: linear-gradient(135deg, #007aff, #00b4ff);
  480. color: #fff;
  481. border-radius: 44rpx;
  482. display: flex;
  483. align-items: center;
  484. justify-content: center;
  485. font-size: 32rpx;
  486. font-weight: 600;
  487. transition: all 0.3s ease;
  488. box-shadow: 0 8rpx 20rpx rgba(0, 122, 255, 0.3);
  489. &:active {
  490. transform: scale(0.98);
  491. box-shadow: 0 4rpx 10rpx rgba(0, 122, 255, 0.2);
  492. }
  493. .small {
  494. font-size: 24rpx;
  495. margin-left: 10rpx;
  496. font-weight: normal;
  497. opacity: 0.9;
  498. }
  499. }
  500. .promotion-text {
  501. text-align: center;
  502. margin-top: 20rpx;
  503. .link-text {
  504. color: #007aff;
  505. font-size: 24rpx;
  506. text-decoration: underline;
  507. opacity: 0.9;
  508. transition: opacity 0.3s ease;
  509. &:active {
  510. opacity: 0.7;
  511. }
  512. }
  513. }
  514. }
  515. .bottom-button {
  516. padding: 40rpx 30rpx;
  517. position: absolute;
  518. bottom: 0;
  519. left: 50%;
  520. transform: translateX(-50%);
  521. .generate-btn {
  522. width: 626rpx;
  523. height: 88rpx;
  524. background: url("../../static//makedetail/cz_btn_lijishengcheng.png")
  525. center / 100% 100% no-repeat;
  526. font-family: "PingFang SC-Bold";
  527. color: #acf934;
  528. font-size: 32rpx;
  529. display: flex;
  530. align-items: center;
  531. justify-content: center;
  532. border-radius: 58rpx;
  533. image {
  534. width: 36rpx;
  535. height: 36rpx;
  536. margin: 4rpx;
  537. margin-left: 12rpx;
  538. }
  539. &.prohibit {
  540. background: #d7ded7;
  541. color: #1f1f1f;
  542. overflow: hidden;
  543. box-shadow: none;
  544. border: 0rpx solid transparent;
  545. transform: none;
  546. margin: 0 auto;
  547. }
  548. &:active {
  549. transform: scale(0.98);
  550. box-shadow: 0 4rpx 10rpx rgba(43, 133, 228, 0.2);
  551. }
  552. }
  553. .promotion-link {
  554. text-align: center;
  555. margin-top: 30rpx;
  556. color: #2b85e4;
  557. font-size: 26rpx;
  558. display: flex;
  559. align-items: center;
  560. justify-content: center;
  561. color: #814600;
  562. .jiantou {
  563. width: 28rpx;
  564. height: 28rpx;
  565. left: 10rpx;
  566. }
  567. .vip {
  568. width: 34rpx;
  569. height: 34rpx;
  570. margin-right: 12rpx;
  571. }
  572. text {
  573. position: relative;
  574. }
  575. }
  576. }
  577. }
  578. ::v-deep .uni-textarea-placeholder {
  579. color: #999999;
  580. }
  581. ::v-deep .input-placeholder {
  582. font-family: "PingFang SC-Medium";
  583. color: #999;
  584. font-size: 28rpx;
  585. }
  586. @keyframes fadeIn {
  587. from {
  588. opacity: 0;
  589. transform: translateY(10rpx);
  590. }
  591. to {
  592. opacity: 1;
  593. transform: translateY(0);
  594. }
  595. }
  596. @keyframes rotate {
  597. from {
  598. transform: rotate(0deg);
  599. }
  600. to {
  601. transform: rotate(360deg);
  602. }
  603. }