<template>
    <div class="c-icon-links">
        <u-grid :border="false" col="2">
            <u-grid-item v-for="(item, baseListIndex) in baseList" :key="baseListIndex">
                <u-image class="grid-image" :show-loading="true" :src="item.image" width="180px" height="90px"
                         @click="$w.to(item.url)"></u-image>
            </u-grid-item>
        </u-grid>
    </div>
</template>

<script setup>
const props = defineProps({
    baseList:{
        type: Array,
        default:[]
    }
});
</script>


<style scoped>
.c-icon-links{
    .grid-image {
        padding-top: 20rpx;
    }
}

</style>
