<template>
    <div id="newsList">
        <!-- 页面头部 -->
        <HomePageHead></HomePageHead>
        <!-- 导航栏 -->
        <HomePageNavigation></HomePageNavigation>
        <!-- 面包屑导航 -->
        <!-- 资讯列表 -->
        <div class="newsList">
            <!-- <div class="backgroundBox"> -->
                <div class="listBoxLeft">
                    <!-- 面包屑导航 -->
                    <div class="breadcrumb-box">
                        <div class="inner">
                            <span class="location">当前位置：</span>
                            <el-breadcrumb :separator-icon="ArrowRight">
                                <el-breadcrumb-item>
                                    <NuxtLink to="/">首页</NuxtLink>
                                </el-breadcrumb-item>
                                <el-breadcrumb-item v-if="parent_name !=''">
                                    <NuxtLink :to="`/${parent_pinyin}/index.html`"> {{ parent_name }}</NuxtLink>
                                </el-breadcrumb-item>
                                <el-breadcrumb-item class="phone_breadcrumb_text">{{ name }}</el-breadcrumb-item>
                            </el-breadcrumb>
                        </div>
                    </div>
                    
                    <ul class="list">
                        <li v-for="(item, index) in newsList" :key="index">
                             <NuxtLink :href="getLinkPathDetail(item)" :title="item.alias">   
                                <div class="hasImg" v-if="index % 2 == 0">

                                    <h3 class="newsTopTitle">严守底线与激发活力并举——萧县探索生态环境执法新路径严守底线与激发活力并举——萧县探索生态环境执法新路径</h3>

                                    <div class="newsBottomBody">
                                        <div class="li_img_box">
                                            <img class="" src="http://img.hbfzdy.org.cn/202601/8441f4d36b14fb0.jpg" title="" alt="">
                                        </div>
                                        <div class="li_right_box">
                                            <!-- <div class="li_dot3">{{ item.introduce }}</div> -->
                                            <div class="li_dot3">近年来，萧县坚持以生态环境高水平保护推动高质量发展，持续优化执法方式，严守环保底线与激发企业内生动力并重，努力实现环境保护与经济发展协同共进。截至2025年，全县累计出动生态环境执法人员7300余人次</div>
                                        </div>
                                    </div>
                                    
                                </div>
                                <div class="notHasImg" v-else>
                                     <h3 class="newsTopTitle">自治区生态环境厅召开2025年度全区生态环境监测业务工作年终总结会暨党建工作调度会</h3>
                                    <div class="li_dot3">
                                        1月9日，自治区生态环境厅召开2025年度全区生态环境监测业务工作年终总结会暨党建工作调度会。会议总结2025年工作成效，对2026年重点工作进行部署，会上集中学习了《生态环境监测条例》。自治区生...
                                        <span>【阅读更多】</span>
                                    </div>
                                </div>    
                            </NuxtLink>
                        </li>
                    </ul>
                    <!-- 分页器 -->
                    <div class="pagination pagination_phone_none" v-if="total > 0">
                        <el-pagination 
                            size="small" 
                            background 
                            layout="prev, pager, next" 
                            :total="total" 
                            class="mt-4"
                            :page-size="pageSize" 
                            :current-page="pageNum"
                            prev-text="上一页" 
                            next-text="下一页" 
                            @current-change="changePage" 
                        />
                        <span class="total">共{{ total }}条</span>
                    </div>
                    <div class="pagination pagination_pc_none" v-if="total > 0">
                        <el-pagination pager-count="5" size="small" background layout="pager" :total="total"
                            class="mt-4" :page-size="pageSize" :current-page="pageNum" @current-change="changePage" />
                    </div>
                </div>
                <div class="listBoxRight">
                    <div class="newsItemsBox">
                        <div class="new-items-box-title">
                            <span></span>
                             <NuxtLink to="/" title="最新资讯"> 最新动态 </NuxtLink>
                        </div>
                        <div class="new-items-box-body">
                            <div class="coniteml zzjj">
                                
                                <div class="l_img maskLayer">
                                    <NuxtLink class="imgA" to="http://hbfzdy.org.cn/show-139825.html" title="全国统战部长会议在京召开 王沪宁出席并讲话">
                                        <img src="http://img.hbfzdy.org.cn/202601/0757be3d59a9f05.jpg" data-src="http://img.hbfzdy.org.cn/202601/0757be3d59a9f05.jpg" data-isloaded="1"> 
                                    </NuxtLink>
                                    <NuxtLink class="maskLayer_text" to="http://hbfzdy.org.cn/show-139825.html" title="全国统战部长会议在京召开 王沪宁出席并讲话">
                                        <span class="zzc">全国统战部长会议在京召开 王沪宁出席并讲话</span>
                                    </NuxtLink>
                                </div>
                                <div class="l_img maskLayer">
                                    <NuxtLink class="imgA" to="http://hbfzdy.org.cn/show-139806.html" title="监测数据造假不可为 企业个人的环保法律责任清单">
                                        <img src="http://img.hbfzdy.org.cn/202601/940d7fb8dff31.png" data-src="http://img.hbfzdy.org.cn/202601/940d7fb8dff31.png" data-isloaded="1"> 
                                    </NuxtLink>
                                    <NuxtLink class="maskLayer_text" to="http://hbfzdy.org.cn/show-139806.html" title="监测数据造假不可为 企业个人的环保法律责任清单">
                                        <span class="zzc">监测数据造假不可为 企业个人的环保法律责任清单</span>
                                    </NuxtLink>
                                </div>
                            </div>
                            <ul class="conitemlList">
                                <li>
                                    <span>1</span>
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139815.html">深耕海域政务法制 赋能生态治理提质——政务法制网深耕海域生态安全</NuxtLink>
                                </li>
                                <li>
                                    <span>2</span>
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139815.html">深耕海域政务法制 赋能生态治理提质——政务法制网深耕海域生态安全</NuxtLink>
                                </li>
                                <li>
                                    <span>3</span>
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139815.html">深耕海域政务法制 赋能生态治理提质——政务法制网深耕海域生态安全</NuxtLink>
                                </li>
                                <li>
                                    <span>4</span>
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139815.html">深耕海域政务法制 赋能生态治理提质——政务法制网深耕海域生态安全</NuxtLink>
                                </li>
                                <li>
                                    <span>5</span>
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139815.html">深耕海域政务法制 赋能生态治理提质——政务法制网深耕海域生态安全</NuxtLink>
                                </li>
                                <li>
                                    <span>6</span>
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139815.html">深耕海域政务法制 赋能生态治理提质——政务法制网深耕海域生态安全</NuxtLink>
                                </li>
                                <li>
                                    <span>7</span>
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139815.html">深耕海域政务法制 赋能生态治理提质——政务法制网深耕海域生态安全</NuxtLink>
                                </li>
                                <li>
                                    <span>8</span>
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139815.html">深耕海域政务法制 赋能生态治理提质——政务法制网深耕海域生态安全</NuxtLink>
                                </li>
                                <li>
                                    <span>9</span>
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139815.html">深耕海域政务法制 赋能生态治理提质——政务法制网深耕海域生态安全</NuxtLink>
                                </li>
                                <li>
                                    <span>10</span>
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139815.html">深耕海域政务法制 赋能生态治理提质——政务法制网深耕海域生态安全</NuxtLink>
                                </li>
                                
                                
                            </ul>
                        </div>
                    </div>
                    <div class="newsItemsBox">
                        <div class="new-items-box-title">
                            <span></span>
                             <NuxtLink to="/" title="最新资讯"> 热点新闻 </NuxtLink>
                        </div>
                        <div class="new-items-box-body">
                           <div class="coniteml2">
                                <div class="rdxwImg">
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139825.html" title="">
                                        <img src="http://img.hbfzdy.org.cn/202601/0757be3d59a9f05.jpg" data-src="http://img.hbfzdy.org.cn/202601/0757be3d59a9f05.jpg" data-isloaded="1"> 
                                    </NuxtLink>
                                </div>
                                <div class="rdxwText">
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139825.html" title="">
                                        <h4>全国统战部长会议在京召开 王沪宁出席并讲话</h4>
                                        <p>  1月28日，全国统战部长会议在北京召全国统战部长会议在京召开 王沪宁出席并讲话</p>
                                    </NuxtLink>
                                </div>
                           </div>
                            <div class="coniteml2">
                                <div class="rdxwImg">
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139825.html" title="">
                                        <img src="http://img.hbfzdy.org.cn/202601/0757be3d59a9f05.jpg" data-src="http://img.hbfzdy.org.cn/202601/0757be3d59a9f05.jpg" data-isloaded="1"> 
                                    </NuxtLink>
                                </div>
                                <div class="rdxwText">
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139825.html" title="">
                                        <h4>全国统战部长会议在京召开 王沪宁出席并讲话</h4>
                                        <p>  1月28日，全国统战部长会议在北京召全国统战部长会议在京召开 王沪宁出席并讲话</p>
                                    </NuxtLink>
                                </div>
                           </div>
                            <div class="coniteml2">
                                <div class="rdxwImg">
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139825.html" title="">
                                        <img src="http://img.hbfzdy.org.cn/202601/0757be3d59a9f05.jpg" data-src="http://img.hbfzdy.org.cn/202601/0757be3d59a9f05.jpg" data-isloaded="1"> 
                                    </NuxtLink>
                                </div>
                                <div class="rdxwText">
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139825.html" title="">
                                        <h4>全国统战部长会议在京召开 王沪宁出席并讲话</h4>
                                        <p>  1月28日，全国统战部长会议在北京召全国统战部长会议在京召开 王沪宁出席并讲话</p>
                                    </NuxtLink>
                                </div>
                           </div>
                            <div class="coniteml2">
                                <div class="rdxwImg">
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139825.html" title="">
                                        <img src="http://img.hbfzdy.org.cn/202601/0757be3d59a9f05.jpg" data-src="http://img.hbfzdy.org.cn/202601/0757be3d59a9f05.jpg" data-isloaded="1"> 
                                    </NuxtLink>
                                </div>
                                <div class="rdxwText">
                                    <NuxtLink to="http://hbfzdy.org.cn/show-139825.html" title="">
                                        <h4>全国统战部长会议在京召开 王沪宁出席并讲话</h4>
                                        <p>  1月28日，全国统战部长会议在北京召全国统战部长会议在京召开 王沪宁出席并讲话</p>
                                    </NuxtLink>
                                </div>
                           </div>
                          
                        </div>
                    </div>
                    <!-- <DetailHotNews></DetailHotNews> -->
                    <!-- <DetailHotNews2></DetailHotNews2> -->
                </div>
            <!-- </div> -->
        </div>
        <!-- 页面底部 -->
        <HomeFoot></HomeFoot>
    </div>
