<script setup lang="ts">

const getWebArr:string[] = await $fetch("https://data.zziyu.cn/hot/webs")

</script>

<template>
  <div style="display: flex;align-items: center;justify-content: center">
    <DataTimesTop v-for="(item,index) in getWebArr" :fromWeb="item" :limit="5" :hours="2" :key="index"></DataTimesTop>
  </div>
</template>

<style scoped>

</style>