From 546c0df2c7d278cb2a3e6fa6fc2ff730d410fdbd Mon Sep 17 00:00:00 2001 From: 明梦爽 <2972214568@qq.com> Date: 星期二, 25 一月 2022 16:54:48 +0800 Subject: [PATCH] more --- src/components/page/kePuFengCai.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/page/kePuFengCai.vue b/src/components/page/kePuFengCai.vue index cd9c1be..67ccf55 100644 --- a/src/components/page/kePuFengCai.vue +++ b/src/components/page/kePuFengCai.vue @@ -14,13 +14,16 @@ </el-col> <!-- 鏂伴椈鍐呭 --> <el-card class="box-card"> - <el-col :span="18"> + <p class="name">{{this.cont}}</p> + <hr class="namehr"> + <el-col :span="24"> <div> <el-row class="marb10" :key="index" v-for="(item, index) in newsList"> <div class="flex-v flex-between marb5 cursor" @click="show(item)"> <div>{{ item.title }}</div> <div>{{ item.releaseTime }}</div> </div> + <el-divider class="hr"></el-divider> </el-row> </div> <!-- 鍒嗛〉 --> @@ -51,7 +54,7 @@ cont: '', menuList: [], newsList:[], - pageSize:2, + pageSize:5, currentPage:1, total:0, item:{}, @@ -65,6 +68,7 @@ watch: { menuList(n,o){ this.cont = this.menuList[0].name + this.item = this.menuList[0]; this.getnews(this.menuList[0]); } }, @@ -131,11 +135,11 @@ color: #000; } .box-card{ - height: 600px; + height: 500px; position: relative; .fenye{ position: absolute; - bottom: 2px; + bottom: 10px; } } </style> \ No newline at end of file -- Gitblit v1.8.0