master
Lee 2021-12-21 09:05:39 +08:00
parent 82402d2f03
commit c602266429
1 changed files with 10 additions and 6 deletions

View File

@ -2430,13 +2430,11 @@
padding: 0 4%; padding: 0 4%;
font-size: 12px; font-size: 12px;
line-height: 40px; line-height: 40px;
display: -webkit-box; display: inline-block;
/* 用省略号代替 */ white-space: nowrap;
text-overflow: ellipsis; width: 100%;
-webkit-box-orient: vertical;
word-break: break-all;
-webkit-line-clamp: 1;
overflow: hidden; overflow: hidden;
text-overflow:ellipsis;
} }
.pull-position .left img{ .pull-position .left img{
height: 12px; height: 12px;
@ -2581,10 +2579,16 @@
.product-txt h3, .product-detail-txt h3{ .product-txt h3, .product-detail-txt h3{
font-size: 22px; font-size: 22px;
color: #007EC0; color: #007EC0;
display: inline-block;
white-space: nowrap;
width: 100%;
overflow: hidden;
text-overflow:ellipsis;
} }
.product-txt h4, .product-detail-txt h4{ .product-txt h4, .product-detail-txt h4{
font-size: 22px; font-size: 22px;
color: #E73F7C; color: #E73F7C;
display: -webkit-box;-webkit-line-clamp: 2;word-break: break-all;overflow: hidden;text-overflow: ellipsis;-webkit-box-orient: vertical;
} }
.product-txt em, .product-detail-txt em{ .product-txt em, .product-detail-txt em{
width: 220px; width: 220px;