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.

40 lines
538 B

// index.js
Page({
data: {
active: 0,
showChart: true,
wshow: true,
brandshow:true,
modelshow:true,
eventshow:true,
},
onShow() {
},
themeHide() {
this.setData({
wshow: false
})
},
brandHide(){
this.setData({
brandshow: false
})
},
modelHide(){
this.setData({
modelshow: false
})
},
eventHide(){
this.setData({
eventshow: false
})
},
changeTab(val) {
let n = val.detail.index;
this.setData({
active: n
})
},
});