Kaynağa Gözat

修复:商品列表错位问题

萤火科技 4 yıl önce
ebeveyn
işleme
f17b722314
2 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 2 2
      components/page/goods/index.vue
  2. 2 2
      pages/goods/list.vue

+ 2 - 2
components/page/goods/index.vue

@@ -134,7 +134,7 @@
           background: #fff;
 
           .goods-name {
-            height: 70rpx;
+            min-height: 68rpx;
             line-height: 1.3;
             white-space: normal;
             color: #484848;
@@ -214,7 +214,7 @@
 
           .goods-name {
             margin-top: 20rpx;
-            height: 70rpx;
+            min-height: 68rpx;
             line-height: 1.3;
             white-space: normal;
             color: #484848;

+ 2 - 2
pages/goods/list.vue

@@ -362,7 +362,7 @@
 
       .goods-name {
         margin-top: 10rpx;
-        height: 70rpx;
+        min-height: 68rpx;
         line-height: 1.3;
         white-space: normal;
         color: #484848;
@@ -442,7 +442,7 @@
       background: #fff;
 
       .goods-name {
-        height: 70rpx;
+        min-height: 68rpx;
         line-height: 32rpx;
         white-space: normal;
         color: #484848;