商品css优化
parent
ab8dd9375e
commit
a5c22c8aa0
|
|
@ -168,7 +168,7 @@ ul.address-list, .business-item ul { overflow: hidden; }
|
|||
* 商品列表
|
||||
*/
|
||||
.goods-items table.am-table tr th { font-weight: 500; }
|
||||
.goods-detail img { width: 80px; height: 80px; position: absolute; }
|
||||
.goods-detail img { width: 80px; height: 80px; position: absolute; left: 0; top: 0; }
|
||||
.goods-detail { position: relative; min-height: 80px; }
|
||||
.goods-title { display: block; max-height: 36px; overflow: hidden; text-overflow: ellipsis; }
|
||||
.goods-title:hover { text-decoration: underline; }
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
* 商品列表
|
||||
*/
|
||||
.order-goods .base { width: 50%; }
|
||||
.goods-detail img { width: 80px; height: 80px; position: absolute; border: 1px solid #eee; }
|
||||
.goods-detail img { width: 80px; height: 80px; position: absolute; border: 1px solid #eee; left: 0; top: 0; }
|
||||
.goods-detail { position: relative; min-height: 80px; }
|
||||
.goods-title { display: block; max-height: 36px; overflow: hidden; text-overflow: ellipsis; }
|
||||
.goods-title:hover { text-decoration: underline; }
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ table.data-ongoing .base-operate { border-top: 1px dashed #daf3ff; }
|
|||
* 商品列表
|
||||
*/
|
||||
.goods-detail { position: relative; min-height: 80px; }
|
||||
.goods-detail img { width: 80px; height: 80px; position: absolute; left: 0; }
|
||||
.goods-detail img { width: 80px; height: 80px; position: absolute; left: 0; top: 0; }
|
||||
.goods-title { display: -webkit-box; max-height: 36px; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
|
||||
.goods-title:hover { text-decoration: underline; }
|
||||
.goods-base { float: left; top: 0; margin-left: 85px; }
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* 商品列表
|
||||
*/
|
||||
.goods-detail img { width: 80px; height: 80px; position: absolute; border: 1px solid #eee; }
|
||||
.goods-detail img { width: 80px; height: 80px; position: absolute; border: 1px solid #eee; left: 0; top: 0; }
|
||||
.goods-detail { position: relative; min-height: 80px; }
|
||||
.goods-title { display: block; max-height: 36px; overflow: hidden; text-overflow: ellipsis; }
|
||||
.goods-title:hover { text-decoration: underline; }
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* 商品列表
|
||||
*/
|
||||
.user-content-body .goods-detail img { width: 80px; height: 80px; position: absolute; }
|
||||
.user-content-body .goods-detail img { width: 80px; height: 80px; position: absolute; left: 0; top: 0; }
|
||||
.user-content-body .goods-detail { position: relative; min-height: 80px; }
|
||||
.user-content-body .goods-title { display: block; max-height: 36px; overflow: hidden; text-overflow: ellipsis; }
|
||||
.user-content-body .goods-title:hover { text-decoration: underline; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue