<template>
    <!-- 页面头部 -->
    <HomePageHead></HomePageHead>
    <!-- 导航栏 -->
    <HomePageNavigation></HomePageNavigation>
    <!-- 面包屑导航 -->
    <div class="breadcrumb-box">
        <div class="inner">
            <span class="location">当前位置：</span>
            <el-breadcrumb :separator-icon="ArrowRight">
                <el-breadcrumb-item>
                    <NuxtLink to="/">首页</NuxtLink>
                </el-breadcrumb-item>
                <el-breadcrumb-item class="phone_breadcrumb_text">介绍信查询</el-breadcrumb-item>
            </el-breadcrumb>
        </div>
    </div>
    <!--查询：原始状态-->
    <div class="search-box-long">
        <div class="search-left-box">
            <div>
                <span class="search-left-box-text">介绍信编号：</span>
                <el-input v-model="input" placeholder="" />
            </div>
            <div>
                <NuxtLink to="/">（查看位置示例）</NuxtLink>
            </div>
            <button>搜索</button>
        </div>
        <div class="search-right-box">
            <img src="@/public/search/jsxcx.png" alt="">
            <div>手机扫描查询</div>
        </div>
    </div>
    <!--查询：查询状态-->
    <div class="search-box">
        <div class="search-left-box">
            <!--查询结果-->
            <div class="search-left-box-result">
                <!--未查询到结果-->
                <div class="no-result-box">
                    <div class="no-result-image">
                        <img src="@/public/search/rc.jpg" alt="">
                    </div>
                    <div class="no-result-content">
                        <div class="no-result-title">sorry请您确认后再查询</div>
                        <div class="no-result-text">您可以通过以下方式继续访问……</div>
                        <div class="no-result-button">返回查询页</div>
                    </div>
                </div>
            </div>
            <!--人员查询表单-->
            <div class="search-left-reset-button">
                <div>重新查询</div>
            </div>
            <div class="search-left-box-form">
                <div class="search-form1-left-box">
                    <div class="search-form1-title">
                        <img src="@/public/search/search.png" alt="">
                        查询相关介绍信内容
                    </div>
                    <div class="search-form1-text">请输入您要查询的介绍信编号</div>
                    <div class="search-form1-input-box">
                        <div class="inputText">介绍信编号:</div>
                        <el-input v-model="input" placeholder="请输入汽车牌照" style="width: 300px" />
                        <NuxtLink to="/">（查看位置示例）</NuxtLink>
                        <button>查询</button>
                    </div>
                </div>
            </div>
        </div>
        <div class="search-right-box">
            <!--选题查询-->
            <div class="search-right-box-form">
                <h3>车辆查询</h3>
                <div class="search-right-form-text">
                    请输入相关工作车辆或车牌号
                </div>
                <div class="search-right-input-box">
                    <div class="inputText">车牌：</div>
                    <el-input v-model="input" placeholder="" />
                </div>
                <div class="search-right-input-box">
                    <div class="inputText">车型：</div>
                    <el-input v-model="input" placeholder="" />
                </div>
                <div class="search-right-button-box">
                    <button class="submit-button">查询</button>
                </div>
            </div>
            <!--人员查询-->
            <div class="search-right-box-form">
                <h3>人员查询</h3>
                <div class="search-right-form-text">查询相关工作人员或外聘人员</div>
                <div class="search-right-input-box-2">
                    <div class="inputText">人员类型：</div>
                    <el-select v-model="value" placeholder="请选择人员类型" popper-class="custom-select-dropdown">
                        <el-option label="不限" value="1" />
                        <el-option label="调研员" value="2" />
                        <el-option label="法制监督员" value="3" />
                        <el-option label="特邀评论员" value="4" />
                        <el-option label="特邀观察员" value="5" />
                        <el-option label="特邀编辑" value="6" />
                        <el-option label="信息员" value="7" />
                        <el-option label="特约通讯员" value="8" />
                        <el-option label="普法宣传员" value="9" />
                        <el-option label="工作证" value="10" />
                        <el-option label="其它工作人员" value="11" />
                    </el-select>
                </div>
                <div class="search-right-input-box-2">
                    <div class="inputText">人员姓名：</div>
                    <el-input v-model="input" placeholder="请输入人员姓名" />
                </div>
                <div class="search-right-input-box-2">
                    <div class="inputText">证件编号：</div>
                    <el-input v-model="input" placeholder="请输入证件编号" />
                </div>
                <div class="search-right-button-box">
                    <button class="submit-button">提交</button>
                </div>
            </div>
        </div>
    </div>
    <!-- 页面底部 -->
    <HomeFoot></HomeFoot>