</template>

<script setup>
//1.页面必备依赖 start ---------------------------------------->
import { ElBreadcrumb, ElBreadcrumbItem, ElPagination } from 'element-plus'
import { ArrowRight } from '@element-plus/icons-vue'
import { ref, onMounted } from 'vue';
// import type Space from 'element-plus/es/components/space/src/space.mjs';
//当前列表名称
const name = ref('')
const { $webUrl, $CwebUrl, $BwebUrl } = useNuxtApp()

//格式化跳转路径
const getLinkPathDetail = (item) => {
    if (item.islink == 1) {
        return `${item.linkurl}`;
    } else {
        //return `/${item.aLIas_pinyin}/${item.id}`;
        //return `/newsDetail/${item.id}`
        return `/${item.pinyin}/${item.id}.html`;
    }
}
//1.页面必备依赖 end ---------------------------------------->

//1.获得路由id start ---------------------------------------->
const route = useRoute();
let articleId = 0;//路由id
let pageNum = ref(2);
let total = ref(1);
let pageSize = ref(10);
//获得当前的完整路径
const fullPath = route.path;
//拆分，取出来中间这一段，然后提取数字部分
const segments = fullPath.split('/'); 
const targetSegment = segments[2]; 
const targetRoute = segments[1]; 
//通过导航路径反向查询导航id
const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
    method: 'GET',
    query: {
        'pinyin': targetRoute+'/'+targetSegment,
    },
});
if(getRouteId.code == 200){
    articleId = getRouteId.data.category_id
}else{
    console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
    console.log("错误位置：通过url路径查询导航池id")
    console.log("后端错误反馈：",getRouteId.message)
    console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
}
//获得html前的数字
pageNum.value = parseInt(route.params.id);
//1.获得路由id end ---------------------------------------->

