makeMusicDetail.scss 14 KB

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