<template>
    <div>
        <!-- 页面头部 -->
        <HomePageHead></HomePageHead>
        <!-- 页面导航 -->
        <HomePageNavigation></HomePageNavigation>
        <!-- 资讯 -->
        <HomePageMessage></HomePageMessage>
        <!-- 十强称号logo -->
        <HomeAdvertising :imgurl="adList[1]" v-if="adList[1]"></HomeAdvertising>
        <!-- 更多服务 -->
        <HomeMoreService></HomeMoreService>
        <!-- 板块标题 -->
        <div class="titleBox" id="ztzx">
            <img src="../static/index/theme1.png" alt="主题资讯">
        </div>
        <!-- 模块一 新农村 pagedata[0] -->
        <div class="farming" >
            <div class="inner">
                <div class="farmerLeft" v-if="pageData.length>=1">
                    <div class="farmer">
                        <h3 v-if="pageData[0].cid">
                            <NuxtLink
                                :to="{ path: `/newsList/${pageData[0].cid}`, query: { catid: pageData[0].cid } }"
                                target="_blank" v-if="pageData[0].cid&&pageData[0].children_count==0" class="active">
                                {{pageData[0].alias}}
                            </NuxtLink>
                            <NuxtLink
                                :to="{ path: `/primaryNavigation/${pageData[0].cid}`, query: { catid: pageData[0].cid } }"
                                target="_blank" v-else-if="pageData[0].cid&&pageData[0].children_count!=0" class="active">
                                {{pageData[0].alias}}
                            </NuxtLink>
                            <NuxtLink
                                :to="{ path: `/newsList/${pageData[0].cid}`, query: { catid: pageData[0].cid } }"
                                target="_blank" v-if="pageData[0].cid">
                                查看更多
                            </NuxtLink>
                        </h3>
                        <ul class="mode1ul_style1">
                            <li v-for="(item,index) in boxData1" class="imgbg">
                                <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
                                    <img :src="item.imgurl" :alt="item.title">
                                    <div>
                                        <p>
                                            <span v-if="index==0">专题</span>
                                            {{ item.title }}
                                        </p>
                                        <p>
                                            {{ getDays(item.updated_at) }}
                                        </p>
                                    </div>
                                </NuxtLink>
                                <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank" v-if="item.islink==0">
                                    <img :src="item.imgurl" :alt="item.title">
                                    <div>
                                        <p>
                                            <span v-if="index==0">专题</span>
                                            {{ item.title }}
                                        </p>
                                        <p>
                                            {{ getDays(item.updated_at) }}
                                        </p>
                                    </div>
                                </NuxtLink>
                            </li>
                        </ul>
                        <ul class="mode1ul_style2">
                            <li v-for="item in boxData1data2">
                                <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
                                    <p class="title">{{ item.title }}</p>
                                    <p>{{ getDays(item.updated_at) }}</p>
                                </NuxtLink>
                                <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank" v-if="item.islink==0">
                                    <p class="title">{{ item.title }}</p>
                                    <p>{{ getDays(item.updated_at) }}</p>
                                </NuxtLink>
                            </li>
                        </ul>
                    </div>
                </div>
                <!-- 模块二 贴身宝贝 pagedata[1] -->
                <div class="farmerRight" v-if="pageData.length>=2">
                    <div class="rich">
                        <h3 v-if="pageData[1].cid">
                            <NuxtLink
                                :to="{ path: `/newsList/${pageData[1].cid}`}"
                                target="_blank" v-if="pageData[1]&&pageData[1].children_count==0" class="active">
                                {{pageData[1].alias}}
                            </NuxtLink>
                            <NuxtLink
                                :to="{ path: `/primaryNavigation/${pageData[1].cid}`}"
                                target="_blank" v-else-if="pageData[1]&&pageData[1].children_count!=0" class="active">
                                {{pageData[1].alias}}
                            </NuxtLink>
                            <NuxtLink
                                :to="{ path: `/newsList/${pageData[1].cid}`, query: { catid: pageData[1].cid } }"
                                target="_blank" v-if="pageData[1].cid">
                                查看更多
                            </NuxtLink>
                        </h3>
                        <ul>
                            <li v-for="(item,index) in boxData2">
                                <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
                                    <div class="index">{{ index+1 }}</div>
                                    <div class="title">{{ item.title }}</div>
                                </NuxtLink>
                                <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-if="item.islink==0">
                                    <div class="index">{{ index+1 }}</div>
                                    <div class="title">{{ item.title }}</div>
                                </NuxtLink>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="scienceEducation">
            <div class="inner">
                <div class="scienceLeft" v-if="pageData.length>=3">
                    <!-- 模块三 政策法规 pagedata[2] -->
                    <HomeSlider :message="pageData[2]"></HomeSlider>
                </div>
                <div class="scienceRight" v-if="pageData.length>=4">
                    <div class="adBox1">
                        <a href="http://www.baidu.com" target="_blank">
                            <img :src="adList[0].thumb" v-if="adList[0]">
                        </a>
                    </div>
                    <!-- 模块四 三农之窗 pagedata[3] -->
                    <h3 v-if="pageData[3].cid">
                        <span>
                            <NuxtLink
                                :to="{ path: `/newsList/${pageData[3].cid}`}"
                                target="_blank" v-if="pageData[3]&&pageData[3].children_count==0" class="active">
                                {{pageData[3].alias}}
                            </NuxtLink>
                            <NuxtLink
                                :to="{ path: `/primaryNavigation/${pageData[3].cid}`}"
                                target="_blank" v-else-if="pageData[3]&&pageData[3].children_count!=0" class="active">
                                {{pageData[3].alias}}
                            </NuxtLink>
                        </span>
                        <NuxtLink
                            :to="{ path: `/newsList/${pageData[3].cid}`, query: { catid: pageData[3].cid } }"
                            target="_blank" v-if="pageData[3].cid">
                            查看更多
                        </NuxtLink>
                    </h3>
                    <div class="banner_b_img">
                        <ul>
                            <li v-for="item in boxData4">
                                <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
                                    <img src="../static/index/qz.png" alt="三农招聘">
                                    <p>{{ item.title }}</p>
                                </NuxtLink>
                                <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-if="item.islink==0">
                                    <img src="../static/index/qz.png" alt="三农招聘">
                                    <p>{{ item.title }}</p>
                                </NuxtLink>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <HomeTopTen :imgurl="adList[2]" v-if="adList[2]"></HomeTopTen>
        <!-- 模块五 区域经济 pagedata[4] -->
        <div class="layoutCopy">
            <div class="layoutCopyLeft">
                <div class="layoutCopyLeftTop">
                    <div class="layoutCopyLeft1" v-if="pageData.length>=5">
                        <div class="layoutTitleBox" v-if="pageData[4]">
                            <div class="layoutTitle" v-if="pageData[4].cid"> 
                                <NuxtLink
                                    :to="{ path: `/newsList/${pageData[4].cid}`}"
                                    target="_blank" v-if="pageData[4]&&pageData[4].children_count==0" class="active">
                                    {{pageData[4].alias}}
                                </NuxtLink>
                                <NuxtLink
                                    :to="{ path: `/primaryNavigation/${pageData[4].cid}`}"
                                    target="_blank" v-else-if="pageData[4]&&pageData[4].children_count!=0" class="active">
                                    {{pageData[4].alias}}
                                </NuxtLink>
                            </div>
                            <div class="layoutMore" v-if="pageData[4].cid">
                                <NuxtLink
                                    :to="{ path: `/newsList/${pageData[4].cid}`, query: { catid: pageData[4].cid } }"
                                    target="_blank" v-if="pageData[4].cid">
                                    查看更多
                                </NuxtLink>
                            </div>
                        </div>
                        <div class="layoutCopyData_style1" v-if="boxData5[0]">
                            <NuxtLink :to="boxData5[0].linkurl" target="_blank" v-if="boxData5[0].islink==1">
                                <img :src="boxData5[0].imgurl" alt="">
                                <div>
                                    <span>{{ boxData5[0].title }}</span>
                                </div>
                            </NuxtLink>
                            <NuxtLink :to="`/newsDetail/${boxData5[0].id}`" target="_blank" v-if="boxData5[0].islink==0">
                                <img :src="boxData5[0].imgurl" alt="">
                                <div>
                                    <span>{{ boxData5[0].title }}</span>
                                </div>
                            </NuxtLink>
                            <NuxtLink :to="boxData5data2[0].linkurl" target="_blank" v-if="boxData5data2[0]&&boxData5data2[0].islink==1">
                                <p class="title">{{ boxData5data2[0].title }}</p>
                                <p>{{ getDays(boxData5data2[0].created_at)}}</p>
                            </NuxtLink>
                            <NuxtLink :to="`/newsDetail/${boxData5data2[0].id}`" target="_blank" v-if="boxData5data2[0]&&boxData5data2[0].islink==0">
                                <p class="title">{{ boxData5data2[0].title }}</p>
                                <p>{{ getDays(boxData5data2[0].created_at)}}</p>
                            </NuxtLink>
                        </div>
                    </div>
                    <!-- 模块五 三农投资 pagedata[5] -->
                    <div class="layoutCopyLeft2" v-if="pageData.length>=6">
                        <div class="layoutTitleBox" v-if="pageData[5]">
                            <div class="layoutTitle" v-if="pageData[5].cid">
                                <NuxtLink
                                    :to="{ path: `/newsList/${pageData[5].cid}`}"
                                    target="_blank" v-if="pageData[5]&&pageData[5].children_count==0" class="active">
                                    {{pageData[5].alias}}
                                </NuxtLink>
                                <NuxtLink
                                    :to="{ path: `/primaryNavigation/${pageData[5].cid}`}"
                                    target="_blank" v-else-if="pageData[5]&&pageData[5].children_count!=0" class="active">
                                    {{pageData[5].alias}}
                                </NuxtLink>
                            </div>
                            <div class="layoutMore" v-if="pageData[5].cid">
                                <NuxtLink :to="{ path: `/newsList/${pageData[5].cid}`, query: { catid: pageData[5].cid } }" target="_blank" v-if="pageData[5].cid">
                                    查看更多
                                </NuxtLink>
                            </div>
                        </div>
                        <div class="layoutCopyData_style2">
                            <NuxtLink :to="item.linkurl" target="_blank" v-for="item in boxData6" v-show='item.islink==1'>
                                <p class="title">{{ item.title }}</p>
                                <p>{{ getDays(item.created_at)}}</p>
                            </NuxtLink>
                            <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-for="item in boxData6" v-show='item.islink==0'>
                                <p class="title">{{ item.title }}</p>
                                <p>{{ getDays(item.created_at)}}</p>
                            </NuxtLink>
                        </div>
                    </div>
                </div>
                <div class="layoutCopyLeftBottom" v-if="pageData.length>=7">
                    <div class="layoutTitleBox" v-if="pageData[6]">
                        <div class="layoutTitle" v-if="pageData[6].cid"> 
                            <NuxtLink
                                :to="{ path: `/newsList/${pageData[6].cid}`}"
                                target="_blank" v-if="pageData[6]&&pageData[6].children_count==0" class="active">
                                {{pageData[6].alias}}
                            </NuxtLink>
                            <NuxtLink
                                :to="{ path: `/primaryNavigation/${pageData[6].cid}`}"
                                target="_blank" v-else-if="pageData[6]&&pageData[6].children_count!=0" class="active">
                                {{pageData[6].alias}}
                            </NuxtLink>
                        </div>
                        <div class="layoutMore" v-if="pageData[6].cid">
                            <NuxtLink
                                :to="{ path: `/newsList/${pageData[6].cid}`, query: { catid: pageData[6].cid } }"
                                target="_blank" v-if="pageData[6].cid">
                                查看更多
                            </NuxtLink>
                        </div>
                    </div>
                    <div class="layoutCopyData_style3">
                    
                        <div v-for="(item,index) in boxData7">
                            <NuxtLink :to="item.linkurl" target="_blank" v-if="index==1&&item.islink==1" class="style3link1">
                                <div class="time">
                                    <p>{{ getDay(item.created_at) }}</p>
                                    <p>{{ geMonth(item.created_at) }}</p>
                                </div>
                                <div>
                                    <p class="title">{{ item.title }}</p>
                                    <p class="introduce">{{ item.introduce }}</p>
                                </div>
                            </NuxtLink>
                            <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-if="index==1&&item.islink==0" class="style3link1">
                                <div class="time">
                                    <p>{{ getDay(item.created_at) }}</p>
                                    <p>{{ geMonth(item.created_at) }}</p>
                                </div>
                                <div>
                                    <p class="title">{{ item.title }}</p>
                                    <p class="introduce">{{ item.introduce }}</p>
                                </div>
                            </NuxtLink>
                            <NuxtLink :to="item.linkurl" target="_blank" v-if="index>1&&item.islink==1" class="style3link2">
                                <div>
                                    <b></b>
                                    <p class="title">{{ item.title }}</p>
                                </div>
                                <p>{{ getDays(item.created_at) }}</p>
                            </NuxtLink>
                            <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-if="index>1&&item.islink==0" class="style3link2">
                                <div>
                                    <b></b>
                                    <p class="title">{{ item.title }}</p>
                                </div>
                                <p>{{ getDays(item.created_at) }}</p>
                            </NuxtLink>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layoutCopyRight"  v-if="pageData.length>=8">
                <div class="layoutTitleBox" v-if="pageData[7]">
                    <div class="layoutTitle" v-if="pageData[7].cid"> 
                        <NuxtLink
                            :to="{ path: `/newsList/${pageData[7].cid}`}"
                            target="_blank" v-if="pageData[7]&&pageData[7].children_count==0" class="active">
                            {{pageData[7].alias}}
                        </NuxtLink>
                        <NuxtLink
                            :to="{ path: `/primaryNavigation/${pageData[7].cid}`}"
                            target="_blank" v-else-if="pageData[7]&&pageData[7].children_count!=0" class="active">
                            {{pageData[7].alias}}
                        </NuxtLink>
                    </div>
                    <div class="layoutMore" v-if="pageData[7].cid">
                        <NuxtLink
                            :to="{ path: `/newsList/${pageData[7].cid}`, query: { catid: pageData[7].cid } }"
                            target="_blank" v-if="pageData[7].cid">
                            查看更多
                        </NuxtLink>
                    </div>
                </div>
                <div class="layoutCopyData_style4">
                    <div class="layoutCopyData_pic">
                        <NuxtLink :to="item.linkurl" target="_blank" v-for="item in boxData8" v-show="item.islink==1">
                            <img :src="item.imgurl">
                            <p>{{ item.title }}</p>
                        </NuxtLink>
                        <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-for="item in boxData8" v-show="item.islink==0">
                            <img :src="item.imgurl">
                            <p>{{ item.title }}</p>
                        </NuxtLink>
                    </div>
                    <div class="layoutCopyData_text">
                        <NuxtLink :to="item.linkurl" target="_blank" v-for="item in boxData88" v-show="item.islink==1">
                            <div class="title">{{ item.title }}</div>
                            <div class="more">详</div>
                        </NuxtLink>
                        <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-for="item in boxData88" v-show="item.islink==0">
                            <div class="title">{{ item.title }}</div>
                            <div class="more">详</div>
                        </NuxtLink>
                    </div>
                </div>
            </div>
        </div>

        <!-- 板块标题 -->
        <div class="titleBox" id="hdzx">
            <img src="../static/index/theme2.png" alt="互动资讯">
        </div>
        <div class="farming">
            <div class="inner">
                <div class="farmerLeft">
                    <div class="farmer">
                        <h3>
                            <div class="titleBoxTabs" v-if="pageData.length>=9">
                                <span class="active" v-if="pageData[8].cid">
                                    <NuxtLink
                                        :to="{ path: `/newsList/${pageData[8].cid}`}"
                                        target="_blank" v-if="pageData[8]&&pageData[8].children_count==0" class="active">
                                        {{pageData[8].alias}}
                                    </NuxtLink>
                                    <NuxtLink
                                        :to="{ path: `/primaryNavigation/${pageData[8].cid}`}"
                                        target="_blank" v-else-if="pageData[8]&&pageData[8].children_count!=0" class="active">
                                        {{pageData[8].alias}}
                                    </NuxtLink>
                                </span>
                                <span v-if="pageData[9].cid">
                                    <NuxtLink
                                        :to="{ path: `/newsList/${pageData[9].cid}`}"
                                        target="_blank" v-if="pageData[9]&&pageData[9].children_count==0" >
                                        {{pageData[9].alias}}
                                    </NuxtLink>
                                    <NuxtLink
                                        :to="{ path: `/primaryNavigation/${pageData[9].cid}`}"
                                        target="_blank" v-else-if="pageData[9]&&pageData[9].children_count!=0" >
                                        {{pageData[9].alias}}
                                    </NuxtLink>
                                </span>
                            </div>
                        </h3>
                        <ul class="mode1ul_style1">
                            <li v-for="(item,index) in boxData8" class="imgbg">
                                <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
                                    <img :src="item.imgurl" :alt="item.title">
                                    <div>
                                        <p>
                                            <span v-if="index==0">专题</span>
                                            {{ item.title }}
                                        </p>
                                        <p>
                                            {{ getDays(item.created_at) }}
                                        </p>
                                    </div>
                                </NuxtLink>
                                <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank" v-if="item.islink==0">
                                    <img :src="item.imgurl" :alt="item.title">
                                    <div>
                                        <p>
                                            <span v-if="index==0">专题</span>
                                            {{ item.title }}
                                        </p>
                                        <p>
                                            {{ getDays(item.created_at) }}
                                        </p>
                                    </div>
                                </NuxtLink>
                            </li>
                        </ul>
                        <ul class="mode1ul_style2">
                            <li v-for="item in boxData9data2">
                                <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
                                    <p class="title">{{ item.title }}</p>
                                    <p>{{ getDays(item.created_at) }}</p>
                                </NuxtLink>
                                <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank" v-if="item.islink==0">
                                    <p class="title">{{ item.title }}</p>
                                    <p>{{ getDays(item.created_at) }}</p>
                                </NuxtLink>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="farmerRight">
                    <div class="rich" v-if="pageData.length>=11">
                        <h3 v-if="pageData[10]">
                            <span v-if="pageData[10].cid">
                                <NuxtLink
                                    :to="{ path: `/newsList/${pageData[10].cid}`}"
                                    target="_blank" v-if="pageData[10]&&pageData[10].children_count==0" class="active">
                                    {{pageData[10].alias}}
                                </NuxtLink>
                                <NuxtLink
                                    :to="{ path: `/primaryNavigation/${pageData[10].cid}`}"
                                    target="_blank" v-else-if="pageData[10]&&pageData[10].children_count!=0" class="active">
                                    {{pageData[10].alias}}
                                </NuxtLink>
                            </span>
                            <NuxtLink
                                :to="{ path: `/newsList/${pageData[10].cid}`, query: { catid: pageData[1].cid } }"
                                target="_blank" v-if="pageData[10].cid">
                                查看更多
                            </NuxtLink>
                        </h3>
                        <div class="richList">
                            <div class="richListPic" v-if="boxData11[0]">
                                <NuxtLink :to="boxData11[0].linkurl" target="_blank" v-if="boxData11[0].islink==1 ">
                                    <img :src="boxData11[0].imgurl" alt="">
                                    <div>
                                        <span>{{ boxData11[0].title }}</span>
                                    </div>
                                </NuxtLink>
                                <NuxtLink :to="`/newsDetail/${boxData11[0].id}`" target="_blank" v-if="boxData11[0].islink==0">
                                    <img :src="boxData11[0].imgurl" alt="">
                                    <div>
                                        <span>{{ boxData11[0].title }}</span>
                                    </div>
                                </NuxtLink>
                            </div>
                            <div class="richListText" v-if="boxData11data2[0]">
                                <NuxtLink :to="boxData11data2[0].linkurl" target="_blank" v-if="boxData11data2[0].islink==1">
                                    <span>{{ boxData11data2[0].title }}</span>
                                </NuxtLink>
                                <NuxtLink :to="`/newsDetail/${boxData11data2[0].id}`" target="_blank" v-if="boxData11data2[0].islink==0">
                                    <span>{{ boxData11data2[0].title }}</span>
                                </NuxtLink>
                            </div>
                            <div class="richListText" v-if="boxData11data2[1]">
                                <NuxtLink :to="boxData11data2[1].linkurl" target="_blank" v-if="boxData11data2[1].islink==1">
                                    <span>{{ boxData11data2[1].title }}</span>
                                </NuxtLink>
                                <NuxtLink :to="`/newsDetail/${boxData11data2[1].id}`" target="_blank" v-if="boxData11data2[1].islink==0">
                                    <span>{{ boxData11data2[1].title }}</span>
                                </NuxtLink>
                            </div>
                            <div class="richListPictow" v-if="boxData11[0]">
                                <NuxtLink :to="boxData11[1].linkurl" target="_blank" v-if="boxData11[1].islink==1">
                                    <img :src="boxData11[0].imgurl" alt="">
                                    <div>
                                        <span>{{ boxData11[0].title }}</span>
                                    </div>
                                </NuxtLink>
                                <NuxtLink :to="`/newsDetail/${boxData11[1].id}`" target="_blank" v-if="boxData11[1].islink==0">
                                    <img :src="boxData11[0].imgurl" alt="">
                                    <div>
                                        <span>{{ boxData11[0].title }}</span>
                                    </div>
                                </NuxtLink>
                            </div>
                            <div class="richListText" v-if="boxData11data2[2]">
                                <NuxtLink :to="boxData11data2[2].linkurl" target="_blank" v-if="boxData11data2[2].islink==1">
                                    <span>{{ boxData11data2[2].title }}</span>
                                </NuxtLink>
                                <NuxtLink :to="`/newsDetail/${boxData11data2[2].id}`" target="_blank" v-if="boxData11data2[2].islink==0">
                                    <span>{{ boxData11data2[2].title }}</span>
                                </NuxtLink>
                            </div>
                            <div class="richListText" v-if="boxData11data2[3]">
                                <NuxtLink :to="boxData11data2[3].linkurl" target="_blank" v-if="boxData11data2[3].islink==1">
                                    <span>{{ boxData11data2[3].title }}</span>
                                </NuxtLink>
                                <NuxtLink :to="`/newsDetail/${boxData11data2[3].id}`" target="_blank" v-if="boxData11data2[3].islink==0">
                                    <span>{{ boxData11data2[3].title }}</span>
                                </NuxtLink>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <section class="index_3 clearfix">
             <div class="index_3_box_left">
                 <div class="index_2_head_box clearfix">
                     <div class="index_1_head_box index_1_head_box_2 clearfix" v-if="pageData.length>=12">
                        <div class="index_1_head index_1_head_only" v-if="pageData[11].cid">
                            <NuxtLink
                                :to="{ path: `/newsList/${pageData[11].cid}`}"
                                target="_blank" v-if="pageData[11]&&pageData[11].children_count==0" class="active">
                                {{pageData[11].alias}}
                            </NuxtLink>
                            <NuxtLink
                                :to="{ path: `/primaryNavigation/${pageData[11].cid}`}"
                                target="_blank" v-else-if="pageData[11]&&pageData[11].children_count!=0" class="active">
                                {{pageData[11].alias}}
                            </NuxtLink>
                        </div>
                        <div class="index_1_head" v-if="pageData[12].cid">
                            <NuxtLink
                                :to="{ path: `/newsList/${pageData[12].cid}`}"
                                target="_blank" v-if="pageData[12]&&pageData[12].children_count==0" class="active">
                                {{pageData[12].alias}}
                            </NuxtLink>
                            <NuxtLink
                                :to="{ path: `/primaryNavigation/${pageData[12].cid}`}"
                                target="_blank" v-else-if="pageData[12]&&pageData[12].children_count!=0" class="active">
                                {{pageData[12].alias}}
                            </NuxtLink>
                        </div>
                     </div>
                 </div>
                 <div class="index_3_ul clearfix">
                     <div :class="['index_3_li',index < 2 ? 'index_3_li_color' : '']" v-for="(item, index) in boxData12">
                        <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
                            <p class="title">
                                <b :class="['lis',index < 2 ? 'active' : '']"></b>
                                {{ item.title }}
                            </p>
                            <p>{{  getDays(item.created_at) }}</p>
                        </NuxtLink>
                        <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank" v-if="item.islink==0">
                            <p class="title">
                                <b :class="['lis',index < 2 ? 'active' : '']"></b>
                                {{ item.title }}
                            </p>
                            <p>{{  getDays(item.created_at) }}</p>
                        </NuxtLink>
                    </div>
                </div>
            </div>
            <div class="index_1_box_right">
                <img src="../static/index/sndc.png" alt="三农调查">
                <div class="index_3_box_vote">
                    <div class="inquire">
                        <p>郑州17名警察因出警慢被关禁闭,你怎么看?</p>
                        <div class="radio">
                            <el-radio-group v-model="radio1" text-color=#33B023 :disabled="isDisabled">
                                <el-radio value="1" size="large">支持，警察不关心百姓应惩罚</el-radio>
                                <el-radio value="2" size="large">反对，这件事就关禁闭不合理</el-radio>
                                <el-radio value="3" size="large">建议其他部门效仿此做法</el-radio>
                                <el-radio value="4" size="large">其他</el-radio>
                            </el-radio-group>
                        </div>
                        <div class="btn">
                            <button class="voting" @click="handleVote" :disabled="isDisabled">投票</button>
                            <button class="look">查看</button>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <div class="titleBox">
            <a href="http://www.baidu.com" target="_blank">
                <img :src="adList[3].thumb" v-if="adList[3]">
            </a>
        </div>

        <div class="lastPart3">
            <div class="inner">
                <div class="lastPartTitle" v-if="pageData.length>=14">
                    <div class="left" >
                        <span class="active" v-if="pageData[13].cid">
                            <NuxtLink
                                :to="{ path: `/newsList/${pageData[13].cid}`}"
                                target="_blank" v-if="pageData[13]&&pageData[13].children_count==0" class="active">
                                {{pageData[13].alias}}
                            </NuxtLink>
                            <NuxtLink
                                :to="{ path: `/primaryNavigation/${pageData[13].cid}`}"
                                target="_blank" v-else-if="pageData[13]&&pageData[13].children_count!=0" class="active">
                                {{pageData[13].alias}}
                            </NuxtLink>
                        </span>
                        <span v-if="pageData[14].cid">
                            <NuxtLink
                                :to="{ path: `/newsList/${pageData[14].cid}`}"
                                target="_blank" v-if="pageData[14]&&pageData[14].children_count==0" class="active">
                                {{pageData[14].alias}}
                            </NuxtLink>
                            <NuxtLink
                                :to="{ path: `/primaryNavigation/${pageData[14].cid}`}"
                                target="_blank" v-else-if="pageData[14]&&pageData[14].children_count!=0" class="active">
                                {{pageData[14].alias}}
                            </NuxtLink>
                        </span>
                    </div>
                    <div class="right">
                        <NuxtLink :to="{ path: `/newsList/${item.category_id}`}" target="_blank" v-if="pageData[14].cid" v-for="item in boxData14menu">
                            {{item.name}}
                        </NuxtLink>
                    </div>
                </div>
                <div class="lastPartContext">
                    <div class="left">
                        <ul class="mode1ul_style1">
                            <li v-for="(item,index) in boxData14" class="imgbg">
                                <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
                                    <img :src="item.imgurl" :alt="item.title">
                                    <div>
                                        <p>
                                            <span v-if="index==0">专题</span>
                                            {{ item.title }}
                                        </p>
                                        <p>
                                            {{ getTime(item.created_at) }}
                                        </p>
                                    </div>
                                </NuxtLink>
                                <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank" v-if="item.islink==0">
                                    <img :src="item.imgurl" :alt="item.title">
                                    <div>
                                        <p>
                                            <span v-if="index==0">专题</span>
                                            {{ item.title }}
                                        </p>
                                        <p>
                                            {{ getTime(item.created_at) }}
                                        </p>
                                    </div>
                                </NuxtLink>
                            </li>
                        </ul>
                        <ul class="mode1ul_style2">
                            <li v-for="item in boxData14data2">
                                <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
                                    <p class="title">{{ item.title }}</p>
                                    <p>{{getDays(item.created_at)}}</p>
                                </NuxtLink>
                                <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank" v-if="item.islink==0">
                                    <p class="title">{{ item.title }}</p>
                                    <p>{{getDays(item.created_at)}}</p>
                                </NuxtLink>
                            </li>
                        </ul>
                    </div>
                    <div class="right" v-if="pageData.length>=15">
                        <div class="title">
                            <h3 v-if="boxData14menu[0]">
                                <NuxtLink
                                    :to="{ path: `/newsList/${boxData14menu[0].category_id}`, query: { catid: boxData14menu[0].cid } }"
                                    target="_blank" v-if="boxData14menu[0]" class="leftTitle">
                                    {{ boxData14menu[0].name }}
                                </NuxtLink>
                                <NuxtLink
                                    :to="{ path: `/newsList/${boxData14menu[0].category_id}`, query: { catid: boxData14menu[0].cid } }"
                                    target="_blank" v-if="boxData14menu[0]">
                                    查看更多
                                </NuxtLink>
                            </h3>
                        </div>
                        <ul class="content">
                            <li v-for="item in boxData14mainData">
                                <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
                                    <span>
                                        <strong>{{getMonthandDay(item.created_at)}}</strong>
                                        {{getYear(item.created_at)}}
                                    </span>
                                    <span class="text">{{ item.title }}</span>
                                </NuxtLink>
                                <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank" v-if="item.islink==0">
                                    <span>
                                        <strong>{{getMonthandDay(item.created_at)}}</strong>
                                        {{getYear(item.created_at)}}
                                    </span>
                                    <span class="text">{{ item.title }}</span>
                                </NuxtLink>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <section class="index_2 clearfix">
            <div class="index_2_head_box clearfix" v-if="pageData.length>=16">
                <div class="index_1_head_box index_1_head_box_2 clearfix">
                    <div class="index_1_head index_1_head_only" v-if="pageData[15].cid">
                        <NuxtLink
                            :to="{ path: `/newsList/${pageData[15].cid}`}"
                            target="_blank" v-if="pageData[15]&&pageData[15].children_count==0" class="active">
                            {{pageData[15].alias}}
                        </NuxtLink>
                        <NuxtLink
                            :to="{ path: `/primaryNavigation/${pageData[15].cid}`}"
                            target="_blank" v-else-if="pageData[15]&&pageData[15].children_count!=0" class="active">
                            {{pageData[15].alias}}
                        </NuxtLink>
                    </div>
                    <div class="index_1_head" v-if="pageData[16].cid">
                        <NuxtLink
                            :to="{ path: `/newsList/${pageData[16].cid}`}"
                            target="_blank" v-if="pageData[16]&&pageData[16].children_count==0" class="active">
                            {{pageData[16].alias}}
                        </NuxtLink>
                        <NuxtLink
                            :to="{ path: `/primaryNavigation/${pageData[16].cid}`}"
                            target="_blank" v-else-if="pageData[16]&&pageData[16].children_count!=0" class="active">
                            {{pageData[16].alias}}
                        </NuxtLink>
                    </div>
                </div>
                <div class="index_2_head_a_box clearfix">
                    <NuxtLink :to="{ path: `/newsList/${item.category_id}`}" target="_blank" v-if="pageData[15].cid" v-for="item in boxData16menu">
                        {{item.name}}
                    </NuxtLink>
                </div>
            </div>
            <div class=" clearfix">
                <div class=" clearfix">
                    <div class="index_1_box">
                        <div class="index_2_big_img_ul">
                            <div class="index_2_big_img_li cover100" v-if="boxData16[0]">
                                <NuxtLink :to="boxData16[0].linkurl" target="_blank" v-if="boxData16[0].islink==1">
                                    <img class="" :src="boxData16[0].imgurl" title="" alt="">
                                    <div class="index_2_big_img_li_dot2 dot2">
                                        <span class="index_2_big_img_li_dot2_tag">专题</span>
                                        {{boxData16[0].title}}
                                    </div>
                                    <div class="index_1_box_right_img_li_dot1 dot1">
                                        {{getDays(boxData16[0].created_at)}}
                                    </div>
                                </NuxtLink>
                                <NuxtLink :to="{ path: `/newsDetail/${boxData16[0].id}`}" target="_blank" v-if="boxData16[0].islink==0">
                                    <img class="" :src="boxData16[0].imgurl" title="" alt="">
                                    <div class="index_2_big_img_li_dot2 dot2">
                                        <span class="index_2_big_img_li_dot2_tag">专题</span>
                                        {{boxData16[0].title}}
                                    </div>
                                    <div class="index_1_box_right_img_li_dot1 dot1">
                                        {{getDays(boxData16[0].created_at)}}
                                    </div>
                                </NuxtLink>
                            </div>
                        </div>
                        <div class="index_1_box_right_img_ul index_1_box_right_img_ul_2 clearfix" v-if="boxData16[1]">
                            <div class="index_1_box_right_img_li cover100">
                                <NuxtLink :to="boxData16[1].linkurl" target="_blank" v-if="boxData16[1].islink==1">
                                    <img class="" :src="boxData16[1].imgurl">
                                    <div class="index_1_box_right_img_li_dot1 dot1">
                                        {{boxData16[1].title}}
                                    </div>
                                </NuxtLink>
                                <NuxtLink :to="{ path: `/newsDetail/${boxData16[1].id}`}" target="_blank" v-if="boxData16[1].islink==0">
                                    <img class="" :src="boxData16[1].imgurl">
                                    <div class="index_1_box_right_img_li_dot1 dot1">
                                        {{boxData16[1].title}}
                                    </div>
                                </NuxtLink>
                            </div>
                            <div class="index_1_box_right_img_li cover100" v-if="boxData16[2]">
                                <NuxtLink :to="boxData16[2].linkurl" target="_blank" v-if="boxData16[2].islink==1">
                                    <img class="" :src="boxData16[2].imgurl">
                                    <div class="index_1_box_right_img_li_dot1 dot1">
                                        {{boxData16[2].title}}
                                    </div>
                                </NuxtLink>
                                <NuxtLink :to="{ path: `/newsDetail/${boxData16[2].id}`}" target="_blank" v-if="boxData16[2].islink==0">
                                    <img class="" :src="boxData16[2].imgurl">
                                    <div class="index_1_box_right_img_li_dot1 dot1">
                                        {{boxData16[2].title}}
                                    </div>
                                </NuxtLink>
                            </div>
                        </div>
                        <div class="index_2_big_img_ul" v-if="boxData16[3]">
                            <NuxtLink :to="boxData16[3].linkurl" target="_blank" v-if="boxData16[3].islink==1">
                                <div class="index_2_big_img_li cover100" v-if="boxData16[3]">
                                    <img class="" :src="boxData16[3].imgurl" title="" alt="">
                                    <div class="index_2_big_img_li_dot2 dot2">
                                        {{boxData16[3].title}}
                                    </div>
                                    <div class="index_1_box_right_img_li_dot1 dot1">
                                        {{getDays(boxData16[3].created_at)}}
                                    </div>
                                </div>
                            </NuxtLink>
                            <NuxtLink :to="{ path: `/newsDetail/${boxData16[3].id}`}" target="_blank" v-if="boxData16[3].islink==0">
                                <div class="index_2_big_img_li cover100" v-if="boxData16[3]">
                                    <img class="" :src="boxData16[3].imgurl" title="" alt="">
                                    <div class="index_2_big_img_li_dot2 dot2">
                                        {{boxData16[3].title}}
                                    </div>
                                    <div class="index_1_box_right_img_li_dot1 dot1">
                                        {{getDays(boxData16[3].created_at)}}
                                    </div>
                                </div>
                            </NuxtLink>
                        </div>
                    </div>

					<div class="index_1_box">
                        <div class="index_1_ul clearfix">
                            <div class="index_1_li clearfix index_1_li_only" v-for="item in boxData16data2" >
                                <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
                                    <div class="index_1_li_dot2 dot2">
                                       {{ item.title }}
                                    </div>
                                    <div class="index_1_li_time">
                                        {{ getDays(item.created_at) }}
                                    </div> 
                                </NuxtLink>
                                <NuxtLink :to="{ path: `/newsDetail/${item.id}`}" target="_blank" v-if="item.islink==0">
                                    <div class="index_1_li_dot2 dot2">
                                       {{ item.title }}
                                    </div>
                                    <div class="index_1_li_time">
                                        {{ getDays(item.created_at) }}
                                    </div> 
                                </NuxtLink>
                            </div>
                        </div>
                    </div>
                    <div class="index_1_box_right">
                        <div class="index_1_head_box clearfix index_1_head_box_line_none">
                            <NuxtLink
                                :to="{ path: `/newsList/${boxData16menu[0].category_id}`}"
                                target="_blank" v-if="boxData16menu[0]" class="leftTitle">
                                {{ boxData16menu[0].name }}
                            </NuxtLink>

                            <NuxtLink
                                :to="{ path: `/newsList/${boxData16menu[0].category_id}`}"
                                target="_blank" v-if="boxData16menu[0]">
                                查看更多
                            </NuxtLink>
                        </div>                  
                        <div class="index_2_ul">
                            <div class="index_2_li clearfix" v-for="item in boxData16mainData">
                                <NuxtLink :to="{path:`/newsDetail/${item.id}`}" target="_blank">
                                    <time class="index_2_li_time_box">
                                        <div class="index_2_li_time_head">
                                            {{ getDay(item.created_at) }}
                                        </div>
                                        <div class="index_2_li_time_foot">
                                            {{ geMonth(item.created_at) }}
                                        </div>
                                    </time> 
                                    <div class="index_2_li_dot2 dot2">
                                        {{ item.title }}
                                    </div>
                                </NuxtLink>

                            </div>
                        </div>						
                    </div>
				</div>
			</div>
        </section>
        <section class="index_1 clearfix">
            <div class="index_1_box">
                <div class="index_1_head_box clearfix" v-if="pageData.length>=18">
                    <div class="index_1_head index_1_head_only" v-if="pageData[17].cid">
                        <NuxtLink
                            :to="{ path: `/newsList/${pageData[17].cid}`}"
                            target="_blank" v-if="pageData[17]&&pageData[17].children_count==0" class="active">
                            {{pageData[17].alias}}
                        </NuxtLink>
                        <NuxtLink
                            :to="{ path: `/primaryNavigation/${pageData[17].cid}`}"
                            target="_blank" v-else-if="pageData[17]&&pageData[17].children_count!=0" class="active">
                            {{pageData[17].alias}}
                        </NuxtLink>
                    </div>
                    <NuxtLink
                        :to="{ path: `/newsList/${pageData[17].cid}`}"
                        target="_blank" v-if="pageData[17].cid">
                        查看更多
                    </NuxtLink>
                </div>
                <div class="index_1_ul clearfix index_1_ul_mrbot" v-if="boxData18[0]">
                    <div class="index_1_img_li clearfix">
                        <NuxtLink :to="boxData18[0].linkurl" target="_blank" v-if="boxData18[0].islink==1">
                            <img :src="boxData18[0].imgurl">
                            <div class="index_1_li_dot3 dot3">
                                {{boxData18[0].title}}
                            </div>
                        </NuxtLink>
                        <NuxtLink :to="{ path: `/newsDetail/${boxData18[0].id}`}" target="_blank" v-if="boxData18[0].islink==0">
                            <img :src="boxData18[0].imgurl">
                            <div class="index_1_li_dot3 dot3">
                                {{boxData18[0].title}}
                            </div>
                        </NuxtLink>
                    </div>
                </div>
                 <div class="index_1_ul clearfix" v-for="item in boxData18data2">
                     <div class="index_1_li clearfix">
                        <NuxtLink :to="item.linkurl" target="_blank" v-if="boxData18[0].islink==1">
                            <div class="index_1_li_dot2 dot2">
                                {{item.title}}
                            </div>
                            <div class="index_1_li_time">
                                {{getDays(item.created_at)}}
                            </div> 
                        </NuxtLink>
                        <NuxtLink :to="{ path: `/newsDetail/${item.id}`}" target="_blank" v-if="boxData18[0].islink==0">
                            <div class="index_1_li_dot2 dot2">
                                {{item.title}}
                            </div>
                            <div class="index_1_li_time">
                                {{getDays(item.created_at)}}
                            </div> 
                        </NuxtLink>
                     </div>
                 </div>
             </div>
             <div class="index_1_box">
                <div class="index_1_head_box clearfix" v-if="pageData.length>=19">
                    <div class="index_1_head index_1_head_only" v-if="pageData[18].cid">
                        <NuxtLink
                            :to="{ path: `/newsList/${pageData[18].cid}`}"
                            target="_blank" v-if="pageData[18]&&pageData[18].children_count==0" class="active">
                            {{pageData[18].alias}}
                        </NuxtLink>
                        <NuxtLink
                            :to="{ path: `/primaryNavigation/${pageData[18].cid}`}"
                            target="_blank" v-else-if="pageData[18]&&pageData[18].children_count!=0" class="active">
                            {{pageData[18].alias}}
                        </NuxtLink>
                    </div>
                    <NuxtLink
                        :to="{ path: `/newsList/${pageData[18].cid}`}"
                        target="_blank" v-if="pageData[18].cid">
                        查看更多
                    </NuxtLink>
                </div>
                <div class="index_1_ul clearfix" v-for="(item,index) in boxData19">
                    <div class="index_1_li clearfix index_1_li_bold" v-if="index == 0">
                        <NuxtLink :to="{path:`/newsDetail/${item.id}`}" target="_blank">
                            <div class="index_1_li_dot2 dot2">
                                {{item.title}}
                            </div>
                            <div class="index_1_li_time">
                                {{ getDays(item.created_at) }}
                            </div> 
                        </NuxtLink>
                    </div>
                    
                    <div class="index_1_li clearfix" v-else>
                        <NuxtLink :to="{path:`/newsDetail/${item.id}`}" target="_blank">
                            <div class="index_1_li_dot2 dot2">
                                {{item.title}}
                            </div>
                            <div class="index_1_li_time">
                                {{ getDays(item.created_at) }}
                            </div> 
                        </NuxtLink>
                    </div> 
                </div>
            </div>
            <div class="index_1_box_right" v-if="pageData.length>=20">
                 <div class="index_1_head_box clearfix">
                    <div class="index_1_head index_1_head_only" v-if="pageData[19].cid">
                        <NuxtLink
                            :to="{ path: `/newsList/${pageData[19].cid}`}"
                            target="_blank" v-if="pageData[19]&&pageData[19].children_count==0" class="active">
                            {{pageData[19].alias}}
                        </NuxtLink>
                        <NuxtLink
                            :to="{ path: `/primaryNavigation/${pageData[19].cid}`}"
                            target="_blank" v-else-if="pageData[19]&&pageData[19].children_count!=0" class="active">
                            {{pageData[19].alias}}
                        </NuxtLink>
                    </div>
                    <NuxtLink
                        :to="{ path: `/newsList/${pageData[19].cid}`}"
                        target="_blank" v-if="pageData[19].cid">
                        查看更多
                    </NuxtLink>
                 </div>
                 <div class="index_1_box_right_img_ul clearfix">
                    <div class="index_1_box_right_img_li cover100" v-for="item in boxData20">
                        <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
                            <img :src="item.imgurl">
                            <div class="index_1_box_right_img_li_dot1 dot1">
                                {{item.title}}
                            </div>
                        </NuxtLink>
                        <NuxtLink :to="{ path: `/newsDetail/${item.id}`}" target="_blank" v-if="item.islink==0">
                            <img :src="item.imgurl">
                            <div class="index_1_box_right_img_li_dot1 dot1">
                                {{item.title}}
                            </div>
                        </NuxtLink>
                    </div>
                 </div>
                 <div class="index_1_box_right_ul clearfix">
                    <div class="index_1_box_right_li" v-for="item in boxData20data2">
                        <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
                            <div class="index_1_box_right_li_font">详</div>
                            <div class="index_1_box_right_li_dot1 dot1">{{item.title}}</div>
                        </NuxtLink>
                        <NuxtLink :to="{path:`/newsDetail/${item.id}`}" target="_blank" v-if="item.islink==0">
                            <div class="index_1_box_right_li_font">详</div>
                            <div class="index_1_box_right_li_dot1 dot1">{{item.title}}</div>
                        </NuxtLink>
                    </div>
                 </div>
             </div>
        </section>
        <!-- 页面底部 -->
        <HomeFoot></HomeFoot>
    </div>
