@cmstops/pro-compo
Version:
[物料平台文档中心](https://arco.design/docs/material/guide)
133 lines (113 loc) • 2.27 kB
text/less
.medialist-component-item-view {
display: flex;
// width: 100%;
padding: 10px;
border-bottom: 1px solid #f0f0f0;
&:hover {
background: #fafafa;
}
.cover-view {
position: relative;
flex-shrink: 0;
width: 110px;
height: 70px;
margin-right: 20px;
background: #edf3ff;
.image {
width: 100%;
height: 100%;
border-radius: 4px;
img {
width: 100%;
height: 100%;
}
}
.no-img {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
color: white;
font-size: 30px;
}
}
.info-view {
display: flex;
flex: 1;
flex-direction: column;
justify-content: space-between;
padding: 2px 0;
.title {
display: flex;
align-items: center;
width: calc(100% - 50px);
margin-bottom: 10px;
overflow: hidden;
color: #1d2129;
font-weight: 400;
font-size: 16px;
font-style: normal;
line-height: 22px;
cursor: pointer;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
&:hover {
.title_i {
color: #4886ff;
text-decoration: underline;
}
}
.title_i {
margin-right: 10px;
}
}
.abttrite-v {
display: flex;
align-items: center;
justify-content: space-between;
.left {
display: flex;
align-items: center;
color: #808692;
font-size: 12px;
.abttr {
display: inline-block;
width: 130px;
margin-right: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
&.time {
width: 240px;
}
&.tags {
display: flex;
align-items: center;
width: 175px;
}
}
.icon {
margin-right: 10px;
}
}
.right {
margin-right: 20px;
}
}
}
.title-tips {
display: flex;
align-items: center;
margin-left: 10px;
color: #a3a3a3;
font-size: 10px;
.icon {
margin-right: 5px;
font-size: 10px;
}
&.red {
color: red;
}
}
}