2023-08-27 07:09:25 +00:00
|
|
|
<script setup lang="ts">
|
|
|
|
import {useRoute} from "vue-router";
|
|
|
|
const route = useRoute()
|
2023-08-27 10:15:04 +00:00
|
|
|
let {api} = await $fetch('/api/data/all')
|
|
|
|
|
2023-08-27 07:09:25 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2023-09-01 17:54:56 +00:00
|
|
|
<Title>热搜 {{route.params.WebName}} </Title>
|
2023-09-03 06:17:27 +00:00
|
|
|
<div style="display: flex;align-content: center;justify-content: center;flex-direction: column;flex-wrap: wrap;flex-direction: row">
|
|
|
|
<DataNewHot :from-web="route.params.WebName as string" :limit="25" />
|
|
|
|
<DataTimesTop :fromWeb="route.params.WebName as string" :limit="50" :hours="1" />
|
|
|
|
</div>
|
2023-08-27 07:09:25 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<style scoped>
|
2023-09-03 06:17:27 +00:00
|
|
|
div *{
|
|
|
|
margin-right: 15px;
|
|
|
|
}
|
2023-08-27 07:09:25 +00:00
|
|
|
</style>
|