makeImgDetail.scss 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482
  1. .makedetail-container {
  2. min-height: 100vh;
  3. background: #f8f9fa;
  4. padding: 0 0rpx;
  5. font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  6. .nav-bar {
  7. width: 750rpx;
  8. height: 96rpx;
  9. background-color: #fff;
  10. display: flex;
  11. flex-direction: row;
  12. align-items: center;
  13. justify-content: space-between;
  14. padding: 0 24rpx;
  15. box-sizing: border-box;
  16. border-bottom: 1rpx solid #f0f0f0;
  17. box-shadow: 0 2rpx 10rpx rgba(0,0,0,0.05);
  18. .left {
  19. width: 120rpx;
  20. .uni-btn-icon {
  21. font-size: 50rpx;
  22. color: #333;
  23. transition: color 0.2s;
  24. &:active {
  25. color: #2b85e4;
  26. }
  27. }
  28. }
  29. .center {
  30. flex: 1;
  31. text-align: center;
  32. font-size: 34rpx;
  33. font-weight: 600;
  34. color: #333;
  35. }
  36. .right {
  37. width: 260rpx;
  38. display: flex;
  39. align-items: center;
  40. font-size: 28rpx;
  41. image {
  42. width: 42rpx;
  43. height: 42rpx;
  44. }
  45. .coinM, .coinC {
  46. display: flex;
  47. flex-direction: row;
  48. align-items: center;
  49. justify-content: center;
  50. border: solid 1px #f0f0f0;
  51. border-radius: 40rpx;
  52. background: rgba(250,250,250,0.9);
  53. transition: transform 0.2s, box-shadow 0.2s;
  54. box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.05);
  55. margin-left: 16rpx;
  56. &:active {
  57. transform: scale(0.98);
  58. }
  59. text {
  60. padding: 6rpx 20rpx;
  61. font-weight: 500;
  62. }
  63. }
  64. .coinM {
  65. border-color: #ffecb3;
  66. background: rgba(255,248,225,0.4);
  67. }
  68. .coinC {
  69. border-color: #e3f2fd;
  70. background: rgba(227,242,253,0.4);
  71. }
  72. }
  73. }
  74. .preview-section {
  75. margin: 30rpx 30rpx;
  76. .preview-title {
  77. font-size: 30rpx;
  78. font-weight: 600;
  79. margin-bottom: 20rpx;
  80. color: #333;
  81. position: relative;
  82. padding-left: 20rpx;
  83. &:before {
  84. content: '';
  85. position: absolute;
  86. left: 0;
  87. top: 6rpx;
  88. height: 32rpx;
  89. width: 8rpx;
  90. background: #2b85e4;
  91. border-radius: 4rpx;
  92. }
  93. }
  94. .preview-card {
  95. height: 420rpx;
  96. background: linear-gradient(135deg, #3494E6, #EC6EAD);
  97. border-radius: 24rpx;
  98. display: flex;
  99. flex-direction: column;
  100. align-items: center;
  101. justify-content: center;
  102. box-shadow: 0 8rpx 30rpx rgba(52, 148, 230, 0.15);
  103. overflow: hidden;
  104. position: relative;
  105. &:before {
  106. content: '';
  107. position: absolute;
  108. width: 200%;
  109. height: 200%;
  110. background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
  111. top: -50%;
  112. left: -50%;
  113. }
  114. .loading-icon {
  115. width: 80rpx;
  116. height: 80rpx;
  117. margin-bottom: 20rpx;
  118. animation: spin 2s linear infinite;
  119. }
  120. @keyframes spin {
  121. from { transform: rotate(0deg); }
  122. to { transform: rotate(360deg); }
  123. }
  124. .loading-text {
  125. color: #fff;
  126. font-size: 34rpx;
  127. margin-bottom: 16rpx;
  128. font-weight: 500;
  129. text-shadow: 0 2rpx 4rpx rgba(0,0,0,0.2);
  130. }
  131. .sub-text {
  132. color: rgba(255,255,255,0.9);
  133. font-size: 26rpx;
  134. }
  135. }
  136. }
  137. .description-section, .action-section, .environment-section, .image-section, .style-section {
  138. margin: 30rpx 30rpx;
  139. background: #fff;
  140. border-radius: 20rpx;
  141. padding: 30rpx;
  142. box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.05);
  143. }
  144. .section-title {
  145. font-size: 30rpx;
  146. font-weight: 600;
  147. margin-bottom: 24rpx;
  148. color: #333;
  149. position: relative;
  150. .required {
  151. color: #ff4d4f;
  152. margin-left: 4rpx;
  153. }
  154. }
  155. .input-area {
  156. width: 100%;
  157. height: 200rpx;
  158. background: #f9f9f9;
  159. border-radius: 16rpx;
  160. padding: 24rpx;
  161. font-size: 28rpx;
  162. border: 1rpx solid #f0f0f0;
  163. transition: border-color 0.3s, box-shadow 0.3s;
  164. &:focus {
  165. border-color: #2b85e4;
  166. box-shadow: 0 0 0 2rpx rgba(43,133,228,0.2);
  167. }
  168. }
  169. .input-box {
  170. width: 100%;
  171. height: 88rpx;
  172. background: #f9f9f9;
  173. border-radius: 16rpx;
  174. padding: 0 24rpx;
  175. margin-bottom: 24rpx;
  176. border: 1rpx solid #f0f0f0;
  177. transition: border-color 0.3s, box-shadow 0.3s;
  178. &:focus {
  179. border-color: #2b85e4;
  180. box-shadow: 0 0 0 2rpx rgba(43,133,228,0.2);
  181. }
  182. }
  183. .tag-group {
  184. display: flex;
  185. flex-wrap: wrap;
  186. gap: 20rpx;
  187. .tag {
  188. padding: 12rpx 32rpx;
  189. background: #f5f7fa;
  190. border-radius: 36rpx;
  191. font-size: 26rpx;
  192. color: #666;
  193. transition: all 0.3s;
  194. border: 1rpx solid transparent;
  195. box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.03);
  196. &:active {
  197. background: #e3f2fd;
  198. color: #2b85e4;
  199. border-color: #2b85e4;
  200. }
  201. }
  202. }
  203. .style-scroll {
  204. white-space: nowrap;
  205. padding: 10rpx 0;
  206. .style-item {
  207. display: inline-block;
  208. margin-right: 24rpx;
  209. text-align: center;
  210. flex-direction: column;
  211. transition: transform 0.3s;
  212. &:active {
  213. transform: scale(0.97);
  214. }
  215. image {
  216. width: 180rpx;
  217. height: 180rpx;
  218. border-radius: 16rpx;
  219. margin-bottom: 12rpx;
  220. box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.1);
  221. transition: all 0.3s;
  222. border: 4rpx solid transparent;
  223. }
  224. text {
  225. display: block;
  226. font-size: 26rpx;
  227. color: #666;
  228. transition: color 0.3s;
  229. }
  230. }
  231. }
  232. .bottom-button {
  233. padding: 40rpx 30rpx;
  234. .generate-btn {
  235. width: 100%;
  236. height: 96rpx;
  237. background: linear-gradient(135deg, #2b85e4, #1976d2);
  238. color: #fff;
  239. border-radius: 48rpx;
  240. font-size: 34rpx;
  241. font-weight: 600;
  242. display: flex;
  243. align-items: center;
  244. justify-content: center;
  245. box-shadow: 0 8rpx 20rpx rgba(43,133,228,0.3);
  246. letter-spacing: 2rpx;
  247. transition: transform 0.2s, box-shadow 0.2s;
  248. &:active {
  249. transform: scale(0.98);
  250. box-shadow: 0 4rpx 10rpx rgba(43,133,228,0.2);
  251. }
  252. }
  253. .promotion-link {
  254. text-align: center;
  255. margin-top: 30rpx;
  256. color: #2b85e4;
  257. font-size: 26rpx;
  258. text {
  259. position: relative;
  260. &:after {
  261. content: '';
  262. position: absolute;
  263. width: 100%;
  264. height: 1rpx;
  265. background: currentColor;
  266. bottom: -4rpx;
  267. left: 0;
  268. opacity: 0.5;
  269. }
  270. }
  271. }
  272. }
  273. .section-header {
  274. display: flex;
  275. justify-content: space-between;
  276. align-items: center;
  277. margin-bottom: 24rpx;
  278. .clear-text {
  279. display: flex;
  280. align-items: center;
  281. font-size: 24rpx;
  282. color: #999;
  283. transition: color 0.3s;
  284. &:active {
  285. color: #ff4d4f;
  286. }
  287. image {
  288. width: 28rpx;
  289. height: 28rpx;
  290. margin-right: 8rpx;
  291. }
  292. }
  293. }
  294. .word-count {
  295. text-align: right;
  296. font-size: 24rpx;
  297. color: #999;
  298. margin-top: 12rpx;
  299. }
  300. .style-item {
  301. &.active {
  302. image {
  303. border: 4rpx solid #2b85e4;
  304. box-shadow: 0 0 0 2rpx rgba(43,133,228,0.3);
  305. }
  306. text {
  307. color: #2b85e4;
  308. font-weight: 500;
  309. }
  310. }
  311. }
  312. .right-info {
  313. .coin, .diamond {
  314. display: flex;
  315. align-items: center;
  316. image {
  317. width: 40rpx;
  318. height: 40rpx;
  319. margin-right: 8rpx;
  320. }
  321. text {
  322. font-size: 28rpx;
  323. color: #333;
  324. }
  325. }
  326. }
  327. }
  328. /* 添加新样式 */
  329. .lyrics-overlay {
  330. position: absolute;
  331. top: 0;
  332. left: 0;
  333. right: 0;
  334. bottom: 0;
  335. display: flex;
  336. justify-content: center;
  337. align-items: center;
  338. background-color: rgba(0, 0, 0, 0.4);
  339. padding: 30rpx;
  340. .lyrics-text {
  341. color: #fff;
  342. font-size: 36rpx;
  343. text-align: center;
  344. text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.5);
  345. font-weight: 500;
  346. line-height: 1.6;
  347. }
  348. }
  349. .play-button {
  350. position: absolute;
  351. top: 50%;
  352. left: 50%;
  353. transform: translate(-50%, -50%);
  354. width: 120rpx;
  355. height: 120rpx;
  356. background-color: rgba(0, 0, 0, 0.6);
  357. border-radius: 60rpx;
  358. display: flex;
  359. justify-content: center;
  360. align-items: center;
  361. z-index: 10;
  362. .fa {
  363. color: #fff;
  364. font-size: 60rpx;
  365. }
  366. &:active {
  367. background-color: rgba(0, 0, 0, 0.8);
  368. transform: translate(-50%, -50%) scale(0.95);
  369. }
  370. }
  371. .creation-details {
  372. margin-top: 30rpx;
  373. .detail-item {
  374. margin-bottom: 20rpx;
  375. .detail-label {
  376. font-size: 28rpx;
  377. color: #666;
  378. margin-right: 10rpx;
  379. }
  380. .detail-value {
  381. font-size: 28rpx;
  382. color: #333;
  383. }
  384. }
  385. }
  386. .status-info {
  387. margin-top: 40rpx;
  388. .queue-info {
  389. .queue-text {
  390. font-size: 28rpx;
  391. color: #666;
  392. margin-bottom: 10rpx;
  393. }
  394. .progress-bar {
  395. height: 16rpx;
  396. background-color: #f0f0f0;
  397. border-radius: 8rpx;
  398. overflow: hidden;
  399. .progress-fill {
  400. height: 100%;
  401. background: linear-gradient(90deg, #2979ff, #36d6ff);
  402. border-radius: 8rpx;
  403. }
  404. }
  405. }
  406. }
  407. .error-message {
  408. margin-top: 30rpx;
  409. padding: 20rpx;
  410. background-color: #fff5f5;
  411. border-radius: 12rpx;
  412. border-left: 8rpx solid #ff5151;
  413. .error-text {
  414. font-size: 28rpx;
  415. color: #ff5151;
  416. }
  417. }