网上都是说在css里面加上“display : inline”这个样式不换行了,实际上并不是 正确做法是css加上:white-space:nowrap;——超出不换行 再加上:overflow:hidden;——超出部分隐藏