//2.页面数据 start ---------------------------------------->
//2.2新闻列表
const newsList = ref([]);
let newslists = async () => {
    const listData = await requestDataPromise('/web/getWebsiteArticleList', {
        method: 'GET',
        query: {
            'page': pageNum.value,
            'pageSize': pageSize.value,
            'catid': articleId
        },
    });
    if (listData.code == 200) {
        newsList.value = listData.data.rows;
        total.value = listData.data.count;

    } else {
        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
        console.log("错误位置：获取新闻列表")
        console.log("后端错误反馈：", listData.message)
        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
    }
}
//获得列表
newslists();

//分页事件
let changePage = (value) => {
    console.log("当前页码", value);
    navigateTo(`/${targetSegment}/${value}.html`)
}

//2.3获得页面名称
let getPageName = async () => {
    const pageName = await requestDataPromise('/web/getOneWebsiteCategory', {
        method: 'GET',
        query: {
            'catid': articleId
        },
    });
    if (pageName.code == 200) {
        name.value = pageName.data.alias
    } else {
        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
        console.log("错误位置：设置页面标题")
        console.log("后端错误反馈：", pageName.message)
        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
    }
}
//获得列表
getPageName();
//2.页面数据 end ---------------------------------------->
//3.二级栏目 start ---------------------------------------->
//3.1通过id获取父栏目
const parent_name = ref([]);
const parent_id = ref([]);
const parent_pinyin = ref("");
let getParentNav = async () => {
    const listData = await requestDataPromise('/web/getOneWebsiteCategory', {
        method: 'GET',
        query: {
            'catid': articleId
        },
    });
    if (listData.code == 200) {
        parent_name.value = listData.data.parent_name;
        parent_id.value = listData.data.parent_id;
        parent_pinyin.value = listData.data.parent_pinyin;
    } else {
        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
        console.log("错误位置：获取新闻列表")
        console.log("后端错误反馈：", listData.message)
        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
    }
    getSecondNav();
}
//获得父级栏目详情
getParentNav();

