.all_box { justify-content: center; } .titles { color: #333333; background-color: #C0C0C0; font-size: 35upx; line-height: 80upx; height: 80upx; text-align: center; margin-bottom: 35upx; } .title_box { margin: 15upx 70upx; display: flex; font-size: 30upx; border-bottom: #C0C0C0 solid 1upx; } .title_box text { padding: 5upx 35upx 15upx 5upx; } .storage_title{ width: 26%; padding: 5upx 0upx 15upx 5upx; } .storage_box { padding: 5upx 0upx 15upx 0upx; width: 66%; max-height: 35upx; overflow: hidden; word-break: break-all; /* break-all(允许在单词内换行。) */ text-overflow: ellipsis; /* 超出部分省略号 */ display: -webkit-box; /** 对象作为伸缩盒子模型显示 **/ -webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/ -webkit-line-clamp: 1; /** 显示的行数 **/ } .title_button { margin: 50upx 100upx; } .title_button button { background-color: #FF0000; color: #FFFFFF; font-size: 26upx; }