page { background-color: #ffffff; padding: 0; } swiper { height: 100%; } image { width: 100%; height: 100%; } .container { display: flex; flex-direction: column; min-height: calc(100vh - 120rpx); width: 100%; position: relative; } .searchBox { display: flex; align-items: center; position: absolute; left: 0; z-index: 2; } .searchBox_add { margin-left: 38rpx; } .emptyCommunity { font-size: 28rpx; color: #222222; width: 200rpx; height: 44rpx; background: rgba(255, 255, 255, 0.8); border-radius: 100rpx 100rpx 100rpx 100rpx; display: flex; align-items: center; justify-content: center; } .MyCommunity { display: flex; align-items: center; justify-content: space-between; white-space: nowrap; font-size: 28rpx; color: #222222; padding: 2rpx 14rpx; background: rgba(255, 255, 255, 0.8); border-radius: 100rpx 100rpx 100rpx 100rpx; } .MyCommunity image { width: 28rpx; height: 28rpx; } .MyCommunity span { margin: 0 10rpx; } .swiperBox1 { height: 500rpx; width: 750rpx; position: relative; } .swiperBox1 swiper { height: 100%; } .swiperBox1::after { content: ''; width: 100%; position: absolute; left: 0; bottom: 0; height: 120rpx; /* 从上到下 透明渐变成白色 */ background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%); } .dot { position: absolute; left: 50%; transform: translateX(-50%); bottom: 107rpx; display: flex; align-items: center; justify-content: center; } .dotItem { width: 11rpx; height: 11rpx; background: rgba(255, 55, 11, 0.8); border-radius: 100rpx 100rpx 100rpx 100rpx; margin: 0 5rpx; } .swiperBox2_img{ border-radius: 20rpx 20rpx 0 0; } .active { width: 26rpx; } .swiperBox2 { height: 150rpx; width: 710rpx; margin: 0 auto; margin-top: -96rpx; } .funcList { display: flex; align-items: center; flex-wrap: wrap; margin-top: 37rpx; } .funcItem { width: 20%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 28rpx; color: #222222; } .funcItem image { width: 100rpx; height: 100rpx; margin-bottom: 16rpx; } .ads { width: 710rpx; height: 200rpx; margin: 0 auto; margin-top: 40rpx; } .ads_first{ margin-top: 0; } .tabs { margin-top: 32rpx; display: flex; align-items: center; background: #F6F6FA; height: 100rpx; padding: 0 20rpx; box-sizing: border-box; overflow-x: auto; white-space: nowrap; } .tabItem { font-size: 30rpx; color: #222222; margin-right: 60rpx; white-space: nowrap; } .active2 { font-size: 30rpx; font-weight: 700; position: relative; } .active2::after { content: ''; background: url(https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/com_active.png) no-repeat; background-size: 100% 100%; width: 52rpx; height: 22rpx; position: absolute; left: 50%; bottom: -16rpx; transform: translateX(-50%); } .newsItem { display: flex; align-items: center; justify-content: space-between; padding: 30rpx 0; margin: 0 20rpx; box-sizing: border-box; border-bottom: 1rpx solid #EBEBEB; } .newsItem_left { flex: 1; } .newsItem_left_tit { font-size: 32rpx; color: #222222; margin-bottom: 10rpx; } .newsItem_left_sub { font-size: 26rpx; color: #999999; } .newsItem_right { width: 180rpx; height: 160rpx; border-radius: 20rpx; overflow: hidden; } .tips { font-size: 26rpx; color: #999999; text-align: center; background-color: #f6f6fa; padding: 40rpx; } .bigAds { position: fixed; left: 0; right: 0; top: 0; bottom: 0; background: rgba(0, 0, 0, 0.16); z-index: 3; display: flex; align-items: center; justify-content: center; } .bigAdsCon { display: flex; flex-direction: column; align-items: center; justify-content: center; } .bigAdsCon .bigAdsCon_img { width: 660rpx; height: 700rpx; } .bigAdsCon .close { width: 50rpx; height: 50rpx; margin-top: 53rpx; } .bigAdsCon2 { width: 600rpx; height: 480rpx; background: #FFFFFF; border-radius: 20rpx 20rpx 20rpx 20rpx; box-sizing: border-box; padding: 23rpx 20rpx 0; } .bigAdsCon2_img { width: 560rpx; height: 308rpx; } .AdsBtnList { margin-top: 35rpx; display: flex; align-items: center; justify-content: space-between; padding: 0 25rpx; box-sizing: border-box; } .AdsBtnItem1 { width: 230rpx; height: 70rpx; background: #D9D9D9; border-radius: 100rpx 100rpx 100rpx 100rpx; display: flex; align-items: center; justify-content: center; font-size: 36rpx; color: #222222; } .AdsBtnItem2 { width: 230rpx; height: 70rpx; background: #FF370B; border-radius: 100rpx 100rpx 100rpx 100rpx; display: flex; align-items: center; justify-content: center; font-size: 36rpx; color: #FFFFFF; } .grid_Pic { width: 100rpx; height: 100rpx; margin-bottom: 16rpx; }