wxy 4 éve
szülő
commit
b514bf5bdb

+ 1 - 0
src/views/kjpx/index.vue

@@ -257,6 +257,7 @@ export default {
           -webkit-line-clamp: 2;
           -webkit-box-orient: vertical;
           margin-top: 3px;
+          height: 42px;
         }
       }
     }

+ 2 - 1
src/views/kjpx/kjpxList.vue

@@ -195,6 +195,7 @@ export default {
     },
     back() {
       this.display = 'list';
+      this.searchList(this.site);
     },
   },
   computed: {
@@ -221,7 +222,7 @@ export default {
     height: 623px;
     background-color: #fff;
     margin-right: 10px;
-    padding: 10px;
+    padding: 0 10px;
     .menu {
       padding: 20px 0px;
       border-bottom: 1px solid #ccc;

+ 6 - 5
src/views/kjpx/parts/videoLists.vue

@@ -12,7 +12,6 @@
           <el-col :span="24" class="list" v-for="(item, index) in list" :key="index">
             <el-col :span="20" class="listTitle" @click.native="clickDetail(item.id)">{{ item.title }}</el-col>
             <el-col :span="4" class="listTitme">{{ item.create_time }}</el-col>
-            <el-col :span="24" class="listInfo" v-html="item.content"></el-col>
           </el-col>
         </el-col>
         <el-col class="page" :span="24">
@@ -107,13 +106,12 @@ export default {
     }
   }
   .con {
-    height: 840px;
+    height: 500px;
     background-color: #fff;
     overflow: hidden;
     .list {
-      // background-color: red;
-      // height: 200px;
-      padding: 5px 10px;
+      padding: 12px 10px;
+      border-bottom: 1px dashed #ccc;
       .listTitle {
         font-size: 18px;
         font-weight: bolder;
@@ -135,6 +133,9 @@ export default {
         line-height: 23px;
       }
     }
+    .list:nth-child(10n) {
+      border-bottom: none;
+    }
   }
   .page {
     margin: 15px 0px;

+ 1 - 0
src/views/kjpx/videoList.vue

@@ -107,6 +107,7 @@ export default {
     },
     back() {
       this.display = 'list';
+      // this.searchList(this.site);
     },
   },
   computed: {

+ 2 - 1
src/views/list.vue

@@ -225,6 +225,7 @@ export default {
     },
     back() {
       this.display = 'list';
+      this.searchList(this.site);
     },
   },
   computed: {
@@ -251,7 +252,7 @@ export default {
     height: 623px;
     background-color: #fff;
     margin-right: 10px;
-    padding: 10px;
+    padding: 0 10px;
     .menu {
       padding: 20px 0px;
       border-bottom: 1px solid #ccc;