makeMusicDetail.scss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579
  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. .label {
  204. font-size: 28rpx;
  205. font-weight: 400;
  206. font-family: "PingFang SC-Bold";
  207. color: #1f1f1f;
  208. position: relative;
  209. margin-bottom: 20rpx;
  210. }
  211. .input-field {
  212. width: 100%;
  213. height: 88rpx;
  214. border-radius: 16rpx;
  215. border: 2rpx solid #e8e8e8;
  216. padding: 0 30rpx;
  217. font-size: 28rpx;
  218. background: #fff;
  219. transition: all 0.3s ease;
  220. &:focus {
  221. border-color: #007aff;
  222. box-shadow: 0 0 0 2rpx rgba(0, 122, 255, 0.1);
  223. }
  224. }
  225. .textarea-field {
  226. width: 100%;
  227. border-radius: 16rpx;
  228. border: 2rpx solid #e8e8e8;
  229. padding: 30rpx;
  230. font-size: 28rpx;
  231. background: #fff;
  232. transition: all 0.3s ease;
  233. &:focus {
  234. border-color: #007aff;
  235. box-shadow: 0 0 0 2rpx rgba(0, 122, 255, 0.1);
  236. }
  237. }
  238. .textarea-footer {
  239. display: flex;
  240. justify-content: flex-end;
  241. align-items: center;
  242. margin-top: 16rpx;
  243. .ai-btn {
  244. color: #007aff;
  245. font-size: 28rpx;
  246. font-weight: 500;
  247. padding: 10rpx 20rpx;
  248. border-radius: 30rpx;
  249. background: rgba(0, 122, 255, 0.1);
  250. transition: all 0.3s ease;
  251. &:active {
  252. background: rgba(0, 122, 255, 0.2);
  253. transform: scale(0.98);
  254. }
  255. }
  256. }
  257. .count {
  258. font-size: 24rpx;
  259. color: #999;
  260. }
  261. }
  262. .style-section {
  263. .label {
  264. font-size: 32rpx;
  265. font-weight: 600;
  266. margin-bottom: 20rpx;
  267. display: block;
  268. color: #2b2b2b;
  269. }
  270. .tab-nav {
  271. display: flex;
  272. justify-content: flex-start;
  273. padding: 20rpx 20rpx;
  274. box-sizing: border-box;
  275. background: #ffffff;
  276. .tab-item {
  277. padding: 10rpx 38rpx;
  278. color: #1f1f1f;
  279. font-size: 28rpx;
  280. background: #f2f6f2;
  281. margin-right: 20rpx;
  282. border-radius: 30rpx;
  283. position: relative;
  284. left: 0;
  285. top: 0;
  286. .indicator-triangle {
  287. position: absolute;
  288. bottom: -10rpx;
  289. left: 50%;
  290. transform: translateX(-50%);
  291. width: 0;
  292. height: 0;
  293. border-left: 10rpx solid transparent;
  294. border-right: 10rpx solid transparent;
  295. border-top: 10rpx solid #acf934;
  296. display: none;
  297. }
  298. &.active {
  299. background: #acf934;
  300. font-family: "CustomFont" !important;
  301. .indicator-triangle {
  302. display: block;
  303. }
  304. }
  305. }
  306. }
  307. .tab-nav {
  308. display: flex;
  309. justify-content: flex-start;
  310. padding: 20rpx 20rpx;
  311. box-sizing: border-box;
  312. background: #ffffff;
  313. .tab-item {
  314. padding: 10rpx 38rpx;
  315. color: #1f1f1f;
  316. font-size: 28rpx;
  317. background: #f2f6f2;
  318. margin-right: 20rpx;
  319. border-radius: 30rpx;
  320. position: relative;
  321. left: 0;
  322. top: 0;
  323. .indicator-triangle {
  324. position: absolute;
  325. bottom: -10rpx;
  326. left: 50%;
  327. transform: translateX(-50%);
  328. width: 0;
  329. height: 0;
  330. border-left: 10rpx solid transparent;
  331. border-right: 10rpx solid transparent;
  332. border-top: 10rpx solid #acf934;
  333. display: none;
  334. }
  335. &.active {
  336. background: #acf934;
  337. font-family: "CustomFont" !important;
  338. .indicator-triangle {
  339. display: block;
  340. }
  341. }
  342. }
  343. }
  344. .tabs {
  345. display: flex;
  346. justify-content: flex-start;
  347. padding: 20rpx 20rpx;
  348. box-sizing: border-box;
  349. background: #ffffff;
  350. text {
  351. padding: 10rpx 38rpx;
  352. color: #1f1f1f;
  353. font-size: 28rpx;
  354. background: #f2f6f2;
  355. margin-right: 20rpx;
  356. border-radius: 30rpx;
  357. position: relative;
  358. left: 0;
  359. top: 0;
  360. .indicator-triangle {
  361. position: absolute;
  362. bottom: -10rpx;
  363. left: 50%;
  364. transform: translateX(-50%);
  365. width: 0;
  366. height: 0;
  367. border-left: 10rpx solid transparent;
  368. border-right: 10rpx solid transparent;
  369. border-top: 10rpx solid #acf934;
  370. display: none;
  371. }
  372. &.active {
  373. background: #acf934;
  374. font-family: "CustomFont" !important;
  375. .indicator-triangle {
  376. display: block;
  377. }
  378. }
  379. }
  380. }
  381. .tags {
  382. display: flex;
  383. flex-wrap: wrap;
  384. gap: 10rpx;
  385. .tag {
  386. padding: 10rpx 25rpx 8rpx 25rpx;
  387. background: #f5f7fa;
  388. border-radius: 12rpx;
  389. font-size: 24rpx;
  390. color: #666;
  391. transition: all 0.3s;
  392. border: 1rpx solid transparent;
  393. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.03);
  394. border: 2rpx solid #e6e6e6;
  395. background: #ffffff;
  396. &:active {
  397. // background: #e3f2fd;
  398. // color: #2b85e4;
  399. // border-color: #2b85e4;
  400. background: #f7ffea;
  401. border-radius: 12rpx;
  402. border: 2rpx solid #7ebc00;
  403. }
  404. &.active {
  405. background: #f7ffea;
  406. border-radius: 12rpx;
  407. border: 2rpx solid #7ebc00;
  408. }
  409. }
  410. }
  411. }
  412. }
  413. .bottom-section {
  414. padding: 40rpx 30rpx;
  415. background: rgba(255, 255, 255, 0.95);
  416. backdrop-filter: blur(10px);
  417. border-top: 2rpx solid rgba(0, 0, 0, 0.05);
  418. .submit-btn {
  419. width: 100%;
  420. height: 88rpx;
  421. background: linear-gradient(135deg, #007aff, #00b4ff);
  422. color: #fff;
  423. border-radius: 44rpx;
  424. display: flex;
  425. align-items: center;
  426. justify-content: center;
  427. font-size: 32rpx;
  428. font-weight: 600;
  429. transition: all 0.3s ease;
  430. box-shadow: 0 8rpx 20rpx rgba(0, 122, 255, 0.3);
  431. &:active {
  432. transform: scale(0.98);
  433. box-shadow: 0 4rpx 10rpx rgba(0, 122, 255, 0.2);
  434. }
  435. .small {
  436. font-size: 24rpx;
  437. margin-left: 10rpx;
  438. font-weight: normal;
  439. opacity: 0.9;
  440. }
  441. }
  442. .promotion-text {
  443. text-align: center;
  444. margin-top: 20rpx;
  445. .link-text {
  446. color: #007aff;
  447. font-size: 24rpx;
  448. text-decoration: underline;
  449. opacity: 0.9;
  450. transition: opacity 0.3s ease;
  451. &:active {
  452. opacity: 0.7;
  453. }
  454. }
  455. }
  456. }
  457. .bottom-button {
  458. padding: 40rpx 30rpx;
  459. .generate-btn {
  460. width: 626rpx;
  461. height: 88rpx;
  462. background: url("../../static//makedetail/cz_btn_lijishengcheng.png")
  463. center / 100% 100% no-repeat;
  464. font-family: "PingFang SC-Bold";
  465. color: #acf934;
  466. font-size: 32rpx;
  467. display: flex;
  468. align-items: center;
  469. justify-content: center;
  470. border-radius: 58rpx;
  471. image {
  472. width: 36rpx;
  473. height: 36rpx;
  474. margin: 4rpx;
  475. margin-left: 12rpx;
  476. }
  477. &.prohibit {
  478. background: #d7ded7;
  479. color: #1f1f1f;
  480. overflow: hidden;
  481. box-shadow: none;
  482. border: 0rpx solid transparent;
  483. transform: none;
  484. margin: 0 auto;
  485. }
  486. &:active {
  487. transform: scale(0.98);
  488. box-shadow: 0 4rpx 10rpx rgba(43, 133, 228, 0.2);
  489. }
  490. }
  491. .promotion-link {
  492. text-align: center;
  493. margin-top: 30rpx;
  494. color: #2b85e4;
  495. font-size: 26rpx;
  496. display: flex;
  497. align-items: center;
  498. justify-content: center;
  499. color: #814600;
  500. .jiantou {
  501. width: 28rpx;
  502. height: 28rpx;
  503. left: 10rpx;
  504. }
  505. .vip {
  506. width: 34rpx;
  507. height: 34rpx;
  508. margin-right: 12rpx;
  509. }
  510. text {
  511. position: relative;
  512. }
  513. }
  514. }
  515. }
  516. ::v-deep .uni-textarea-placeholder {
  517. color: #999999;
  518. }
  519. ::v-deep .input-placeholder {
  520. font-family: "PingFang SC-Medium";
  521. color: #999;
  522. font-size: 28rpx;
  523. }
  524. @keyframes fadeIn {
  525. from {
  526. opacity: 0;
  527. transform: translateY(10rpx);
  528. }
  529. to {
  530. opacity: 1;
  531. transform: translateY(0);
  532. }
  533. }
  534. @keyframes rotate {
  535. from {
  536. transform: rotate(0deg);
  537. }
  538. to {
  539. transform: rotate(360deg);
  540. }
  541. }