Files
ClassContent/项目合集/校园失物招领/min-tpl/pages/index/index.wxss
2024-09-27 02:06:13 +08:00

136 lines
2.3 KiB
Plaintext

.banner {
background-color: #ffd23c;
height: 400rpx;
border-bottom-right-radius: 80rpx;
border-bottom-left-radius: 80rpx;
padding-top: 30rpx;
box-sizing: border-box;
}
.content {
padding: 0 30rpx;
}
.swip {
box-shadow: 4rpx 4rpx 8rpx rgba(0, 0, 0, 0.3);
margin: 0 auto;
height: 280rpx;
width: 650rpx;
border-radius: 20rpx;
overflow: hidden;
}
.swip image {
width: 100%;
}
.search {
display: flex;
width: 100%;
background-color: #fff;
height: 90rpx;
margin: 0 auto;
margin-top: -40rpx;
border-radius: 60rpx;
align-items: center;
border: 1px solid #e2e2e2;
line-height: 90rpx;
}
.search image {
width: 50rpx;
height: 50rpx;
margin-left: 20rpx;
}
.search text {
padding-left: 30rpx;
color: #b6b6b6;
font-size: 30rpx;
flex: 1;
height: 100%;
padding-right: 30rpx;
}
.push {
margin-top: 30rpx;
display: flex;
justify-content: space-between;
}
.push .recruit{
width: 48%;
height: 260rpx;
background-color: #fff;
border-radius: 30rpx;
padding: 20rpx 30rpx;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: space-around;
}
.push .recruit .recruit_action{
display: flex;
align-items: center;
justify-content: space-between;
}
.push .recruit .recruit_action image{
width: 70rpx;
height: 70rpx;
}
.push .recruit .recruit_action .add{
background-color: #ffd23c;
width: 140rpx;
height: 70rpx;
text-align: center;
border-radius: 30rpx;
line-height: 70rpx;
}
.tips_text {
font-size: 24rpx;
color: rgb(175, 175, 175);
padding-left: 10rpx;
margin-top: 16rpx;
}
.hot_news {
background: #fff;
margin-top: 40rpx;
border-radius: 30rpx;
box-sizing: border-box;
padding: 20rpx 30rpx;
}
.hot_news .news_title {
display: flex;
align-items: center;
height: 80rpx;
margin-bottom: 20rpx;
}
.hot_news .news_title image{
width: 60rpx;
height: 60rpx;
}
.hot_news .news_title text{
font-size: 34rpx;
margin-left: 20rpx;
font-weight: 500;
}
.hot_news .news_content {
box-sizing: border-box;
padding-left: 19rpx;
}
.hot_news .news_content .news_item {
display: flex;
align-items: center;
margin-bottom: 19rpx;
}
.news_item text {
font-size: 28rpx;
}
.hot_news .news_content .news_item image{}
.hot_news .news_content .news_item .icon{
width: 30rpx;
height: 30rpx;
background: #ffd23c;
border-radius: 100%;
margin-right: 29rpx;
}