<style lang="scss" rel="stylesheet/scss">
.xxxx{
white-space: nowrap;
text-overflow:ellipsis;
overflow:hidden;
}
</style>
註釋:
white-space: nowrap; 文本強制不換行;
text-overflow:ellipsis; 文本溢出顯示省略號;
overflow:hidden; 溢出的部分隱藏;