You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
109 lines
1.9 KiB
109 lines
1.9 KiB
/* pages/home/home.wxss */
|
|
.list {
|
|
font-family: PingFangSC-Regular;
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
color: #333333;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.card {
|
|
background-color: #fff;
|
|
border: 1px solid #ddd;
|
|
border-radius: 8px;
|
|
/* padding: 10px; */
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
margin-top: 12px;
|
|
margin-bottom: 12px;
|
|
position: relative;
|
|
}
|
|
|
|
.absolute-header {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
z-index: 100;
|
|
color: #fff;
|
|
text-align: center;
|
|
}
|
|
|
|
.card2 {
|
|
background-color: #fff;
|
|
/* border: 0px 1px 1px 1px solid #ddd; */
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
/* 底部的边框 */
|
|
border-top: none;
|
|
border-radius: 8px;
|
|
/* padding: 10px; */
|
|
/* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
|
|
margin-bottom: 12px;
|
|
|
|
}
|
|
|
|
.image-container {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 99px;
|
|
}
|
|
|
|
.background-image {
|
|
width: 100%;
|
|
height: 99px;
|
|
}
|
|
|
|
.overlay-content {
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 10px;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
/* justify-content: center; */
|
|
/* flex-direction: column; */
|
|
/* 其他样式属性,根据需要添加 */
|
|
}
|
|
|
|
.fontStyle {
|
|
width: 18px;
|
|
height: 17px;
|
|
font-family: D-DINExp;
|
|
font-weight: DINExp;
|
|
font-size: 16px;
|
|
color: #1684FF;
|
|
letter-spacing: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
/* //巡检次数 */
|
|
.count {
|
|
width: 56px;
|
|
height: 20px;
|
|
font-family: PingFangSC-Medium;
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
color: #333333;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.only {
|
|
/* width: 72px; */
|
|
height: 17px;
|
|
font-family: PingFangSC-Regular;
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
color: #333333;
|
|
letter-spacing: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.ellipsis {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 4;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|