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.

88 lines
1.4 KiB

3 years ago
// index.js
// 获取应用实例
const app = getApp()
Page({
data: {
3 years ago
tabbar: {},
condition: ['二十四小时', '最近七天', '最近三十天', '自定义'],
toplist: [{
3 years ago
url: '',
title: '入库数据总量',
3 years ago
num: '1'
3 years ago
}, {
url: '',
title: '微博数据',
3 years ago
num: '2'
3 years ago
}, {
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'
},
],
3 years ago
tabList: [
{
text: '精选推荐',
key: 0,
},
{
text: '夏日防晒',
key: 1,
},
{
text: '二胎大作战',
key: 2,
},
{
text: '人气榜',
key: 3,
},
{
text: '好评榜',
key: 4,
},
{
text: 'RTX 30',
key: 5,
},
{
text: '手机也疯狂',
key: 6,
},
],
3 years ago
3 years ago
},
onShow() {
this.getTabBar().init();
3 years ago
},
3 years ago
onLoad: function (options) {
3 years ago
3 years ago
},
3 years ago
})