Explorar o código

优化 文章列表标题

Yahoo %!s(int64=4) %!d(string=hai) anos
pai
achega
179305e9be
Modificáronse 2 ficheiros con 6 adicións e 4 borrados
  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;
     }