@cmstops/pro-compo
Version:
[物料平台文档中心](https://arco.design/docs/material/guide)
215 lines (184 loc) • 4.04 kB
text/less
.matrix-records-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%;
}
}
.batch-select {
position: absolute;
top: 3px;
left: 0;
}
.no-img {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
color: white;
font-size: 30px;
&.weixin {
font-size: 20px;
background: #89be89;
border-radius: 6px;
}
}
}
.info-view {
display: flex;
flex: 1;
flex-direction: column;
justify-content: space-between;
padding: 2px 0;
.title {
display: flex;
align-items: center;
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 {
color: #4886ff;
text-decoration: underline;
.index {
text-decoration: unset;
}
}
}
.abttrite-v {
display: flex;
align-items: center;
justify-content: space-between;
.left {
display: flex;
flex: 1;
align-items: center;
min-width: 800px;
color: #808692;
font-size: 12px;
.abttr {
display: inline-block;
width: 130px;
margin-right: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
cursor: pointer;
&.time {
width: 25%;
}
&.user {
width: 15%;
}
&.tags {
display: flex;
align-items: center;
width: 190px;
}
}
.account {
margin-left: 10px;
.avatar-v {
position: relative;
.avatar {
width: 25px;
height: 25px;
margin-right: 10px;
border-radius: 50%;
}
.pla-icon {
position: absolute;
right: -5px;
bottom: 1px;
width: 12px;
height: 12px;
margin-right: 10px;
border-radius: 50%;
}
img {
width: 100%;
height: 100%;
}
}
}
.state {
width: 15%;
cursor: pointer;
&::before {
display: inline-block;
width: 6px;
height: 6px;
margin-right: 5px;
background-color: currentColor;
border-radius: 50%;
content: '';
}
&.p-state-1 {
// 处理中
color: rgb(var(--primary-6));
}
&.p-state-2 {
// 成功
color: #4caf50;
}
&.p-state-3,
&.p-state-4 {
// 审核
color: #ff9800;
}
&.m-state-0 {
// 成功
color: #4caf50;
}
&.m-state--1,
&.m-state-1,
&.m-state-2,
&.m-state-3,
&.m-state-4,
&.m-state-5,
&.m-state-6,
&.m-state-7,
&.m-state-8,
&.m-state-9,
&.m-state-10,
&.m-state-11,
&.m-state-12,
&.m-state-13 {
// 异常
color: #ff9800;
}
}
}
.right {
flex-shrink: 0;
min-width: 80px;
margin-right: 20px;
text-align: end;
}
}
}
}