</template>

<script setup>
//1.加载页面必备组件 start---------------------------------------->
import { ref, onMounted } from 'vue'
import { ElRadio, ElRadioGroup, ElMessage } from 'element-plus'
const nuxtApp = useNuxtApp();
const axios = nuxtApp.$axios;
//1.加载页面必备组件 end---------------------------------------->

//2.交互方法 start---------------------------------------->
//2.1 新闻图片切换
const hoverStatus = ref(1)
const qhPic = function (num) {
    console.log('qhPic', num)
    hoverStatus.value = num;
}
//2.2 投票
const radio1 = ref('1');
let index = ref(0)
let isDisabled = ref(false)

function handleVote(){
    isDisabled.value = true
    ElMessage.success('投票成功')
}

//2.3 格式化年月日
function getYear(time) {
    const date = new Date(time);
    const year = date.getFullYear();
    const month = date.getMonth() + 1;
    const day = date.getDate();
    return `${year}`;
}
function getDays(time) {
    const date = new Date(time);
    const year = date.getFullYear();
    const month = date.getMonth() + 1;
    const day = date.getDate();
    return `${month}-${day}`;
}
function getMonthandDay(time) {
    const date = new Date(time);
    const year = date.getFullYear();
    const month = date.getMonth() + 1;
    const day = date.getDate();
    return `${month}.${day}`;
}
function getDay(time) {
    const date = new Date(time);
    const year = date.getFullYear();
    const month = date.getMonth() + 1;
    const day = date.getDate();
    return `${day}`;
}
function geMonth(time) {
    const date = new Date(time);
    const year = date.getFullYear();
    const month = date.getMonth() + 1;
    const day = date.getDate();
    return `${year}-${month}`;
}
function getTime(time) {
    const date = new Date(time);
    const year = date.getFullYear();
    const month = date.getMonth() + 1;
    const day = date.getDate();
    return `${year}-${month}-${day}`;
}

