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: {
|
|
|
|
active: 0,
|
|
|
|
navData: [{
|
|
|
|
text: '数据',
|
|
|
|
component: 'data-child'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: '事件',
|
|
|
|
component: 'event-child'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: '传播媒体',
|
|
|
|
component: 'data-child'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: '传播声量',
|
|
|
|
component: 'data-child'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: '晴雨表',
|
|
|
|
component: 'data-child'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: '尾盘洞察',
|
|
|
|
component: 'data-child'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: '热议图谱',
|
|
|
|
component: 'data-child'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: '用户画像',
|
|
|
|
component: 'data-child'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: '热销排行',
|
|
|
|
component: 'data-child'
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
|
|
|
|
onShow() {
|
|
|
|
this.getTabBar().init();
|
|
|
|
},
|
|
|
|
onLoad: function (options) {
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
})
|