/* pages/FirstPage/index.wxss */ .first_container { width: 100%; min-height: calc(100vh - 112rpx); padding-bottom: 112rpx; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; color: #333333; background-color: rgba(240, 242, 245, 1); } .first_head { width: 100%; padding: 10rpx 30rpx; background-color: #ffffff; justify-content: flex-start; align-items: center; } .select_location { width: 150rpx; height: 60rpx; line-height: 60rpx; text-align: center; background-color: rgba(42, 130, 228, 1); border-radius: 10rpx; color: #fff; font-size: 24rpx; } .main_container { width: 100%; padding: 0 30rpx; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; } .banner { width: 100%; } .banner_image { width: 100%; height: 380rpx; } /* 公告 */ .announcement { display: flex; height: 70rpx; width: 100%; margin-top: 10rpx; padding: 0 30rpx; background: #ffffff; align-items: center; justify-content: space-between; border-radius: 8rpx; } .announcement_img { width: 66rpx; height: 34rpx; display: flex; justify-content: center; align-items: center; border-radius: 10rpx; background: linear-gradient(90deg, rgba(75, 146, 254, 0.81) 0%, rgba(101, 163, 255, 0.42) 100%); } .announcement_icon { width: 20rpx; height: 16rpx; } .announcement_text { font-size: 16rpx; color: #fff; } .announcement-swiper { width: 548rpx; height: 100%; } .announcement-swiper-item { display: flex; justify-content: space-between; align-items: center; font-size: 30rpx; font-family: "PingFangSC-Regular", "PingFang SC"; font-weight: normal; color: #333333; line-height: 42rpx; } .overflow_ellipsis { width: 300rpx; font-size: 26rpx; color: rgba(0, 0, 0, 0.7); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .inform_date { font-size: 24rpx; color: rgba(0, 0, 0, 0.5); } /* 快捷入口 */ .fast_enters { width: 100%; margin-top: 20rpx; padding: 20rpx 40rpx; background-color: #ffffff; border-radius: 8rpx; display: flex; align-items: center; flex-wrap: wrap; flex: 0 0 25%; } .enter_item:nth-child(4n+0) { margin-right: 0; } .enter_item { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 10rpx; margin-bottom: 10rpx; margin-right: 35rpx; } .enter_icon { width: 110rpx; height: 110rpx; margin-bottom: 14rpx; } .enter_title { font-size: 24rpx; font-weight: bold; color: #354D6EFF; } /* 在线人数 */ .live_box { width: 100%; margin-top: 20rpx; position: relative; } .live_bg { width: 100%; /* height: 180rpx; */ height: 140rpx; } .live_message { width: 100%; /* height: 180rpx; */ height: 140rpx; /* padding: 35rpx 60rpx; */ padding: 22rpx 60rpx; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; z-index: 999; position: absolute; top: 0; left: 0; } /* 河道展示 */ .rivers_box { width: 100%; margin-top: 20rpx; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; border-radius: 8rpx; } .rivers_title { width: 100%; padding: 10rpx 20rpx; background-color: #ffffff; font-weight: 700; font-size: 34rpx; } .rivers_list { width: 100%; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; } .river_item { width: 100%; margin-bottom: 20rpx; padding: 20rpx; display: flex; justify-content: space-between; align-items: center; background-color: #ffffff; } .river_image { width: 180rpx; height: 180rpx; } .river_info { height: 180rpx; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; font-size: 28rpx; } .text_box { margin: 10rpx; display: flex; justify-content: flex-start; align-items: center; } .info_item { width: 280rpx; margin-left: 10rpx; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .info_icon { width: 24rpx; height: 24rpx; } .river_button { width: 140rpx; height: 60rpx; font-size: 28rpx; color: #fff; line-height: 60rpx; text-align: center; background-color: #2a82e4; border-radius: 8rpx; align-self: flex-end; }