//2.4 获得所有广告
const adList = ref("");
const getadList = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteAdvertisement`);
        adList.value = response.data;
    } catch (error) {
        console.error(error);
    }
}

//2.交互方法 end---------------------------------------->

//3.页面基本信息 start---------------------------------------->
//3.1 获取网站底部信息
const info = ref("");
const getInfo = async () => {
    const response = await axios.get(`/web/getWebsiteFootInfo`);
    info.value = response.data.website_head;
}
onMounted(() => {
    getInfo();
})

//3.2 模块基本信息
//预创建首页模块 调用了20个导航 这里就创建20个模块
const pageData = ref([
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""},
    // { cid: "", title: "", data: [] ,children_count:""}
]);

//pageData[0]  boxData1  boxData1data2
const boxData1 = ref("");
const boxData1data2 = ref("");
const getWebsiteModelArticles = async () => {
    try {
        // const response = await axios.get(`/web/getWebsiteModelArticles?catid=${14}&level=${1}&pagesize=${10}`);
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[0].cid}&level=${3}&pagesize=${2}`);
        boxData1.value = response.data;
        const response2 = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[0].cid}&level=${1}&pagesize=${6}`);
        boxData1data2.value = response2.data;
    } catch (error) {
        console.error(error);
    }
}
//pageData[1]  boxData2   boxData2
const boxData2 = ref("");
const getWebsiteModelArticles2 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[1].cid}&level=${3}&pagesize=${7}`);
        console.log('mouseenter', response.data);
        boxData2.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
