<template>
    <div class="topTenTitle">
        <div class="inner" v-if="imgurl">
            <a href="http://nzgxw.org.cn/" title="三农资讯网_广告位" v-if="imgurl.image_url==null" target="_blank">
                <img :src="imgurl.thumb" alt="三农资讯网_广告位">
            </a>
            <a :href="imgurl.image_url" title="三农资讯网_广告位" v-else>
                <img :src="imgurl.image_src" alt="三农资讯网_广告位">
            </a>
        </div>
    </div>
</template>

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

<style lang="less">
// 十强称号logo
.topTenTitle {
    width: 100%;
    height: 90px;
    margin: 25px 0 15px;
    img {
        width: 1200px;
        height: 90px;
    }
}
</style>