Home.wxss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. .container {
  2. background-color: #fff;
  3. }
  4. .bannerBox {
  5. width: calc(100% - 40rpx);
  6. height: 300rpx;
  7. margin: 0 20rpx;
  8. border-radius: 20rpx;
  9. box-shadow: 0px 22px 10px -20px #c7c7c7;
  10. position: absolute;
  11. top: 0;
  12. left: 0;
  13. }
  14. .swiper {
  15. height: 100%;
  16. border-radius: 20rpx;
  17. }
  18. .swiperItem {
  19. border-radius: 20rpx;
  20. }
  21. .swiperImg {
  22. display: block;
  23. width: 100%;
  24. height: 100%;
  25. border-radius: 20rpx;
  26. }
  27. .contentBox {
  28. height: calc(100vh - 330rpx);
  29. margin-top: 320rpx;
  30. padding: 10rpx 20rpx 0;
  31. position: relative;
  32. z-index: 9;
  33. background-color: #fff;
  34. overflow-y: auto;
  35. }
  36. .operateBox {
  37. display: flex;
  38. justify-content: space-between;
  39. align-items: center;
  40. flex-flow: wrap;
  41. align-content: flex-start;
  42. }
  43. .operateItemBox {
  44. display: inline-block;
  45. width: calc(50% - 10rpx);
  46. padding-bottom: 20rpx;
  47. }
  48. .operateItem {
  49. display: inline-block;
  50. width: 100%;
  51. height: 100%;
  52. text-align: center;
  53. border-radius: 14rpx;
  54. position: relative;
  55. }
  56. .operateItemBGImg {
  57. width: 100%;
  58. height: 100%;
  59. }
  60. .operateItemText {
  61. position: absolute;
  62. bottom: 10%;
  63. left: 0rpx;
  64. width: calc(100% - 40rpx);
  65. padding: 0 20rpx;
  66. text-align: center;
  67. font-size: 22rpx;
  68. height: 64rpx;
  69. line-height: 32rpx;
  70. color: #777;
  71. white-space: pre-line;
  72. overflow: hidden;
  73. text-overflow: ellipsis;
  74. display: -webkit-box;
  75. -webkit-box-orient: vertical;
  76. -webkit-line-clamp: 2;
  77. }
  78. .container {
  79. background-color: #fff;
  80. }
  81. .contentBox {
  82. height: calc(100vh - 20rpx);
  83. padding: 20rpx 20rpx 0;
  84. position: relative;
  85. z-index: 9;
  86. background-color: #fff;
  87. overflow-y: auto;
  88. }
  89. .operateBox {
  90. display: flex;
  91. justify-content: space-between;
  92. align-items: center;
  93. flex-flow: wrap;
  94. align-content: flex-start;
  95. }
  96. .operateItemBox {
  97. display: inline-block;
  98. width: calc(50% - 10rpx);
  99. padding-bottom: 20rpx;
  100. }
  101. .operateItem {
  102. display: inline-block;
  103. width: 100%;
  104. height: 100%;
  105. text-align: center;
  106. border-radius: 14rpx;
  107. position: relative;
  108. }
  109. .operateItemBGImg {
  110. width: 100%;
  111. height: 100%;
  112. }
  113. .operateItemText {
  114. position: absolute;
  115. bottom: 10%;
  116. left: 0rpx;
  117. width: calc(100% - 40rpx);
  118. padding: 0 20rpx;
  119. text-align: center;
  120. font-size: 32rpx;
  121. line-height: 42rpx;
  122. color: #000;
  123. white-space: pre-line;
  124. overflow: hidden;
  125. text-overflow: ellipsis;
  126. display: -webkit-box;
  127. -webkit-box-orient: vertical;
  128. -webkit-line-clamp: 3;
  129. }
  130. /* 自定提示弹窗 */
  131. .popMask {
  132. position: fixed;
  133. left: 0;
  134. top: 0;
  135. right: 0;
  136. bottom: 0;
  137. display: flex;
  138. justify-content: center;
  139. align-items: center;
  140. background-color: rgba(0, 0, 0, 0.2);
  141. line-height: 1 !important;
  142. z-index: 99;
  143. }
  144. .popContent {
  145. width: 80%;
  146. line-height: 1 !important;
  147. }
  148. .popTips {
  149. width: 100%;
  150. font-size: 36rpx;
  151. color: #333;
  152. font-weight: bold;
  153. text-align: center;
  154. padding: 30rpx 0 10rpx;
  155. line-height: 1 !important;
  156. background-color: #fff;
  157. border-radius: 30rpx 30rpx 0 0;
  158. }
  159. .popBody {
  160. width: calc(100% - 40rpx);
  161. padding: 20rpx;
  162. font-size: 24rpx;
  163. color: #333;
  164. line-height: 1.5 !important;
  165. background-color: #fff;
  166. max-height: 600rpx;
  167. overflow-y: auto;
  168. word-break: break-all;
  169. }
  170. .popBtn {
  171. width: 100%;
  172. padding: 30rpx 0;
  173. text-align: center;
  174. font-size: 30rpx;
  175. letter-spacing: 2rpx;
  176. line-height: 1 !important;
  177. background-color: #fff;
  178. color: #3e6ffd;
  179. border-top: 2rpx #ebebeb solid;
  180. border-radius: 0 0 30rpx 30rpx;
  181. }