</template>
<script setup>
//1.页面依赖 start ---------------------------------------->
import { onMounted } from 'vue'
import { ElBreadcrumb, ElBreadcrumbItem, ElMessage, ElInput, ElSelect, ElOption } from 'element-plus'
import { ArrowRight } from '@element-plus/icons-vue'
const nuxtApp = useNuxtApp();
const axios = nuxtApp.$axios;
//1.1 获得跳转过来的id
const route = useRoute();
//获得详情id
const articleId = parseInt(route.params.id); //获得该页面的id
//获得当前的完整路径
const fullPath = route.path;
//拆分，取出来中间这一段，然后提取数字部分
const segments = fullPath.split('/');
const targetSegment = segments[1];
// const numberPart = targetSegment.match(/\d+$/)?.[0]; 
// let routeId = 20 //排除路径错误可以打开这个
// const 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.2 获得父级栏目的名称、id
const parent_name = ref([]);
const parent_id = ref([]);
const parent_pinyin = ref("");
const parent_children_count = ref(0)
let getParentNav = async () => {
    const listData = await requestDataPromise('/web/getOneWebsiteCategory', {
        method: 'GET',
        query: {
            'catid': routeId
        },
    });
    console.log("获取父级栏目数据")
    console.log(listData)
    if (listData.code == 200) {
        console.log(listData.data);
        parent_name.value = listData.data.alias;
        parent_id.value = listData.data.parent_id;
        parent_pinyin.value = listData.data.aLIas_pinyin;
        parent_children_count.value = listData.data.children_count;
    } else {
        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
        console.log("错误位置：获取面包屑导航")
        console.log("后端错误反馈：", listData.message)
        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
    }
}
//获得父级栏目详情
getParentNav();
//1.页面依赖 end ---------------------------------------->
//2.页面数据 start ---------------------------------------->
//2.1 资讯详情
const newsDetail = ref({})
const routeNewsTtitle = ref("");
//2.2 发布日期
const time = ref("");
//2.3 路径
const routLevelTitle = ref("");
const routLevelId = ref("");
//是否展示投票
const articleChoice = ref(false);
//2.4获取详情
async function getPageData() {
    const mkdata = await requestDataPromise('/web/selectWebsiteArticleInfo', {
        method: 'GET',
        query: {
            'articleid': articleId
        },
    });
    if (mkdata.code == 200) {
        //判断是否显示投票
        if (mkdata.data.is_survey == 1) {
            console.log("本篇文章含有投票！")
            articleChoice.value = true;
            getVoteList();
        }
        //获取内容
        newsDetail.value = mkdata.data;
        //获取路径
        routLevelTitle.value = newsDetail.value.cat_name;
        routLevelId.value = newsDetail.value.category_id;
        //获取发布时间
        time.value = newsDetail.value.updated_at.split(' ')[0];
        //修正标题长度
        if (newsDetail.value.title.length >= 30) {
            routeNewsTtitle.value = newsDetail.value.title.substr(0, 30) + "...";
        } else {
            routeNewsTtitle.value = newsDetail.value.title
        }
    } else {
        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
        console.log("错误位置：获取详情内容")
        console.log("后端错误反馈：", mkdata.message)
        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
    }
}
getPageData();
//2.5 获得广告
//广告列表
let adImg1 = ref([]);
onMounted(async () => {
    const { $webUrl, $CwebUrl } = useNuxtApp();
    //广告1
    let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=snzxw_detail_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.页面数据 end ---------------------------------------->
//3.设置seo信息 start---------------------------------------->
//3.1 设置seo信息
const setData = await requestDataPromise('/web/selectWebsiteArticleInfo', {
    method: 'GET',
    query: {
        'articleid': articleId
    },
});
if (setData.code == 200) {
    let seoTitle = setData.data.title;
    let seoDescription = setData.data.introduce;
    let seoKeywords = setData.data.keyword;
    let seoSuffix = setData.data.suffix;
    let seoName = setData.data.website_name;
    useSeoMeta({
        title: seoTitle + "_" + seoName + "_" + seoSuffix,
        meta: [
            { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
            { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
            { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no', tagPriority: 10 }
        ]
    });
} else {
    console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
    console.log("错误位置：设置详情页面SEO数据")
    console.log("后端错误反馈：", setData.message)
    console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
}
//3.设置seo信息 end---------------------------------------->
//4.展示行政区划 start ---------------------------------------->
//let areaList = ref("")
//4.1 省
let province = ref("")
let provinceid = ref("")
let provinceList = ref("")
//4.2 市
let city = ref("")
let cityid = ref("")
let cityList = ref("")
//4.3 县
let region = ref("")
let regionid = ref("")
let regionList = ref("")
//选择市
let change = async (id) => {
    provinceid.value = id;
    const shengData = await requestDataPromise('/web/selectWebsiteArea', {
        method: 'GET',
        query: {
            'pid': id,
        },
    });
    cityList.value = shengData.data;
    regionList.value = [];// 清空县 
}
//选择县
let change1 = async (id) => {
    cityid.value = id;
    const xianData = await requestDataPromise('/web/selectWebsiteArea', {
        method: 'GET',
        query: {
            'pid': id,
        },
    });
    regionList.value = xianData.data;
}
let change2 = async (id) => {
    regionid.value = id;
}
onMounted(async () => {
    //从客户端获取行政区划
    try {
        const { $webUrl, $CwebUrl } = useNuxtApp();
        const response2 = await fetch($webUrl + '/web/selectWebsiteArea', {
            headers: {
                'Content-Type': 'application/json',
                'Userurl': $CwebUrl,
                'Origin': $CwebUrl
            }
        });
        const result2 = await response2.json();
        provinceList.value = result2.data;
    } catch (error) {
        console.error('获取行政区划数据失败:', error);
    }
    const targetElement = document.querySelector('.pc_none li .router-link-exact-active');
    const parentElement = document.querySelector('.nav_in');
    if (targetElement && parentElement) {
        const targetRect = targetElement.getBoundingClientRect();
        const parentRect = parentElement.getBoundingClientRect();
        const distanceToParentLeft = targetRect.left - parentRect.left;
        const navigationElement = document.querySelector('.partOne .navigationOne');
        if (navigationElement) {
            navigationElement.scrollLeft = distanceToParentLeft - 66;
        }
    }
})
//4.展示行政区划 end ---------------------------------------->
//5.表单 start---------------------------------------->
let input = ref("");
let value = ref("1");
const submitForm = () => {
    console.log(input.value)
    console.log(value.value)
}
//5.表单 end---------------------------------------->
</script>
<style lang="less" scoped>
//@import url('@/assets/css/article/pc.less');
//@import url('@/assets/css/article/yd.less');
//面包屑
.breadcrumb-box {
    width: 1400px;
    margin: 0 auto;
    .inner {
        width: 100%;
        height: 22px;
        margin-top: 20px;
        margin-bottom: 20px;
        font-family: Microsoft YaHei, Microsoft YaHei;
        font-weight: 400;
        font-size: 20px;
        color: #666666;
        line-height: 23px;
        text-align: left;
        font-style: normal;
        text-transform: none;
        display: flex;
        align-items: center;
        border-bottom: 1px dashed #ccc;
        margin-bottom: 10px;
        padding: 20px 20px 20px 0;
        box-sizing: border-box;
        a {
            font-size: 16px;
            color: #000;
            line-height: 20px;
            font-weight: normal !important;
            &:hover {
                color: #333
            }
        }
        span {
            font-size: 16px;
            color: #000;
            line-height: 20px;
            &.location {
                line-height: 20px;
            }
        }
    }
}
//搜索-原始状态
.search-box-long {
    width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    .search-left-box {
        width: 70%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        >div {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            white-space: nowrap;
            .search-left-box-text {
                width: 40%;
                text-align: center;
                font-size: 16px;
                font-weight: bold;
                display: block;
            }
            a {
                font-weight: bold;
                font-size: 11px;
                color: #337ab7;
                text-decoration: none;
            }
            &:first-child {
                width: 45%;
            }
        }
        >button {
            width: 10%;
            display: block;
            color: #fff;
            background-color: #337ab7;
            border-color: #2e6da4;
            font-size: 14px;
            font-weight: 400;
            text-align: center;
            white-space: nowrap;
            user-select: none;
            background-image: none;
            border: 1px solid transparent;
            border-radius: 4px;
            height: 35px;
            line-height: 35px;
        }
    }
    .search-right-box {
        margin-right: 50px;
        width: 20%;
        img {
            width: 100%;
            height: auto;
            display: block;
        }
        >div {
            display: block;
            width: 100%;
            height: 30px;
            line-height: 30px;
            font-size: 16px;
            color: #333;
            text-align: center
        }
    }
}
//搜索-查询状态
.search-box {
    width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    .search-left-box {
        width: 60%;
        box-sizing: border-box;
        .no-result-box {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            height: auto;
            overflow: hidden;
            background: #027dc3;
            padding: 50px;
            margin-bottom: 20px;
            box-sizing: border-box;
            .no-result-image {
                width: 50%;
                img {
                    width: 288px;
                    height: 288px;
                    margin: 0 auto;
                    display: block;
                }
            }
            .no-result-content {
                width: 50%;
                .no-result-title {
                    display: block;
                    width: 100%;
                    height: 50px;
                    line-height: 50px;
                    overflow: hidden;
                    font-size: 16px;
                    color: #fff;
                    text-align: center;
                    font-weight: bold;
                    font-size: 18px;
                }
                .no-result-text {
                    display: block;
                    width: 100%;
                    height: 50px;
                    line-height: 50px;
                    overflow: hidden;
                    font-size: 16px;
                    color: #fff;
                    text-align: center;
                }
                .no-result-button {
                    display: block;
                    width: 100px;
                    height: 40px;
                    line-height: 40px;
                    background: #f36420;
                    margin: 20px auto;
                    text-align: center;
                    color: #fff;
                    font-size: 16px;
                }
            }
        }
        .search-left-reset-button {
            width: 100%;
            height: 40px;
            line-height: 40px;
            margin-top: 40px;
            >div {
                width: 100px;
                height: 40px;
                text-align: center;
                background: #007aff;
                color: #fff;
                font-size: 16px;
            }
        }
        .search-left-box-form {
            width: 100%;
            height: auto;
            overflow: hidden;
            border: 1px solid #333;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-sizing: border-box;
            .search-form1-left-box {
                width: 100%;
                .search-form1-title {
                    display: flex;
                    align-items: center;
                    font-size: 19px;
                    color: #000;
                    img {
                        display: block;
                        width: 24px;
                        height: 24px;
                        float: left;
                        margin-right: 10px;
                    }
                }
                .search-form1-text {
                    width: 100%;
                    height: auto;
                    line-height: 30px;
                    margin: 20px 0;
                    font-size: 16px;
                    color: #333;
                }
                .search-form1-input-box {
                    width: 95%;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    margin-bottom: 20px;
                    margin: 0 auto;
                    div.inputText {
                        display: block;
                        color: #333;
                        font-size: 16px;
                        white-space: nowrap;
                        font-weight: bold;
                        width: 16%;
                        text-align: center;
                    }
                    input {
                        height: 40px;
                        line-height: 40px;
                    }
                    button {
                        width: 100px;
                        height: 40px;
                        line-height: 40px;
                        text-align: center;
                        background: #027dc3;
                        color: #fff;
                        font-size: 16px;
                        display: block;
                        border: none;
                        cursor: pointer;
                    }
                    a {
                        display: block;
                        color: #337ab7;
                        text-decoration: none;
                        line-height: 40px;
                        white-space: nowrap;
                        font-size: 12px;
                    }
                    :deep(.el-input__wrapper) {
                        height: 40px;
                        line-height: 40px;
                        border: 1px solid #000;
                        box-shadow: none;
                        border-radius: 2px;
                        font-size: 16px;
                        color: #333;
                    }
                    :deep(.el-select__wrapper) {
                        height: 40px;
                        line-height: 40px;
                        border: 1px solid #000;
                        box-shadow: none;
                        border-radius: 2px;
                        font-size: 16px;
                        color: #333;
                    }
                    :deep(.el-input__inner) {
                        color: #000
                    }
                }
            }
        }
    }
    .search-right-box {
        width: 38%;
        box-sizing: border-box;
        .search-right-box-form {
            h3 {
                width: 100%;
                line-height: 40px;
                font-size: 18px;
                color: #000;
            }
            .search-right-form-text {
                display: block;
                width: 100%;
                height: 70px;
                line-height: 70px;
                text-align: center;
                font-size: 16px;
                color: #333;
            }
            .search-right-input-box {
                margin-bottom: 20px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                .inputText {
                    display: block;
                    color: #333;
                    font-size: 16px;
                    white-space: nowrap;
                }
                :deep(.el-input__wrapper) {
                    height: 40px;
                    line-height: 40px;
                    border: 1px solid #000;
                    box-shadow: none;
                    border-radius: 2px;
                    font-size: 16px;
                    color: #333;
                }
                :deep(.el-input__inner) {
                    color: #000;
                }
            }
            .search-right-input-box-2 {
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-bottom: 20px;
                .inputText {
                    display: block;
                    color: #333;
                    font-size: 16px;
                    white-space: nowrap;
                }
                :deep(.el-input__wrapper) {
                    height: 40px;
                    line-height: 40px;
                    border: 1px solid #000;
                    box-shadow: none;
                    border-radius: 2px;
                    font-size: 16px;
                    color: #333;
                }
                :deep(.el-select__wrapper) {
                    height: 40px;
                    line-height: 40px;
                    border: 1px solid #000;
                    box-shadow: none;
                    border-radius: 2px;
                    font-size: 16px;
                    color: #333;
                }
                :deep(.el-select__placeholder) {
                    color: #000;
                    font-weight: normal;
                }
                :deep(.el-input__inner) {
                    color: #000;
                }
            }
            .search-right-button-box {
                text-align: center;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-bottom: 20px;
                button:first-child {
                    margin-right: 20px;
                }
                .submit-button {
                    display: block;
                    width: 90px;
                    height: 40px;
                    line-height: 40px;
                    text-align: center;
                    font-size: 16px;
                    color: #fff;
                    background: #027dc3;
                    outline: none;
                    border: none;
                    cursor: pointer;
                }
                .reset-button {
                    display: block;
                    width: 90px;
                    height: 40px;
                    line-height: 40px;
                    text-align: center;
                    font-size: 16px;
                    background: #ccc;
                    border: 1px solid #027dc3;
                    color: #027dc3;
                    outline: none;
                    cursor: pointer;
                }
            }
            .search-right-select-box {
                display: flex;
                align-items: center;
                justify-content: center;
                font-weight: bold;
                font-size: 16px;
                margin-bottom: 20px;
                :deep(.el-select__wrapper) {
                    margin-left: 10px;
                }
                :deep(.el-select__placeholder) {
                    color: #000;
                }
            }
        }
    }
}
.breadcrumb-box {
    width: 1400PX;
    margin: 0px auto 0px;
}
.el-breadcrumb {
    height: 22PX;
    line-height: 22PX;
}
.breadcrumb-box .inner span.location {
    font-size: 16PX;
    ;
    height: 22PX;
    ;
    line-height: 22PX;
    font-weight: normal;
}
.breadcrumb-box .inner a {
    font-size: 16PX;
    ;
    height: 22PX;
    line-height: 22PX;
    display: inline-block;
    font-weight: normal;
}
.breadcrumb-box .phone_breadcrumb_text /deep/.el-breadcrumb__inner {
    font-size: 16PX;
    ;
    height: 22PX;
    line-height: 22PX;
    font-weight: normal;
}
.breadcrumb-box:deep(.el-icon) {
    width: 16PX;
    height: 16PX;
}
.breadcrumb-box .inner span {
    font-size: 16PX;
    ;
    height: 22PX;
    line-height: 22PX;
}
.search-box-long {
    width: 1400PX;
    margin: 0px auto 0px;
}
//搜索-查询状态2
.search-box {
    width: 1400PX;
    .search-left-box {
        .no-result-box {
            padding: 50PX;
            margin-bottom: 20PX;
            .no-result-image {
                img {
                    width: 288PX;
                    height: 288PX;
                }
            }
            .no-result-content {

                
                .no-result-title {
                    height:auto;
                    line-height: 22PX;
                    font-size: 18PX;
                }
                .no-result-text {
                    height:auto; margin-top:11PX;
                    line-height: 22PX;
                    font-size: 16PX;
                }
                .no-result-button {
                    width: 100PX;
                    height: 40PX;
                    line-height: 40PX;
                    margin: 20PX auto;
                    font-size: 16PX;
                }
            }
        }
        .search-left-reset-button {
            height: 40PX;
            line-height: 40PX;
            margin-top: 40PX;
            >div {
                width: 100PX;
                height: 40PX;
                font-size: 16PX;
            }
        }
        .search-left-box-form {
            border: 1PX solid #333;
            padding: 20PX;
            .search-form1-left-box {
                .search-form1-title {
                    font-size: 19PX;
                    img {
                        width: 24PX;
                        height: 24PX;
                        margin-right: 10PX;
                    }
                }
                .search-form1-text {
                    line-height: 30PX;
                    margin: 20PX 0;
                    font-size: 16PX;
                }
                .search-form1-input-box {
                    margin-bottom: 20PX;
                    div.inputText {
                        font-size: 16PX;
                    }
                    input {
                        height: 40PX;
                        line-height: 40PX;
                    }
                    button {
                        width: 100PX;
                        height: 40PX;
                        line-height: 40PX;
                        font-size: 16PX;
                    }
                    a {
                        line-height: 40PX;
                        font-size: 12PX;
                    }
                    :deep(.el-input__wrapper) {
                        height: 40PX;
                        line-height: 40PX;
                        border: 1PX solid #000;
                        border-radius: 2PX;
                        font-size: 16PX;
                    }
                    :deep(.el-select__wrapper) {
                        height: 40PX;
                        line-height: 40PX;
                        border: 1PX solid #000;
                        border-radius: 2PX;
                        font-size: 16PX;
                    }
                }
            }
        }
    }
    .search-right-box {
        .search-right-box-form {
            h3 {
                line-height: 40PX;
                font-size: 18PX;
            }
            .search-right-form-text {
                height: 70PX;
                line-height: 70PX;
                font-size: 16PX;
            }
            .search-right-input-box {
                margin-bottom: 20PX;
                .inputText {
                    font-size: 16PX;
                }
                :deep(.el-input__wrapper) {
                    height: 40PX;
                    line-height: 40PX;
                    border: 1PX solid #000;
                    border-radius: 2PX;
                    font-size: 16PX;
                }
            }
            .search-right-input-box-2 {
                margin-bottom: 20PX;
                .inputText {
                    font-size: 16PX;
                }
                :deep(.el-input__wrapper) {
                    height: 40PX;
                    line-height: 40PX;
                    border: 1PX solid #000;
                    border-radius: 2PX;
                    font-size: 16PX;
                }
                :deep(.el-select__wrapper) {
                    height: 40PX;
                    line-height: 40PX;
                    border: 1PX solid #000;
                    border-radius: 2PX;
                    font-size: 16PX;
                }
            }
            .search-right-button-box {
                margin-bottom: 20PX;
                button:first-child {
                    margin-right: 20PX;
                }
                .submit-button {
                    width: 90PX;
                    height: 40PX;
                    line-height: 40PX;
                    font-size: 16PX;
                }
                .reset-button {
                    width: 90PX;
                    height: 40PX;
                    line-height: 40PX;
                    font-size: 16PX;
                    border: 1PX solid #027dc3;
                }
            }
            .search-right-select-box {
                font-size: 16PX;
                margin-bottom: 20PX;
                :deep(.el-select__wrapper) {
                    margin-left: 10PX;
                }
            }
        }
    }
}
//搜索-原始状态2
.search-box-long {
    width: 1400PX;
    .search-left-box {
        >div {
            .search-left-box-text {
                font-size: 16PX;
            }
            a {
                font-size: 11PX;
            }
        }
        >button {
            font-size: 14PX;
            border: 1PX solid transparent;
            border-radius: 4PX;
            height: 35PX;
            line-height: 35PX;
        }
    }
    .search-right-box {
        margin-right: 50PX;
        >div {
            height: 30PX;
            line-height: 30PX;
            font-size: 16PX;
        }
    }
}
@media screen and (min-width: 1401px) {}
@media screen and (max-width: 1400px) {
    .breadcrumb-box {
        width: 100%;
        margin: 0px auto 0px;
        box-sizing: border-box;
        padding: 0px 10px;
    }
    .newsList {
        width: 100%;
        box-sizing: border-box;
        padding: 0px 10px;
        margin: 0px auto 0px;
    }
    .search-box-long {
        width: 100%;
        box-sizing: border-box;
        padding: 0px 10px;
        margin: 0px auto 0px;
    }
    .search-box {
        width: 100%;
        box-sizing: border-box;
        padding: 0px 10px;
        margin: 0px auto 0px;
    }
    .search-box .search-left-box .search-left-box-form .search-form1-left-box .search-form1-input-box div.inputText {
        width: auto;
    }
}
@media screen and (min-width: 801px) and (max-width: 1400px) {}
@media screen and (max-width: 900px) {
    .search-box .search-left-box .no-result-box .no-result-content .no-result-title{margin-top:133PX;}

}
@media screen and (max-width: 800px) {
    .search-box-long {
        display: block;
    }
    .search-box-long .search-right-box {
        width: 222PX;
        float: none;
        margin: 11PX auto;
    }
    .search-box {
        display: block;
    }
    .search-box .search-left-box {
        width: 100%;
    }
    .search-box .search-right-box {
        width: 100%;
    }
    .search-box-long .search-left-box>div .search-left-box-text {
        width: auto;
        float: left;
        height: 32PX;
        line-height: 32PX;
    }
    .search-box-long .search-left-box>button {
        width: auto;
        padding: 0px 10PX;margin:0PX 0px 0px 100PX;
         
    }
    .search-left-box :deep(.el-input) {
        width: 180PX !important;margin-right:4PX;
        float: left;
    }
    :deep(.el-input__wrapper) {
        width: 100%;
        float: left;
        padding: 0px 2PX;
    }
    :deep(.el-input__inner) {
        width: 100%;
        float: left;
    }
    .search-box-long .search-left-box {
        width: 100%;
        display: block;
        margin-top: 22PX;
    }
    .search-box-long .search-left-box>div:first-child {
        width: auto;
        display: block;
        overflow: hidden;
        float: left;
    }
    .search-box-long .search-left-box>div {
        display: block;
        float: left;
    }
    .search-box-long .search-left-box>div a {
        height: 32PX;
        line-height: 32PX;
        float: left;
    }
    .search-box .search-left-box .search-left-box-form .search-form1-left-box .search-form1-input-box {
        width: 100%;
    }
    .search-box .search-left-box .search-left-box-form {
        padding: 10PX;
    }

}



</style>
<style>
.custom-select-dropdown .el-select-dropdown__item {
    font-size: 16px;
    color: #333;
}
.custom-select-dropdown .el-select-dropdown__item:hover {
    background-color: #027dc3;
    color: #fff;
}
</style>
