|
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
<template> |
|
|
|
|
<div class="header_title" > |
|
|
|
|
<span>资讯新闻</span> |
|
|
|
|
<el-divider style="width: 800px"/> |
|
|
|
|
<el-divider style="margin: 30px auto;"/> |
|
|
|
|
</div> |
|
|
|
|
<div class="container"> |
|
|
|
|
<div class="left"> |
|
|
|
@ -65,50 +65,62 @@ onMounted(() => { |
|
|
|
|
|
|
|
|
|
<style scoped> |
|
|
|
|
.header_title { |
|
|
|
|
font-size: 20px; |
|
|
|
|
color: dodgerblue; |
|
|
|
|
font-size: 25px; |
|
|
|
|
color: #293352; |
|
|
|
|
text-align: center; |
|
|
|
|
font-weight: bold; |
|
|
|
|
margin-left:490px; |
|
|
|
|
margin-top: 30px; |
|
|
|
|
} |
|
|
|
|
.left{ |
|
|
|
|
margin-left: 600px; |
|
|
|
|
margin-top: 10px; |
|
|
|
|
height: 85vh; |
|
|
|
|
overflow-y: auto; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* .left { |
|
|
|
|
/* margin-left: 600px; |
|
|
|
|
margin-top: 10px; */ |
|
|
|
|
/* height: 85vh; */ |
|
|
|
|
/* overflow-y: auto; */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.left::-webkit-scrollbar { |
|
|
|
|
width: 0px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.box { |
|
|
|
|
width: 502px; |
|
|
|
|
margin-bottom: 5px; |
|
|
|
|
margin: 0 auto; |
|
|
|
|
width: 900px; |
|
|
|
|
margin-bottom: 10px; |
|
|
|
|
/* border: 1px solid pink; */ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.categorySty { |
|
|
|
|
margin-bottom: 10px; |
|
|
|
|
font-size: 25px; |
|
|
|
|
font-weight: 550; |
|
|
|
|
width: 560px; |
|
|
|
|
height: 50px; |
|
|
|
|
height: 60px; |
|
|
|
|
line-height: 50px; |
|
|
|
|
/*background: #FFB21E;*/ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.categorySty:hover { |
|
|
|
|
background: gainsboro; |
|
|
|
|
cursor: pointer; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.essaySty { |
|
|
|
|
display: flex; /* 启用Flexbox布局 */ |
|
|
|
|
justify-content: space-between; /* 水平方向两端对齐 */ |
|
|
|
|
align-items: center; /* 垂直居中对齐 */ |
|
|
|
|
display: flex; |
|
|
|
|
/* 启用Flexbox布局 */ |
|
|
|
|
justify-content: space-between; |
|
|
|
|
/* 水平方向两端对齐 */ |
|
|
|
|
align-items: center; |
|
|
|
|
/* 垂直居中对齐 */ |
|
|
|
|
height: 40px; |
|
|
|
|
line-height: 40px; |
|
|
|
|
margin-bottom: 5px; |
|
|
|
|
width:520px; |
|
|
|
|
margin-bottom: 10px; |
|
|
|
|
width: 800px; |
|
|
|
|
font-size: 20px; |
|
|
|
|
margin-left: 30px; |
|
|
|
|
/*background: #FFB21E;*/ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.essaySty:hover { |
|
|
|
|
background: gainsboro; |
|
|
|
|
cursor: pointer; |
|
|
|
|