商品css优化

feat/task1-c-wallet
devil_gong 2019-09-17 17:19:17 +08:00
parent ab8dd9375e
commit a5c22c8aa0
5 changed files with 5 additions and 5 deletions

View File

@ -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; }

View File

@ -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; }

View File

@ -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; }

View File

@ -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; }

View File

@ -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; }