<template>
    <div>
        <!-- 页面头部 -->
        <HomePageHead></HomePageHead>
        <!-- 页面导航 -->
        <HomePageNavigation></HomePageNavigation>
        <!-- 广告一 -->
        <HomeAdvertising :imgurl="adImg1"></HomeAdvertising>

        <!-- 二级导航列表 -->
        <div class="nav2top"></div>
        <div class="nav2">

            <ul class="inner">
                <li class="home">
                    {{ title }}
                </li>
                <li class="titleList" v-for="(item, index) in pageData1" :key="index">
                    <NuxtLink :href="getLinkPath(item)" :title="item.alias"
                        :target="item.is_url == 1 ? '_blank' : '_self'">
                        <span class="nav2_title">{{ item.alias }}</span>
                    </NuxtLink>
                </li>
            </ul>
        </div>
        <div class="nav2btm"></div>

        <div class="phone_nav pc_none">
                    <div class="phone_nav_in">

                        <NuxtLink 
                                v-for="(item, index) in pageData1" :key="index"
                                :href="getLinkPath(item)" :title="item.alias"
                                :target="item.is_url == 1 ? '_blank' : '_self'">
                                <span class="phone_nav_a">{{ item.alias }}</span>
                        </NuxtLink>
                    </div>
        </div>


        <!-- 第一层 -->
        <!-- 第一部分 -->
        <div class="part1">
            <div class="inner">
                <div class="part1_left" v-if="pageData[0]">
                    <div class="part1_title">
                        <h2 class="nav_part1_left">
                            <NuxtLink :href="getLinkPath(pageData[0])" v-if="pageData[0]" :title="pageData[0].alias">
                                {{ pageData[0].alias }}
                            </NuxtLink>
                            <em></em>
                        </h2>
                    </div>
                    <div class="part1_content">
                        <div class="context_left">
                            <div class="top" v-for="(item, index) in pageData[0].data" :key="index">
                                <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                    <img :src="item.imgurl" alt="item.title">
                                    <span class="title1">{{ item.title }}</span>
                                </NuxtLink>
                            </div>
                            <div class="bottom">
                                <div class="bottom_left" v-for="(item, index) in pageData[0].data1" :key="index">
                                    <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                        <img :src="item.imgurl" alt="item.title">
                                        <span class="title2">{{ item.title }}</span>
                                    </NuxtLink>
                                </div>
                            </div>
                        </div>
                        <div class="context_right">
                            <ul class="rightContent">
                                <li class="context1" v-for="(item, index) in pageData[0].data2" :key="index">
                                    <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                        {{ item.title }}
                                    </NuxtLink>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="part1_right" v-if="pageData[1]">
                    <div class="part1_right_title">
                        <h2 class="part1_right_title1_active">
                            <NuxtLink :href="getLinkPath(pageData[1])" v-if="pageData[1]" :title="pageData[1].alias">
                                {{ pageData[1].alias }}
                            </NuxtLink>
                            <em class="active_bg"></em>
                        </h2>
                    </div>
                    <div class="part1_right_content">
                        <div class="part1_right_top11">
                            <div class="part1_right_content_top" v-for="(item, index) in pageData[1].data" :key="index">
                                <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                    <img :src="item.imgurl" alt="item.title">
                                    <span class="content_top_title2">{{ item.title }}</span>
                                </NuxtLink>
                            </div>
                        </div>
                        <!-- <div class="part1_right_content_top" v-for="(item, index) in pageData[1].data" :key="index">
                            <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                <img :src="item.imgurl" alt="item.title">
                                <span class="content_top_title2">{{ item.title }}</span>
                            </NuxtLink>
                        </div> -->
                        <ul class="part1_right_content_bottom">
                            <li class="content_bottom_list" v-for="(item, index) in pageData[1].data1" :key="index">
                                <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                    {{ item.title }}
                                </NuxtLink>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!-- 第二部分 -->
        <div class="part2">
            <div class="inner">
                <div class="part2_left" v-if="pageData[2]">
                    <div class="part2_title">
                        <h2 class="nav_part2_left">
                            <NuxtLink :href="getLinkPath(pageData[2])" v-if="pageData[2]" :title="pageData[2].alias">
                                {{ pageData[2].alias }}
                            </NuxtLink>
                            <em></em>
                        </h2>
                    </div>
                    <div class="part2_content">

                        
                        <div class="part2_content_right pc_none">
                            <div class="right_top" v-for="(item, index) in pageData[2].data" :key="index">
                                <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                    <img :src="item.imgurl" alt="item.title">
                                    <span class="title11">{{ item.title }}</span>
                                </NuxtLink>
                            </div> 
                        </div>

                        <div class="part2_content_left">
                            <ul class="content_a">
                                <li class="context111" v-for="(item, index) in pageData[2].data2" :key="index">
                                    <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                        {{ item.title }}
                                    </NuxtLink>
                                </li>
                            </ul>
                        </div>

                        <div class="part2_content_right phone_none">
                            <div class="right_top" v-for="(item, index) in pageData[2].data" :key="index">
                                <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                    <img :src="item.imgurl" alt="item.title">
                                    <span class="title11">{{ item.title }}</span>
                                </NuxtLink>
                            </div>
                            <div class="right_bottom">
                                <div class="bottom_left" v-for="(item, index) in pageData[2].data1" :key="index">
                                    <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                        <img :src="item.imgurl" alt="item.title">
                                        <span class="title22">{{ item.title }}</span>
                                    </NuxtLink>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
                <div class="part2_right" v-if="pageData[3]">
                    <div class="part2_right_title">
                        <h2 class="part2_right_title1_active">
                            <NuxtLink :href="getLinkPath(pageData[3])" v-if="pageData[3]" :title="pageData[3].alias">
                                {{ pageData[3].alias }}
                            </NuxtLink>
                            <em class="active_bg11"></em>
                        </h2>
                    </div>
                    <div class="part2_right_content">
                        <div class="part2_right_top11">
                            <div class="part2_right_content_top" v-for="(item, index) in pageData[3].data" :key="index">
                                <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                    <img :src="item.imgurl" alt="item.title">
                                    <span class="content_top_title22">{{ item.title }}</span>
                                </NuxtLink>
                            </div>
                        </div>
                        <ul class="part2_right_content_bottom">
                            <li class="content_bottom_list" v-for="(item, index) in pageData[3].data2" :key="index">
                                <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                    {{ item.title }}
                                </NuxtLink>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <!-- 广告二 -->
        <HomeAdvertising :imgurl="adImg2"></HomeAdvertising>

        <!-- 第二层 -->
        <!-- v-if="pageData.length>7" -->
        <div class="part3" v-if="pageData.length > 7">
            <div class="inner">
                <div class="part3_left">
                    <div class="part3_left_top" v-if="pageData[4]">
                        <div class="part3_leftTitle">
                            <h2 class="part3_left_title">
                                <NuxtLink :href="getLinkPath(pageData[4])" v-if="pageData[4]"
                                    :title="pageData[4].alias">
                                    {{ pageData[4].alias }}
                                </NuxtLink>
                                <em></em>
                            </h2>
                        </div>
                        <div class="part3_left_content" v-if="pageData[4]">
                            <div class="part3_left_content_top">
                                <div class="content_top_left">
                                    <div class="part3_photo_text" v-for="(item, index) in pageData[4].data"
                                        :key="index">
                                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                            <img :src="item.imgurl" alt="item.title">
                                            <span class="part3_text">{{ item.title }}</span>
                                        </NuxtLink>
                                        <span class="littleTips">精选</span>
                                    </div>
                                    <ul class="part3_content">
                                        <li class="part3_content_list" v-for="(item, index) in pageData[4].data1"
                                            :key="index">
                                            <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                                {{ item.title }}
                                            </NuxtLink>
                                        </li>
                                    </ul>
                                </div>
                                <ul class="content_top_right">
                                    <li class="content_right_list" v-for="(item, index) in pageData[4].data2"
                                        :key="index">
                                        <NuxtLink to="#">
                                            <!-- <div class="part3_time">
                                                <span class="month">{{ getTime(item.updated_at, 'day', 1) }}</span>
                                                <span class="xiegang">/</span>
                                                <span class="day">{{ getTime(item.updated_at, 'month', 1) }}</span>
                                            </div> -->
                                            <div class="time_left_content">
                                                <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                                    {{ item.title }}
                                                </NuxtLink>
                                            </div>
                                        </NuxtLink>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>

                    <div class="part3_left_bottom" v-if="pageData[5] || pageData[6]">
                        <div class="part3_leftTitle1">
                            <h2 class="part3_left_title" v-if="pageData[5]" @mouseenter="tabsData = 1"
                                :class="{ part3_left_title_active: tabsData == 1 }">
                                <NuxtLink :href="getLinkPath(pageData[5])" @mouseenter="tabsData = 1"
                                    :class="{ active: tabsData == 1 }" :title="pageData[5].alias">
                                    {{ pageData[5].alias }}
                                </NuxtLink>
                                <em></em>
                            </h2>
                            <h2 class="part3_left_title" v-if="pageData[6]" @mouseenter="tabsData = 2"
                                :class="{ part3_left_title_active: tabsData == 2 }">
                                <NuxtLink :href="getLinkPath(pageData[6])" v-if="pageData[6]" @mouseenter="tabsData = 2"
                                    :class="{ active: tabsData == 2 }" :title="pageData[6].alias">
                                    {{ pageData[6].alias }}
                                </NuxtLink>
                                <em></em>
                            </h2>
                        </div>
                        <div class="part3_left_content1" v-if="tabsData == 1">
                            <div class="content_bottom_left">
                                <div class="content_top" v-for="(item, index) in pageData[5].data" :key="index">
                                    <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                        <img :src="item.imgurl" alt="item.title">
                                        <span class="part3_text">{{ item.title }}</span>
                                    </NuxtLink>
                                </div>
                                <div class="content_bottom">
                                    <div class="content_bottom_1" v-for="(item, index) in pageData[5].data1"
                                        :key="index">
                                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                            <img :src="item.imgurl" alt="item.title">
                                            <span class="part3_text">{{ item.title }}</span>
                                        </NuxtLink>
                                    </div>
                                </div>
                            </div>
                            <div class="content_bottom_right">
                                <ul class="bottom_content_1">
                                    <li class="bottom_content_list" v-for="(item, index) in pageData[5].data2"
                                        :key="index">
                                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                            {{ item.title }}
                                        </NuxtLink>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        <div class="part3_left_content1" v-if="tabsData == 2 && pageData[6].alias">
                            <div class="content_bottom_left">
                                <div class="content_top xx" v-for="(item, index) in pageData[6].data" :key="index">
                                    <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                        <img :src="item.imgurl" alt="item.title">
                                        <span class="part3_text">{{ item.title }}</span>
                                    </NuxtLink>
                                </div>
                                <div class="content_bottom">
                                    <div class="content_bottom_1" v-for="(item, index) in pageData[6].data1"
                                        :key="index">
                                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                            <img :src="item.imgurl" alt="item.title">
                                            <span class="part3_text">{{ item.title }}</span>
                                        </NuxtLink>
                                    </div>
                                </div>
                            </div>
                            <div class="content_bottom_right">
                                <ul class="bottom_content_1">
                                    <li class="bottom_content_list" v-for="(item, index) in pageData[6].data2"
                                        :key="index">
                                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                            {{ item.title }}
                                        </NuxtLink>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>

                    <!-- 交通安防 -->
                    <div class="part3_left_bottom pc_none">

                        <div class="part3_leftTitle1">
                            <h2 class="part3_left_title" >
                                <NuxtLink :href="getLinkPath(pageData[6])" 
                                     :title="pageData[6].alias">
                                    {{ pageData[6].alias }}
                                </NuxtLink>
                                 
                            </h2>
                        </div>

                        
                        <div class="part3_left_content1">
                            <div class="content_bottom_left">
                                <div class="content_top phone_img_box_1" v-for="(item, index) in pageData[6].data" :key="index">
                                    <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                        <img :src="item.imgurl" alt="item.title">
                                        <span class="part3_text">{{ item.title }}</span>
                                    </NuxtLink>
                                </div> 
                            </div>
                            <div class="content_bottom_right">
                                <div class="pc_none phone_part"></div>
                                <ul class="bottom_content_1">
                                    <li class="bottom_content_list" v-for="(item, index) in pageData[6].data2"
                                        :key="index">
                                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                            {{ item.title }}
                                        </NuxtLink>
                                    </li>
                                </ul>
                            </div>
                        </div>

                    </div>

                </div>
                <div class="part3_right" v-if="pageData[7]">

                    <div class="part3_rightTitle">
                        <h2 class="part3_right_title">
                            <NuxtLink :href="getLinkPath(pageData[7])" v-if="pageData[7]" :title="pageData[7].alias">
                                {{ pageData[7].alias }}
                            </NuxtLink>
                            <em></em>
                        </h2>
                        <div class="rightMore">
                            <!-- <NuxtLink to="#">更多》</NuxtLink> -->
                        </div>
                    </div>

                    <div class="phone_img_box pc_none" v-if="pageData[7].data[0]">
                        <NuxtLink :href="getLinkPathDetail(pageData[7].data[0])" :title="pageData[7].data[0].title">
                            <span class="phone_img_box_dot1">{{ pageData[7].data[0].title }}</span>
                            <img :src="pageData[7].data[0].imgurl" :alt="pageData[7].data[0].title">
                        </NuxtLink>
                    </div>
                    


                    <ul class="part3_right_content_top" v-if="pageData[7].data1.length > 0">
                        <li class="part3_right_contentlist_top" v-for="(item, index) in pageData[7].data1" :key="index">
                            <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                <span class="numStyle">{{ index + 1 }}</span>
                                {{ item.title }}
                            </NuxtLink>
                        </li>
                    </ul>

                    <div class="part3_photo_text_right" v-if="pageData[7].data[0]">
                        <NuxtLink :href="getLinkPathDetail(pageData[7].data[0])" :title="pageData[7].data[0].title">
                            <span class="part3_text11">{{ pageData[7].data[0].title }}</span>
                            <img :src="pageData[7].data[0].imgurl" :alt="pageData[7].data[0].title">
                        </NuxtLink>
                    </div>

                    <ul class="part3_right_content_11" v-if="pageData[7].data2.length > 0">
                        <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data2" :key="index">
                            <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                {{ item.title }}
                            </NuxtLink>
                        </li>
                    </ul>
                    <div class="part3_photo_text_right" v-if="pageData[7].data[1]">
                        <NuxtLink :href="getLinkPathDetail(pageData[7].data[1])" :title="pageData[7].data[1].title">
                            <span class="part3_text11">{{ pageData[7].data[1].title }}</span>
                            <img :src="pageData[7].data[1].imgurl" :alt="pageData[7].data[1].title">
                        </NuxtLink>
                    </div>
                    <ul class="part3_right_content_11" v-if="pageData[7].data3.length > 0">
                        <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data3" :key="index">
                            <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                {{ item.title }}
                            </NuxtLink>
                        </li>
                    </ul>
                    <div class="part3_photo_text_right" v-if="pageData[7].data[2]">
                        <NuxtLink :href="getLinkPathDetail(pageData[7].data[2])" :title="pageData[7].data[2].title">
                            <span class="part3_text11">{{ pageData[7].data[2].title }}</span>
                            <img :src="pageData[7].data[2].imgurl" :alt="pageData[7].data[2].title">
                        </NuxtLink>
                    </div>
                    <ul class="part3_right_content_11">
                        <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data4" :key="index">
                            <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
                                {{ item.title }}
                            </NuxtLink>
                        </li>
                    </ul>
                </div>
            </div>
        </div>

        <!-- 页脚部分 -->
        <HomeFoot1></HomeFoot1>
    </div>
</template>

<script setup>
//0.加载页面依赖 start ---------------------------------------->
import { ref, onMounted } from 'vue';

//0.加载页面依赖 end ---------------------------------------->

//1.获得路由id start ---------------------------------------->
const route = useRoute();

//获得当前的完整路径
const fullPath = route.path;
//拆分，取出来中间这一段，然后提取数字部分
const segments = fullPath.split('/');
const targetSegment = segments[1];
//let routeId = 11 //排除路径错误可以打开这个
//const numberPart = targetSegment.match(/\d+$/)?.[0]; 
//let routeId = numberPart;
let routeId;
//通过导航路径反向查询导航id
const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
    method: 'GET',
    query: {
        'pinyin': targetSegment,
    },
});
if (getRouteId.code == 200) {
    routeId = getRouteId.data.category_id
} else {
    // console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
    // console.log("错误位置：通过url路径查询导航池id")
    // console.log("后端错误反馈：", getRouteId.message)
    // console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
}
//1.获得路由id end ---------------------------------------->


//2.页面交互效果 start ---------------------------------------->
//2.1 
const title = ref("")
const tabsData = ref(1)

async function getPageDataTitle() {
    const mkdata = await requestDataPromise('/web/getOneWebsiteCategory', {
        method: 'GET',
        query: {
            'catid': routeId,
        },
    });
    if (mkdata.code == 200) {
        title.value = mkdata.data.alias;
    } else {
        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
        console.log("错误位置：获取二级标题")
        console.log("后端错误反馈：", mkdata.message)
        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
    }
}
getPageDataTitle();
//2.1 新闻图片切换
const hoverStatus = ref(0)
const qhPic = function (num) {
    console.log(num)
    hoverStatus.value = num;
}

