拓恒河湖长制全民护河平台WEB端
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

295 lignes
5.9KB

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