Przeglądaj źródła

优化 文章列表标题

Yahoo 4 lat temu
rodzic
commit
179305e9be
2 zmienionych plików z 6 dodań i 4 usunięć
  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 {
       .article-item__title {
-        max-height: 80rpx;
-        font-size: 30rpx;
+        max-height: 74rpx;
+        font-size: 28rpx;
+        line-height: 38rpx;
         color: #333;
         color: #333;
       }
       }
 
 

+ 3 - 2
pages/article/index.vue

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