Browse Source

修改系数

qin_v2
hreenshan112 1 year ago
parent
commit
8f782ce505
  1. 5
      src/views/home/index.vue
  2. 3
      src/views/news/index.vue

5
src/views/home/index.vue

@ -220,7 +220,7 @@ const getNewList = () => {
*/
const getknowledgeList = () => {
let sendData = {
"groupId":"16213848089876281",
"groupId":"229565067446718464",
"sunGroupId":"",
"typestypes":0,
"limit":6
@ -254,7 +254,6 @@ const openNews = (val:any,name:string) => {
</script>
<template>
<div>
<HeaderPage />
<el-scrollbar ref="scrollBox" class="indexBody" @scroll="onHandleScroll">
<CarouselPage :num="4" />
<el-card style="margin-top: 5px;" shadow="always">
@ -343,7 +342,7 @@ const openNews = (val:any,name:string) => {
<style lang='scss' scoped>
.indexBody{
width:100%;
height: calc(100vh - 121px);
height: calc(100vh - 65px);
padding: 0 5px 0px 5px;
.cardContBox{
display: flex;

3
src/views/news/index.vue

@ -123,7 +123,6 @@ const lookNewInfo = (val:any) => {
</script>
<template>
<div class="newIndexBox">
<Header :header-title="pageTitle" :call-back-click="true" />
<el-tabs v-model="activeNew" class="demo-tabs" @tab-click="handleClick">
<el-tab-pane label="推荐" name="0"></el-tab-pane>
<el-tab-pane v-for="(item,index) in activeClass" :label="item.title" :name="item.idStr" :key="index"></el-tab-pane>
@ -180,7 +179,7 @@ const lookNewInfo = (val:any) => {
}
ul{
height: calc(100vh - 100px);
height: calc(100vh - 45px);
li{
padding: 5px 5px;
border: 1px solid #E4E4E4;

Loading…
Cancel
Save