<template>
    <div>
        <!--样式1-->
        <div class="tabsNewsBox">
            <div class="tabsNewsTitle">
                <div class="activeTab" v-if="activeTab == 0">查询服务</div>
            </div>
            <div class="tabsNewsContent">
                <div class="linkSectorItem bg1">
                    <NuxtLink href="http://dy.qgsnfzzx.org.cn/list-renyuanchaxun.html" target="_blank">
                        <div class="linkSectorItemImg">
                            <img src="http://192.168.1.234:19000/pre/image/png/20251218/1766037376173658.png" />
                        </div>
                        <div class="linkSectorItemTitle">人员查询</div>
                    </NuxtLink>
                </div>
                <div class="linkSectorItem bg2">
                    <NuxtLink href="http://dy.qgsnfzzx.org.cn/list-cheliangchaxun.html" target="_blank">
                        <div class="linkSectorItemImg">
                            <img src="http://192.168.1.234:19000/pre/image/png/20251218/176603756265799.png" />
                        </div>
                        <div class="linkSectorItemTitle">车辆查询</div>
                    </NuxtLink>
                </div>
                <div class="linkSectorItem bg3">
                    <NuxtLink href="http://dy.qgsnfzzx.org.cn/list-diaoyanxuanti.html" target="_blank">
                        <div class="linkSectorItemImg">
                            <img src="http://192.168.1.234:19000/pre/image/png/20251218/1766037584477856.png" />
                        </div>
                        <div class="linkSectorItemTitle">调研选题</div>
                    </NuxtLink>
                </div>
                <div class="linkSectorItem bg4">
                    <NuxtLink href="http://dy.qgsnfzzx.org.cn/list-difangzhongxin.html" target="_blank">
                        <div class="linkSectorItemImg">
                            <img src="http://192.168.1.234:19000/pre/image/png/20251218/1766037605561701.png" />
                        </div>
                        <div class="linkSectorItemTitle">地市中心</div>
                    </NuxtLink>
                </div>
                <div class="linkSectorItem bg5">
                    <NuxtLink href="http://dy.qgsnfzzx.org.cn/list-jieshaoxinchaxun.html" target="_blank">
                        <div class="linkSectorItemImg">
                            <img src="http://192.168.1.234:19000/pre/image/png/20251218/176603759448937.png" />
                        </div>
                        <div class="linkSectorItemTitle">介绍信查询</div>
                    </NuxtLink>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    props: {
        name: {
            type: String,
            default: ""
        },
        componentStyle: {
            type: Number,
            default: 0
        }
    },
    data() {
        return {
            activeTab: 0
        };
    },
    methods: {

    },
    mounted() {

    },
};
</script>

<style scoped lang="less">
//基本样式
.tabsNewsBox {
    height: 460px;

    .tabsNewsTitle {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        height: 40px;
        margin-bottom: 15px;

        div {
            height: 35px;
            width: 138px;
            line-height: 32px;
            font-size: 22px;
            font-weight: bold;
            color: #333333;
            cursor: pointer;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            padding-bottom: 5px;

            &.activeTab {
                color: #154079;
                background: url("http://192.168.1.234:19000/pre/image/png/20251218/1766042138413493.png") bottom left no-repeat;
            }
        }
    }

    .tabsNewsContent {
        width: 380px;
        height: 150px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;

        .linkSectorItem {
            width: 185px;
            height: 120px;
            box-sizing: border-box;
            cursor: pointer;
            text-align: center;
            margin-bottom: 22px;
            a{
                color: #333333;
            }

            &:last-child {
                margin-bottom: 0;
            }

            .linkSectorItemImg {
                width: 100%;
                height: 54px;
                line-height: 54px;
                margin-top: 21px;
                margin-bottom: 10px;

            }

            .linkSectorItemTitle {
                font-size: 16px;
            }

            &:nth-child(1) {
                .linkSectorItemImg {
                    margin-top: 24px;
                    margin-bottom: 7px;

                }
            }
        }

        .bg1 {
            background: url(http://192.168.1.234:19000/pre/image/png/20251218/176603744164435.png) no-repeat center center;
        }

        .bg2 {
            background: url(http://192.168.1.234:19000/pre/image/png/20251218/1766037457950506.png) no-repeat center center;
        }

        .bg3 {
            background: url(http://192.168.1.234:19000/pre/image/png/20251218/1766037475861824.png) no-repeat center center;
        }

        .bg4 {
            background: url(http://192.168.1.234:19000/pre/image/png/20251218/1766037490721060.png) no-repeat center center;
        }

        .bg5 {
            background: url(http://192.168.1.234:19000/pre/image/png/20251218/1766037543240632.png) no-repeat center center;
        }
    }

}
</style>
