article_generator.wxss 3.4 KB

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