makeImgDetail.scss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. .makedetail-container {
  2. min-height: 100vh;
  3. background: #f5f5f5;
  4. padding: 0 20rpx;
  5. .header {
  6. display: flex;
  7. align-items: center;
  8. height: 88rpx;
  9. padding: 0 20rpx;
  10. .back-icon {
  11. font-size: 40rpx;
  12. }
  13. .title {
  14. flex: 1;
  15. text-align: center;
  16. font-size: 32rpx;
  17. font-weight: 500;
  18. }
  19. .right-info {
  20. display: flex;
  21. align-items: center;
  22. .coin, .diamond {
  23. margin-left: 20rpx;
  24. }
  25. }
  26. }
  27. .preview-section {
  28. margin: 20rpx 0;
  29. .preview-card {
  30. height: 400rpx;
  31. background: linear-gradient(to bottom right, #87CEEB, #90EE90);
  32. border-radius: 20rpx;
  33. display: flex;
  34. flex-direction: column;
  35. align-items: center;
  36. justify-content: center;
  37. .loading-text {
  38. color: #fff;
  39. font-size: 32rpx;
  40. margin-bottom: 10rpx;
  41. }
  42. .sub-text {
  43. color: rgba(255,255,255,0.8);
  44. font-size: 24rpx;
  45. }
  46. }
  47. }
  48. .section-title {
  49. font-size: 28rpx;
  50. font-weight: 500;
  51. margin-bottom: 20rpx;
  52. .required {
  53. color: #ff4d4f;
  54. }
  55. }
  56. .input-area {
  57. width: 100%;
  58. height: 200rpx;
  59. background: #fff;
  60. border-radius: 12rpx;
  61. padding: 20rpx;
  62. font-size: 28rpx;
  63. }
  64. .input-box {
  65. width: 100%;
  66. height: 80rpx;
  67. background: #fff;
  68. border-radius: 12rpx;
  69. padding: 0 20rpx;
  70. margin-bottom: 20rpx;
  71. }
  72. .tag-group {
  73. display: flex;
  74. flex-wrap: wrap;
  75. gap: 20rpx;
  76. .tag {
  77. padding: 10rpx 30rpx;
  78. background: #fff;
  79. border-radius: 30rpx;
  80. font-size: 26rpx;
  81. }
  82. }
  83. .style-scroll {
  84. white-space: nowrap;
  85. .style-item {
  86. display: inline-block;
  87. margin-right: 20rpx;
  88. text-align: center;
  89. flex-direction: column;
  90. image {
  91. width: 160rpx;
  92. height: 160rpx;
  93. border-radius: 12rpx;
  94. margin-bottom: 8rpx;
  95. }
  96. text {
  97. display: block;
  98. font-size: 24rpx;
  99. color: #333;
  100. }
  101. }
  102. }
  103. .bottom-button {
  104. padding: 40rpx 0;
  105. .generate-btn {
  106. width: 100%;
  107. height: 88rpx;
  108. background: #333;
  109. color: #fff;
  110. border-radius: 44rpx;
  111. font-size: 32rpx;
  112. display: flex;
  113. align-items: center;
  114. justify-content: center;
  115. }
  116. .promotion-link {
  117. text-align: center;
  118. margin-top: 20rpx;
  119. color: #2b85e4;
  120. font-size: 24rpx;
  121. }
  122. }
  123. .section-header {
  124. display: flex;
  125. justify-content: space-between;
  126. align-items: center;
  127. margin-bottom: 20rpx;
  128. .clear-text {
  129. display: flex;
  130. align-items: center;
  131. font-size: 24rpx;
  132. color: #666;
  133. image {
  134. width: 28rpx;
  135. height: 28rpx;
  136. margin-right: 8rpx;
  137. }
  138. }
  139. }
  140. .preview-title {
  141. font-size: 28rpx;
  142. font-weight: 500;
  143. margin-bottom: 20rpx;
  144. }
  145. .loading-icon {
  146. width: 60rpx;
  147. height: 60rpx;
  148. margin-bottom: 20rpx;
  149. }
  150. .word-count {
  151. text-align: right;
  152. font-size: 24rpx;
  153. color: #999;
  154. margin-top: 10rpx;
  155. }
  156. .style-item {
  157. &.active {
  158. image {
  159. border: 4rpx solid #2b85e4;
  160. }
  161. text {
  162. color: #2b85e4;
  163. }
  164. }
  165. }
  166. .right-info {
  167. .coin, .diamond {
  168. display: flex;
  169. align-items: center;
  170. image {
  171. width: 40rpx;
  172. height: 40rpx;
  173. margin-right: 8rpx;
  174. }
  175. text {
  176. font-size: 28rpx;
  177. color: #333;
  178. }
  179. }
  180. }
  181. }