guide.wxss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. page {
  2. background: #f6f6f6;
  3. display: flex;
  4. flex-direction: column;
  5. justify-content: flex-start;
  6. }
  7. .list {
  8. margin-top: 40rpx;
  9. height: auto;
  10. width: 100%;
  11. background: #fff;
  12. padding: 0 40rpx;
  13. border: 1px solid rgba(0, 0, 0, 0.1);
  14. border-left: none;
  15. border-right: none;
  16. transition: all 300ms ease;
  17. display: flex;
  18. flex-direction: column;
  19. align-items: stretch;
  20. box-sizing: border-box;
  21. }
  22. .list-item {
  23. width: 100%;
  24. padding: 0;
  25. line-height: 104rpx;
  26. font-size: 34rpx;
  27. color: #007aff;
  28. border-top: 1px solid rgba(0, 0, 0, 0.1);
  29. display: flex;
  30. flex-direction: row;
  31. align-content: center;
  32. justify-content: space-between;
  33. box-sizing: border-box;
  34. }
  35. .list-item:first-child {
  36. border-top: none;
  37. }
  38. .list-item image {
  39. max-width: 100%;
  40. max-height: 20vh;
  41. margin: 20rpx 0;
  42. }
  43. .request-text {
  44. color: #222;
  45. padding: 20rpx 0;
  46. font-size: 24rpx;
  47. line-height: 36rpx;
  48. word-break: break-all;
  49. }
  50. .guide {
  51. width: 100%;
  52. padding: 40rpx;
  53. box-sizing: border-box;
  54. display: flex;
  55. flex-direction: column;
  56. }
  57. .guide .headline {
  58. font-size: 34rpx;
  59. font-weight: bold;
  60. color: #555;
  61. line-height: 40rpx;
  62. }
  63. .guide .p {
  64. margin-top: 20rpx;
  65. font-size: 28rpx;
  66. line-height: 36rpx;
  67. color: #666;
  68. }
  69. .guide .code {
  70. margin-top: 20rpx;
  71. font-size: 28rpx;
  72. line-height: 36rpx;
  73. color: #666;
  74. background: white;
  75. white-space: pre;
  76. }
  77. .guide .code-dark {
  78. margin-top: 20rpx;
  79. background: rgba(0, 0, 0, 0.8);
  80. padding: 20rpx;
  81. font-size: 28rpx;
  82. line-height: 36rpx;
  83. border-radius: 6rpx;
  84. color: #fff;
  85. white-space: pre
  86. }
  87. .guide image {
  88. max-width: 100%;
  89. }
  90. .guide .image1 {
  91. margin-top: 20rpx;
  92. max-width: 100%;
  93. width: 356px;
  94. height: 47px;
  95. }
  96. .guide .image2 {
  97. margin-top: 20rpx;
  98. width: 264px;
  99. height: 100px;
  100. }
  101. .guide .flat-image {
  102. height: 100px;
  103. }
  104. .guide .code-image {
  105. max-width: 100%;
  106. }
  107. .guide .copyBtn {
  108. width: 180rpx;
  109. font-size: 20rpx;
  110. margin-top: 16rpx;
  111. margin-left: 0;
  112. }
  113. .guide .nav {
  114. margin-top: 50rpx;
  115. display: flex;
  116. flex-direction: row;
  117. align-content: space-between;
  118. }
  119. .guide .nav .prev {
  120. margin-left: unset;
  121. }
  122. .guide .nav .next {
  123. margin-right: unset;
  124. }