@fle-ui/plus-im-record
Version:
80 lines (74 loc) • 1.44 kB
text/less
@prefix: chart-messages-item;
.@{prefix}-goods {
max-width: 272px;
min-width: 200px;
padding-bottom: 2px;
background-color: #fff;
&-order {
margin: 0 12px;
font-size: 14px;
padding-bottom: 8px;
padding-top: 8px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #eee;
&-text {
flex: 1;
white-space: nowrap; // 添加此行
text-overflow: ellipsis; // 添加此行
overflow: hidden;
}
&-copy {
font-size: 16px;
color: #aaa;
transition: 0.3;
&:hover {
color: #2c6bffff;
}
&:active {
color: #2c6bffff;
transform: scale(1.1);
}
}
}
&-info {
display: flex;
flex-flow: row;
padding: 12px;
cursor: pointer;
border-radius: 4px;
&-img {
flex-shrink: 0;
border-radius: 3px;
width: 72px;
height: 72px;
margin-right: 6px;
overflow: hidden;
object-fit: fill;
}
img {
width: 100%;
object-fit: contain;
}
&-right {
flex: 1;
overflow: hidden;
}
&-price {
font-size: 12px;
font-weight: 600;
color: #e10b19;
}
}
&-tip {
margin-top: 5px;
height: 24px;
padding-left: 5px;
line-height: 24px;
background: rgba(225, 11, 25, 0.06);
border-radius: 4px;
color: #e10b19;
font-size: 12px;
}
}