//2.2 选项卡切换
let showTabs = ref(1)
let qhtabs = function (number) {
    console.log(number)
    showTabs.value = number
}

//2.3 展示广告
let adImg1 = ref({})
let adImg2 = ref({})
let adImg3 = ref({})
let adImg4 = ref({})
onMounted(async () => {
    //从客户端获取行政职能部门 加快打开速度
    const { $webUrl, $CwebUrl } = useNuxtApp();
    //广告1
    let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0001`
    const responseAd1 = await fetch(url, {
        headers: {
            'Content-Type': 'application/json',
            'Userurl': $CwebUrl,
            'Origin': $CwebUrl
        }
    });
    const resultAd1 = await responseAd1.json();
    adImg1.value = resultAd1.data[0];

    //广告2
    let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0002`
    const responseAd2 = await fetch(url2, {
        headers: {
            'Content-Type': 'application/json',
            'Userurl': $CwebUrl,
            'Origin': $CwebUrl
        }
    });
    const resultAd2 = await responseAd2.json();
    adImg2.value = resultAd2.data[0];

    //广告3
    let url3 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0003`
    const responseAd3 = await fetch(url3, {
        headers: {
            'Content-Type': 'application/json',
            'Userurl': $CwebUrl,
            'Origin': $CwebUrl
        }
    });
    const resultAd3 = await responseAd3.json();
    adImg3.value = resultAd3.data[0];

    //广告4
    let url4 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0004`
    const responseAd4 = await fetch(url4, {
        headers: {
            'Content-Type': 'application/json',
            'Userurl': $CwebUrl,
            'Origin': $CwebUrl
        }
    });
    const resultAd4 = await responseAd4.json();
    adImg4.value = resultAd4.data[0];

})
//2.页面交互效果 end ---------------------------------------->

