article_generator.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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. gap: 20rpx;
  55. width: 650rpx;
  56. }
  57. .difficulty-item {
  58. display: flex;
  59. align-items: center;
  60. gap: 10rpx;
  61. font-size: 28rpx;
  62. color: #333;
  63. }
  64. /* 生成按钮样式 */
  65. .generate-btn {
  66. width: 100% !important;
  67. margin-top: 20rpx;
  68. }
  69. /* 文章区域样式 */
  70. .article-content {
  71. font-size: 36rpx;
  72. line-height: 1.6;
  73. margin-bottom: 40rpx;
  74. border-radius: 8rpx;
  75. width: 650rpx;
  76. }
  77. .translation-item {
  78. margin-bottom: 20rpx;
  79. padding: 10rpx 0;
  80. border-bottom: 1rpx solid #f0f0f0;
  81. width: 100%;
  82. }
  83. .article-content1 {
  84. margin-bottom: 8rpx;
  85. color: #333;
  86. width: 100%;
  87. display: block;
  88. }
  89. .article-content2 {
  90. color: #666;
  91. font-size: 28rpx;
  92. padding-left: 20rpx;
  93. border-left: 4rpx solid #1890ff;
  94. margin-top: 8rpx;
  95. width: calc(100% - 24rpx);
  96. display: block;
  97. }
  98. .AnswerSelected{
  99. background-color: #27AE60;
  100. color:#fff;
  101. }
  102. .Question{
  103. width:90%;
  104. margin: 30rpx 0;
  105. align-items: flex-start;
  106. }
  107. .Question1{
  108. font-size:36rpx;
  109. font-weight: 700;
  110. }
  111. .Options{
  112. font-size:32rpx;
  113. margin: 15rpx 0;
  114. }
  115. .Answer{
  116. width:650rpx;
  117. justify-content: flex-start;
  118. }
  119. .Answer1{
  120. width:80rpx;
  121. margin: 0 10rpx;
  122. }
  123. .highlight{
  124. color: #1890ff;
  125. font-weight: bold;
  126. }
  127. .article-canvas {
  128. position: fixed;
  129. left: -9999px;
  130. visibility: hidden;
  131. }
  132. .generate-image-btn {
  133. width: 80% !important;
  134. margin: 30rpx auto !important;
  135. background-color: #1890ff;
  136. color: #fff;
  137. }