makeMusicDetail.scss 13 KB

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