makeMusicDetail.scss 14 KB

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