makeMusicDetail.scss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642
  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. display: flex;
  363. justify-content: flex-start;
  364. padding: 20rpx 20rpx;
  365. box-sizing: border-box;
  366. background: #ffffff;
  367. padding-bottom: 30rpx;
  368. line-height: 1;
  369. padding-left: 0;
  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. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  382. // box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
  383. &:active {
  384. transform: scale(0.95);
  385. // box-shadow: 0 1rpx 4rpx rgba(0, 0, 0, 0.05);
  386. }
  387. .indicator-triangle {
  388. position: absolute;
  389. bottom: -10rpx;
  390. left: 50%;
  391. transform: translateX(-50%);
  392. width: 0;
  393. height: 0;
  394. border-left: 10rpx solid transparent;
  395. border-right: 10rpx solid transparent;
  396. border-top: 10rpx solid #acf934;
  397. display: none;
  398. transition: all 0.3s ease;
  399. }
  400. &.active {
  401. background: #acf934;
  402. font-family: "CustomFont" !important;
  403. box-shadow: 0 4rpx 12rpx rgba(172, 249, 52, 0.3);
  404. .indicator-triangle {
  405. display: block;
  406. transform: translateX(-50%) scale(1.2);
  407. }
  408. }
  409. }
  410. }
  411. .tags {
  412. display: grid;
  413. grid-template-columns: repeat(4, 1fr);
  414. gap: 24rpx 18rpx;
  415. margin-top: 20rpx;
  416. .tag {
  417. // padding: 18rpx 35rpx 16rpx 35rpx;
  418. width: 152rpx;
  419. height: 64rpx;
  420. display: flex;
  421. align-items: center;
  422. justify-content: center;
  423. background: #f5f7fa;
  424. border-radius: 16rpx;
  425. font-size: 28rpx;
  426. font-weight: 400;
  427. font-family: "PingFang SC-Bold";
  428. color: #1f1f1f;
  429. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  430. border: 1rpx solid transparent;
  431. // box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.03);
  432. border: 2rpx solid #e6e6e6;
  433. background: #ffffff;
  434. position: relative;
  435. overflow: hidden;
  436. &::after {
  437. content: "";
  438. position: absolute;
  439. top: 0;
  440. left: 0;
  441. width: 100%;
  442. height: 100%;
  443. background: rgba(126, 188, 0, 0.1);
  444. transform: scale(0);
  445. transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  446. // border-radius: 16rpx;
  447. }
  448. &:active {
  449. transform: scale(0.95);
  450. &::after {
  451. transform: scale(1);
  452. }
  453. }
  454. &.active {
  455. // background: #f7ffea;
  456. border-radius: 16rpx;
  457. border: 2rpx solid #7ebc00;
  458. color: #7ebc00;
  459. font-weight: 500;
  460. // box-shadow: 0 4rpx 12rpx rgba(126, 188, 0, 0.15);
  461. &::after {
  462. transform: scale(1);
  463. }
  464. }
  465. }
  466. }
  467. }
  468. }
  469. .bottom-section {
  470. padding: 40rpx 30rpx;
  471. background: rgba(255, 255, 255, 0.95);
  472. backdrop-filter: blur(10px);
  473. border-top: 2rpx solid rgba(0, 0, 0, 0.05);
  474. .submit-btn {
  475. width: 100%;
  476. height: 88rpx;
  477. background: linear-gradient(135deg, #007aff, #00b4ff);
  478. color: #fff;
  479. border-radius: 44rpx;
  480. display: flex;
  481. align-items: center;
  482. justify-content: center;
  483. font-size: 32rpx;
  484. font-weight: 600;
  485. transition: all 0.3s ease;
  486. box-shadow: 0 8rpx 20rpx rgba(0, 122, 255, 0.3);
  487. &:active {
  488. transform: scale(0.98);
  489. box-shadow: 0 4rpx 10rpx rgba(0, 122, 255, 0.2);
  490. }
  491. .small {
  492. font-size: 24rpx;
  493. margin-left: 10rpx;
  494. font-weight: normal;
  495. opacity: 0.9;
  496. }
  497. }
  498. .promotion-text {
  499. text-align: center;
  500. margin-top: 20rpx;
  501. .link-text {
  502. color: #007aff;
  503. font-size: 24rpx;
  504. text-decoration: underline;
  505. opacity: 0.9;
  506. transition: opacity 0.3s ease;
  507. &:active {
  508. opacity: 0.7;
  509. }
  510. }
  511. }
  512. }
  513. .bottom-button {
  514. padding: 40rpx 30rpx;
  515. position: absolute;
  516. bottom: 0;
  517. left: 50%;
  518. transform: translateX(-50%);
  519. .generate-btn {
  520. width: 626rpx;
  521. height: 88rpx;
  522. background: url("../../static//makedetail/cz_btn_lijishengcheng.png")
  523. center / 100% 100% no-repeat;
  524. font-family: "PingFang SC-Bold";
  525. color: #acf934;
  526. font-size: 32rpx;
  527. display: flex;
  528. align-items: center;
  529. justify-content: center;
  530. border-radius: 58rpx;
  531. image {
  532. width: 36rpx;
  533. height: 36rpx;
  534. margin: 4rpx;
  535. margin-left: 12rpx;
  536. }
  537. &.prohibit {
  538. background: #d7ded7;
  539. color: #1f1f1f;
  540. overflow: hidden;
  541. box-shadow: none;
  542. border: 0rpx solid transparent;
  543. transform: none;
  544. margin: 0 auto;
  545. }
  546. &:active {
  547. transform: scale(0.98);
  548. box-shadow: 0 4rpx 10rpx rgba(43, 133, 228, 0.2);
  549. }
  550. }
  551. .promotion-link {
  552. text-align: center;
  553. margin-top: 30rpx;
  554. color: #2b85e4;
  555. font-size: 26rpx;
  556. display: flex;
  557. align-items: center;
  558. justify-content: center;
  559. color: #814600;
  560. .jiantou {
  561. width: 28rpx;
  562. height: 28rpx;
  563. left: 10rpx;
  564. }
  565. .vip {
  566. width: 34rpx;
  567. height: 34rpx;
  568. margin-right: 12rpx;
  569. }
  570. text {
  571. position: relative;
  572. }
  573. }
  574. }
  575. }
  576. ::v-deep .uni-textarea-placeholder {
  577. color: #999999;
  578. }
  579. ::v-deep .input-placeholder {
  580. font-family: "PingFang SC-Medium";
  581. color: #999;
  582. font-size: 28rpx;
  583. }
  584. @keyframes fadeIn {
  585. from {
  586. opacity: 0;
  587. transform: translateY(10rpx);
  588. }
  589. to {
  590. opacity: 1;
  591. transform: translateY(0);
  592. }
  593. }
  594. @keyframes rotate {
  595. from {
  596. transform: rotate(0deg);
  597. }
  598. to {
  599. transform: rotate(360deg);
  600. }
  601. }