/* 设置一行展示 */
.row_1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 设置两行展示 */
.row_2 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  text-overflow: -o-ellipsis-lastline;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
}

/* 设置3行展示 */
.row_3 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  text-overflow: -o-ellipsis-lastline;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  word-break: break-all;
}

.nowrap {
  white-space: nowrap;
}