//pageData[2]  boxData2  boxData3
const boxData3 = ref("");
const getWebsiteModelArticles3 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[2].cid}&level=${1}&pagesize=${5}`);
        boxData3.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
//pageData[3]  boxData4
const boxData4 = ref("");
const getWebsiteModelArticles4 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[3].cid}&level=${3}&pagesize=${4}`);
        console.log('boxData4', response.data);
        boxData4.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
//pageData[4]  boxData5
const boxData5 = ref("");
const getWebsiteModelArticles5 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[4].cid}&level=${1}&pagesize=${4}`);
        boxData5.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
const boxData5data2 = ref("");
const getWebsiteModelArticles5data2 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[4].cid}&level=${1}&pagesize=${4}`);
        boxData5data2.value = response.data
    } catch (error) {
        console.error(error);
    }
}
//pageData[5]  boxData6
const boxData6 = ref("");
const getWebsiteModelArticles6 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[5].cid}&level=${3}&pagesize=${2}`);
        boxData6.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
//pageData[6]  boxData7
const boxData7 = ref("");
const getWebsiteModelArticles7 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[6].cid}&level=${1}&pagesize=${5}`);
        boxData7.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
//pageData[7]  boxData8
const boxData8 = ref("");
const getWebsiteModelArticles8 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[7].cid}&level=${3}&pagesize=${2}`);
        boxData8.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
const boxData88 = ref("");
const getWebsiteModelArticles88 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[7].cid}&level=${3}&pagesize=${7}&placeid=${1}`);
        boxData88.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
//pageData[8]  boxData9
const boxData9 = ref("");
const getWebsiteModelArticles9 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[8].cid}&level=${3}&pagesize=${2}`);
        boxData9.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
const boxData9data2 = ref("");
const getWebsiteModelArticles9data2 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[8].cid}&level=${1}&pagesize=${6}&placeid=${3}`);
        boxData9data2.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
//pageData[9]  boxData10
const boxData10 = ref("");
const getWebsiteModelArticles10 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[9].cid}&level=${1}&pagesize=${3}`);
        boxData10.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
//pageData[10]  boxData11
const boxData11 = ref("");
const getWebsiteModelArticles11 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[10].cid}&level=${3}&pagesize=${2}`);
        boxData11.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
const boxData11data2 = ref("");
const getWebsiteModelArticles11data2 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[10].cid}&level=${1}&pagesize=${4}&placeid=${4}`);
        boxData11data2.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
//pageData[11]  boxData12
const boxData12 = ref("");
const getWebsiteModelArticles12 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[11].cid}&level=${1}&pagesize=${10}`);
        boxData12.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
//pageData[12]  boxData13
const boxData13 = ref("");
const getWebsiteModelArticles13 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[12].cid}&level=${3}&pagesize=${2}`);
        boxData13.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
//pageData[13]  boxData14
//底部模块带有子导航需要使用的4个方法 start---------------------------------------->
const boxData14 = ref("");
const getWebsiteModelArticles14 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[13].cid}&level=${3}&pagesize=${2}`);
        boxData14.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
const boxData14data2 = ref("");
const getWebsiteModelArticles14data2 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[13].cid}&level=${1}&pagesize=${6}&placeid=${3}`);
        boxData14data2.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
//pageData[13]  boxData14menu
const boxData14menu = ref("");
const getWebsiteModelArticles14menu = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelCategory?pid=${pageData.value[13].cid}&placeid=${1}&num=${8}`);
        boxData14menu.value = response.data;
        getWebsiteModelArticles14mainData(response.data[0].category_id);//获得子导航下面的文章
    } catch (error) {
        console.error(error);
    }
}
const boxData14mainData = ref("");
const getWebsiteModelArticles14mainData  = async (cid) => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${cid}&level=${1}&pagesize=${4}`);
        boxData14mainData.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
//底部模块带有子导航需要使用的4个方法 end---------------------------------------->
//pageData[14]  14 没有内容 只有一个入口

//pageData[15]  boxData16
//底部模块带有子导航需要使用的4个方法 start---------------------------------------->
const boxData16 = ref("");
const getWebsiteModelArticles16 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[15].cid}&level=${3}&pagesize=${4}`);
        boxData16.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
const boxData16data2 = ref("");
const getWebsiteModelArticles16data2 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[15].cid}&level=${1}&pagesize=${6}&placeid=${3}`);
        boxData16data2.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
const boxData16menu = ref("");
const getWebsiteModelArticles16menu = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelCategory?pid=${pageData.value[15].cid}&placeid=${1}&num=${100}`);
        boxData16menu.value = response.data;
        getWebsiteModelArticles16mainData(response.data[0].category_id);//获得子导航下面的文章
    } catch (error) {
        console.error(error);
    }
}
const boxData16mainData = ref("");
const getWebsiteModelArticles16mainData  = async (cid) => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${cid}&level=${1}&pagesize=${4}`);
        boxData16mainData.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
//底部模块带有子导航需要使用的4个方法 end---------------------------------------->
//pageData[16]  16 没有内容 只有一个入口
//pageData[17]  boxData18
const boxData18 = ref("");
const getWebsiteModelArticles18 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[12].cid}&level=${3}&pagesize=${1}`);
        boxData18.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
