<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">
                    <div class="linkSectorItemImg"><img
                            src="https://img.bjzxtw.org.cn/pre/image/png/20251204/1764829523821547.png" /></div>
                    <div class="linkSectorItemTitle">人员查询</div>
                </div>
                <div class="linkSectorItem bg2">
                    <div class="linkSectorItemImg"><img
                            src="https://img.bjzxtw.org.cn/pre/image/png/20251204/1764829535138848.png" /></div>
                    <div class="linkSectorItemTitle">车辆查询</div>
                </div>
                <div class="linkSectorItem bg3">
                    <div class="linkSectorItemImg"><img
                            src="https://img.bjzxtw.org.cn/pre/image/png/20251204/1764829545715397.png" /></div>
                    <div class="linkSectorItemTitle">调研选题</div>
                </div>
                <div class="linkSectorItem bg4">
                    <div class="linkSectorItemImg"><img
                            src="https://img.bjzxtw.org.cn/pre/image/png/20251204/1764829554955936.png" /></div>
                    <div class="linkSectorItemTitle">地市中心</div>
                </div>
                <div class="linkSectorItem bg5">
                    <div class="linkSectorItemImg"><img
                            src="https://img.bjzxtw.org.cn/pre/image/png/20251204/176482956394689.png" /></div>
                    <div class="linkSectorItemTitle">介绍信查询</div>
                </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;

            &.activeTab {
                color: #154079;
                background: url("https://img.bjzxtw.org.cn/pre/image/png/20251203/1764727759430368.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;
        // border-top: 2px dashed #999;

        .linkSectorItem {
            width: 185px;
            height: 120px;
            box-sizing: border-box;
            cursor: pointer;
            text-align: center;
            margin-bottom: 14px;

            &: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(https://img.bjzxtw.org.cn/pre/image/png/20251204/176483007447579.png) no-repeat center center;
        }

        .bg2 {
            background: url(https://img.bjzxtw.org.cn/pre/image/png/20251204/1764830085351980.png) no-repeat center center;
        }

        .bg3 {
            background: url(https://img.bjzxtw.org.cn/pre/image/png/20251204/176483009768433.png) no-repeat center center;
        }

        .bg4 {
            background: url(https://img.bjzxtw.org.cn/pre/image/png/20251204/1764830107460839.png) no-repeat center center;
        }

        .bg5 {
            background: url(https://img.bjzxtw.org.cn/pre/image/png/20251204/1764830115163124.png) no-repeat center center;
        }
    }

}
</style>
