Browse Source

修复:用户端商品标题部分手机溢出样式问题

萤火科技 1 năm trước cách đây
mục cha
commit
8afd222970

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

@@ -301,10 +301,10 @@
             font-size: 26rpx;
             color: #000;
             margin-bottom: 8rpx;
-            line-height: 1.3; // 用户端
+            // line-height: 1.3; // 用户端
 
             &.row-two {
-              min-height: 68rpx; // 用户端
+              // min-height: 68rpx; // 用户端
             }
           }
 

+ 2 - 2
pages/category/components/commodity.vue

@@ -289,9 +289,9 @@
     .goods-name {
       display: block;
       width: 100%;
-      min-height: 68rpx;
       font-size: 28rpx;
-      line-height: 1.3;
+      // min-height: 68rpx;
+      // line-height: 1.3;
       color: #333;
     }
   }

+ 2 - 2
pages/checkout/style.scss

@@ -77,8 +77,8 @@
   .goods-name {
     font-size: 28rpx;
     color: #333;
-    min-height: 68rpx;
-    line-height: 1.3;
+    // min-height: 68rpx;
+    // line-height: 1.3;
   }
 }
 

+ 4 - 4
pages/goods/list.vue

@@ -365,8 +365,8 @@
         white-space: normal;
         color: #484848;
         font-size: 26rpx;
-        min-height: 68rpx;
-        line-height: 1.3;
+        // min-height: 68rpx;
+        // line-height: 1.3;
       }
     }
 
@@ -446,8 +446,8 @@
         color: #484848;
         font-size: 26rpx;
         margin-bottom: 4rpx;
-        min-height: 68rpx;
-        line-height: 1.3;
+        // min-height: 68rpx;
+        // line-height: 1.3;
       }
 
       .detail-price {

+ 2 - 2
pages/refund/index.vue

@@ -201,8 +201,8 @@
 
       .goods-name {
         margin-bottom: 10rpx;
-        min-height: 68rpx;
-        line-height: 1.3;
+        // min-height: 68rpx;
+        // line-height: 1.3;
       }
 
       .goods-props {
        margin-top: 14rpx;
        color: #ababab;
        font-size: 24rpx;
        overflow: hidden;

        .goods-props-item {
          padding: 4rpx 16rpx;
          border-radius: 12rpx;
          background-color: #fcfcfc;
        }
      }