You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// index.js
|
|
|
|
// 获取应用实例
|
|
|
|
const app = getApp()
|
|
|
|
|
|
|
|
Page({
|
|
|
|
data: {
|
|
|
|
tabbar: {},
|
|
|
|
condition: ['二十四小时', '最近七天', '最近三十天', '自定义'],
|
|
|
|
toplist: [{
|
|
|
|
url: '',
|
|
|
|
title: '入库数据总量',
|
|
|
|
num: '1'
|
|
|
|
}, {
|
|
|
|
url: '',
|
|
|
|
title: '微博数据',
|
|
|
|
num: '2'
|
|
|
|
}, {
|
|
|
|
url: '',
|
|
|
|
title: '其他数据',
|
|
|
|
num: '0'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
url: '',
|
|
|
|
title: '短视频数据',
|
|
|
|
num: '0'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
url: '',
|
|
|
|
title: '微信数据',
|
|
|
|
num: '0'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
url: '',
|
|
|
|
title: 'APP数据',
|
|
|
|
num: '0'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
url: '',
|
|
|
|
title: '论坛数据',
|
|
|
|
num: '0'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
url: '',
|
|
|
|
title: '新闻数据',
|
|
|
|
num: '0'
|
|
|
|
},
|
|
|
|
],
|
|
|
|
tabList: [
|
|
|
|
{
|
|
|
|
text: '精选推荐',
|
|
|
|
key: 0,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: '夏日防晒',
|
|
|
|
key: 1,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: '二胎大作战',
|
|
|
|
key: 2,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: '人气榜',
|
|
|
|
key: 3,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: '好评榜',
|
|
|
|
key: 4,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'RTX 30',
|
|
|
|
key: 5,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: '手机也疯狂',
|
|
|
|
key: 6,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
onShow() {
|
|
|
|
this.getTabBar().init();
|
|
|
|
},
|
|
|
|
onLoad: function (options) {
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
})
|