const boxData18data2 = ref("");
const getWebsiteModelArticles18data2 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[12].cid}&level=${1}&pagesize=${2}`);
        boxData18data2.value = response.data;
    } catch (error) {
        console.error(error);
    }
}

//pageData[18]  boxData19
const boxData19 = ref("");
const getWebsiteModelArticles19 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[12].cid}&level=${1}&pagesize=${3}`);
        boxData19.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
//pageData[19]  boxData20
const boxData20 = ref("");
const getWebsiteModelArticles20 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[12].cid}&level=${3}&pagesize=${2}`);
        boxData20.value = response.data;
    } catch (error) {
        console.error(error);
    }
}
const boxData20data2 = ref("");
const getWebsiteModelArticles20data2 = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[12].cid}&level=${3}&pagesize=${3}`);
        boxData20data2.value = response.data;
    } catch (error) {
        console.error(error);
    }
}

//获取导航一的栏目
const navigation1 = ref("");
const navigateList = async () => {
    try {
        const response = await axios.get(`/web/getWebsiteModelCategory?placeid=${1}&pid=${0}&num=${22}`);
        for (let index in response.data) {
            let data = {
                title:response.data[index].name,
                cid:response.data[index].category_id,
                children_count:response.data[index].children_count,
                alias:response.data[index].alias
            }
            if(response.data[index].is_url==1){

            }else{
                pageData.value.push(data)
            }
            //pageData.value.push(data)
            // pageData.value[index].title = response.data[index].name;
            // pageData.value[index].cid = response.data[index].category_id;
            // pageData.value[index].children_count = response.data[index].children_count;
            // pageData.value[index].is_url = response.data[index].is_url;
        }
        //获得所有广告
        getadList();
        //pageData[0]  boxData1  boxData1data2  新农村
        getWebsiteModelArticles();
        //pageData[1]  boxData2 贴身宝贝
        getWebsiteModelArticles2();
        //pageData[2]  boxData3 政策法规
        getWebsiteModelArticles3();
        //pageData[3]  boxData4 三农之窗
        getWebsiteModelArticles4();
        //pageData[4]  boxData5  boxData5data2 区域经济
        getWebsiteModelArticles5();
        getWebsiteModelArticles5data2();
        //pageData[5]  boxData6  三农投资
        getWebsiteModelArticles6();
        //pageData[6]  boxData7  农贸资讯
        getWebsiteModelArticles7();
        //pageData[7]  boxData8 boxData88  三农科教
        getWebsiteModelArticles8();
        getWebsiteModelArticles88();
        //pageData[8]  boxData9 boxData9data2  文化生活
        getWebsiteModelArticles9();
        getWebsiteModelArticles9data2();
        //pageData[9] boxData10  三农探索
        getWebsiteModelArticles10();
        //pageData[10] boxData11 boxData11data2 三农专题
        getWebsiteModelArticles11();
        getWebsiteModelArticles11data2();
        //pageData[11] boxData12 写作大全
        getWebsiteModelArticles12();
        //pageData[12] boxData13 三农探索
        getWebsiteModelArticles13();
        //pageData[13] 三农人物
        //子导航
        getWebsiteModelArticles14();
        getWebsiteModelArticles14menu();
        getWebsiteModelArticles14data2();
        //pageData[14] 
        getWebsiteModelArticles16();
        getWebsiteModelArticles16data2();
        getWebsiteModelArticles16menu();
        //pageData[17]  boxData18 boxData18data2
        getWebsiteModelArticles18();
        getWebsiteModelArticles18data2();
        //pageData[18]  boxData19
        getWebsiteModelArticles19();
        //pageData[19]  boxData20
        getWebsiteModelArticles20();
        getWebsiteModelArticles20data2();
        
        console.log(777)
        console.log(pageData)
    } catch (error) {
        console.error(error);
    }
}

onMounted(() => {
    navigateList();
})
//3.页面基本信息 end---------------------------------------->


//4.设置seo信息 start---------------------------------------->
const seoData = ref({
    title: '默认标题',
    description: '默认描述',
    keywords: '默认关键词',
    image: 'https://example.com/default-image.jpg'
});

onMounted(async () => {
    try {
        const response = await axios.get('/web/getWebsiteFootInfo');
        const data = response.data.website_head; // 假设接口返回的数据在 data 字段中
        console.log(seoData.value.title)
        // 更新 seoData
        seoData.value = {
            title: data.title,
            description: data.description,
            keywords: data.keywords,
            image: data.image
        };
        console.log(seoData.value.title)

    } catch (error) {
        console.error('获取 SEO 数据失败:', error);
        // 设置默认值
        seoData.value = {
            title: '默认标题',
            description: '默认描述',
            keywords: '默认关键词',
            image: 'https://example.com/default-image.jpg'
        };
    }
});

// 监听 seoData 的变化，动态设置 SEO 字段
watch(seoData, (newVal) => {
    if (newVal.title) { // 确保 title 有值
        useSeoMeta({
            title: newVal.title, // 使用动态值
            description: newVal.description,
            ogTitle: newVal.title,
            ogDescription: newVal.description,
            ogImage: newVal.image,
            twitterTitle: newVal.title,
            twitterDescription: newVal.description,
            twitterImage: newVal.image,
            keywords: newVal.keywords
        });
    }
}, { immediate: true });
//4.设置seo信息 end---------------------------------------->

</script>

<style lang="less" scoped>

.farming {
    width: 100%;
    height: 680px;
    .farmerLeft,
    .farmerRight {
        float: left;
    }
    .farmerLeft {
        width: 720px;
        height: 616px;
        margin-right: 21px;
        .farmer {
            width: 720px;
            height: 330px;
            >h3 {
                font-family: Source Han Sans, Source Han Sans;
                font-weight: bold;
                font-size: 24px;
                color: #000000;
                text-align: left;
                font-style: normal;
                text-transform: none;
                border-bottom: 1px solid #D9D9D9;
                height: 50px;
                line-height: 50px;
                display: flex;
                justify-content: space-between;
                a.active {
                    font-size: 22px;
                    height: 50px;
                    line-height: 50px;
                    display: inline-block;
                    color: #139602;
                    font-weight: bold;
                    box-sizing: border-box;
                    width: auto;
                    font-weight: bold;
                    border-bottom: 3px solid #49A769;
                }
                .titleBoxTabs {
                    span {
                        a {
                            font-size: 22px;
                            height: 50px;
                            line-height: 50px;
                            display: inline-block;
                            color: #333;
                            box-sizing: border-box;
                        }
                        margin-right: 20px;
                    }
                    .active {
                        a {
                            color: #49A769;
                            border-bottom: 3px solid #49A769;
                            height: 50px;
                            line-height: 50px;
                            display: inline-block;
                            box-sizing: border-box;
                            margin-right: 40px;
                            font-weight: bold;
                        }
                    }
                }
                span {
                    color: #139602;
                    height: 50px;
                    line-height: 50px;
                    display: inline-block;
                    box-sizing: border-box;
                }
                >a {
                    width: 65px;
                    height: 50px;
                    line-height: 50px;
                    font-weight: 400;
                    font-size: 16px;
                    color: #333333;
                    font-style: normal;
                    text-transform: none;
                    display: inline-block;
                }
            }
            ul.mode1ul_style1 {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding-top: 30px;
                li {
                    position: relative;
                    width: 349px;
                    height: 236px;
                    border-radius: 10px;
                    box-sizing: border-box;
                    overflow: hidden;
                    
                    img {
                        width: 349px;
                        height: 236px;
                    }
                    a {
                        div {
                            position: absolute;
                            width: 320px;
                            height: 48px;
                            bottom: 35px;
                            z-index: 10;
                            left:15px;
                            color: #fff;
                            font-size: 16px;
                            z-index: 99;
                            span {
                                display: inline-block;
                                background: #9CD26B;
                                font-size: 14px;
                                color: #fff;
                                padding: 2px 6px;
                                border-radius: 4px;
                                margin-right: 5px;
                            }
                            p {
                                font-size: 16px;
                                margin-top: 5px;
                                height: 46px;
                            }
                            p:nth-child(1) {
                                display: -webkit-box;
                                -webkit-box-orient: vertical;
                                -webkit-line-clamp: 2;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                word-break: break-all;
                            }
                        }
                    }
                }
            }
            ul.mode1ul_style2 {
                display: flex;
                align-items: center;
                justify-content: space-between;
                flex-wrap: wrap;
                padding-top: 20px;
                li {
                    width: 349px;
                    height: 85px;
                    border-radius: 10px;
                    border-bottom: 1px solid #E6E6E6;
                    box-sizing: border-box;
                    margin-bottom: 22px;
                }
                p {
                    font-size: 16px;
                    color: #333333;
                    margin-bottom: 4px;
                }
                p.title {
                    width: 349px;
                    height: 46px;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    word-break: break-all;
                }
                p.title:hover {
                    color: #49A769;
                }
            } 
        }
        .farmerbottom {
            width: 720px;
            height: 280px;
            img {
                width: 498px;
                height: 280px;
            }
            >.leftList {
                width: 290px;
                height: 280px;
                background-color: #f6f6f6;
                padding: 11px 26px 6px 20px;
                box-sizing: border-box;
                >li {
                    width: 296px;
                    height: 32px;
                    color: #666666;
                    font-size: 14px;
                    margin-bottom: 14px;
                    h4 {
                        width: 249px;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        font-family: Source Han Sans, Source Han Sans;
                        height: 27px;
                        line-height: 21px;
                        font-size: 18px;
                        color: #333333;
                        font-weight: 400;

                        em {
                            display: inline-block;
                            width: 8px;
                            height: 8px;
                            background-color: #333333;
                            border-radius: 8px;
                        }
                    }
                    p {
                        width: 249px;
                        height: 48px;
                        // line-height: 24px;
                        padding-left: 14px;
                        // color: #333333;
                    }
                    a {
                        color: #333333;
                    }
                    a:hover {
                        color: #139602;
                    }
                }
                >li:hover,
                >li:hover>a>h4 {
                    color: #088f04;
                }
                >li:hover>a>h4>em {
                    background-color: #088f04;
                }
            }
        }
    }

    .farmerRight {
        width: 450px;
        height: 600px;
        .rich,
        .inquire {
            width: 100%;
            height: 309px;
            >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 #D9D9D9;
                height: 50px;
                line-height: 50px;
                display: flex;
                justify-content: space-between;
                .active {
                    font-size: 22px;
                    height: 50px;
                    line-height: 50px;
                    display: inline-block;
                    color: #49A769;
                    border-bottom: 3px solid #49A769;
                    box-sizing: border-box;
                    width: auto;
                    font-weight: bold;
                }
                span {
                    font-size: 22px;
                    height: 50px;
                    line-height: 50px;
                    display: inline-block;
                    color: #49A769;
                    border-bottom: 3px solid #49A769;
                    box-sizing: border-box;
                }
                a {
                    width: 65px;
                    height: 50px;
                    line-height: 50px;
                    font-size: 16px;
                    color: #333333;
                    font-weight: normal;
                }
            }
            .photo {
                height: 104px;
                margin-top: 23px;

                >.photoL:first-child {
                    margin-right: 10px;
                }
            }
            .photoL {
                display: inline-block;
                width: 185px;
                height: 104px;
                border-radius: 6px;
                position: relative;

                a {
                    width: 185px;
                    height: 104px;
                }
                img {
                    width: 185px;
                    height: 104px;
                    border-radius: 6px;
                }
                span {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    display: inline-block;
                    padding-left: 7px;
                    box-sizing: border-box;
                    width: 185px;
                    height: 22px;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    background-color: rgba(0, 0, 0, 0.5);
                    font-weight: 500px;
                    font-size: 14px;
                    color: #FFFFFF;
                    line-height: 22px;
                }
            }
            .photoList {
                display: inline-block;
                width: 185px;
                height: 104px;
                position: relative;
                img {
                    width: 185px;
                    height: 104px;
                }
                span {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    display: inline-block;
                    width: 185px;
                    height: 30px;
                    font-weight: 500;
                    color: #FFFFFF;
                    padding-top: 7px;
                    padding-left: 6px;
                    box-sizing: border-box;
                }
            }
            // 文字部分
            ul {
                height: 220px;
                margin-bottom: 10px;
                padding-top: 10px;
                li {
                    height: 55px;
                    padding: 20px 0 6px 0;
                    border-bottom: 1px solid #E6E6E6;
                    a {
                        display: flex;
                        color: #333333;
                        font-size: 16px;
                        .index {
                            height: 48px;
                            margin-right: 20px;
                        }
                        .title {
                            height: 48px;
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            -webkit-line-clamp: 2;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            word-break: break-all;
                        }
                    }
                    a:hover{
                        color: #139609;
                    }
                }
                li:nth-child(1) .index,li:nth-child(2) .index,li:nth-child(3) .index {
                    color: #49A769;
                    font-weight: bold;
                }
            }
        }
        .richList {
            margin-top: 30px;
            .richListPic,.richListPictow{
                a {
                    color: #333333;
                    font-size: 16px;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    img {
                        width: 152px;
                        height: 103px;
                        margin-right: 10px;
                        border-radius: 8px;
                    }
                    div {
                        width: 285px;
                        height: 103px;
                        padding-top: 10px;
                        box-sizing: border-box;
                        border-bottom: 1px solid #D9D9D9;
                        span {
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            -webkit-line-clamp: 3;
                            font-weight: bold;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            word-break: break-all;
                            &:hover {
                                color: #49A769;
                            }
                        }
                    }
                }
            }
            .richListPic {
                margin-bottom: 20px;
            }
            .richListPictow {
                margin-top: 30px;
                margin-bottom: 20px;
            }
           
            .richListText {
                margin-bottom: 17px;
                a {
                    font-size: 16px;
                    color: #333333;
                    border-bottom: 1px solid #E6E6E6;
                    display: block;
                    height: 60px;
                    line-height: 60px;
                    &:hover {
                        color: #49A769;
                    }
                    span {
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: block;
                    }
                }
            }
        }
        .rich {
            .photoL {
                display: inline-block;
                width: 185px;
                height: 104px;
                position: relative;
                border-radius: 6px;
                img {
                    width: 185px;
                    height: 104px;
                    border-radius: 6px;
                }
                span {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    display: inline-block;
                    padding-left: 7px;
                    box-sizing: border-box;
                    width: 185px;
                    height: 22px;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    background-color: rgba(0, 0, 0, 0.5);
                    font-weight: 500px;
                    font-size: 14px;
                    color: #FFFFFF;
                    line-height: 22px;
                    border-radius: 0px 0px 6px 6px;
                }
            }
        }
        .inquire {
            width: 380px;
            height: 280px;
            margin-top: 20px;
            background: #FFFFFF;
            box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.1);
            border-radius: 6px 6px 6px 6px;
            padding: 4px 6px;
            box-sizing: border-box;

            p {
                width: 328px;
                height: 69px;
                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;
                padding: 12px 20px 0 32px;

            }

            .radio {
                /deep/.el-radio {
                    --el-radio-input-border-color-hover: #27881a;
                }

                /deep/.el-radio-group {
                    align-items: center;
                    display: inline-flex;
                    flex-wrap: wrap;
                    font-size: 0;
                    padding-left: 35px;
                }

                /deep/.el-radio.el-radio--large {
                    height: 29px;
                }

                /deep/.el-radio.el-radio--large .el-radio__label {
                    font-family: PingFang SC, PingFang SC;
                    font-weight: 400;
                    font-size: 16px;
                    color: #333333;
                }

                /deep/.el-radio.el-radio--large .el-radio__inner {
                    height: 16px;
                    width: 16px;
                }

                /deep/.el-radio__input.is-checked+.el-radio__label {
                    color: #27881a;
                }

                /deep/.el-radio__input.is-checked .el-radio__inner {
                    background: #33b023;
                    border-color: #27881a;
                }
            }

            .btn {
                width: 188px;
                height: 32px;
                margin: 20px auto;

                button {
                    width: 70px;
                    height: 32px;
                    line-height: 32px;
                    border-radius: 6px;
                    border: none;
                    font-family: PingFang SC, PingFang SC;
                    font-weight: 400;
                    font-size: 16px;
                    color: #999999;
                    cursor: pointer;
                }

                .voting {
                    background-color: #33b023;
                    color: #fff;
                    margin-right: 44px;
                }

               

                
            }
        }
    }
}

