city-casereport/pages/index/index.wxss
2023-12-08 11:30:29 +08:00

271 lines
3.7 KiB
Plaintext

page {
background: #f2f1f6;
}
.page-container {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
}
.banner-bg {
background-color: #4583FE;
height: 150px;
width: 100%;
display: flex;
flex-direction: row;
justify-content: center;
}
.swiper-container {
position: fixed;
top: 3px;
width: 93%;
height: 184px;
}
.swiper-container-item {
width: 100%;
height: 100%;
border-radius: 11px;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.swiper-image {
width: 100%;
height: 100%;
}
.swiper-container-txt {
display: flex;
position: absolute;
bottom: 0px;
width: 100%;
line-height: 20px;
border-radius: 0px 0px 12px 12px;
background-color: rgba(0, 0, 0, 0.486);
padding: 3px;
color: white;
font-size: 14px;
}
.func-box {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin-top: 50px;
width: 93%;
align-self: center;
}
.func-item {
display: flex;
flex: 1;
flex-direction: column;
justify-content: center;
align-items: center;
}
.func-img {
width: 48px;
height: 48px;
}
.func-txt {
color: #505050;
font-size: 12px;
margin-top: 4px;
}
.notice-title {
font-size: 18px;
color: #000000;
}
.content-box {
padding: 10px;
width: 93%;
}
.scroll-content {
background-color: #ffffff;
border-radius: 10px;
padding: 5px;
width: 97%;
margin-top: 10px;
}
.notice-item {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
width: 93%;
padding: 5px;
}
.news-title {
font-size: 16px;
color: #000000;
}
.line {
width: 100%;
height: 1px;
background-color: #EFEFEF;
margin-top: 5px;
}
.news-desc {
display: flex;
flex-direction: row;
justify-content: space-between;
width: 100%;
margin-top: 10px;
}
.news-desc-source {
font-size: 12px;
color: #A9ABAE;
}
.news-desc-time {
font-size: 12px;
color: #A9ABAE;
}
/* .tab-box{
position: fixed;
top: 0;
left: 0;
right: 0;
height: 100rpx;
display: flex;
background: #fff;
overflow-x: auto;
}
.tab{
display: flex;
flex: 1;
flex-shrink: 0;
justify-content: center;
align-items: center;
font-size: 30rpx;
box-sizing: border-box;
}
.tab.active{
font-size: 36rpx;
color: #226cd9;
border-bottom: 3px solid #226cd9;
} */
.list {
/* margin-top: 100rpx; */
padding: 20rpx 20rpx 0;
}
.t-empty_image {
width: 48px !important;
height: 48px !important;
}
.list-box {
padding: 20rpx;
background: #fff;
border-radius: 10rpx;
margin-bottom: 20rpx;
display: flex;
justify-content: space-between;
}
.avatar,
.avatar image {
width: 150rpx;
height: 150rpx;
}
.case {
width: 500rpx;
}
.case-info {
border-bottom: 1px dashed #EEE;
}
.case-title {
display: flex;
justify-content: space-between;
margin-bottom: 10rpx;
}
.title {
font-size: 36rpx;
line-height: 60rpx;
display: inline-block;
max-width: 65%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.status {
line-height: 60rpx;
display: inline-block;
padding: 0 30rpx;
background: #fff7ec;
color: #fdc36e;
border-radius: 30rpx;
}
.status.green {
color: #2dfe2e;
background: rgba(45, 254, 46, 0.1)
}
.status.red {
color: red;
background: rgba(255, 0, 0, 0.1)
}
.case-desc {
font-size: 28rpx;
color: #888;
margin-bottom: 10rpx;
line-height: 60rpx;
}
.case-postion {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 28rpx;
color: #108aff;
margin-top: 10rpx;
}
.case-postion image {
width: 30rpx;
height: 28rpx;
}
.new-case {
position: fixed;
bottom: 40rpx;
right: 40rpx;
width: 120rpx;
height: 120rpx;
background: #108aff;
color: #fff;
border-radius: 50%;
padding: 20rpx;
box-sizing: border-box;
text-align: center;
}