app.js
App({
onLaunch() {
const logs = wx.getStorageSync('logs') || []
logs.unshift(Date.now())
wx.setStorageSync('logs', logs)
wx.login({
success: res => {
}
})
},
globalData: {
userInfo: null
}
})
app.json
{
"pages": [
"pages/home/home",
"pages/appointment/appointment",
"pages/activity/activity",
"pages/exhibit/exhibit",
"pages/my/my",
"pages/film/film",
"pages/apply/apply",
"pages/competition/competition",
"pages/science/science",
"pages/science/aviation/aviation1/aviation1",
"pages/science/aviation/aviation2/aviation2",
"pages/appointment/people/people",
"pages/appointment/team/team",
"pages/exhibit/beijing/beijing",
"pages/exhibit/nan