.scienceEducation {
    height: 710px;
    .scienceLeft,
    .scienceRight {
        float: left;
    }
    .adBox1 {
        margin-bottom: 20px;
    }
    .scienceLeft {
        width: 720px;
        height:700px;
        margin-right: 21px;
    }
    .scienceRight {
        width: 450px;
        height: 600px;
        >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;
            height: 50px;
            line-height: 50px;
            display: flex;
            justify-content: space-between;

            span {
                color: #139602;
                border-bottom: 3px solid #139602;
                height: 50px;
                line-height: 50px;
                display: inline-block;
                box-sizing: border-box;
                a {
                    color: #139602;
                }
            }

            >a {
                width: 65px;
                height: 50px;
                line-height: 50px;
                font-weight: 400;
                font-size: 16px;
                color: #333333;
                font-style: normal;
                text-transform: none;
                display: inline-block;
            }
        }

        .banner {
            width: 380px;
            height: 214px;
            margin-top: 20px;
        }
        .banner_b_img {
            .photo {
                height: 104px;
                margin-top: 23px;

                >.photoL:first-child {
                    margin-right: 10px;
                }
            }

            .photoL {
                display: inline-block;
                width: 185px;
                height: 104px;
                position: relative;
                border-radius: 2px;

                img {
                    width: 185px;
                    height: 104px;
                    border-radius: 2px;
                }

                span {
                    position: absolute;
                    top: 0;
                    left: 0;
                    display: inline-block;
                    padding-left: 7px;
                    box-sizing: border-box;
                    width: 185px;
                    height: 22px;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    background-color: rgba(0, 0, 0, 0.5);
                    font-weight: 500px;
                    font-size: 14px;
                    color: #FFFFFF;
                    line-height: 22px;
                    border-radius: 2px 2px 0px 0px;

                }
            }
            // .photoL {
            //     margin-right: 5px;
            // }
            // ul {
            //     width: 380px;
            //     height: 186px;
            //     >li {
            //         height: 22px;
            //         padding-top: 16px;
            //         >strong {
            //             display: inline-block;
            //             width: 24px;
            //             height: 24px;
            //             line-height: 24px;
            //             background-color: #cecece;
            //             padding-left: 6px;
            //             box-sizing: border-box;
            //             font-family: Source Han Sans, Source Han Sans;
            //             font-weight: 500;
            //             font-size: 18px;
            //             color: #FFFFFF;
            //             font-style: normal;
            //             text-transform: none;
            //         }
            //         >em {
            //             display: inline-block;
            //             width: 6px;
            //             height: 6px;
            //             border-radius: 10px;
            //             border: 2px solid #8CBA86;
            //             vertical-align: 5px;
            //         }
            //         a,
            //         span {
            //             display: inline-block;
            //             width: 350px;
            //             height: 22px;
            //             white-space: nowrap;
            //             overflow: hidden;
            //             text-overflow: ellipsis;
            //             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;
            //             padding-left: 9px;
            //         }
            //         >a:hover,
            //         >span:hover {
            //             color: #139609;
            //         }
            //     }
            // }

            ul {
                padding: 30px 10px 0 10px;
                li {
                    margin-bottom: 32px;
                    a {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        width: 410px;
                        height: 50px;
                        color: #333333;
                        font-size: 16px;
                        &:hover {
                            color: #49A769;
                        }
                        p  {
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            -webkit-line-clamp: 2;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            word-break: break-all;
                            width: 337px;
                            height: 46px;
                            box-sizing: border-box;
                            padding-left: 10px;
                            border-left: 1px solid #D9D9D9;
                        }
                    }
                }
            }
        }
    }
}

.dynamic {
    height: 610px;

    .inner {
        height: 610px;
    }
    .innerLeft {
        .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;

                >a {
                    float: right;
                    width: 56px;
                    height: 20px;
                    line-height: 24px;
                    font-weight: 400;
                    font-size: 14px;
                    color: #999999;
                    font-style: normal;
                    text-transform: none;
                }
            }
        }

        .protectRights {
            float: left;
            margin-top: 26px;
            .photoList {
                float: left;
                width: 387px;
                margin-right: 40px;

                >.top {
                    width: 387px;
                    height: 320px;
                    position: relative;

                    img {
                        width: 387px;
                        height: 320px;
                        border-radius: 6px;
                    }
                    span {
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        display: inline-block;
                        width: 387px;
                        height: 68px;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        padding: 33px 33px 8px 13px;
                        box-sizing: border-box;
                        font-family: PingFang SC, PingFang SC;
                        font-weight: 500;
                        font-size: 18px;
                        color: #FFFFFF;
                        line-height: 21px;

                    }
                }

                >.bottom {
                    width: 387px;
                    height: 202px;
                    margin-top: 15px;

                    >li {
                        width: 185px;
                        height: 210px;
                        float: left;
                        margin-right: 17px;
                        background-color: #f5f5f5;

                        img {
                            width: 185px;
                            height: 139px;
                            border-radius: 6px;
                        }

                        p {
                            width: 175px;
                            height: 63px;
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            -webkit-line-clamp: 2;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            word-break: break-all;
                            font-family: PingFang SC, PingFang SC;
                            font-weight: 500;
                            font-size: 18px;
                            color: #333333;
                            line-height: 30px;
                            text-align: left;
                            font-style: normal;
                            text-transform: none;
                            margin-left: 5px;
                        }
                    }

                    >li:nth-child(2) {
                        margin-right: 0;
                    }

                }
            }

            .textList {
                float: left;
                width: 340px;
                height: 545px;

                >li {
                    width: 340px;
                    height: 27px;
                    margin-bottom: 19px;

                    h4 {
                        width: 282px;
                        height: 25px;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        font-family: PingFang SC, PingFang SC;
                        font-weight: 400;
                        font-size: 18px;
                        color: #333333;
                        line-height: 21px;
                        text-align: left;
                        font-style: normal;
                        text-transform: none;
                        em {
                            display: inline-block;
                            width: 8px;
                            height: 8px;
                            margin-right: 6px;
                            border-radius: 4px;
                            background-color: #333333;
                        }
                    }

                    p {
                        padding-left: 14px;
                        width: 249px;
                        height: 48px;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        word-break: break-all;
                        font-family: PingFang SC, PingFang SC;
                        font-weight: 400;
                        font-size: 14px;
                        color: #666666;
                        line-height: 24px;
                        text-align: left;
                        font-style: normal;
                        text-transform: none;
                    }
                }
                a {
                    color: #333333;
                }
                a:hover {
                    color: #139602;
                }

                >li:hover>a>h4,
                >li:hover>a>p {
                    color: #139602;
                }

                >li:hover>a>h4>em {
                    background-color: #139602;
                }
            }

        }
    }

    .innerRight {
        .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;

                >a {
                    float: right;
                    width: 56px;
                    height: 20px;
                    line-height: 24px;
                    font-weight: 400;
                    font-size: 14px;
                    color: #999999;
                    font-style: normal;
                    text-transform: none;
                }
            }
        }

        .dynamicList {
            width: 380px;
            margin-top: 26px;
            >li {
                width: 380px;
                height: 120px;
                margin-bottom: 21px;

                img {
                    float: left;
                    width: 160px;
                    height: 120px;
                }

                .text {
                    float: left;
                    width: 220px;
                    height: 120px;
                    padding-left: 15px;
                    box-sizing: border-box;
                    font-size: 16px;

                    >h5 {
                        width: 199px;
                        height: 52px;
                        margin-bottom: 40px;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        word-break: break-all;
                        padding-top: 6px;
                        font-family: PingFang SC, PingFang SC;
                        font-weight: 600;
                        font-size: 18px;
                        color: #333333;
                        line-height: 26px;
                        text-align: left;
                        font-style: normal;
                        text-transform: none;
                    }
                    >p {
                        width: 198px;
                        height: 70px;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 3;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        word-break: break-all;
                        margin-top: 10px;
                        font-family: PingFang SC, PingFang SC;
                        font-weight: 400;
                        font-size: 14px;
                        color: #666666;
                        line-height: 24px;
                        text-align: left;
                        font-style: normal;
                        text-transform: none;
                    }
                }
            }

            li:hover {
                .text {
                    box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.1);
                    background-color: #fff;

                    h5,
                    p {
                        color: #139602;
                    }
                }
            }
        }
    }
}

