拓恒河湖长制全民护河平台WEB端
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

243 lines
4.7KB

  1. /* pages/FirstPage/index.wxss */
  2. .first_container {
  3. width: 100%;
  4. min-height: calc(100vh - 112rpx);
  5. padding-bottom: 112rpx;
  6. display: flex;
  7. flex-direction: column;
  8. justify-content: flex-start;
  9. align-items: center;
  10. color: #333333;
  11. background-color: rgba(240, 242, 245, 1);
  12. }
  13. .first_head {
  14. width: 100%;
  15. padding: 10rpx 30rpx;
  16. background-color: #ffffff;
  17. justify-content: flex-start;
  18. align-items: center;
  19. }
  20. .select_location {
  21. width: 150rpx;
  22. height: 60rpx;
  23. line-height: 60rpx;
  24. text-align: center;
  25. background-color: rgba(42, 130, 228, 1);
  26. border-radius: 10rpx;
  27. color: #fff;
  28. font-size: 24rpx;
  29. }
  30. .main_container {
  31. width: 100%;
  32. padding: 0 30rpx;
  33. display: flex;
  34. flex-direction: column;
  35. justify-content: flex-start;
  36. align-items: center;
  37. }
  38. .banner {
  39. width: 100%;
  40. }
  41. .banner_image {
  42. width: 100%;
  43. height: 380rpx;
  44. }
  45. /* 公告 */
  46. .announcement {
  47. display: flex;
  48. height: 70rpx;
  49. width: 100%;
  50. margin-top: 10rpx;
  51. padding: 0 30rpx;
  52. background: #ffffff;
  53. align-items: center;
  54. justify-content: space-between;
  55. border-radius: 8rpx;
  56. }
  57. .announcement_img {
  58. width: 66rpx;
  59. height: 34rpx;
  60. display: flex;
  61. justify-content: center;
  62. align-items: center;
  63. border-radius: 10rpx;
  64. background: linear-gradient(90deg, rgba(75, 146, 254, 0.81) 0%, rgba(101, 163, 255, 0.42) 100%);
  65. }
  66. .announcement_icon {
  67. width: 20rpx;
  68. height: 16rpx;
  69. }
  70. .announcement_text {
  71. font-size: 16rpx;
  72. color: #fff;
  73. }
  74. .announcement-swiper {
  75. width: 548rpx;
  76. height: 100%;
  77. }
  78. .announcement-swiper-item {
  79. display: flex;
  80. justify-content: space-between;
  81. align-items: center;
  82. font-size: 30rpx;
  83. font-family: "PingFangSC-Regular", "PingFang SC";
  84. font-weight: normal;
  85. color: #333333;
  86. line-height: 42rpx;
  87. }
  88. .overflow_ellipsis {
  89. width: 300rpx;
  90. font-size: 26rpx;
  91. color: rgba(0, 0, 0, 0.7);
  92. overflow: hidden;
  93. white-space: nowrap;
  94. text-overflow: ellipsis;
  95. }
  96. .inform_date {
  97. font-size: 24rpx;
  98. color: rgba(0, 0, 0, 0.5);
  99. }
  100. /* 快捷入口 */
  101. .fast_enters {
  102. width: 100%;
  103. margin-top: 20rpx;
  104. /* padding: 20rpx 40rpx; */
  105. background-color: #ffffff;
  106. border-radius: 8rpx;
  107. display: flex;
  108. align-items: center;
  109. flex-wrap: wrap;
  110. flex: 0 0 25%;
  111. justify-content:space-between;
  112. }
  113. .fast_enters:after {
  114. content: "";
  115. flex: 0 0 325rpx;
  116. }
  117. .enter_item {
  118. width: 21%;
  119. display: flex;
  120. flex-direction: column;
  121. align-items: center;
  122. padding: 10rpx;
  123. margin-bottom: 10rpx;
  124. /* margin-right: 27rpx; */
  125. }
  126. .enter_item:nth-child(4n+0) {
  127. margin-right: 0;
  128. }
  129. .enter_icon {
  130. width: 110rpx;
  131. height: 110rpx;
  132. margin-bottom: 14rpx;
  133. }
  134. .enter_title {
  135. font-size: 24rpx;
  136. font-weight: bold;
  137. color: #354D6EFF;
  138. }
  139. /* 在线人数 */
  140. .live_box {
  141. width: 100%;
  142. margin-top: 20rpx;
  143. position: relative;
  144. }
  145. .live_bg {
  146. width: 100%;
  147. /* height: 180rpx; */
  148. height: 140rpx;
  149. }
  150. .live_message {
  151. width: 100%;
  152. /* height: 180rpx; */
  153. height: 140rpx;
  154. /* padding: 35rpx 60rpx; */
  155. padding: 22rpx 60rpx;
  156. display: flex;
  157. flex-direction: column;
  158. justify-content: space-between;
  159. align-items: flex-start;
  160. z-index: 999;
  161. position: absolute;
  162. top: 0;
  163. left: 0;
  164. }
  165. /* 河道展示 */
  166. .rivers_box {
  167. width: 100%;
  168. margin-top: 20rpx;
  169. display: flex;
  170. flex-direction: column;
  171. justify-content: flex-start;
  172. align-items: flex-start;
  173. border-radius: 8rpx;
  174. }
  175. .rivers_title {
  176. width: 100%;
  177. padding: 10rpx 20rpx;
  178. background-color: #ffffff;
  179. font-weight: 700;
  180. font-size: 34rpx;
  181. }
  182. .rivers_list {
  183. width: 100%;
  184. display: flex;
  185. flex-direction: column;
  186. justify-content: flex-start;
  187. align-items: flex-start;
  188. }
  189. .river_item {
  190. width: 100%;
  191. margin-bottom: 20rpx;
  192. padding: 20rpx;
  193. display: flex;
  194. justify-content: space-between;
  195. align-items: center;
  196. background-color: #ffffff;
  197. }
  198. .river_image {
  199. width: 180rpx;
  200. height: 180rpx;
  201. }
  202. .river_info {
  203. height: 180rpx;
  204. display: flex;
  205. flex-direction: column;
  206. justify-content: flex-start;
  207. align-items: flex-start;
  208. font-size: 28rpx;
  209. }
  210. .text_box {
  211. margin: 10rpx;
  212. display: flex;
  213. justify-content: flex-start;
  214. align-items: center;
  215. }
  216. .info_item {
  217. width: 280rpx;
  218. margin-left: 10rpx;
  219. overflow: hidden;
  220. white-space: nowrap;
  221. text-overflow: ellipsis;
  222. }
  223. .info_icon {
  224. width: 24rpx;
  225. height: 24rpx;
  226. }
  227. .river_button {
  228. width: 140rpx;
  229. height: 60rpx;
  230. font-size: 28rpx;
  231. color: #fff;
  232. line-height: 60rpx;
  233. text-align: center;
  234. background-color: #2a82e4;
  235. border-radius: 8rpx;
  236. align-self: flex-end;
  237. }