新增热搜列表
This commit is contained in:
parent
91f56bd170
commit
e1e795b5dc
@ -5,6 +5,9 @@ let route = useRoute()
|
|||||||
// const handleSelect = (key: string, keyPath: string[]) => {
|
// const handleSelect = (key: string, keyPath: string[]) => {
|
||||||
// console.log(key, keyPath)
|
// console.log(key, keyPath)
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
const HotArray = await $fetch("https://data.zziyu.cn/hot/webs")
|
||||||
|
// console.log(HotArray)
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@ -21,8 +24,9 @@ let route = useRoute()
|
|||||||
<el-sub-menu index="/data/all">
|
<el-sub-menu index="/data/all">
|
||||||
<template #title>数据收集</template>
|
<template #title>数据收集</template>
|
||||||
<el-menu-item index="/data/all">总览</el-menu-item>
|
<el-menu-item index="/data/all">总览</el-menu-item>
|
||||||
<el-menu-item index="/data/bilibili">bilibili</el-menu-item>
|
<el-menu-item v-for="(item,index) in HotArray" :key="index" :index="'/data/'+item">{{item}}</el-menu-item>
|
||||||
<el-menu-item index="/data/baidu">baidu</el-menu-item>
|
<!-- <el-menu-item index="/data/bilibili">bilibili</el-menu-item>-->
|
||||||
|
<!-- <el-menu-item index="/data/baidu">baidu</el-menu-item>-->
|
||||||
</el-sub-menu>
|
</el-sub-menu>
|
||||||
<el-sub-menu index="/tools">
|
<el-sub-menu index="/tools">
|
||||||
<template #title>工具</template>
|
<template #title>工具</template>
|
||||||
|
@ -6,6 +6,7 @@ let {api} = await $fetch('/api/data/all')
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<Title>热搜 {{route.params.WebName}} </Title>
|
||||||
这是 {{route.params.WebName}} 数据展示
|
这是 {{route.params.WebName}} 数据展示
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -1,14 +1,15 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
const HotArray = await $fetch("https://data.zziyu.cn/hot/webs")
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Title>网站地图</Title>
|
<Title>网站地图</Title>
|
||||||
<div style="display: flex;justify-content: center;flex-direction: column;align-items: center">
|
<div style="display: flex;justify-content: center;flex-direction: column;align-items: center">
|
||||||
<NuxtLink to="/">主页</NuxtLink>
|
<NuxtLink to="/">主页</NuxtLink>
|
||||||
<NuxtLink to="/data/all">数据收集</NuxtLink>
|
<NuxtLink to="/data/all">数据收集所有</NuxtLink>
|
||||||
<NuxtLink to="/data/bilibili">数据收集Bilibili</NuxtLink>
|
<!-- <NuxtLink to="/data/bilibili">数据收集Bilibili</NuxtLink>-->
|
||||||
<NuxtLink to="/data/baidu">数据收集百度</NuxtLink>
|
<!-- <NuxtLink to="/data/baidu">数据收集百度</NuxtLink>-->
|
||||||
|
<NuxtLink v-for="(item,index) in HotArray" :to="'/data/'+item" :key="index">数据收集 {{item}}</NuxtLink>
|
||||||
<NuxtLink to="/">主页</NuxtLink>
|
<NuxtLink to="/">主页</NuxtLink>
|
||||||
<NuxtLink to="/tools/qqazk/">笔顺码字典首页</NuxtLink>
|
<NuxtLink to="/tools/qqazk/">笔顺码字典首页</NuxtLink>
|
||||||
<NuxtLink to="/tools/qqazk/about">笔顺码字典关于</NuxtLink>
|
<NuxtLink to="/tools/qqazk/about">笔顺码字典关于</NuxtLink>
|
||||||
|
Loading…
Reference in New Issue
Block a user