//3.渲染页面数据 start ---------------------------------------->
//3.1 该页面上所有的导航池 转为动态数据
const pageCategory = ref([]);
//3.2 该页面上需要渲染的所有数据
const pageData = ref([
    // { id: 0, data: [], data2: [], title: "", cid: "" },
    // { id: 1, data: [], title: "", cid: "" },
    // { id: 2, data: [], title: "", cid: "" },
    // { id: 3, data: [], title: "", cid: "" },
    // { id: 4, data: [], title: "", cid: "" },
    // { id: 5, data: [], title: "", cid: "" },
    // { id: 6, data: [], title: "", cid: "" },
    // { id: 7, data: [], title: "", cid: "" },
    // { id: 8, data: [], title: "", cid: "" },
])
const pageData1 = ref([])

const navSize = ref("");

//3.3 获取所有导航
try {
    const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
        method: 'GET',
        query: {
            'placeid': 1,
            'pid': routeId,
            'num': 20
        },
    });
    console.log('1111111111111二级导航', navigateData)
    if (navigateData.code == 200) {
        // 遍历可用的导航池放到页面中
        for (let index in navigateData.data) {
            let data = {
                title: navigateData.data[index].name,
                cid: navigateData.data[index].category_id,
                children_count: navigateData.data[index].children_count,
                alias: navigateData.data[index].alias,
                aLIas_pinyin: targetSegment + "/" + navigateData.data[index].aLIas_pinyin,
                is_url: navigateData.data[index].is_url,
                web_url: navigateData.data[index].web_url,
                data: [],
                data1: [],
                data2: [],
                data3: [],
                data4: [],
                category_id1: "",
                category_id2: "",
                category_id3: "",
                category_id4: "",
                title1: "",
                title2: "",
                title3: "",
                title4: ""
            };
            pageData1.value.push(data);

            if (navigateData.data[index].is_url == 1) {
                // 处理 URL 的逻辑
            } else {
                //每个页面最多8个模块
                pageData.value.push(data);
            }
        }
        //导航池加载完毕，开始申请模块数据
        // await getPageData1();
        // await getPageData2();
        // await getPageData3();
        // await getPageData4();
        // await getPageData5();
        // await getPageData6();
        // await getPageData7();
        // await getPageData8();
        let getJson = [
            // { "parent": routeId + ",0,0", "child": pageData.value[0].cid + ",3,10" },//模块1理论前沿
            // { "parent": routeId + ",0,0", "child": pageData.value[1].cid + ",2,6" },//模块2典型经验
            // { "parent": routeId + ",0,0", "child": pageData.value[2].cid + ",3,10" },//模块3农业天地
            // { "parent": routeId + ",0,0", "child": pageData.value[3].cid + ",2,6" },//模块4美丽乡村
            // { "parent": routeId + ",0,0", "child": pageData.value[4].cid + ",1,10" },//模块5农民之家
            // { "parent": routeId + ",0,0", "child": pageData.value[5].cid + ",3,10" },//模块6农业天地
            // { "parent": routeId + ",0,0", "child": pageData.value[6].cid + ",3,10" },//模块7农村建设
            // { "parent": routeId + ",0,0", "child": pageData.value[7].cid + ",3,13" },//模块8高端资讯
        ]
        for (let i = 0; i < pageData.value.length; i++) {
            if (i == 0) {
                getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
            } else if (i == 1) {
                getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",2,6" });
            } else if (i == 2) {
                getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
            } else if (i == 3) {
                getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",2,6" });
            } else if (i == 4) {
                getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",1,13" });
            } else if (i == 5) {
                getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
            } else if (i == 6) {
                getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
            } else if (i == 7) {
                getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,13" });
            }
        }
        let jsonString = JSON.stringify(getJson);
        // console.log("jsonString", getJson);
        getPageAllData(jsonString);
    } else {
        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
        console.log("错误位置：分类页导航池")
        console.log("后端错误反馈：", navigateData.message)
        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
    }
} catch (error) {
    console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
    console.log("错误位置：分类页导航渲染阶段")
    console.log("错误：导航池渲染执行接口出错！请检查首页的14的模块的具体执行方法！")
    console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
}

async function getPageAllData(jsonString) {
    const mkdata = await requestDataPromise('/web/getWebsiteAllArticle', {
        method: 'GET',
        query: {
            'id': jsonString
        },
    });

    if (mkdata.code == 200) {
        console.log(778899)
        console.log('mkdata.data',mkdata.data)
        //模块1理论前沿
        if (mkdata.data[0].child.imgnum.length > 0) {
            pageData.value[0].data.push(mkdata.data[0].child.imgnum[0]);
        }
        if (mkdata.data[0].child.imgnum.length > 1) {
            pageData.value[0].data1.push(mkdata.data[0].child.imgnum[1]);
        }
        if (mkdata.data[0].child.imgnum.length > 2) {
            pageData.value[0].data1.push(mkdata.data[0].child.imgnum[2]);
        }
        if (mkdata.data[0].child.textnum) {
            pageData.value[0].data2 = mkdata.data[0].child.textnum;
        }
        //模块2典型经验
        if (mkdata.data[1].child.imgnum) {
            pageData.value[1].data = mkdata.data[1].child.imgnum;
        }
        if (mkdata.data[1].child.textnum) {
            pageData.value[1].data1 = mkdata.data[1].child.textnum;
        }
        //模块3农业天地
        if (mkdata.data[2].child.imgnum.length > 0) {
            pageData.value[2].data.push(mkdata.data[2].child.imgnum[0]);
        }
        if (mkdata.data[2].child.imgnum.length > 1) {
            pageData.value[2].data1.push(mkdata.data[2].child.imgnum[1]);
        }
        if (mkdata.data[2].child.imgnum.length > 2) {
            pageData.value[2].data1.push(mkdata.data[2].child.imgnum[2]);
        }
        pageData.value[2].data2 = mkdata.data[2].child.textnum;
        //模块4美丽乡村
        pageData.value[3].data = mkdata.data[3].child.imgnum;
        pageData.value[3].data2 = mkdata.data[3].child.textnum;
        //模块5农民之家
        pageData.value[4].data = mkdata.data[4].child.imgnum;
        for (let i in mkdata.data[4].child.textnum) {
            if (i < 5) {
                pageData.value[4].data1.push(mkdata.data[4].child.textnum[i]);
            } else {
                pageData.value[4].data2.push(mkdata.data[4].child.textnum[i]);
            }
        }
        //模块6农业天地
        if (mkdata.data[5].child.imgnum.length > 0) {
            pageData.value[5].data.push(mkdata.data[5].child.imgnum[0]);
        }
        if (mkdata.data[5].child.imgnum.length > 1) {
            pageData.value[5].data1.push(mkdata.data[5].child.imgnum[1]);
        }
        if (mkdata.data[5].child.imgnum.length > 2) {
            pageData.value[5].data1.push(mkdata.data[5].child.imgnum[2]);
        }
        pageData.value[5].data2 = mkdata.data[5].child.textnum;
        //模块7农村建设
        if (mkdata.data[6].child.imgnum.length > 0) {
            pageData.value[6].data.push(mkdata.data[6].child.imgnum[0]);
        }
        if (mkdata.data[6].child.imgnum.length > 1) {
            pageData.value[6].data1.push(mkdata.data[6].child.imgnum[1]);
        }
        if (mkdata.data[6].child.imgnum.length > 2) {
            pageData.value[6].data1.push(mkdata.data[6].child.imgnum[2]);
        }
        pageData.value[6].data2 = mkdata.data[6].child.textnum;
        //模块8高端资讯
        pageData.value[7].data = mkdata.data[7].child.imgnum;
        // console.log('1111111',mkdata.data[4].child.textnum);

        for (let i in mkdata.data[7].child.textnum) {
            if (i < 7) {
                pageData.value[7].data1.push(mkdata.data[7].child.textnum[i]);
            } else if (i < 9) {
                pageData.value[7].data2.push(mkdata.data[7].child.textnum[i]);
            } else if (i < 11) {
                pageData.value[7].data3.push(mkdata.data[7].child.textnum[i]);
            } else {
                pageData.value[7].data4.push(mkdata.data[7].child.textnum[i]);
            }
        }

    } else {
        ElMessage.error(mkdata.message)
    }
}