.policy {
    height: 678px;
    .inner {
        height: 678px;
        .innerLeft {
            width: 790px;
            height: 621px;
            .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;
                    >a {
                        float: right;
                        width: 56px;
                        height: 20px;
                        line-height: 24px;
                        font-weight: 400;
                        font-size: 14px;
                        color: #999999;
                        font-style: normal;
                        text-transform: none;
                    }
                }
            }

            .policyList {
                width: 790px;
                margin-top: 20px;
                >li {
                    width: 790px;
                    height: 121px;
                    margin-bottom: 20px;
                    img,
                    .text {
                        float: left;
                    }
                    img {
                        width: 224px;
                        height: 121px;

                    }
                    .text {
                        width: 566px;
                        height: 121px;
                        padding-left: 20px;
                        box-sizing: border-box;

                        >h5 {
                            padding: 13px 0 6px;
                            width: 536px;
                            height: 25px;
                            margin-bottom: 45px;
                            white-space: nowrap;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            font-family: PingFang SC, PingFang SC;
                            font-weight: 600;
                            font-size: 18px;
                            color: #333333;
                            line-height: 21px;
                            text-align: left;
                            font-style: normal;
                            text-transform: none;
                        }

                        p {
                            width: 536px;
                            height: 30px;
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            -webkit-line-clamp: 3;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            word-break: break-all;
                            font-family: PingFang SC, PingFang SC;
                            font-weight: 400;
                            font-size: 14px;
                            color: #666666;
                            line-height: 24px;
                            text-align: left;
                            font-style: normal;
                            text-transform: none;

                            >span:first-child {
                                margin-right: 20px;
                            }
                        }
                    }
                }

                li:hover {
                    .text {
                        box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.1);
                        background-color: #fff;

                        h5,
                        p {
                            color: #139602;
                        }
                    }
                }
            }
        }

        .innerRight {
            .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;

                    a {
                        float: right;
                        width: 56px;
                        height: 20px;
                        line-height: 24px;
                        font-weight: 400;
                        font-size: 14px;
                        color: #999999;
                        font-style: normal;
                        text-transform: none;
                    }
                }
            }

            .banner {
                width: 380px;
                height: 214px;
                margin-top: 20px;
            }

            .banner_b_img {
                .photo {
                    height: 104px;
                    margin-top: 23px;
                }
                .photoL {
                    display: inline-block;
                    width: 185px;
                    height: 104px;
                    position: relative;

                    img {
                        width: 185px;
                        height: 104px;
                        border-radius: 2px;
                    }

                    span {
                        position: absolute;
                        top: 0;
                        left: 0;
                        display: inline-block;
                        padding-left: 7px;
                        box-sizing: border-box;
                        width: 185px;
                        height: 22px;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        background-color: rgba(0, 0, 0, 0.5);
                        font-weight: 500px;
                        font-size: 14px;
                        color: #FFFFFF;
                        line-height: 22px;
                    }
                }

                .photoL {
                    margin-right: 10px;
                }

                ul {
                    width: 380px;
                    height: 186px;
                    >li {
                        height: 22px;
                        padding-top: 16px;
                        >strong {
                            display: inline-block;
                            width: 24px;
                            height: 24px;
                            line-height: 24px;
                            background-color: #cecece;
                            padding-left: 6px;
                            box-sizing: border-box;
                            font-family: Source Han Sans, Source Han Sans;
                            font-weight: 500;
                            font-size: 18px;
                            color: #FFFFFF;
                            font-style: normal;
                            text-transform: none;

                        }

                        >em {
                            display: inline-block;
                            width: 6px;
                            height: 6px;
                            border-radius: 10px;
                            border: 2px solid #8CBA86;
                            vertical-align: middle;
                        }

                        a,
                        >span {
                            display: inline-block;
                            width: 350px;
                            height: 22px;
                            white-space: nowrap;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            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;
                            padding-left: 9px;
                            vertical-align: middle;
                        }
                        a:hover,
                        >span:hover {
                            color: #139609;
                        }

                    }
                }
            }
        }
    }
}

// 改版新增样式 start---------------------------------------->
.titleBox {
    width: 1200px;
    margin: 0 auto;
    padding:60px 0;
    img {
        margin: 0 auto;
        display: block;
    }
}