// 3.2获取二级栏目
const secondNav = ref([]);
let getSecondNav = async () => {
    const listData = await requestDataPromise('/web/getWebsiteModelCategory', {
        method: 'GET',
        query: {
            'placeid': 1,
            'pid': parent_id.value,
            'num': 8,
        },
    });
    console.log('listData', listData);
    if (listData.code == 200) {
        secondNav.value = listData.data;
    } else {
        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
        console.log("错误位置：获取新闻列表")
        console.log("后端错误反馈：", listData.message)
        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
    }
}
//3.二级栏目 end ---------------------------------------->
//4.设置seo信息 start---------------------------------------->
//4.1 设置seo信息
const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
    method: 'GET',
    query: {
        'catid': articleId
    },
});
if (setData.code == 200) {
    let seoTitle = setData.data.seo_title;
    let seoDescription = setData.data.seo_description;
    let seoKeywords = setData.data.seo_keywords;
    let seoSuffix = setData.data.suffix;
    let seoName = setData.data.website_name;
    useSeoMeta({
        title: seoTitle + "_" + seoName + "_" + seoSuffix,
        meta: [
            { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix , tagPriority: 10 },
            { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix , tagPriority: 10 },
            { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no',tagPriority: 10 }
        ]
    });
} else {
    console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
    console.log("错误位置：设置列表页面SEO数据")
    console.log("后端错误反馈：", setData.message)
    console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
}
//4.设置seo信息 end---------------------------------------->
//5.广告 start---------------------------------------->
let adImg1 = ref({});
let adImg2 = ref({});
onMounted(async ()  => {
    //从客户端获取行政职能部门 加快打开速度
    const { $webUrl, $CwebUrl } = useNuxtApp();
    //广告1
    let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=snzxw_list_0001`
    const responseAd1 = await fetch(url, {
        headers: {
            'Content-Type': 'application/json',
            'Userurl': $CwebUrl,
            'Origin': $CwebUrl
        }
    });
    const resultAd1 = await responseAd1.json();
    adImg1.value = resultAd1.data[0];
    //广告2
    let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=snzxw_list_0002`
    const responseAd2 = await fetch(url2, {
        headers: {
            'Content-Type': 'application/json',
            'Userurl': $CwebUrl,
            'Origin': $CwebUrl
        }
    });
    const resultAd2 = await responseAd2.json();
    adImg2.value = resultAd2.data[0];

})
//5.广告 end---------------------------------------->
</script>

<style lang="less" scoped>
//@import url('@/assets/css/list/pc.less');
//@import url('@/assets/css/list/yd.less');

//面包屑
     
.breadcrumb-box {
    width: 1400px;
    margin: 0 auto 0px;
    .inner {
        width: 100%;
        height: 22PX;
        margin: 20PX 0;
        // margin-top: 20px;
        // margin-bottom: 20px;
        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;
        display: flex;
        align-items: center;
        border-bottom: 1PX solid #ccc;
        margin-bottom: 10PX;
        padding: 20PX 20PX 20PX 0;
        box-sizing: border-box;
        a {
            font-size: 16PX;
            color: #000; 
            // line-height: 20px;
            height:22PX;
            line-height:22PX;
            display:inline-block;
            font-weight:normal;
        }
        span {
            font-size: 16PX;
            color: #000;
            line-height: 20PX;
            &.location {
                font-size:16PX;
                height:22PX;
                line-height:22PX;
                font-weight:normal;
                // line-height: 20px;
            }
        }
    }
    .phone_breadcrumb_text{
        /deep/ .el-breadcrumb__inner{
            font-size:16PX;
            height:22PX;
            line-height:22PX;
            font-weight:normal;
        }
    }
}

.breadcrumb-box{width:1400PX;margin:0px auto 0px; }
.el-breadcrumb{height:22PX;line-height:22PX;}
.breadcrumb-box .inner span.location{font-size:16PX;;height:22PX;;line-height:22PX; font-weight:normal;}
.breadcrumb-box .inner a{font-size:16PX;;height:22PX;line-height:22PX;display:inline-block; font-weight:normal;}

.breadcrumb-box .phone_breadcrumb_text /deep/.el-breadcrumb__inner{font-size:16PX;;height:22PX;line-height:22PX;
                             font-weight:normal;}

.breadcrumb-box:deep(.el-icon){width:16PX;height:16PX;}
 .breadcrumb-box .inner span{font-size:16PX;;height:22PX;line-height:22PX;}   

 .pagination{padding:10px 0px;margin:10px 0px;}


 
//分页
.pagination {
    height: 34PX;
    display: flex;
    justify-content: center;
    margin: 0;
    width: 100%;
    overflow: hidden;
    margin: 20PX 0;
    padding: 20PX 0;
    // 鼠标移入后字体颜色
    .el-pagination::v-deep :hover {
        // color: #139609;
    }

    .el-pagination.is-background::v-deep .btn-next,
    .el-pagination.is-background::v-deep .btn-prev {
        width: 70PX;
        height: 34PX;
        margin: 0px 10PX;
        border-radius: 4PX;
    }
    .el-pagination.is-background::v-deep .el-pager li {
        margin: 0px 10PX;
        width: 38PX;
        height: 34PX;
        border-radius: 4PX;
    }
    .el-pagination.is-background::v-deep .btn-next.is-active,
    .el-pagination.is-background::v-deep .btn-prev.is-active,
    .el-pagination.is-background::v-deep .el-pager li.is-active {
        background-color: #337ab7;
        color: #fff;
    }
    .total {
        display: block;
        height: 34PX;
        line-height: 34PX;
        font-size: 18PX;
        margin-left: 20PX;
    }
 
    
}

@media screen and (min-width: 1401px) {
    //你的样式
    .pagination_pc_none {
        display: none;
    }
    //资讯列表
    .newsList {
        width: 1401PX;
        margin: 0 auto;
        overflow: hidden;
        background: #fff;
        margin-top: 20PX;
        padding: 0 10PX;
        .listBoxLeft {
            float:left;
            overflow: hidden;
            width: 65%;
            .list {
                >li {
                    width: 100%;
                    height: auto;
                    overflow: hidden;
                    border-bottom: 1PX solid #ccc;
                    padding: 10PX 0;
                    margin-bottom: 10PX;
                    // display: flex;
                    // align-items: flex-start;
                    // justify-content: space-between;
                    display:block;
                    
                    a {
                        color: #337ab7;
                        text-decoration: none;
                        display: block;
                        width: 100%;
                        height: auto;
                        // line-height: 22PX;
                        font-size: 20PX;
                        font-weight: bold;
                        color: #333;
                        overflow: hidden;
                        .hasImg{
                            .newsTopTitle{
                                width: 100%;
                                height: 30PX;
                                font-size: 20PX;
                                white-space: nowrap; /* 强制文字不换行 */
                                overflow: hidden; /* 隐藏超出容器的内容 */
                                text-overflow: ellipsis; /* 超出部分显示省略号 */

                            }
                            .newsBottomBody{
                                width: 100%;
                                height: auto;
                                .li_img_box{
                                    width: 200PX;
                                    height: 100PX;
                                    float: left;
                                    overflow: hidden;
                                    margin-right: 20PX;
                                    img{
                                        display: block;
                                        width: 100%;
                                        height: 100%;
                                    }
                                } 
                                .li_right_box{
                                    overflow: hidden;
                                    height: auto;
                                    .li_h4_dot1{
                                        display: block;
                                        width: 100%;
                                        height: 40PX;
                                        line-height: 40PX;
                                        overflow: hidden;
                                        white-space: nowrap;
                                        text-overflow: ellipsis;
                                        font-size: 18PX;
                                        color: #2c3036;
                                        font-weight: normal;
                                    }
                                    .li_dot3{
                                        text-indent: 2em;
                                        width: 100%;
                                        height: 60PX;
                                        line-height: 30PX;
                                        font-size: 16PX;
                                        color: #333;
                                        font-weight: normal;
                                        display: -webkit-box;
                                        -webkit-box-orient: vertical;
                                        -webkit-line-clamp: 2;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                        word-break: break-all;
                                        
                                    }

                                } 
                            }
                             

                        }
                        .notHasImg{
                            overflow: hidden;
                            height: auto;
                            // background: red;
                            .newsTopTitle{
                                width: 100%;
                                height: 30PX;
                                font-size: 20PX;
                                white-space: nowrap; /* 强制文字不换行 */
                                overflow: hidden; /* 隐藏超出容器的内容 */
                                text-overflow: ellipsis; /* 超出部分显示省略号 */
                            }
                            .li_dot3{
                                text-indent: 2em;
                                width: 100%;
                                height: 60PX;
                                line-height: 24PX;
                                font-size: 16PX;
                                color: #333;
                                font-weight: normal;
                                display: -webkit-box;
                                -webkit-box-orient: vertical;
                                -webkit-line-clamp: 2;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                word-break: break-all;
                                span{
                                    font-size: 16PX;
                                    color: #004276;
                                    float: right;
                                }
                                
                            }
                        }
                            
                    }
                    
                }
            }
        }
        .listBoxRight {
            width: 32%;
            float: right;
            overflow: hidden;
            margin: 20PX auto;
            box-sizing: border-box;
            .newsItemsBox {
                width: 100%;
                height: auto;
                // padding: 10PX 0;
                // background: blue;
                .new-items-box-title {
                    // margin-bottom: 10PX;
                    width: 100%;
                    height: 36PX;
                    line-height: 36PX;
                    border-bottom: 2PX solid #83E515;
                    // background: yellow;
                    span{
                        width: 46PX;
                        height: 31PX;
                        background: url(../../../public/image/icon_gddt.jpg) no-repeat center center;
                        background-size: 100% 100%;
                        display: block;
                        height: 31PX;
                        float: left;
                        margin: 2PX;
                    }
                    a{
                       width: 88PX;
                        float: left;
                        display: block;
                        font-size: 16PX;
                        text-align: center;
                        color: #065500;
                        font-weight: bold;
                        // margin-left: 10px;
                        // border-bottom: 2PX solid #2b96f1;
                        // background: red;
                    }
                   
                }
                .new-items-box-body{
                    padding: 10PX 10PX ;
                    .coniteml{
                        width: 100%;
                        height: auto;
                        // overflow: hidden;
                        // padding: 10PX 10PX ;
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        margin-bottom: 20PX;
                        .l_img{
                            width: 48%;
                            // background: red;
                            height: auto;
                            // float: left;
                            // overflow: hidden;
                            .imgA{
                                display: block;
                                height: 100PX;
                                img{
                                    vertical-align: middle;
                                    // display: block ;
                                    bottom: 0;
                                    width: 100%;
                                    height: 100%;
                                    // margin-top: -20PX;
                                }
                               
                            }
                        }
                        
                    }
                    .coniteml2{
                        width: 100%;
                        height: auto;
                        overflow: hidden;
                        margin: 10PX 0;
                        .rdxwImg{
                            width: 34%;
                            height: 92PX;
                            float: left;
                            overflow: hidden;
                            a{
                                text-decoration: none;
                                img{
                                    display: block;
                                    width: 100%;
                                    height: 100%;
                                }
                            }
                        }
                        .rdxwText{
                            width: 63%;
                            height: auto;
                            overflow: hidden;
                            float: right;
                            a{
                                text-decoration: none;
                                h4{
                                    display: block;
                                    width: 100%;
                                    height: 20PX;
                                    line-height: 20PX;
                                    overflow: hidden;
                                    font-size: 14PX;
                                    color: #000;
                                    font-weight: bold;

                                }
                                h4:hover{
                                    color: #83E515;
                                }
                                p{
                                    width: 100%;
                                    height: 50PX;
                                    line-height: 24PX;
                                    font-size: 15PX;
                                    color: #333;
                                    margin: 0;
                                    overflow: hidden;
                                    display: -webkit-box;
                                    -webkit-box-orient: vertical;
                                    -webkit-line-clamp: 2;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    word-break: break-all;
                                    text-indent: 2em;

                                }
                                p:hover{
                                    color: #83E515;
                                }
                            }
                            

                        }

                    }

                    .zzjj{
                        // margin-bottom: 40PX;
                        .maskLayer{
                            position: relative;
                            height: 100PX;
                            width: 49%;
                            .maskLayer_text{
                                .zzc{
                                    position: absolute;
                                    bottom: 0;
                                    left: 0;
                                    background: rgba(0, 0, 0, .5);
                                    color: #fff;
                                    display: block;
                                    width: 100%;
                                    line-height: 30PX;
                                    overflow: hidden;
                                    text-align: center;
                                    font-size: 16PX;
                                    
                                }
                            }
                        }
                        
                    }
                    .conitemlList{
                        width: 100%;
                        height: auto;
                        overflow: hidden;
                        // background: blue;
                        
                        li{
                            width: 100%;
                            height: 30PX;
                            display: flex;
                            align-items: center;
                            justify-content:space-between;
                            span{
                                width: 4%;
                                display: inline-block;
                                height: 15PX;
                                font-size: 15PX;
                                line-height: 15PX;
                                text-align: center;
                                float: left;
                                overflow: hidden;
                                margin-right: 6PX;
                            }

                            a{
                                display: inline-block;
                                line-height: 34PX;
                                width: 96%;
                                // background: green;
                                font-size: 15PX;
                                color: #454749;
                                margin-top: 0;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                            }
                            a:hover{
                                color: #83E515;
                            }
                        }
                        
                    }
                    .conitemlList li:nth-child(1) span{
                        background: #ff7500;
                        color: #fff;

                    }
                    .conitemlList li:nth-child(2) span{
                        background: #ffa400;
                        color: #fff;

                    }
                    .conitemlList li:nth-child(3) span{
                        background: #f6c20e;
                        color: #fff;

                    }
                    
               }
            }
        }
        
    }  
}

@media screen and (min-width: 801px) and (max-width: 1400px) {
    .pagination_pc_none {
        display: none;
    }
    //资讯列表
    .newsList {
        min-width: 801PX;
        max-width: 1400PX;
        margin: 0 auto;
        overflow: hidden;
        background: #fff;
        margin-top: 20PX;
        padding: 0 10PX;
        .listBoxLeft {
            float:left;
            overflow: hidden;
            width: 65%;
            .list {
                >li {
                    width: 100%;
                    height: auto;
                    overflow: hidden;
                    border-bottom: 1PX solid #ccc;
                    padding: 10PX 0;
                    margin-bottom: 10PX;
                    // display: flex;
                    // align-items: flex-start;
                    // justify-content: space-between;
                    display:block;
                    
                    a {
                        color: #337ab7;
                        text-decoration: none;
                        display: block;
                        width: 100%;
                        height: auto;
                        // line-height: 22PX;
                        font-size: 20PX;
                        font-weight: bold;
                        color: #333;
                        overflow: hidden;
                        .hasImg{
                            .newsTopTitle{
                                width: 100%;
                                height: 30PX;
                                font-size: 20PX;
                                white-space: nowrap; /* 强制文字不换行 */
                                overflow: hidden; /* 隐藏超出容器的内容 */
                                text-overflow: ellipsis; /* 超出部分显示省略号 */

                            }
                            .newsBottomBody{
                                width: 100%;
                                height: auto;
                                .li_img_box{
                                    width: 200PX;
                                    height: 100PX;
                                    float: left;
                                    overflow: hidden;
                                    margin-right: 20PX;
                                    img{
                                        display: block;
                                        width: 100%;
                                        height: 100%;
                                    }
                                } 
                                .li_right_box{
                                    overflow: hidden;
                                    height: auto;
                                    .li_h4_dot1{
                                        display: block;
                                        width: 100%;
                                        height: 40PX;
                                        line-height: 40PX;
                                        overflow: hidden;
                                        white-space: nowrap;
                                        text-overflow: ellipsis;
                                        font-size: 18PX;
                                        color: #2c3036;
                                        font-weight: normal;
                                    }
                                    .li_dot3{
                                        text-indent: 2em;
                                        width: 100%;
                                        height: 60PX;
                                        line-height: 30PX;
                                        font-size: 16PX;
                                        color: #333;
                                        font-weight: normal;
                                        display: -webkit-box;
                                        -webkit-box-orient: vertical;
                                        -webkit-line-clamp: 2;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                        word-break: break-all;
                                        
                                    }

                                } 
                            }
                             

                        }
                        .notHasImg{
                            overflow: hidden;
                            height: auto;
                            // background: red;
                            .newsTopTitle{
                                width: 100%;
                                height: 30PX;
                                font-size: 20PX;
                                white-space: nowrap; /* 强制文字不换行 */
                                overflow: hidden; /* 隐藏超出容器的内容 */
                                text-overflow: ellipsis; /* 超出部分显示省略号 */
                            }
                            .li_dot3{
                                text-indent: 2em;
                                width: 100%;
                                height: 60PX;
                                line-height: 24PX;
                                font-size: 16PX;
                                color: #333;
                                font-weight: normal;
                                display: -webkit-box;
                                -webkit-box-orient: vertical;
                                -webkit-line-clamp: 2;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                word-break: break-all;
                                span{
                                    font-size: 16PX;
                                    color: #004276;
                                    float: right;
                                }
                                
                            }
                        }
                            
                    }
                    
                }
            }
        }
        .listBoxRight {
            width: 32%;
            float: right;
            overflow: hidden;
            margin: 20PX auto;
            box-sizing: border-box;
            .newsItemsBox {
                width: 100%;
                height: auto;
                // padding: 10PX 0;
                // background: blue;
                .new-items-box-title {
                    // margin-bottom: 10PX;
                    width: 100%;
                    height: 36PX;
                    line-height: 36PX;
                    border-bottom: 2PX solid #83E515;
                    // background: yellow;
                    span{
                        width: 46PX;
                        height: 31PX;
                        background: url(../../../public/image/icon_gddt.jpg) no-repeat center center;
                        background-size: 100% 100%;
                        display: block;
                        height: 31PX;
                        float: left;
                        margin: 2PX;
                    }
                    a{
                       width: 88PX;
                        float: left;
                        display: block;
                        font-size: 16PX;
                        text-align: center;
                        color: #065500;
                        font-weight: bold;
                        // margin-left: 10px;
                        // border-bottom: 2PX solid #2b96f1;
                        // background: red;
                    }
                   
                }
                .new-items-box-body{
                    padding: 10PX 10PX ;
                    .coniteml{
                        width: 100%;
                        height: auto;
                        // overflow: hidden;
                        // padding: 10PX 10PX ;
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        margin-bottom: 20PX;
                        .l_img{
                            width: 48%;
                            // background: red;
                            height: auto;
                            // float: left;
                            // overflow: hidden;
                            .imgA{
                                display: block;
                                height: 100PX;
                                img{
                                    vertical-align: middle;
                                    // display: block ;
                                    bottom: 0;
                                    width: 100%;
                                    height: 100%;
                                    // margin-top: -20PX;
                                }
                               
                            }
                        }
                        
                    }
                    .coniteml2{
                        width: 100%;
                        height: auto;
                        overflow: hidden;
                        margin: 10PX 0;
                        .rdxwImg{
                            width: 34%;
                            height: 92PX;
                            float: left;
                            overflow: hidden;
                            a{
                                text-decoration: none;
                                img{
                                    display: block;
                                    width: 100%;
                                    height: 100%;
                                }
                            }
                        }
                        .rdxwText{
                            width: 63%;
                            height: auto;
                            overflow: hidden;
                            float: right;
                            a{
                                text-decoration: none;
                                h4{
                                    display: block;
                                    width: 100%;
                                    height: 20PX;
                                    line-height: 20PX;
                                    overflow: hidden;
                                    font-size: 14PX;
                                    color: #000;
                                    font-weight: bold;

                                }
                                h4:hover{
                                    color: #83E515;
                                }
                                p{
                                    width: 100%;
                                    height: 50PX;
                                    line-height: 24PX;
                                    font-size: 15PX;
                                    color: #333;
                                    margin: 0;
                                    overflow: hidden;
                                    display: -webkit-box;
                                    -webkit-box-orient: vertical;
                                    -webkit-line-clamp: 2;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    word-break: break-all;
                                    text-indent: 2em;

                                }
                                p:hover{
                                    color: #83E515;
                                }
                            }
                            

                        }

                    }

                    .zzjj{
                        // margin-bottom: 40PX;
                        .maskLayer{
                            position: relative;
                            height: 100PX;
                            width: 49%;
                            .maskLayer_text{
                                .zzc{
                                    position: absolute;
                                    bottom: 0;
                                    left: 0;
                                    background: rgba(0, 0, 0, .5);
                                    color: #fff;
                                    display: block;
                                    width: 100%;
                                    line-height: 30PX;
                                    overflow: hidden;
                                    text-align: center;
                                    font-size: 16PX;
                                    
                                }
                            }
                        }
                        
                    }
                    .conitemlList{
                        width: 100%;
                        height: auto;
                        overflow: hidden;
                        // background: blue;
                        
                        li{
                            width: 100%;
                            height: 30PX;
                            display: flex;
                            align-items: center;
                            justify-content:space-between;
                            span{
                                width: 4%;
                                display: inline-block;
                                height: 15PX;
                                font-size: 15PX;
                                line-height: 15PX;
                                text-align: center;
                                float: left;
                                overflow: hidden;
                                margin-right: 6PX;
                            }

                            a{
                                display: inline-block;
                                line-height: 34PX;
                                width: 96%;
                                // background: green;
                                font-size: 15PX;
                                color: #454749;
                                margin-top: 0;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                            }
                            a:hover{
                                color: #83E515;
                            }
                        }
                        
                    }
                    .conitemlList li:nth-child(1) span{
                        background: #ff7500;
                        color: #fff;

                    }
                    .conitemlList li:nth-child(2) span{
                        background: #ffa400;
                        color: #fff;

                    }
                    .conitemlList li:nth-child(3) span{
                        background: #f6c20e;
                        color: #fff;

                    }
                    
               }
            }
        }
        
    }  
}
@media screen and (max-width: 800px) {
    //你的样式
    .breadcrumb-box .inner{
        margin-bottom: 25PX;
        font-size: 15PX;
    }
    // 分页器
    .pagination {
        width: 100%;
        height: 68px;
        margin-left: 282px;
        display: flex;
        justify-content: center;
        margin: 40px 0;
        padding: 40px 0;

        // 鼠标移入后字体颜色
        .el-pagination::v-deep :hover {
            color: #1aa0f7;
        }

        .el-pagination.is-background::v-deep .btn-next,
        .el-pagination.is-background::v-deep .btn-prev {
            width: 140px;
            height: 68px;
            margin: 0px 20px;
            border-radius: 8px;
        }

        .el-pagination.is-background::v-deep .el-pager li {
            margin: 0px 20px;
            width: 68px;
            height: 68px;
            border-radius: 8px;
            font-size: 28px;
        }

        .el-pagination.is-background::v-deep .btn-next.is-active,
        .el-pagination.is-background::v-deep .btn-prev.is-active,
        .el-pagination.is-background::v-deep .el-pager li.is-active {
            background-color: #1aa0f7;
            color: #fff;
        }
    }

    .pagination_phone_none {
        display: none;
    }
    
    //资讯列表
    .newsList {
        max-width: 800PX;
        margin: 0 auto;
        overflow: hidden;
        background: #fff;
        margin-top: 20PX;
        padding: 0 20PX;
        .listBoxLeft {
            // float:left;
            overflow: hidden;
            width: 100%;
            .list {
                >li {
                    width: 100%;
                    height: auto;
                    overflow: hidden;
                    border-bottom: 1PX solid #ccc;
                    padding: 10PX 0;
                    margin-bottom: 10PX;
                    // display: flex;
                    // align-items: flex-start;
                    // justify-content: space-between;
                    display:block;
                    
                    a {
                        color: #337ab7;
                        text-decoration: none;
                        display: block;
                        width: 100%;
                        height: auto;
                        // line-height: 22PX;
                        font-size: 20PX;
                        font-weight: bold;
                        color: #333;
                        overflow: hidden;
                        .hasImg{
                            .newsTopTitle{
                                width: 100%;
                                height: 30PX;
                                font-size: 38px;
                                white-space: nowrap; /* 强制文字不换行 */
                                overflow: hidden; /* 隐藏超出容器的内容 */
                                text-overflow: ellipsis; /* 超出部分显示省略号 */

                            }
                            .newsBottomBody{
                                width: 100%;
                                height: auto;
                                .li_img_box{
                                    width: 100%;
                                    height: 150PX;
                                    // float: left;
                                    overflow: hidden;
                                    margin-right: 20PX;
                                    img{
                                        display: block;
                                        width: 100%;
                                        height: 100%;
                                    }
                                } 
                                .li_right_box{
                                    width: 100%;
                                    overflow: hidden;
                                    height: auto;
                                    .li_h4_dot1{
                                        display: block;
                                        width: 100%;
                                        height: 40PX;
                                        line-height: 40PX;
                                        overflow: hidden;
                                        white-space: nowrap;
                                        text-overflow: ellipsis;
                                        font-size: 18PX;
                                        color: #2c3036;
                                        font-weight: normal;
                                    }
                                    .li_dot3{
                                        text-indent: 2em;
                                        width: 100%;
                                        height: 60PX;
                                        line-height: 30PX;
                                        font-size: 34px;
                                        color: #333;
                                        font-weight: normal;
                                        display: -webkit-box;
                                        -webkit-box-orient: vertical;
                                        -webkit-line-clamp: 2;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                        word-break: break-all;
                                        
                                    }

                                } 
                            }
                             

                        }
                        .notHasImg{
                            overflow: hidden;
                            height: auto;
                            // background: red;
                            .newsTopTitle{
                                width: 100%;
                                height: 30PX;
                                font-size: 38px;
                                white-space: nowrap; /* 强制文字不换行 */
                                overflow: hidden; /* 隐藏超出容器的内容 */
                                text-overflow: ellipsis; /* 超出部分显示省略号 */
                            }
                            .li_dot3{
                                text-indent: 2em;
                                width: 100%;
                                height: 52.5PX;
                                line-height: 26.25PX;
                                color: #333;
                                font-weight: normal;
                                display: -webkit-box;
                                -webkit-box-orient: vertical;
                                -webkit-line-clamp: 2;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                word-break: break-all;
                                font-size: 34px;
                                span{
                                    display: none;
                                    font-size: 17PX;
                                    color: #004276;
                                    float: right;
                                }
                                
                            }
                        }
                            
                    }
                    
                }
            }
        }
        .listBoxRight {
            width: 100%;
            // float: right;
            overflow: hidden;
            margin: 20PX auto;
            box-sizing: border-box;
            .newsItemsBox {
                width: 100%;
                height: auto;
                // padding: 10PX 0;
                // background: blue;
                .new-items-box-title {
                    // margin-bottom: 10PX;
                    width: 100%;
                    height: 36PX;
                    line-height: 36PX;
                    border-bottom: 2PX solid #83E515;
                    // background: yellow;
                    span{
                        width: 46PX;
                        height: 31PX;
                        background: url(../../../public/image/icon_gddt.jpg) no-repeat center center;
                        background-size: 100% 100%;
                        display: block;
                        height: 31PX;
                        float: left;
                        margin: 2PX;
                    }
                    a{
                       width: 88PX;
                        float: left;
                        display: block;
                        font-size: 16PX;
                        text-align: center;
                        color: #065500;
                        font-weight: bold;
                        // margin-left: 10px;
                        // border-bottom: 2PX solid #2b96f1;
                        // background: red;
                    }
                   
                }
                .new-items-box-body{
                    padding: 10PX 10PX ;
                    .coniteml{
                        width: 100%;
                        height: auto;
                        // overflow: hidden;
                        // padding: 10PX 10PX ;
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        margin-bottom: 90PX;
                        .l_img{
                            width: 48%;
                            // background: red;
                            height: auto;
                            // float: left;
                            // overflow: hidden;
                            .imgA{
                                display: block;
                                height: 112.5PX;
                                img{
                                    vertical-align: middle;
                                    // display: block ;
                                    bottom: 5PX;
                                    width: 100%;
                                    height: 100%;
                                    // margin-top: -20PX;
                                }
                               
                            }
                        }
                        
                    }
                    .coniteml2{
                        width: 100%;
                        height: auto;
                        overflow: hidden;
                        margin: 10PX 0;
                        .rdxwImg{
                            width: 34%;
                            height: 92PX;
                            float: left;
                            overflow: hidden;
                            a{
                                text-decoration: none;
                                img{
                                    display: block;
                                    width: 100%;
                                    height: 100%;
                                }
                            }
                        }
                        .rdxwText{
                            width: 63%;
                            height: auto;
                            overflow: hidden;
                            float: right;
                            margin-top: 10PX;
                            a{
                                text-decoration: none;
                                h4{
                                    display: block;
                                    width: 100%;
                                    height: 20PX;
                                    line-height: 20PX;
                                    overflow: hidden;
                                    font-size: 28px;
                                    color: #000;
                                    font-weight: bold;

                                }
                                h4:hover{
                                    color: #83E515;
                                }
                                p{
                                    width: 100%;
                                    height: 50PX;
                                    line-height: 24PX;
                                    font-size: 30px;
                                    color: #333;
                                    margin: 0;
                                    overflow: hidden;
                                    display: -webkit-box;
                                    -webkit-box-orient: vertical;
                                    -webkit-line-clamp: 2;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    word-break: break-all;
                                    text-indent: 2em;

                                }
                                p:hover{
                                    color: #83E515;
                                }
                            }
                            

                        }

                    }

                    .zzjj{
                        // margin-bottom: 40PX;
                        .maskLayer{
                            position: relative;
                            height: 37.5PX;
                            line-height: 37.5PX;
                            width: 49%;
                            .maskLayer_text{
                                height: 37.5PX;
                                .zzc{
                                    position: absolute;
                                    bottom: -75PX;
                                    height: 37.5PX;
                                    left: 0;
                                    background: rgba(0, 0, 0, .5);
                                    color: #fff;
                                    display: block;
                                    width: 100%;
                                    line-height: 37.5PX;
                                    overflow: hidden;
                                    text-align: center;
                                    font-size: 16PX;
                                    
                                }
                            }
                        }
                        
                    }
                    .conitemlList{
                        width: 100%;
                        height: auto;
                        overflow: hidden;
                        // background: blue;
                        
                        li{
                            width: 100%;
                            height: 30PX;
                            display: flex;
                            align-items: center;
                            justify-content:space-between;
                            span{
                                width: 4%;
                                display: inline-block;
                                height: 15PX;
                                font-size: 15PX;
                                line-height: 15PX;
                                text-align: center;
                                float: left;
                                overflow: hidden;
                                margin-right: 6PX;
                            }

                            a{
                                display: inline-block;
                                line-height: 34PX;
                                width: 96%;
                                // background: green;
                                font-size: 34px;
                                color: #454749;
                                margin-top: 0;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                            }
                            a:hover{
                                color: #83E515;
                            }
                        }
                        
                    }
                    .conitemlList li:nth-child(1) span{
                        background: #ff7500;
                        color: #fff;

                    }
                    .conitemlList li:nth-child(2) span{
                        background: #ffa400;
                        color: #fff;

                    }
                    .conitemlList li:nth-child(3) span{
                        background: #f6c20e;
                        color: #fff;

                    }
                    
               }
            }
        }
        
    } 
    

}

</style>




