Files
HTFX-CRM-APP/pages/toolsAndReport/index.scss

120 lines
1.9 KiB
SCSS
Raw Normal View History

2025-07-07 15:55:44 +08:00
.container {
padding: 0 40upx 16px;
.title {
margin: 14px 0 15px;
}
.content {
display: flex;
flex-direction: column;
row-gap: 40upx;
margin-top: 40upx;
}
.news-list {
width: 100%;
display: flex;
flex-wrap: wrap;
row-gap: 40upx;
justify-content: space-between;
}
.top-news {
width: 100%;
box-shadow: -1px 0px 5px 1px rgba(0, 0, 0, 0.15);
cursor: pointer;
.img {
width: 100%;
height: 378upx;
vertical-align: bottom;
}
.info {
padding: 36upx 40upx;
.news-title {
font-size: 36upx;
font-weight: 500;
color: rgba(0, 0, 0, 1);
margin-bottom: 36upx;
}
.news-footer {
width: 100%;
color: rgba(153, 153, 153, 1);
font-size: 24upx;
font-weight: 400;
display: flex;
align-items: center;
.icon {
width: 18upx;
height: 18upx;
margin-right: 15upx;
vertical-align: bottom;
}
}
}
}
.news-item {
width: 325upx;
height: 354upx;
box-shadow: -1px 0px 5px 1px rgba(0, 0, 0, 0.15);
cursor: pointer;
.img {
width: 100%;
height: 184upx;
vertical-align: bottom;
}
.info {
padding: 30upx 20upx 24upx;
min-height: 170upx;
box-sizing: border-box;
display: flex;
flex-direction: column;
.news-title {
font-size: 36upx;
font-weight: 500;
margin-bottom: auto;
font-size: 28upx;
font-weight: 500;
color: rgba(0, 0, 0, 1);
}
.news-footer {
width: 100%;
color: rgba(153, 153, 153, 1);
font-size: 24upx;
font-weight: 400;
display: flex;
align-items: center;
.icon {
width: 18upx;
height: 18upx;
margin-right: 15upx;
vertical-align: bottom;
}
}
}
}
}
.uni-ellipsis-2 {
/* #ifndef APP-NVUE */
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
/* #endif */
/* #ifdef APP-NVUE */
lines: 2;
text-overflow: ellipsis;
/* #endif */
}