Ver Fonte

优化:商品名称字体大小统一为13.5px

萤火科技 há 1 ano atrás
pai
commit
c03e38120a

+ 6 - 7
components/page/diyComponents/goods/index.vue

@@ -200,10 +200,6 @@
           .goods-info {
             padding: 0;
 
-            .goods-name {
-              font-size: 27rpx;
-            }
-
             .footer {
               position: absolute;
               bottom: 16rpx;
@@ -242,7 +238,6 @@
             margin-right: 0;
           }
         }
-
       }
 
       // 3列
@@ -254,6 +249,10 @@
             margin-right: 0;
           }
         }
+
+        .goods-name {
+          font-size: 26rpx !important;
+        }
       }
 
       // 商品内容
@@ -298,7 +297,7 @@
           padding: 20rpx;
 
           .goods-name {
-            font-size: 26rpx;
+            font-size: 27rpx;
             color: #000;
             margin-bottom: 8rpx;
             // line-height: 1.3; // 用户端
@@ -312,7 +311,7 @@
             display: flex; // 解决文字超出无法隐藏
             font-size: 24rpx;
             margin-bottom: 8rpx;
-            height: 38rpx;
+            min-height: 38rpx;
           }
 
           .goods-sales {

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

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

+ 1 - 1
pages/checkout/style.scss

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

+ 2 - 2
pages/goods/list.vue

@@ -364,7 +364,7 @@
         margin-top: 10rpx;
         white-space: normal;
         color: #484848;
-        font-size: 26rpx;
+        font-size: 27rpx;
         // min-height: 68rpx;
         // line-height: 1.3;
       }
@@ -444,7 +444,7 @@
       .goods-name {
         white-space: normal;
         color: #484848;
-        font-size: 26rpx;
+        font-size: 27rpx;
         margin-bottom: 4rpx;
         // min-height: 68rpx;
         // line-height: 1.3;

+ 1 - 0
pages/refund/index.vue

@@ -200,6 +200,7 @@
       }
 
       .goods-name {
+        font-size: 27rpx;
         margin-bottom: 10rpx;
         // min-height: 68rpx;
         // line-height: 1.3;