更改获取热搜个数
This commit is contained in:
parent
e10d79a5e4
commit
d59b289e96
@ -35,7 +35,7 @@ const gotoWeb = (row, column, cell, event)=>{
|
|||||||
<template>
|
<template>
|
||||||
<client-only>
|
<client-only>
|
||||||
<el-table :data="data" style="width: 90%;max-width: 600px;margin: 10px;margin-bottom: 15px" :table-layout="'fixed'" @cell-click="" @cell-dblclick="gotoWeb">
|
<el-table :data="data" style="width: 90%;max-width: 600px;margin: 10px;margin-bottom: 15px" :table-layout="'fixed'" @cell-click="" @cell-dblclick="gotoWeb">
|
||||||
<el-table-column prop="word" :label="props.fromWeb+'热搜'" width="180" />
|
<el-table-column prop="word" :label="props.fromWeb+' 持久热搜'" width="180" />
|
||||||
<el-table-column prop="lastTime" label="最后上榜" width="180" />
|
<el-table-column prop="lastTime" label="最后上榜" width="180" />
|
||||||
<el-table-column prop="times" label="上榜次数" />
|
<el-table-column prop="times" label="上榜次数" />
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -7,7 +7,7 @@ const getWebArr:string[] = await $fetch("https://data.zziyu.cn/hot/webs")
|
|||||||
<template>
|
<template>
|
||||||
<Title>数据收集</Title>
|
<Title>数据收集</Title>
|
||||||
<div style="display: flex;align-items: center;justify-content: center;flex-direction: column">
|
<div style="display: flex;align-items: center;justify-content: center;flex-direction: column">
|
||||||
<DataTimesTop v-for="(item,index) in getWebArr" :fromWeb="item" :limit="5" :hours="1" :key="index"></DataTimesTop>
|
<DataTimesTop v-for="(item,index) in getWebArr" :fromWeb="item" :limit="10" :hours="1" :key="index"></DataTimesTop>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user