agreement.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. .agreement-container {
  2. /* display: flex;
  3. flex-direction: column; */
  4. height: 100vh;
  5. background-color: #fff;
  6. }
  7. .agreement-header {
  8. display: flex;
  9. align-items: center;
  10. justify-content: space-between;
  11. height: 90rpx;
  12. background-color: #fff;
  13. padding: 0 30rpx;
  14. position: relative;
  15. border-bottom: 1rpx solid #eee;
  16. }
  17. .back-btn {
  18. width: 60rpx;
  19. height: 60rpx;
  20. display: flex;
  21. align-items: center;
  22. justify-content: center;
  23. }
  24. .icon-back {
  25. font-size: 40rpx;
  26. color: #333;
  27. }
  28. .title {
  29. font-size: 34rpx;
  30. font-weight: 500;
  31. color: #333;
  32. }
  33. .placeholder {
  34. width: 60rpx;
  35. }
  36. .agreement-content {
  37. width: 100%;
  38. padding: 20rpx 30rpx;
  39. box-sizing: border-box;
  40. background-color: #fff;
  41. }
  42. .agreement-title {
  43. font-size: 36rpx;
  44. font-weight: bold;
  45. text-align: center;
  46. margin-bottom: 40rpx;
  47. color: #333;
  48. }
  49. .section {
  50. margin-bottom: 30rpx;
  51. }
  52. .section-title {
  53. font-size: 32rpx;
  54. font-weight: 500;
  55. color: #333;
  56. margin-bottom: 20rpx;
  57. }
  58. .section-content {
  59. font-size: 28rpx;
  60. color: #666;
  61. line-height: 1.6;
  62. }
  63. .paragraph {
  64. display: block;
  65. margin-bottom: 20rpx;
  66. text-align: justify;
  67. }
  68. .loading, .error {
  69. display: flex;
  70. flex-direction: column;
  71. align-items: center;
  72. justify-content: center;
  73. padding: 40rpx;
  74. color: #666;
  75. font-size: 28rpx;
  76. }
  77. .error {
  78. color: #ff4d4f;
  79. }
  80. .retry-btn {
  81. margin-top: 20rpx;
  82. padding: 10rpx 30rpx;
  83. background-color: #1890ff;
  84. color: #fff;
  85. border-radius: 8rpx;
  86. font-size: 28rpx;
  87. }
  88. /* Markdown 样式 */
  89. .markdown-content {
  90. font-size: 28rpx;
  91. line-height: 1.6;
  92. color: #333;
  93. }
  94. .markdown-content h1 {
  95. font-size: 36rpx;
  96. font-weight: bold;
  97. margin: 30rpx 0 20rpx 0;
  98. color: #333;
  99. }
  100. .markdown-content h2 {
  101. font-size: 32rpx;
  102. font-weight: bold;
  103. margin: 25rpx 0 15rpx 0;
  104. color: #333;
  105. }
  106. .markdown-content h3 {
  107. font-size: 30rpx;
  108. font-weight: bold;
  109. margin: 20rpx 0 10rpx 0;
  110. color: #333;
  111. }
  112. .markdown-content p {
  113. margin-bottom: 20rpx;
  114. text-align: justify;
  115. }
  116. .markdown-content strong {
  117. font-weight: bold;
  118. color: #333;
  119. }
  120. .markdown-content em {
  121. font-style: italic;
  122. }
  123. .markdown-content a {
  124. color: #1890ff;
  125. text-decoration: underline;
  126. }
  127. .markdown-content code {
  128. background-color: #f5f5f5;
  129. padding: 2rpx 8rpx;
  130. border-radius: 4rpx;
  131. font-family: 'Courier New', monospace;
  132. font-size: 24rpx;
  133. }
  134. .markdown-content pre {
  135. background-color: #f5f5f5;
  136. padding: 20rpx;
  137. border-radius: 8rpx;
  138. margin: 20rpx 0;
  139. overflow-x: auto;
  140. }
  141. .markdown-content pre code {
  142. background: none;
  143. padding: 0;
  144. font-size: 24rpx;
  145. line-height: 1.4;
  146. }
  147. .markdown-content ul {
  148. margin: 20rpx 0;
  149. padding-left: 40rpx;
  150. }
  151. .markdown-content li {
  152. margin-bottom: 10rpx;
  153. list-style-type: disc;
  154. }