<template>
    <div class="topTenTitle">
        <div class="inner" v-if="imgurl">
            <a href="http://nzgxw.org.cn/" v-if="imgurl.image_url==null" target="_blank" :title="imgurl.introduce">
                <img :src="imgurl.thumb" :alt="imgurl.introduce" :id="imgurl.ad_tag"  data-tag="imgurl.ad_tag">
            </a>
            <a :href="imgurl.image_url" v-else :title="imgurl.introduce">
                <img :src="imgurl.image_src" :alt="imgurl.introduce" :id="imgurl.ad_tag" data-tag="imgurl.ad_tag">
            </a>
        </div>
    </div>
 


</template>

<script setup>
    const props = defineProps({
        imgurl: String
    });
</script>

<style lang="less">
// 十强称号logo
.topTenTitle {
    width: 1200px;
    height: 90px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    a {
        display: block;
        
        height: 90px;
        overflow: hidden;
    }
    img {
        width: 1200px;
        height: 90px;
    }
}

    @media screen and (min-width:800px){/*pc*/
 
    }


    @media screen and (max-width:800px){/*ipad_phone*/
        .topTenTitle {
            width: 100%;height:auto;
            margin: 11px auto 0; 
        }
        
        .topTenTitle .inner {
            width: 100%;height:auto;
            
        }
        
        .topTenTitle a {height:auto;width:100%;}
        .topTenTitle img {height:11vw;width:100%;display:block;}
        
        .topTenTitle {display:none;}

    }





</style>