HTML
<div class="wrapper">
<div class="left">
左边文本内容.........
</div>
<div class="right">
这里是右边固定内容
</div>
</div>
CSS
.wrapper{
display: flex;
justify-content: space-between;
}
.left{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}