Parcourir la source

优化 文章列表标题

Yahoo il y a 4 ans
Parent
commit
179305e9be
2 fichiers modifiés avec 6 ajouts et 4 suppressions
  1. 3 2
      components/page/article/index.vue
  2. 3 2
      pages/article/index.vue

+ 3 - 2
components/page/article/index.vue

@@ -80,8 +80,9 @@
       }
 
       .article-item__title {
-        max-height: 80rpx;
-        font-size: 30rpx;
+        max-height: 74rpx;
+        font-size: 28rpx;
+        line-height: 38rpx;
         color: #333;
       }
 

+ 3 - 2
pages/article/index.vue

@@ -248,8 +248,9 @@
     }
 
     .article-item__title {
-      max-height: 80rpx;
-      font-size: 30rpx;
+      max-height: 74rpx;
+      font-size: 28rpx;
+      line-height: 38rpx;
       color: #333;
     }