//布局复制
.layoutCopy {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 1200px;
    margin: 0 auto;
    
    .layoutCopyLeft {
        width: 720px;
        .layoutCopyLeftTop {
            width: 720px;
            display: flex;
            justify-content: space-between;
            .layoutCopyLeft1 {
                width: 350px;
            }
            .layoutCopyLeft2 {
                width: 350px;
            }
            .layoutCopyAll {
                width: 720px;
            }
        }
        .layoutCopyAll {
            width: 720px;
        }
    }
    .layoutCopyRight {
        width: 450px;
    }
    .layoutTitleBox {
        border-bottom: 1px solid #D9D9D9;
        margin-bottom: 40px;
        display: flex;
        justify-content: space-between;
        .layoutTitleBoxTabs {
            display: flex;
            justify-content: space-between;
            div.layoutTitle {
                margin-right: 40px;
                border-bottom: 0;
                color: #333;
                cursor: pointer;
                font-weight: bold;
            }
            div.active {
                border-bottom: 3px solid #49A769;
                color: #49A769;
                cursor: pointer;
            }
        }
        .layoutTitle {
            font-size: 22px;
            color:#49A769;
            border-bottom: 3px solid #49A769;
            height: 50px;
            line-height: 50px;
            font-weight: bold;
            a {
                font-size: 22px;
                color:#49A769;
            }
        }
        .layoutMore {
            color:#333333;
            font-size: 16px;
            height: 50px;
            line-height: 50px;
            a {
                color:#333333;
                font-size: 16px;
            }
        }
    }
}
//布局内容样式
.layoutCopyData_style1 {
    margin-bottom: 30px;
    a:nth-child(1) {
        color: #333333;
        font-size: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        img {
            width: 152px;
            height: 103px;
            margin-right: 10px;
            border-radius: 8px;
        }
        div {
            height:103px;
            padding-top: 10px;
            box-sizing: border-box;
            border-bottom: 1px solid #D9D9D9;
            span {
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 3;
                font-weight: bold;
                overflow: hidden;
                text-overflow: ellipsis;
                word-break: break-all;
            }
        }
    }
    a:nth-child(1):hover {
        color:#49A769
    }
    a:nth-child(2) {
        margin-top: 30px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-all;
        font-size: 16px;
        color: #333333;
        border-bottom: 1px solid #E6E6E6;
        .title {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            text-overflow: ellipsis;
            word-break: break-all;
            height: 45px;
        }
        p {
            margin-top: 10px;
            margin-bottom: 15px;
        }
    }

    a:hover .title{
        color:#49A769
    }
}
.layoutCopyData_style2 {
    a {
        margin-top: 43px;
        font-size: 16px;
        color: #333333;
        display: block;
        border-bottom: 1px solid #E6E6E6;
        .title {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            text-overflow: ellipsis;
            word-break: break-all;
            height: 45px;
        }
        p {
            margin-top: 10px;
            margin-bottom: 15px;
        }
    }
    a:nth-child(1) .title{
        font-weight: bold;
    }
    a:hover .title{
        color:#49A769
    }
}
.layoutCopyData_style3 {
    .style3link1 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        .time {
            width: 100px;
            height: 100px;
            background: #F4FFF7;
            p:nth-child(1) {
                font-size: 38px;
                color: #49A769;
                text-align: center;
                border-bottom: 1px solid #49A769;
                width: 75px;
                margin: 0 auto;
                margin-bottom: 5px;
                padding-bottom: 5px;
                padding-top: 10px;
            }
            p:nth-child(2) {
                font-size: 15px;
                color: #49A769;
                text-align: center;
            }
        }
        .title {
            width: 590px;
            font-size: 22px;
            color: #333333;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            text-overflow: ellipsis;
            word-break: break-all;
            &:hover {
                color: #49A769;
            }
        }
        .introduce {
            width: 590px;
            font-size: 16px;
            color: #999999;
            margin-top: 10px;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            height: 40px;
            overflow: hidden;
            text-overflow: ellipsis;
            word-break: break-all;
        }
        margin-bottom: 20px;
    }
    .style3link2 {
        display: flex;
        justify-content: space-between;
        height: 30px;
        line-height: 30px;
        color:#333333;
        div {
            display: flex;
            justify-content: space-between;
            align-items: center;
            .title {
                width: 600px;
                // 修改这里,添加单行文本溢出省略样式
                white-space: nowrap;
                overflow: hidden; 
                text-overflow: ellipsis;
                color:#333333;
                font-size: 16px;
                &:hover {
                    color: #49A769;
                }
            }
        }
        b {
            width: 6px;
            height: 6px;
            background: #49A769;
            margin-right: 8px;
        }
        margin-bottom: 10px;
    }

}
.layoutCopyData_style4 {
    .layoutCopyData_pic {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        position: relative;
        a {
            width: 220px;
            height: 140px;
            display: block;
            position: relative;
            z-index: 99;
            img {
                width: 220px;
                height: 140px;
                border-radius: 8px;
            }
            p {
                position: absolute;
                bottom:10px;
                width: 200px;
                height: 18px;
                font-size: 14px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                color: #fff;
                left: 10px;
            }
        }
    }
    .layoutCopyData_text {
        a {
            border-bottom:1px soild #E6E6E6;
            color: #333333;
            font-size: 16px;
            display: flex;
            height: 41px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #E6E6E6;
            padding-bottom: 12px;
            margin-top: 10px;
            .title {
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                width: 431px;
                &:hover {
                    color: #49A769;
                }
            }
            .more {
                width: 16px;
                height: 16px;
                background: #EDF7F0;
                color: #49A769;
                font-size: 12px;
                text-align: center;
                line-height: 15px;
                border-radius: 3px;
            }
        }
    }
}
// 改版新增样式 end---------------------------------------->
.lastPart3 {
    width: 100%;
    height: 700px;
    .inner {
        margin-top: 20px;
        width: 1200px;
        height: 660px;
        background-color: #fff;
        .lastPartTitle {
            width: 100%;
            height: 50px;
            line-height: 50px;
            border-bottom: 1px solid #D9D9D9;
            .left {
                span {
                    font-family: Microsoft YaHei, Microsoft YaHei;
                    font-weight: bold;
                    font-size: 22px;
                    color: #333333;
                    line-height: 19px;
                    letter-spacing: 1px;
                    text-align: left;
                    font-style: normal;
                    text-transform: none;
                    padding-bottom: 13px;
                    a {
                        color: #333;
                        height: 50px;
                        line-height: 50px;
                        display: inline-block;
                        box-sizing: border-box;
                        margin-right: 40px;
                    }
                }
                .active {
                    a {
                        color: #49A769;
                        border-bottom: 3px solid #49A769;
                        height: 50px;
                        line-height: 50px;
                        display: inline-block;
                        box-sizing: border-box;
                        margin-right: 40px;
                        font-weight: bold;
                    }
                }
            }
            .right {
                font-family: Microsoft YaHei, Microsoft YaHei;
                font-weight: 400;
                font-size: 16px;
                color: #333333;
                line-height: 19px;
                letter-spacing: 1px;
                text-align: left;
                font-style: normal;
                text-transform: none;
                a {
                    color: #333333;
                    margin-right: 20px;
                    line-height: 50px;
                    padding-right: 20px;
                    border-right: 1px solid #e5e5e5;
                }
                >a:last-child {
                    border-right: none;
                }
                >a:hover {
                    cursor: pointer;
                    color: #49A769;
                }
                
            }
        }
        .lastPartContext {
            margin-top: 30px;
            .left {
                float: left;
                width: 720px;
                ul.mode1ul_style1 {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    padding-top: 30px;
                    li {
                        position: relative;
                        width: 349px;
                        height: 236px;
                        border-radius: 10px;
                        box-sizing: border-box;
                        overflow: hidden;
                        img {
                            width: 349px;
                            height: 236px;
                        }
                        a {
                            div {
                                position: absolute;
                                width: 320px;
                                height: 42px;
                                bottom: 48px;
                                z-index: 10;
                                left:15px;
                                color: #fff;
                                font-size: 16px;
                                z-index: 99;
                                span {
                                    display: inline-block;
                                    background: #9CD26B;
                                    font-size: 12px;
                                    color: #fff;
                                    padding: 2px 6px;
                                    border-radius: 4px;
                                    margin-right: 5px;
                                }
                                p {
                                    font-size: 16px;
                                    margin-top: 5px;
                                    height: 45px;
                                    margin-bottom: 10px;
                                }
                                p:nth-child(1) {
                                    display: -webkit-box;
                                    -webkit-box-orient: vertical;
                                    -webkit-line-clamp: 2;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    word-break: break-all;
                                }
                            }
                        }
                    }
                }
                ul.mode1ul_style2 {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    flex-wrap: wrap;
                    padding-top: 20px;
                    li {
                        width: 349px;
                        height: 85px;
                        border-radius: 10px;
                        border-bottom: 1px solid #E6E6E6;
                        box-sizing: border-box;
                        margin-bottom: 20px;
                    }
                    p {
                        font-size: 16px;
                        color: #333333;
                        margin-bottom: 4px;
                    }
                    p.title {
                        width: 349px;
                        height: 46px;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        word-break: break-all;
                    }
                    p.title:hover {
                        color: #49A769;
                    }
                }
                
            }
            .right {
                float: right;
                width: 450px;
                height: 570px;

                .title {
                    height: 56px;

                    h3 {
                        font-family: Microsoft YaHei, Microsoft YaHei;
                        font-weight: bold;
                        font-size: 22px;
                        color: #333333;
                        line-height: 19px;
                        letter-spacing: 1px;
                        text-align: left;
                        font-style: normal;
                        text-transform: none;

                        a {
                            float: right;
                            font-family: Microsoft YaHei, Microsoft YaHei;
                            font-weight: 400;
                            font-size: 16px;
                            color: #333333;
                            line-height: 19px;
                            letter-spacing: 1px;
                            text-align: left;
                            font-style: normal;
                            text-transform: none;
                            padding-top: 3px;
                        }
                        .leftTitle {
                            color: #333333;
                            font-size: 22px;
                            font-weight: bold;
                            float:left
                        }

                    }
                }
                .content {
                    li {
                        width: 450px;
                        height: 102px;
                        line-height: 50px;
                        border-top: 3px solid #49A769;
                        background-color: #fbfbfb;
                        margin-bottom: 33px;

                        a {
                            display: block;
                            width: 450px;
                            height: 102px;

                            span {
                                float: left;
                                padding: 28px 20px 14px 20px;
                                height: 46px;
                                width: 70px;
                                font-family: Microsoft YaHei, Microsoft YaHei;
                                font-weight: 400;
                                font-size: 15px;
                                color: #49A769;
                                line-height: 18px;
                                text-align: left;
                                font-style: normal;
                                text-transform: none;

                                strong {
                                    display: inline-block;
                                    font-family: Microsoft YaHei, Microsoft YaHei;
                                    font-weight: 400;
                                    font-size: 25px;
                                    color: #49A769;
                                    line-height: 29px;
                                    text-align: center;
                                    font-style: normal;
                                    text-transform: none;
                                    margin-bottom: 5px;
                                }
                            }

                            .text {
                                float: left;
                                width: 300px;
                                height: 30px;
                                overflow: hidden;
                                display: -webkit-box;
                                -webkit-box-orient: vertical;
                                -webkit-line-clamp: 2;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                word-break: break-all;
                                line-height: 22px;
                                padding: 28px 0 14px 0;
                                color: #333333;
                                font-size: 16px;
                            }
                        }
                    }

                    >li:nth-child(2n) {
                        border-top: 3px solid #DF9A2B;

                        a {
                            display: block;
                            width: 450px;
                            height: 102px;

                            span {
                                float: left;
                                padding: 28px 20px 14px 20px;
                                width: 70px;
                                height: 46px;
                                font-family: Microsoft YaHei, Microsoft YaHei;
                                font-weight: 400;
                                font-size: 15px;
                                color: #DF9A2B;
                                line-height: 18px;
                                text-align: left;
                                font-style: normal;
                                text-transform: none;

                                strong {
                                    display: inline-block;
                                    font-family: Microsoft YaHei, Microsoft YaHei;
                                    font-weight: 400;
                                    font-size: 25px;
                                    color: #DF9A2B;
                                    line-height: 29px;
                                    text-align: center;
                                    font-style: normal;
                                    text-transform: none;
                                    margin-bottom: 5px;
                                }
                            }

                            .text {
                                float: left;
                                width: 300px;
                                line-height: 22px;
                                height: 30px;
                                display: -webkit-box;
                                -webkit-box-orient: vertical;
                                -webkit-line-clamp: 2;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                word-break: break-all;
                                overflow: hidden;
                                padding: 28px 0 14px 0;
                                color: #333333;
                            }
                        }
                    }
                    >li:hover{
                        cursor: pointer;
                        .text{
                            color: #49A769;
                        }
                    }
                    >li:nth-child(2n):hover{
                        cursor: pointer;
                        .text{
                            color: #49A769;
                        }
                    }
                }
            }

        }
    }
}
//曹国庆
//public
.clearfix{overflow:hidden;}
.clearfix_2::after{content: '';display: block;height: 0;visibility: hidden;clear: both;}
.hiddenColor{visibility:hidden;}
.hand{cursor:pointer;}
.aTag_parent{position:relative;}
.aTag_parent>a,.aTag{display:block;width:100%;height:100%;position:absolute;z-index:99;border:0px;top:0px;left:0px;background:rgba(0,0,0,0);}	
.dot1{display:block;word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;}
.dot2{overflow:hidden;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
.dot3{overflow:hidden;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;}
.cover100 img{
    display:block;
    width:100%;
    height:100%;
    border-radius: 8px;
}
.back100{background-size:100% 100%;background-repeat:no-repeat;}
.index_main{margin:0 auto;}
.slow_6{-webkit-transition:all .6s;-moz-transition: all .6s;-ms-transition: all .6s;-o-transition: all .6s;transition: all .6s;}
//index 1
.index1 {width: 1200px;margin: 0 auto; margin-top: 20px;}
.index_1_box{float:left;width:29%;margin-right:2%;}
.index_1_head_box{
    width:100%;
    border-bottom:solid 1px #D9D9D9;
    position:relative;
    display: flex;
    justify-content: space-between;

    .leftTitle {
        color: #333333;
        font-size: 22px;
        font-weight: bold;
    }
}
.index_1_head_box a{
    height:54px;
    line-height:54px;
    color:#333;
    font-size:16px;
}

.index_1_head{float:left;height:54px;line-height:54px;color:#333;font-weight:bold;font-size:22px;border-bottom:solid 3px #fff;margin-right: 40px;}
.index_1_head a{display:block;height:54px;line-height:54px;color:#333;font-weight:bold;font-size:22px;}
.index_1_head_only{color:#49A769;border-bottom:solid 3px #49A769;} 
.index_1_head_only a{color:#49A769;}
.index_1_head_box_line_none{border:none;}
.index_1_head:nth-of-type(even){margin:0px 20px;}
.index_1_img_li{margin-top:30px;position:relative;}
.index_1_img_li::after{content: '';display: block;position:absolute;right:0px;bottom:0px;height:0px;border-bottom:solid 1px #D9D9D9;width:188px;}
.index_1_img_li img{float:left;width:150px;height:85px;margin-right:13px;border-radius: 8px;}
.index_1_li_dot3{height:60px;line-height:20px;color:#333;font-size:16px;font-weight:bold;}
.index_1_li{width:100%;border-bottom:solid 1px #D9D9D9;margin-bottom: 30px;}
.index_1_li_only {
    height: 79px !important;
}
.index_1_li_dot2{height:38px;line-height:19px;color:#000;font-size:16px;}
.index_1_li_time{height:16px;line-height:14px;color:#999;font-size:14px}
.index_1_li_bold {
    margin-top: 30px;
}
.index_1_li_bold .index_1_li_dot2{font-weight:bold;line-height:20px;height:40px;}
.index_1_li_bold .index_1_li_time{display: block; }
.index_1_li_dot2:hover{color:#49A769;}
.index_1_li_dot3:hover{color:#49A769;}
.index_1_li {
    a {
        display: block;
        padding-bottom: 10px;
    }
}
.index_1_box_right{width:450px;float:right;}
.index_1_box_right_img_ul{margin-top:30px;}
.index_1_box_right_img_li{width:49%;height:140px;border-radius:4px;position:relative;margin-bottom:5px;}
.index_1_box_right_img_li:nth-of-type(odd){float:left;}
.index_1_box_right_img_li:nth-of-type(even){float:right;}
.index_1_box_right_img_li_dot1{
    position:absolute;
    width:100%;
    height:33px;
    line-height:33px;
    box-sizing:border-box;
    padding:0px 8px;
    left:0px;
    bottom:0px;
    font-size:16px;
    color:#fff;
} 
.index_1_box_right_li{
    border-bottom:solid 1px #E6E6E6;
    width:98%;
    margin:0px auto;
    a {
        .index_1_box_right_li_dot1 {
            &:hover {
                color: #49A769;
            }
        }
    }
}
.index_1_box_right_li_dot1{height:55px;line-height:55px;color:#333;font-size:16px;}
.index_1_box_right_li_font{float:right;padding:4px;background:#e8f5e6;color:#49A769;font-size:14px;margin-top:14px;border-radius:2px;margin-left:14px;}
.index_2,.index_1,.index_3 {
    width: 1200px;margin: 0 auto;margin-top:15px;
}

.index_2_head_box{border-bottom:solid 1px #D9D9D9;margin-bottom:30px;}
.index_1_head_box_2{float:left;width:auto;border:none;}
.index_2_head_a_box{ margin-top:11px;float:right;}
.index_2_head_a_box a{float:left;height:12px;line-height:12px;color:#333;font-size:16px;padding:0 20px;border-left:solid 1px #ccc;margin:10px 0px;}
.index_2_head_a_box a:nth-of-type(1){border:none;}
.index_2_big_img_li{
    height:236px;
    position:relative;
    margin:0px auto 20px;
    border-radius:6px;
    overflow: hidden;
}
.index_2_big_img_li::after{
    content: '';
    display: block;
    width:100%;
    height:68px;
    z-index:44;
    left:0px;
    bottom:0px;
    position:absolute;
    background:linear-gradient(to bottom,rgba(0,0,0,0),black);
    opacity:.5;
}
.index_2_big_img_li_dot2{position:absolute;width:100%;padding:0 8px;box-sizing:border-box;font-size:16px;color:#fff;height:38px;line-height:19px;left:0px;bottom:28px; z-index:111;}
.index_2_big_img_li_dot2_tag{float:left;background:#49A769;color:#fff;font-size:14px;height:18px;line-height:18px;margin:1px 4px 0px 0px;padding:0px 3px;z-index:111;}
.index_1_box_right_img_ul_2{margin:20px auto 20px;}
.index_1_box_right_img_ul_2 .index_1_box_right_img_li{height:115px;margin-bottom:0px;}
.index_2_li{
    border-bottom:solid 1px #E6E6E6;
    padding:29px 0px;
    width:100%;
    a {
        .index_2_li_dot2 {
            &:hover {
                color: #49A769;
            }
        }
    }
}
.index_2_li_time_box{
    float:left;
    background:#F4FFF7;
    width:100px;
    margin-right:30px;
    padding:10px 0px;

}
.index_2_li_time_head{margin:0px auto 0;border-bottom:solid 1px #49A769;width:75px;font-size:38px;color:#49A769;height:44px;line-height:44px;text-align:center;}
.index_2_li_time_foot{text-align:center;font-size:15px;color:#49A769;width:100%;margin:0px auto 0px;}
.index_2_li_dot2{height:42px;line-height:21px;color:#333;font-size:16px;margin-top:11px;}
.index_3_box_left{float:left;width:720px;}
.index_3_li{
    border-bottom:solid 1px #E6E6E6;
    padding:18px 0px;
    width:49%;
    font-size: 16px;
    p {
        color: #333333;
        padding-left: 20px;
    }
    a:hover {
        p.title {
            color: #33b023;
        }
    }
    .title {
        height: 42px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-all;
        b.lis {
            background: #E6E6E6;
            width: 6px;
            height: 6px;
            display: inline-block;
            margin-bottom: 2px;
            margin-right: 5px;
        }
    }
}
.index_3_li:nth-of-type(1),.index_3_li:nth-of-type(2){
    font-weight: bold;
}
.index_3_li:nth-of-type(odd){float:left;}
.index_3_li:nth-of-type(even){float:right;}
.index_3 .index_2_head_box{margin-bottom:0px;}
.index_3_li_dot2{position:relative;width:100%;box-sizing:border-box;padding:0px 20px;height:42px;line-height:21px}
.index_3_li_dot2::after{content: '';display: block;width:6px;height:6px;z-index:144;left:0px;top:10px;position:absolute;background:#E6E6E6;}
.index_3_li_color{
    border-bottom:solid 1px #49A769 !important;
    b.active {
        background: #33b023 !important;
        width: 6px;
        height: 6px;
        display: inline-block;
        margin-bottom: 2px;
        margin-right: 5px;
    }
}
.index_3_li_color .index_3_li_dot2::after{background:#49A769;}
.index_3_li_color .index_3_li_dot2{font-weight:bold;}
.banner_1_vote{width:100%;position:relative;}
.banner_1_vote img,.banner_1_vote a{width:100%;display:block;}
.banner_1_vote_h4{font-size:32px;color:#fff;position:absolute;z-index:11;left:0px;top:0px;}
.index_3_box_vote{
    width:100%;
    box-sizing:border-box;
    border:solid 1px #FBFBFB;
    background: #FBFBFB;
    .inquire {
        width: 450px;
        height: 394px;
        margin-top: 20px;
        border-radius: 6px 6px 6px 6px;
        padding: 4px 6px;
        box-sizing: border-box;
        p {
            width: 380px;
            height: 69px;
            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;
            padding: 12px 20px 0 32px;
        }
        .radio {
            /deep/.el-radio {
                --el-radio-input-border-color-hover: #27881a;
            }
            /deep/.el-radio-group {
                align-items: center;
                display: inline-flex;
                flex-wrap: wrap;
                font-size: 0;
                padding-left: 35px;
            }
            /deep/.el-radio.el-radio--large {
                width: 380px;
                height: 29px;
                margin-bottom: 15px;
            }
            /deep/.el-radio.el-radio--large .el-radio__label {
                font-family: PingFang SC, PingFang SC;
                font-weight: 400;
                font-size: 16px;
                color: #333333;
            }
            /deep/.el-radio.el-radio--large .el-radio__inner {
                height: 16px;
                width: 16px;
            }
            /deep/.el-radio__input.is-checked+.el-radio__label {
                color: #27881a;
            }
            /deep/.el-radio__input.is-checked .el-radio__inner {
                background: #33b023;
                border-color: #27881a;
            }
        }
        .btn {
            width: 188px;
            height: 32px;
            margin: 20px auto;
            button {
                width: 70px;
                height: 32px;
                line-height: 32px;
                border-radius: 6px;
                border: none;
                font-family: PingFang SC, PingFang SC;
                font-weight: 400;
                font-size: 16px;
                color: #999999;
            }
            .voting {
                background-color: #49A769;
                color: #fff;
                margin-right: 44px;
                cursor: pointer;
            }
            .look {
                cursor: pointer;
            }
        }
    }
}		
.index_1_li  {
    height: 83px;
    .index_1_li_time {
        margin-top: 10px;
    }
}
.index_1_ul_mrbot {
    margin-bottom: 30px;
}


.imgbg::after{
    content: '';
    display: block;
    width:100%;
    height:68px;
    z-index:44;
    left:0px;
    bottom:0px;
    position:absolute;
    background:linear-gradient(to bottom,rgba(0,0,0,0),black);
    opacity:.5;
}
</style>