//3.渲染页面数据 end ---------------------------------------->

//4.设置seo信息 start---------------------------------------->
//4.1 设置seo信息
const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
    method: 'GET',
    query: {
        'catid': routeId
    },
});

if (setData.code == 200) {
    let seoTitle = setData.data.seo_title;
    let seoDescription = setData.data.seo_description;
    let seoKeywords = setData.data.seo_keywords;
    let seoSuffix = setData.data.suffix;
    let seoName = setData.data.website_name;

    useSeoMeta({
        title: seoTitle + "_" + seoName + "_" + seoSuffix,
        meta: [
            { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
            { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
            { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no' }

        ]
    });
} else {
    console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
    console.log("错误位置：设置分类页面SEO数据")
    console.log("后端错误反馈：", setData.message)
    console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
}
//4.设置seo信息 end---------------------------------------->
//5. 获取日期中单独的年 月 日 start--------------------------->
function getTime(date, part, digits) {
    const d = new Date(date);
    if (part === 'year') {
        let year = d.getFullYear();
        if (digits === 2) {
            return String(year).slice(-2);
        }
        return year;
    } else if (part === 'month') {
        let month = d.getMonth() + 1;
        if (digits === 2) {
            return String(month).padStart(2, '0');
        }
        if (month < 10) {
            month = '0' + month;
        } else {
            month = month;
        }
        return month;
    } else if (part === 'day') {
        let day = d.getDate();
        if (digits === 2) {
            return String(day).padStart(2, '0');
        }
        return day;
    }
    return null;
}
//5. 获取日期中单独的年 月 日 end------------------------------>
</script>

<style lang="less" scoped>
    @import '@/assets/css/class.less';
</style>


<style lang="less" scoped>


    @media screen and (min-width:801px){/*pc*/
         
		
            .pc_none{display:none;}
    }

    @media screen and (max-width:800px){/*ipad_phone*/

            .phone_nav{ 

                width:100%; box-sizing:border-box;background:#fafafa; 
                margin:10px auto;height:33px;

                .phone_nav_in{ width:92%;margin:0px auto;
                    overflow-x:auto;overflow-y:hidden; 
                    word-break: keep-all; white-space: nowrap;    
                       line-height:33px;
                        height:33px;
                }
                .phone_nav_in::-webkit-scrollbar{height:0px;}


                .phone_nav_a{display:inline-block;line-height:33px;height:33px;
                    color:#333;font-size:14px;margin:0px 10px;
                }

            }
             
            .part1{height:auto; margin-top:0px;}
            .part1 .inner{width:92%;}
            .part1 .inner .part1_left{width:100%;float:none;}

            .part1 .inner .part1_left .part1_title{
                height:50px;line-height:50px;background:#fff;border-bottom:1px solid #E6E6E6;
                padding:0;width:100%;
            }

            .part1 .inner .part1_left .part1_title .nav_part1_left{height:50px;line-height:50px;}
            .part1 .inner .part1_left .part1_title .nav_part1_left a{
                    float:left;height:50px;line-height:50px;margin:0;
                color:#a01c0e;font-size:18px;position:relative;padding-right:11px;font-weight:bold;box-sizing:border-box;
                
                &::after{content: '';display: block;
                    position:absolute;right:0px;top:10px;background:#a01c0e;
                    width:8px;height:8px;border-radius:50%;
                }
            }
            .part1 .inner .part1_left .part1_content .context_left .bottom{display:none;}
            .part1 .inner .part1_left .part1_title .nav_part1_left em{display:none;}

            .part1 .inner .part1_left .part1_content{width:100%;float:none;overflow:hidden;margin-top:10px;}
            .part1 .inner .part1_left .part1_content .context_left{width:100%;float:none;overflow:hidden;}
            .part1 .inner .part1_left .part1_content .context_left .top{
                width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;margin:5px auto 3px;
            }
            .part1 .inner .part1_left .part1_content .context_left .top a{
                width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;
            }
            .part1 .inner .part1_left .part1_content .context_left .top img{
                width:100%;height:100%;display:block;
            }

            .part1 .inner .part1_left .part1_content .context_left .top a .title1{
                position:absolute;width:100%;height:66px;line-height:90px;color:#fff;   font-size:16px;
                left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box;-webkit-line-clamp:1;
                background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
                    font-weight:normal;
            }

            .part1 .inner .part1_left .part1_content .context_right{width:100%;float:none;}
            .part1 .inner .part1_left .part1_content .context_right .rightContent{
                    width:100%;float:none;display:block;height:123px;overflow:hidden;margin-top:12px;
                }
            .part1 .inner .part1_left .part1_content .context_right .rightContent .context1{
                border-bottom:1px solid #E6E6E6;display:block;height:40px;              
                margin-bottom:0px;
            }
            .part1 .inner .part1_left .part1_content .context_right .rightContent .context1 a{
                
                width:100%!important;display:block;
                line-height:40px;height:40px;position:relative;text-indent:18px; 
                word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;
                font-weight:normal;

            }
            .part1 .inner .part1_left .part1_content .context_right .rightContent .context1 a::after{
                         content: '';display: block;
                        position:absolute;left:0px;top:18px;background:#E6E6E6;
                        width:6px;height:6px;
            }

            .part2 .inner{width:92%;}
            .part2 .inner .part2_left{width:100%;float:none;}

            .part2 .inner .part2_left .part2_title{
                height:50px;line-height:50px;background:#fff;border-bottom:1px solid #E6E6E6;
                padding:0;width:100%;margin-top:15px;
            }
            .part2 .inner .part2_left .part2_title .nav_part2_left{width:auto;}
            .part2 .inner .part2_left .part2_title .nav_part2_left a{
                float:left;height:50px;line-height:50px;margin:0;
                color:#a01c0e;font-size:18px;position:relative;padding-right:11px;font-weight:bold;box-sizing:border-box;
                &::after{content: '';display: block;
                    position:absolute;right:0px;top:10px;background:#a01c0e;
                    width:8px;height:8px;border-radius:50%;
                }
            }
            .part2 .inner .part2_left .part2_title .nav_part2_left em{display:none;}

            .part2 .inner .part2_left .part2_content{width:100%;overflow:hidden;margin-top:3px;}
            .part2 .inner .part2_left .part2_content .part2_content_left{width:100%;overflow:hidden;float:none;}
            .part2 .inner .part2_left .part2_content .part2_content_left .content_a{width:100%;height:123px;margin-top:15px;}
            .part2 .inner .part2_left .part2_content .part2_content_left .content_a .context111{
                border-bottom:1px solid #E6E6E6;height:40px;margin-bottom:0px;
            }
            .part2 .inner .part2_left .part2_content .part2_content_left .content_a .context111 a{
                width:100%!important;display:block;font-weight:normal!important;
                line-height:40px;height:40px;position:relative;text-indent:18px; 
                word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;
            }
            .part2 .inner .part2_left .part2_content .part2_content_left .content_a .context111 a::after{
                         content: '';display: block;
                        position:absolute;left:0px;top:18px;background:#E6E6E6;
                        width:6px;height:6px;
            }
            .part2 .inner .part2_left .part2_content .part2_content_right{width:100%;float:none;height:auto;}

            .part2 .inner .part2_left .part2_content .part2_content_right .right_top{margin-top:12px;
                width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;
            }
            .part2 .inner .part2_left .part2_content .part2_content_right .right_top a{
                    display:block;width:100%;height:100%;
                }
            .part2 .inner .part2_left .part2_content .part2_content_right .right_top img{
                display:block;width:100%!important;height:100%!important;
            }
            .part2 .inner .part2_left .part2_content .part2_content_right .right_top a .title11{
                position:absolute;width:100%;height:66px;line-height:90px;color:#fff;   font-size:16px;
                left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box;
                background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
                -webkit-line-clamp:1;font-weight:normal;

            }    
            
            .part1 .inner .part1_right{width:100%;height:auto;float:none;overflow:hidden;}
            
            .part1 .inner .part1_right .part1_right_title{
                height:50px;line-height:50px;background:#fff;border-bottom:1px solid #E6E6E6;
                padding:0;margin-top:19px;width:100%;margin:15px auto 15px;
            }
            .part1 .inner .part1_right .part1_right_title .part1_right_title1_active a{
                    float:left;height:50px;line-height:50px;margin:0;
                color:#a01c0e;font-size:18px;position:relative;padding-right:11px;font-weight:bold;box-sizing:border-box;

                &::after{content: '';display: block;
                    position:absolute;right:0px;top:10px;background:#a01c0e;
                    width:8px;height:8px;border-radius:50%;
                }
            }
            .part1 .inner .part1_right .part1_right_title .part1_right_title1_active .active_bg{display:none;}
            .part1 .inner .part1_right .part1_right_content .part1_right_top11 .part1_right_content_top{
                width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;
            }
            .part1 .inner .part1_right .part1_right_content{width:100%;margin-top:11px;}
            .part1 .inner .part1_right .part1_right_content .part1_right_top11{width:100%;height:auto;}
            .part1 .inner .part1_right .part1_right_content .part1_right_top11 .part1_right_content_top a{display:block;width:100%;height:100%;}
            .part1 .inner .part1_right .part1_right_content .part1_right_top11 .part1_right_content_top img{display:block;width:100%!important;height:100%!important;}
            .part1 .inner .part1_right .part1_right_content .part1_right_top11 .part1_right_content_top a .content_top_title2{
                position:absolute;width:100%;height:66px;line-height:90px;color:#fff;   font-size:16px;
                left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box;
                background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
            }

            .part1 .inner .part1_right .part1_right_content .part1_right_content_bottom{width:100%;height:123px;overflow:hidden;margin-top:15px;}
            .part1 .inner .part1_right .part1_right_content .part1_right_content_bottom .content_bottom_list{
                border-bottom:1px solid #E6E6E6;height:40px;margin-bottom:0px;width:100%;
            }
            .part1 .inner .part1_right .part1_right_content .part1_right_content_bottom .content_bottom_list a{
                			width:100%!important;display:block;
                            line-height:40px;height:40px;position:relative;text-indent:18px; 
                            word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;

            }
            .part1 .inner .part1_right .part1_right_content .part1_right_content_bottom .content_bottom_list a::after{
                         content: '';display: block;
                        position:absolute;left:0px;top:18px;background:#E6E6E6;
                        width:6px;height:6px;
            }


            .part1 .inner .part1_right .part1_right_content .part1_right_top11 .part1_right_content_top:nth-child(2){display:none;}


            .part2 .inner .part2_right{width:100%;float:none;overflow:hidden;}
            .part2 .inner .part2_right .part2_right_title{width:100%;
                height:50px;line-height:50px;background:#fff;border-bottom:1px solid #E6E6E6;
                padding:0;
                 margin-top:15px;
            }
            .part2 .inner .part2_right .part2_right_title .part2_right_title1_active{height:50px;}
            .part2 .inner .part2_right .part2_right_title .part2_right_title1_active a{
                    float:left;height:50px;line-height:50px;margin:0;
                color:#a01c0e;font-size:18px;position:relative;padding-right:11px;font-weight:bold;box-sizing:border-box;
                &::after{content: '';display: block;
                    position:absolute;right:0px;top:10px;background:#a01c0e;
                    width:8px;height:8px;border-radius:50%;
                }
            }
            .part2 .inner .part2_right .part2_right_title .part2_right_title1_active .active_bg11{display:none;}

            .part2 .inner .part2_right .part2_right_content{width:100%;height:auto;overflow:hidden;margin-top:10px;}
            .part2 .inner .part2_right .part2_right_content .part2_right_top11{width:100%;height:auto;overflow:hidden;margin:5px auto 14px;}

            .part2 .inner .part2_right .part2_right_content .part2_right_top11 .part2_right_content_top{
                width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;
            }
            .part2 .inner .part2_right .part2_right_content .part2_right_top11 .part2_right_content_top a{display:block;width:100%;height:100%;}
            .part2 .inner .part2_right .part2_right_content .part2_right_top11 .part2_right_content_top img{display:block;width:100%!important;height:100%!important; box-sizing:border-box;}
            .part2 .inner .part2_right .part2_right_content .part2_right_top11 .part2_right_content_top a .content_top_title22{
                position:absolute;width:100%;height:66px;line-height:90px;color:#fff;   font-size:16px;
                left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box;
                background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
            }

            .part2 .inner .part2_right .part2_right_content .part2_right_content_bottom{display:block;height:123px;overflow:hidden;width:100%;margin-top:11px;}

            .part2 .inner .part2_right .part2_right_content .part2_right_content_bottom .content_bottom_list{
                margin-bottom:0px;height:40px;border-bottom:1px solid #E6E6E6;
                width:100%!important;display:block;
            }
            .part2 .inner .part2_right .part2_right_content .part2_right_content_bottom .content_bottom_list a{
                width:100%!important;display:block;
                line-height:40px;height:40px;position:relative;text-indent:18px; 
                word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;
            }
            .part2 .inner .part2_right .part2_right_content .part2_right_content_bottom .content_bottom_list a::after{
                         content: '';display: block;
                        position:absolute;left:0px;top:18px;background:#E6E6E6;
                        width:6px;height:6px;
            }
            .part3 .inner{width:92%;overflow:hidden;height:auto;}
            .part3 .inner .part3_left{width:100%;float:none;}
            .part3 .inner .part3_left .part3_left_top{width:100%;float:none;}
            .part3 .inner .part3_left .part3_left_top .part3_leftTitle{
                height:50px;line-height:50px;background:#fff;border-bottom:1px solid #E6E6E6;
                padding:0;width:100%;
            }
            .part3 .inner .part3_left .part3_left_top .part3_leftTitle .part3_left_title{width:auto;}
            .part3 .inner .part3_left .part3_left_top .part3_leftTitle .part3_left_title a{
                    float:left;height:50px;line-height:50px;margin:0;
                color:#a01c0e!important;font-size:18px;position:relative;padding-right:11px;font-weight:bold;box-sizing:border-box;
                &::after{content: '';display: block;
                    position:absolute;right:0px;top:10px;background:#a01c0e;
                    width:8px;height:8px;border-radius:50%;
                }

            }
            .part3 .inner .part3_left .part3_left_top .part3_leftTitle .part3_left_title em{display:none!important;}
            .part3 .inner .part3_left .part3_left_top .part3_left_content{width:100%;overflow:hidden;margin-top:10px;}
            .part3 .inner .part3_left .part3_left_top .part3_left_content .part3_left_content_top .content_top_left{width:100%;overflow:hidden;height:auto;}
            .part3 .inner .part3_left .part3_left_top .part3_left_content .part3_left_content_top .content_top_left .part3_photo_text{
                   width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;margin:5px auto 15px;
            }
            .part3 .inner .part3_left .part3_left_top .part3_left_content .part3_left_content_top .content_top_left .part3_photo_text a{
                   display:block;width:100%;height:100%;
            }
            .part3 .inner .part3_left .part3_left_top .part3_left_content .part3_left_content_top .content_top_left .part3_photo_text img{
                   display:block;width:100%;height:100%;
            } 
            .part3 .inner .part3_left .part3_left_top .part3_left_content .part3_left_content_top .content_top_left .part3_photo_text .part3_text{
                position:absolute;width:100%;height:66px;line-height:90px;color:#fff;   font-size:16px;
                left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box;font-weight:normal;
                background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
            }
            .part3 .inner .part3_left .part3_left_top .part3_left_content .part3_left_content_top .content_top_left .part3_photo_text .littleTips{display:none;}

            .part3 .inner .part3_left .part3_left_top .part3_left_content .part3_left_content_top .content_top_left .part3_content{width:100%;overflow:hidden;height:123px;margin-top:12px;}
            .part3 .inner .part3_left .part3_left_top .part3_left_content .part3_left_content_top .content_top_left .part3_content .part3_content_list{
                height:40px!important;border-bottom:1px solid #E6E6E6;display:block;width:100%!important;margin-bottom:0px;margin-top:0px!important;
            }

            .part3 .inner .part3_left .part3_left_top .part3_left_content .part3_left_content_top .content_top_left .part3_content .part3_content_list a{
                    width:100%!important;display:block;font-weight:normal!important;
                line-height:40px;height:40px;position:relative;text-indent:18px; 
                word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;

            }
            .part3 .inner .part3_left .part3_left_top .part3_left_content .part3_left_content_top .content_top_left .part3_content .part3_content_list a::after{
                         content: '';display: block;
                        position:absolute;left:0px;top:18px;background:#E6E6E6;
                        width:6px;height:6px;
            }
            .part3 .inner .part3_left .part3_left_bottom .part3_leftTitle1 .part3_left_title{display:none;}
            .part3 .inner .part3_left .part3_left_bottom .part3_leftTitle1 .part3_left_title:nth-of-type(1){display:block;}
            
            .part3 .inner .part3_left .part3_left_bottom .part3_leftTitle1 .part3_left_title_active em{display:none;}
            .part3 .inner .part3_left .part3_left_bottom{margin-top:15px;
                        width:100%;overflow:hidden;}

            .part3 .inner .part3_left .part3_left_bottom .part3_leftTitle1{
                    height:50px;line-height:50px;background:#fff;border-bottom:1px solid #E6E6E6;
                    padding:0;width:100%;margin-bottom:9px;
                 
                }
            .part3 .inner .part3_left .part3_left_bottom .part3_leftTitle1 .part3_left_title{height:50px;width:auto;}
            .part3 .inner .part3_left .part3_left_bottom .part3_leftTitle1 .part3_left_title_active a{
                    float:left;height:50px;line-height:50px;margin:0;
                color:#a01c0e!important;font-size:18px; font-weight:bold;box-sizing:border-box;
            }

            .part3 .inner .part3_left .part3_left_bottom .part3_left_content1{width:100%;overflow:hidden;}
            .part3 .inner .part3_left .part3_left_bottom .part3_left_content1 .content_bottom_left{width:100%;overflow:hidden;float:none;}

            .part3 .inner .part3_left .part3_left_bottom .part3_left_content1 .content_bottom_left .content_top{
                width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;margin:7px auto 15px;
            }
            .part3 .inner .part3_left .part3_left_bottom .part3_left_content1 .content_bottom_left .content_top a{
                display:block;width:100%;height:100%;
            }
            .part3 .inner .part3_left .part3_left_bottom .part3_left_content1 .content_bottom_left .content_top img{
                display:block;width:100%;height:100%;
            }
            .part3 .inner .part3_left .part3_left_bottom .part3_left_content1 .content_bottom_left .content_top .part3_text{
                position:absolute;width:100%;height:66px;line-height:90px;color:#fff;   font-size:16px;
                left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box;font-weight:normal;
                background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
            }

            .part3 .inner .part3_left .part3_left_bottom .part3_left_content1 .content_bottom_right{float:none;width:100%;margin:0px auto;}

            .part3 .inner .part3_left .part3_left_bottom .part3_left_content1 .content_bottom_right .bottom_content_1{
                width:100%;display:block;overflow:hidden;height:123px; 
                margin:0px auto 0!important;
            }

            .part3 .inner .part3_left .part3_left_bottom .part3_left_content1 .content_bottom_right .bottom_content_1 .bottom_content_list{
                display: block;border-bottom:1px solid #E6E6E6;width:100%;height:40px;margin-bottom:0px;
            }
            .part3 .inner .part3_left .part3_left_bottom .part3_left_content1 .content_bottom_right .bottom_content_1 .bottom_content_list a{
                width:100%!important;display:block;font-weight:normal!important;
                line-height:40px;height:40px;position:relative;text-indent:18px; 
                word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;
            }
            .part3 .inner .part3_left .part3_left_bottom .part3_left_content1 .content_bottom_right .bottom_content_1 .bottom_content_list a::after{
                         content: '';display: block;
                        position:absolute;left:0px;top:18px;background:#E6E6E6;
                        width:6px;height:6px;
            }   

            .part3 .inner .part3_left .part3_left_bottom .part3_leftTitle1 .part3_left_title a{
                float:left;height:50px;line-height:50px;margin:0;
                color:#a01c0e;font-size:18px;position:relative;padding-right:11px;font-weight:bold;box-sizing:border-box;
                &::after{content: '';display: block;
                    position:absolute;right:0px;top:10px;background:#a01c0e;
                    width:8px;height:8px;border-radius:50%;
                }
            }

            .part3 .inner .part3_right{width:100%;float:none;overflow:hidden;}

            .part3 .inner .part3_right .part3_rightTitle .rightMore{display:none;}
            .part3 .inner .part3_right .part3_rightTitle .part3_right_title em{display:none!important;}
            .part3 .inner .part3_right .part3_rightTitle{margin:16px auto 15px;
                          height:50px;line-height:50px;background:#fff;border-bottom:1px solid #E6E6E6;
                          padding:0;width:100%; 
                }
            .part3 .inner .part3_right .part3_rightTitle .part3_right_title{height:50px;width:auto;}
            .part3 .inner .part3_right .part3_rightTitle .part3_right_title a{
                          float:left;height:50px;line-height:50px;margin:0;
                    color:#a01c0e!important;font-size:18px;position:relative;padding-right:11px;font-weight:bold;box-sizing:border-box;
                    &::after{content: '';display: block;
                    position:absolute;right:0px;top:10px;background:#a01c0e;
                    width:8px;height:8px;border-radius:50%;
                }
            }

            .part3 .inner .part3_right .part3_right_content_top{width:100%;overflow:hidden;height:90px;}
            .part3 .inner .part3_right .part3_right_content_top .part3_right_contentlist_top{
                    height:22px;margin-bottom:10px;width:100%;display:block;
                }
             
             .part3 .inner .part3_right .part3_right_content_top .part3_right_contentlist_top a{
                display:block;  width:100%;height:22px;line-height:22px;
                color:#333;font-size:16px;
                	word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;

             }   
             .part3 .inner .part3_right .part3_right_content_top .part3_right_contentlist_top .numStyle{margin-right:4px;}
             .part3{margin:15px auto 20px;}
             .phone_part{height:12px;}

             .phone_img_box{width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;margin-top:9px;}
             .phone_img_box a{display:block;width:100%;height:100%;}
             .phone_img_box img{width:100%;height:100%;display:block;}
                .phone_img_box_dot1{
                position:absolute;width:100%;height:66px;line-height:90px;color:#fff;   font-size:16px;
                left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box;
                background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));}

                    .phone_img_box_1{ margin:6px auto 4px!important;}




            .part3 .inner .part3_right .part3_right_content_11{display:none;}
            .part3 .inner .part3_right .part3_photo_text_right{display:none;}
            .part3 .inner .part3_left .part3_left_bottom .part3_left_content1 .content_bottom_left .content_bottom{display:none;}
            .part3 .inner .part3_left .part3_left_top .part3_left_content .part3_left_content_top .content_top_right{display:none;}
            .part2 .inner .part2_right .part2_right_content .part2_right_top11 .part2_right_content_top:nth-of-type(2){display:none;}
            .part2 .inner .part2_left .part2_content .part2_content_right .right_bottom{display:none;}
            .part1 .inner .part1_left .part1_content .context_left .bottom{display:none;}
            .nav2top{display:none;}
            .nav2{display:none;}
            .nav2btm{display:none;}

            .phone_none{display:none;}
    }



</style>



