makeMusicDetail.scss 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. .make-music-detail {
  2. width: 100%;
  3. min-height: 100vh;
  4. background: linear-gradient(to bottom, #ffffff, #f8f9fa);
  5. display: flex;
  6. flex-direction: column;
  7. .nav-bar {
  8. width: 750rpx;
  9. height: 96rpx;
  10. background: rgba(255, 255, 255, 0.95);
  11. backdrop-filter: blur(10px);
  12. display: flex;
  13. flex-direction: row;
  14. align-items: center;
  15. justify-content: space-between;
  16. padding: 0 24rpx;
  17. box-sizing: border-box;
  18. border-bottom: 1rpx solid rgba(0,0,0,0.05);
  19. box-shadow: 0 4rpx 20rpx rgba(0,0,0,0.08);
  20. position: sticky;
  21. top: 0;
  22. z-index: 100;
  23. .left {
  24. width: 120rpx;
  25. .uni-btn-icon {
  26. font-size: 50rpx;
  27. color: #2b2b2b;
  28. transition: all 0.3s ease;
  29. &:active {
  30. color: #007AFF;
  31. transform: scale(0.95);
  32. }
  33. }
  34. }
  35. .center {
  36. flex: 1;
  37. text-align: center;
  38. font-size: 34rpx;
  39. font-weight: 600;
  40. color: #333;
  41. }
  42. .right {
  43. width: 260rpx;
  44. display: flex;
  45. align-items: center;
  46. font-size: 28rpx;
  47. image {
  48. width: 42rpx;
  49. height: 42rpx;
  50. }
  51. .coinM, .coinC {
  52. display: flex;
  53. flex-direction: row;
  54. align-items: center;
  55. justify-content: center;
  56. border: solid 1px #f0f0f0;
  57. border-radius: 40rpx;
  58. background: rgba(250,250,250,0.9);
  59. transition: transform 0.2s, box-shadow 0.2s;
  60. box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.05);
  61. margin-left: 16rpx;
  62. &:active {
  63. transform: scale(0.98);
  64. }
  65. text {
  66. padding: 6rpx 20rpx;
  67. font-weight: 500;
  68. }
  69. }
  70. .coinM {
  71. border-color: #ffecb3;
  72. background: rgba(255,248,225,0.4);
  73. }
  74. .coinC {
  75. border-color: #e3f2fd;
  76. background: rgba(227,242,253,0.4);
  77. }
  78. }
  79. }
  80. .content {
  81. flex: 1;
  82. padding: 30rpx;
  83. .input-section {
  84. margin-bottom: 40rpx;
  85. animation: fadeIn 0.5s ease;
  86. .label {
  87. font-size: 32rpx;
  88. font-weight: 600;
  89. margin-bottom: 20rpx;
  90. display: block;
  91. color: #2b2b2b;
  92. }
  93. .input-field {
  94. width: 100%;
  95. height: 88rpx;
  96. border-radius: 16rpx;
  97. border: 2rpx solid #e8e8e8;
  98. padding: 0 30rpx;
  99. font-size: 28rpx;
  100. background: #fff;
  101. transition: all 0.3s ease;
  102. &:focus {
  103. border-color: #007AFF;
  104. box-shadow: 0 0 0 2rpx rgba(0,122,255,0.1);
  105. }
  106. }
  107. .textarea-field {
  108. width: 100%;
  109. border-radius: 16rpx;
  110. border: 2rpx solid #e8e8e8;
  111. padding: 30rpx;
  112. font-size: 28rpx;
  113. background: #fff;
  114. transition: all 0.3s ease;
  115. &:focus {
  116. border-color: #007AFF;
  117. box-shadow: 0 0 0 2rpx rgba(0,122,255,0.1);
  118. }
  119. }
  120. .textarea-footer {
  121. display: flex;
  122. justify-content: flex-end;
  123. align-items: center;
  124. margin-top: 16rpx;
  125. .ai-btn {
  126. color: #007AFF;
  127. font-size: 28rpx;
  128. font-weight: 500;
  129. padding: 10rpx 20rpx;
  130. border-radius: 30rpx;
  131. background: rgba(0,122,255,0.1);
  132. transition: all 0.3s ease;
  133. &:active {
  134. background: rgba(0,122,255,0.2);
  135. transform: scale(0.98);
  136. }
  137. }
  138. }
  139. .count {
  140. font-size: 24rpx;
  141. color: #999;
  142. }
  143. }
  144. .style-section {
  145. .label {
  146. font-size: 32rpx;
  147. font-weight: 600;
  148. margin-bottom: 20rpx;
  149. display: block;
  150. color: #2b2b2b;
  151. }
  152. .tabs {
  153. display: flex;
  154. gap: 40rpx;
  155. margin-bottom: 30rpx;
  156. border-bottom: 2rpx solid #f0f0f0;
  157. padding-bottom: 15rpx;
  158. text {
  159. font-size: 28rpx;
  160. color: #666;
  161. position: relative;
  162. padding-bottom: 15rpx;
  163. transition: all 0.3s ease;
  164. &.active {
  165. color: #007AFF;
  166. font-weight: 600;
  167. &:after {
  168. content: '';
  169. position: absolute;
  170. bottom: -17rpx;
  171. left: 0;
  172. width: 100%;
  173. height: 4rpx;
  174. background: #007AFF;
  175. border-radius: 4rpx;
  176. }
  177. }
  178. }
  179. }
  180. .tags {
  181. display: flex;
  182. flex-wrap: wrap;
  183. gap: 20rpx;
  184. .tag {
  185. padding: 12rpx 30rpx;
  186. background: #f5f5f5;
  187. border-radius: 40rpx;
  188. font-size: 28rpx;
  189. transition: all 0.3s ease;
  190. border: 2rpx solid transparent;
  191. &.active {
  192. background: rgba(0,122,255,0.1);
  193. color: #007AFF;
  194. border-color: #007AFF;
  195. }
  196. &:active {
  197. transform: scale(0.98);
  198. }
  199. }
  200. }
  201. }
  202. }
  203. .preview-section {
  204. padding: 30rpx;
  205. .preview-card {
  206. background: #fff;
  207. border-radius: 20rpx;
  208. padding: 40rpx;
  209. display: flex;
  210. flex-direction: column;
  211. align-items: center;
  212. box-shadow: 0 4rpx 20rpx rgba(0,0,0,0.08);
  213. .loading-icon {
  214. width: 120rpx;
  215. height: 120rpx;
  216. margin-bottom: 30rpx;
  217. animation: rotate 2s linear infinite;
  218. }
  219. .loading-text {
  220. font-size: 32rpx;
  221. color: #333;
  222. margin-bottom: 16rpx;
  223. text-align: center;
  224. }
  225. .sub-text {
  226. font-size: 28rpx;
  227. color: #999;
  228. }
  229. }
  230. }
  231. .bottom-section {
  232. padding: 40rpx 30rpx;
  233. background: rgba(255,255,255,0.95);
  234. backdrop-filter: blur(10px);
  235. border-top: 2rpx solid rgba(0,0,0,0.05);
  236. .submit-btn {
  237. width: 100%;
  238. height: 88rpx;
  239. background: linear-gradient(135deg, #007AFF, #00b4ff);
  240. color: #fff;
  241. border-radius: 44rpx;
  242. display: flex;
  243. align-items: center;
  244. justify-content: center;
  245. font-size: 32rpx;
  246. font-weight: 600;
  247. transition: all 0.3s ease;
  248. box-shadow: 0 8rpx 20rpx rgba(0,122,255,0.3);
  249. &:active {
  250. transform: scale(0.98);
  251. box-shadow: 0 4rpx 10rpx rgba(0,122,255,0.2);
  252. }
  253. .small {
  254. font-size: 24rpx;
  255. margin-left: 10rpx;
  256. font-weight: normal;
  257. opacity: 0.9;
  258. }
  259. }
  260. .promotion-text {
  261. text-align: center;
  262. margin-top: 20rpx;
  263. .link-text {
  264. color: #007AFF;
  265. font-size: 24rpx;
  266. text-decoration: underline;
  267. opacity: 0.9;
  268. transition: opacity 0.3s ease;
  269. &:active {
  270. opacity: 0.7;
  271. }
  272. }
  273. }
  274. }
  275. }
  276. @keyframes fadeIn {
  277. from {
  278. opacity: 0;
  279. transform: translateY(10rpx);
  280. }
  281. to {
  282. opacity: 1;
  283. transform: translateY(0);
  284. }
  285. }
  286. @keyframes rotate {
  287. from {
  288. transform: rotate(0deg);
  289. }
  290. to {
  291. transform: rotate(360deg);
  292. }
  293. }