wxy 4 роки тому
батько
коміт
0be42af379
1 змінених файлів з 4 додано та 2 видалено
  1. 4 2
      src/views/channel/index.vue

+ 4 - 2
src/views/channel/index.vue

@@ -105,6 +105,7 @@ export default {
       height: 120px;
       height: 120px;
       border-radius: 5px;
       border-radius: 5px;
       margin: 0 0 10px 0;
       margin: 0 0 10px 0;
+      position: relative;
       .video {
       .video {
         height: 100%;
         height: 100%;
         .el-image {
         .el-image {
@@ -128,13 +129,14 @@ export default {
           overflow: hidden;
           overflow: hidden;
           text-overflow: ellipsis;
           text-overflow: ellipsis;
           display: -webkit-box;
           display: -webkit-box;
-          -webkit-line-clamp: 2;
+          -webkit-line-clamp: 3;
           -webkit-box-orient: vertical;
           -webkit-box-orient: vertical;
           font-size: 12px;
           font-size: 12px;
         }
         }
         .time {
         .time {
-          margin-top: 9px;
           font-size: 12px;
           font-size: 12px;
+          position: absolute;
+          bottom: 10px;
         }
         }
       }
       }
     }
     }