makeMusicDetail.scss 13 KB

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