<template>
    <a :href="adImg.ad_url" v-if="adImg.image_url == null" target="_blank" :title="adImg.introduce">
        <img :src="adImg.thumb" :alt="adImg.introduce" data-tag="imgurl.ad_tag" :id="adImg.ad_tag">
    </a>
    <a :href="adImg.image_url" v-else :title="adImg.introduce">
        <img :src="adImg.image_src" :alt="adImg.introduce" data-tag="imgurl.ad_tag" :id="adImg.ad_tag">
    </a>
</template>

<script setup>
const props = defineProps({
    adImg: Object,
});
</script>

<style lang="less" scoped>

</style>