纸通宝小程序
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.
 

58 lines
966 B

// pages/message/index.js
const util = require('../../../utils/util')
const app = getApp()
Component({
options: {
addGlobalClass: true,
multipleSlots: true
},
properties: {
height: { type: Number, value: 0 }
},
data: {
tabList: [ '全部', '华中', '华南', '华东', '北部', '西部'],
tabIndex: 0,
navData:[
{
text: '首页'
},
{
text: '健康'
},
{
text: '情感'
},
{
text: '职场'
},
{
text: '育儿'
},
{
text: '纠纷'
},
{
text: '青葱'
},
{
text: '上课'
},
{
text: '下课'
}
],
orderList: []
},
methods: {
onRestart: function () {
if(!this.data.firstShow){
setTimeout(() => { this.setData({ tabIndex: 0, firstShow: true }) }, 100)
}
},
fetchList: function(){
}
}
})