article_generator.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. .container {
  2. background-color: #fff;
  3. color:#000;
  4. }
  5. .section {
  6. margin-bottom: 30rpx;
  7. background: #fff;
  8. border-radius: 10rpx;
  9. padding: 20rpx;
  10. width: 650rpx;
  11. box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.1);
  12. }
  13. .section-title {
  14. font-size: 32rpx;
  15. font-weight: bold;
  16. color: #333;
  17. margin-bottom: 10rpx;
  18. }
  19. .section-title1 {
  20. font-size: 24rpx;
  21. font-weight: 400;
  22. color: #999;
  23. margin-bottom: 20rpx;
  24. }
  25. /* 单词列表样式 */
  26. .word-list {
  27. display: flex;
  28. flex-wrap: wrap;
  29. gap: 20rpx;
  30. margin-bottom: 20rpx;
  31. width: 650rpx;
  32. }
  33. .word-item {
  34. padding: 10rpx 20rpx;
  35. background: #f5f5f5;
  36. border-radius: 10rpx;
  37. font-size: 28rpx;
  38. color: #666;
  39. border: 2rpx solid transparent;
  40. transition: all 0.3s;
  41. }
  42. .word-item.selected {
  43. background: #e6f3ff;
  44. color: #0066cc;
  45. border-color: #0066cc;
  46. }
  47. .selected-count {
  48. font-size: 28rpx;
  49. color: #666;
  50. text-align: right;
  51. }
  52. /* 难度选择样式 */
  53. .difficulty-group {
  54. display: flex;
  55. flex-direction: column;
  56. width: 650rpx;
  57. }
  58. .two-column-layout {
  59. display: flex;
  60. flex-direction: column;
  61. width: 100%;
  62. }
  63. .style-options-container {
  64. display: flex;
  65. flex-wrap: wrap;
  66. width: 100%;
  67. gap: 10rpx;
  68. }
  69. .difficulty-item {
  70. display: flex;
  71. align-items: center;
  72. gap: 10rpx;
  73. font-size: 28rpx;
  74. color: #333;
  75. width: calc(50% - 10rpx);
  76. box-sizing: border-box;
  77. padding: 10rpx;
  78. }
  79. .style-option{
  80. font-size:28rpx;
  81. }
  82. .full-width {
  83. width: 100% !important;
  84. }
  85. /* 生成按钮样式 */
  86. .generate-btn {
  87. width: 100% !important;
  88. margin-top: 20rpx;
  89. }
  90. /* 文章区域样式 */
  91. .article-content {
  92. font-size: 36rpx;
  93. line-height: 1.6;
  94. margin-bottom: 40rpx;
  95. border-radius: 8rpx;
  96. width: 650rpx;
  97. }
  98. .translation-item {
  99. margin-bottom: 20rpx;
  100. padding: 10rpx 0;
  101. border-bottom: 1rpx solid #f0f0f0;
  102. width: 100%;
  103. }
  104. .article-content1 {
  105. margin-bottom: 8rpx;
  106. color: #333;
  107. width: 100%;
  108. display: block;
  109. }
  110. .article-content2 {
  111. color: #666;
  112. font-size: 28rpx;
  113. padding-left: 20rpx;
  114. border-left: 4rpx solid #1890ff;
  115. margin-top: 8rpx;
  116. width: calc(100% - 24rpx);
  117. display: block;
  118. }
  119. .AnswerSelected{
  120. background-color: #27AE60;
  121. color:#fff;
  122. }
  123. .Question{
  124. width:90%;
  125. margin: 30rpx 0;
  126. align-items: flex-start;
  127. }
  128. .Question1{
  129. font-size:36rpx;
  130. font-weight: 700;
  131. }
  132. .Options{
  133. font-size:32rpx;
  134. margin: 15rpx 0;
  135. }
  136. .Answer{
  137. width:650rpx;
  138. justify-content: flex-start;
  139. }
  140. .Answer1{
  141. width:80rpx;
  142. margin: 0 10rpx;
  143. }
  144. .highlight{
  145. color: #1890ff;
  146. font-weight: bold;
  147. }
  148. .article-canvas {
  149. position: fixed;
  150. left: -9999px;
  151. visibility: hidden;
  152. }
  153. /* 按钮组样式 */
  154. .button-group {
  155. display: flex;
  156. justify-content: space-between;
  157. gap: 20rpx;
  158. width: 100%;
  159. padding: 0 20rpx;
  160. box-sizing: border-box;
  161. }
  162. .generate-image-btn {
  163. flex: 1;
  164. margin: 30rpx 0 !important;
  165. background-color: #1890ff;
  166. color: #fff;
  167. font-size: 36rpx;
  168. padding: 0 10rpx;
  169. line-height: 80rpx;
  170. }
  171. /* 文章类型选择样式 */
  172. .style-category {
  173. width: 100%;
  174. font-size: 28rpx;
  175. color: #666;
  176. padding: 10rpx 0;
  177. margin-top: 20rpx;
  178. margin-bottom: 10rpx;
  179. font-weight: bold;
  180. border-bottom: 1rpx solid #eee;
  181. }
  182. .difficulty-group radio-group {
  183. display: flex;
  184. flex-wrap: wrap;
  185. width: 100%;
  186. }
  187. .difficulty-item {
  188. width: 50%;
  189. box-sizing: border-box;
  190. padding: 10rpx;
  191. }
  192. .difficulty-item radio {
  193. transform: scale(0.8);
  194. }
  195. .difficulty-item text {
  196. font-size: 28rpx;
  197. color: #333;
  198. }
  199. /* 难度选择保持单列 */
  200. .difficulty-select radio-group {
  201. flex-direction: column;
  202. }
  203. .difficulty-select .difficulty-item {
  204. width: 100%;
  205. }