|
@@ -0,0 +1,557 @@
|
|
|
+<template>
|
|
|
+ <div id="newsList">
|
|
|
+ <!-- 页面头部 -->
|
|
|
+ <HomePageHead></HomePageHead>
|
|
|
+ <!-- Banner1 -->
|
|
|
+ <HomeBanner1></HomeBanner1>
|
|
|
+ <!-- 面包屑导航 -->
|
|
|
+ <div class="breadcrumb">
|
|
|
+ <div class="inner">
|
|
|
+
|
|
|
+ <el-breadcrumb :separator-icon="ArrowRight">
|
|
|
+ <el-breadcrumb-item>当前位置:</el-breadcrumb-item>
|
|
|
+ <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
|
|
|
+ <el-breadcrumb-item>三农之窗</el-breadcrumb-item>
|
|
|
+ </el-breadcrumb>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 资讯列表 -->
|
|
|
+ <div class="newsList">
|
|
|
+ <div class="inner">
|
|
|
+ <div class="innerLeft">
|
|
|
+ <ul class="list">
|
|
|
+ <li v-for="item in newsList">
|
|
|
+ <NuxtLink to="/primaryNavigation/newsDetail/newsDetail">{{ item }}</NuxtLink>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ <!-- 分页器 -->
|
|
|
+ <div class="pagination">
|
|
|
+ <HomePagination></HomePagination>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="innerRight">
|
|
|
+ <div class="title">
|
|
|
+ <h4>
|
|
|
+ 热点资讯
|
|
|
+ <span>查看更多</span>
|
|
|
+ </h4>
|
|
|
+ </div>
|
|
|
+ <ul class="messageList">
|
|
|
+ <li v-for="item in 14">
|
|
|
+ <span>{{ item }}</span>
|
|
|
+ <NuxtLink>数说新中国75年|人民文化生活日益丰富 文...</NuxtLink>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- 三农资讯logo -->
|
|
|
+ <HomeSannongzixun></HomeSannongzixun>
|
|
|
+
|
|
|
+ <!-- 资讯推荐 -->
|
|
|
+ <div class="zixuntuijian">
|
|
|
+ <div class="inner">
|
|
|
+ <div class="innerLeft">
|
|
|
+ <div class="zixunLeft">
|
|
|
+ <!-- 标题部分 -->
|
|
|
+ <div class="title">
|
|
|
+ <h3>
|
|
|
+ 资讯推荐
|
|
|
+ <span>查看更多</span>
|
|
|
+ </h3>
|
|
|
+ </div>
|
|
|
+ <!-- 图片和文字列表 -->
|
|
|
+ <ul class="photo_text">
|
|
|
+ <li>
|
|
|
+ <img src="../../static/images/tonny00255_On(1).png" alt="">
|
|
|
+ <div>
|
|
|
+ <h5>高邮市周山镇开展渔业安全生产应急</h5>
|
|
|
+ <p>
|
|
|
+ <span>王某某</span>
|
|
|
+ <span>2024-8-6</span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ <li v-for="item in 3">
|
|
|
+ <em></em>
|
|
|
+ 高邮市周山镇开展渔业安全生产应急
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <div class="zixunRight">
|
|
|
+ <!-- 标题部分 -->
|
|
|
+ <div class="title">
|
|
|
+ <h3>
|
|
|
+ 资讯推荐
|
|
|
+ <span>查看更多</span>
|
|
|
+ </h3>
|
|
|
+ </div>
|
|
|
+ <!-- 图片和文字列表 -->
|
|
|
+ <ul class="photo_text">
|
|
|
+ <li>
|
|
|
+ <img src="../../static/images/tonny00255_On(1).png" alt="">
|
|
|
+ <div>
|
|
|
+ <h5>高邮市周山镇开展渔业安全生产应急</h5>
|
|
|
+ <p>
|
|
|
+ <span>王某某</span>
|
|
|
+ <span>2024-8-6</span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ <li v-for="item in 3">
|
|
|
+ <em></em>
|
|
|
+ 高邮市周山镇开展渔业安全生产应急
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="innerRight">
|
|
|
+ <!-- 标题部分 -->
|
|
|
+ <div class="title">
|
|
|
+ <h4>
|
|
|
+ 热点资讯
|
|
|
+ <span>查看更多</span>
|
|
|
+ </h4>
|
|
|
+ </div>
|
|
|
+ <!-- 列表 -->
|
|
|
+ <ul class="rightList">
|
|
|
+ <li v-for="item in 2">
|
|
|
+ <img class="left"
|
|
|
+ src="../../static/images/sgbhsihfgisdfaasda45632113_A_group_of_Chinese_farmers_are_trans_0e341355-f4d5-4796-b6cd-bdc87996f81b(1).png"
|
|
|
+ alt="">
|
|
|
+ <p class="left">高邮市周山镇开展渔业安全生产应急演练</p>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- 页面底部 -->
|
|
|
+ <HomeFoot></HomeFoot>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script lang="ts" setup>
|
|
|
+import { ElBreadcrumb, ElBreadcrumbItem } from 'element-plus'
|
|
|
+import { ArrowRight } from '@element-plus/icons-vue'
|
|
|
+let newsList = [
|
|
|
+ '稳经济政策正朝着“稳健有效”持续发力',
|
|
|
+ '布上青花 指尖非遗——千年蜡染的传承与创新',
|
|
|
+ '拉萨市涉建筑垃圾、城市建设两部条例将于11月1日实施',
|
|
|
+ '中国稳定股市新工具启动 5000亿规模只能投资股市',
|
|
|
+ '国家数据局:建立健全公共数据产品和服务价格形成机制',
|
|
|
+ '第十二届全国少数民族传统体育运动会启动火炬传递',
|
|
|
+ '网信部门曝光“毒视频”“开盒挂人”等涉未成年人乱象',
|
|
|
+ '辅警执勤时被闯红灯超速摩托车撞倒 浙江义乌警方通报',
|
|
|
+ '接地气、心贴心 各地创新宣讲形式把全会精神送到干部群众身边',
|
|
|
+ '美军火商对台军售涉抬价诈欺,台当局替美辩称“美国也是受害...'
|
|
|
+]
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="less" scoped>
|
|
|
+//导航条
|
|
|
+.breadcrumb {
|
|
|
+ width: 100%;
|
|
|
+ height: 22px;
|
|
|
+ margin-bottom: 30px;
|
|
|
+ font-family: Microsoft YaHei, Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 20px;
|
|
|
+ color: #666666;
|
|
|
+ line-height: 23px;
|
|
|
+ text-align: left;
|
|
|
+ font-style: normal;
|
|
|
+ text-transform: none;
|
|
|
+}
|
|
|
+
|
|
|
+// 资讯列表
|
|
|
+.newsList {
|
|
|
+ width: 100%;
|
|
|
+ height: 675px;
|
|
|
+ margin-bottom: 70px;
|
|
|
+
|
|
|
+ .inner {
|
|
|
+ width: 1200px;
|
|
|
+
|
|
|
+ .innerLeft,
|
|
|
+ .innerRight {
|
|
|
+ border-top: 1px solid #139602;
|
|
|
+ }
|
|
|
+
|
|
|
+ .innerLeft {
|
|
|
+ height: 675px;
|
|
|
+ >.list {
|
|
|
+ height: 570px;
|
|
|
+ margin-bottom: 70px;
|
|
|
+
|
|
|
+ >li {
|
|
|
+ width: 790px;
|
|
|
+ height: 56px;
|
|
|
+ line-height: 56px;
|
|
|
+ border-bottom: 1px solid #D9D9D9;
|
|
|
+
|
|
|
+ >a {
|
|
|
+ width: 360px;
|
|
|
+ height: 26px;
|
|
|
+ font-family: Microsoft YaHei, Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 20px;
|
|
|
+ color: #333333;
|
|
|
+ line-height: 26px;
|
|
|
+ text-align: left;
|
|
|
+ font-style: normal;
|
|
|
+ text-transform: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ >li:hover>a {
|
|
|
+ color: #139602;
|
|
|
+ }
|
|
|
+
|
|
|
+ >li:nth-child(1)::after,
|
|
|
+ >li:nth-child(2)::after {
|
|
|
+ content: "热";
|
|
|
+ margin-left: 13px;
|
|
|
+ background: #FF8A37;
|
|
|
+ color: #fff;
|
|
|
+ font-size: 14px;
|
|
|
+ padding: 0px 2px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ >.pagination{
|
|
|
+ width: 790px;
|
|
|
+ height: 34px;
|
|
|
+ margin-left: 141px;
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .innerRight {
|
|
|
+ width: 381px;
|
|
|
+ height: 605px;
|
|
|
+
|
|
|
+ >.title {
|
|
|
+ width: 380px;
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ border-bottom: 1px solid #e7e7e7;
|
|
|
+
|
|
|
+ >h4 {
|
|
|
+ font-family: Microsoft YaHei, Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ margin-left: 20px;
|
|
|
+ font-size: 20px;
|
|
|
+ color: #000000;
|
|
|
+ text-align: left;
|
|
|
+ font-style: normal;
|
|
|
+ text-transform: none;
|
|
|
+
|
|
|
+ >span {
|
|
|
+ float: right;
|
|
|
+ font-family: Microsoft YaHei, Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 14px;
|
|
|
+ margin-right: 10px;
|
|
|
+ color: #999999;
|
|
|
+ text-align: left;
|
|
|
+ font-style: normal;
|
|
|
+ text-transform: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .messageList {
|
|
|
+ height: 563px;
|
|
|
+ padding-top: 15px;
|
|
|
+ background-color: #fbfbfb;
|
|
|
+
|
|
|
+ >li {
|
|
|
+ height: 24px;
|
|
|
+ margin-bottom: 16px;
|
|
|
+
|
|
|
+ >span {
|
|
|
+ display: inline-block;
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ margin-left: 22px;
|
|
|
+ line-height: 24px;
|
|
|
+ vertical-align: middle;
|
|
|
+ text-align: center;
|
|
|
+ background-color: #cecece;
|
|
|
+ font-family: Microsoft YaHei, Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 18px;
|
|
|
+ color: #FFFFFF;
|
|
|
+ text-align: center;
|
|
|
+ font-style: normal;
|
|
|
+ text-transform: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ >a {
|
|
|
+ width: 256px;
|
|
|
+ height: 21px;
|
|
|
+ font-family: Microsoft YaHei, Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #333333;
|
|
|
+ line-height: 19px;
|
|
|
+ text-align: left;
|
|
|
+ font-style: normal;
|
|
|
+ text-transform: none;
|
|
|
+ padding-left: 10px;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ >li:hover a {
|
|
|
+ color: #139602;
|
|
|
+ }
|
|
|
+
|
|
|
+ >li:nth-child(1)>span {
|
|
|
+ background-color: #00c524;
|
|
|
+ }
|
|
|
+
|
|
|
+ >li:nth-child(2)>span {
|
|
|
+ background-color: #ffdf27;
|
|
|
+ }
|
|
|
+
|
|
|
+ >li:nth-child(3)>span {
|
|
|
+ background-color: #f3c57f;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+//资讯推荐
|
|
|
+.zixuntuijian {
|
|
|
+ width: 100%;
|
|
|
+ height: 290px;
|
|
|
+ margin-bottom: 70px;
|
|
|
+
|
|
|
+ .innerLeft {
|
|
|
+
|
|
|
+ // 左侧
|
|
|
+ .zixunLeft {
|
|
|
+ margin-right: 30px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .zixunRight,
|
|
|
+ .zixunLeft {
|
|
|
+ float: left;
|
|
|
+ width: 380px;
|
|
|
+ height: 290px;
|
|
|
+
|
|
|
+ // 标题部分
|
|
|
+ >.title {
|
|
|
+ width: 380px;
|
|
|
+ }
|
|
|
+
|
|
|
+ >.title>h3 {
|
|
|
+ height: 36px;
|
|
|
+ font-family: Source Han Sans, Source Han Sans;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 24px;
|
|
|
+ color: #000000;
|
|
|
+ line-height: 28px;
|
|
|
+ text-align: left;
|
|
|
+ font-style: normal;
|
|
|
+ text-transform: none;
|
|
|
+ border-bottom: 1px solid #139602;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ >.title>h3>span {
|
|
|
+ float: right;
|
|
|
+ width: 56px;
|
|
|
+ height: 20px;
|
|
|
+ line-height: 24px;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #999999;
|
|
|
+ font-style: normal;
|
|
|
+ text-transform: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ .photo_text {
|
|
|
+
|
|
|
+ >li:first-child {
|
|
|
+ width: 380px;
|
|
|
+ height: 120px;
|
|
|
+ margin-top: 20px;
|
|
|
+ margin-bottom: 15px;
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ >img {
|
|
|
+ float: left;
|
|
|
+ width: 160px;
|
|
|
+ height: 120px;
|
|
|
+ }
|
|
|
+
|
|
|
+ >div {
|
|
|
+ float: left;
|
|
|
+ width: 220px;
|
|
|
+ height: 120px;
|
|
|
+ padding-left: 15px;
|
|
|
+ padding-top: 6px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ background-color: #f6f6f6;
|
|
|
+
|
|
|
+
|
|
|
+ >h5 {
|
|
|
+ height: 54px;
|
|
|
+ font-family: Source Han Sans, Source Han Sans;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 18px;
|
|
|
+ color: #333333;
|
|
|
+ line-height: 26px;
|
|
|
+ text-align: left;
|
|
|
+ font-style: normal;
|
|
|
+ text-transform: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ >p {
|
|
|
+ width: 200px;
|
|
|
+ height: 22px;
|
|
|
+ line-height: 20px;
|
|
|
+ position: absolute;
|
|
|
+ bottom: 5px;
|
|
|
+ right: 0;
|
|
|
+
|
|
|
+ >span {
|
|
|
+ display: inline-block;
|
|
|
+ width: 100px;
|
|
|
+ height: 18px;
|
|
|
+ font-family: Source Han Sans, Source Han Sans;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #999999;
|
|
|
+ text-align: left;
|
|
|
+ line-height: 14px;
|
|
|
+ font-style: normal;
|
|
|
+ text-transform: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ >span:last-child {
|
|
|
+ width: 90px;
|
|
|
+ text-align: right;
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ >li {
|
|
|
+ width: 380px;
|
|
|
+ height: 25px;
|
|
|
+ font-family: PingFang SC, PingFang SC;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 18px;
|
|
|
+ color: #333333;
|
|
|
+ line-height: 21px;
|
|
|
+ text-align: left;
|
|
|
+ font-style: normal;
|
|
|
+ text-transform: none;
|
|
|
+ margin-bottom: 10px;
|
|
|
+
|
|
|
+ em {
|
|
|
+ display: inline-block;
|
|
|
+ width: 8px;
|
|
|
+ height: 8px;
|
|
|
+ border-radius: 8px;
|
|
|
+ margin-right: 10px;
|
|
|
+ background-color: #d9d9d9;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ >li:hover {
|
|
|
+ color: #139602;
|
|
|
+ }
|
|
|
+
|
|
|
+ >li:hover em {
|
|
|
+ background-color: #139602;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .innerRight {
|
|
|
+ width: 381px;
|
|
|
+ height: 290px;
|
|
|
+ background-color: #fbfbfb;
|
|
|
+
|
|
|
+ >.title {
|
|
|
+ width: 380px;
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ border-top: 1px solid #139602;
|
|
|
+ border-bottom: 1px solid #e7e7e7;
|
|
|
+
|
|
|
+ >h4 {
|
|
|
+ font-family: Microsoft YaHei, Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ margin-left: 20px;
|
|
|
+ font-size: 20px;
|
|
|
+ color: #000000;
|
|
|
+ text-align: left;
|
|
|
+ font-style: normal;
|
|
|
+ text-transform: none;
|
|
|
+
|
|
|
+ >span {
|
|
|
+ float: right;
|
|
|
+ font-family: Microsoft YaHei, Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 14px;
|
|
|
+ margin-right: 10px;
|
|
|
+ color: #999999;
|
|
|
+ text-align: left;
|
|
|
+ font-style: normal;
|
|
|
+ text-transform: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .rightList {
|
|
|
+ height: 540px;
|
|
|
+ margin-top: 20px;
|
|
|
+
|
|
|
+ >li {
|
|
|
+ height: 100px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+
|
|
|
+ >img {
|
|
|
+ width: 150px;
|
|
|
+ height: 100px;
|
|
|
+ }
|
|
|
+
|
|
|
+ >p {
|
|
|
+ width: 219px;
|
|
|
+ height: 100px;
|
|
|
+ padding-left: 12px;
|
|
|
+ font-family: PingFang SC, PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #333333;
|
|
|
+ line-height: 22px;
|
|
|
+ text-align: left;
|
|
|
+ font-style: normal;
|
|
|
+ text-transform: none;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ >p:hover {
|
|
|
+ box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|