微信小程序第二天學習打卡

主要學習app頁面配置、窗口配置、tabBar配置,網絡超時配置debug配置

首個學習的就是app頁面配置

app.json;

基本頁面顯示配置


微信小程序第二天學習打卡

頁面路徑列表

具體微信的API鏈接:https://developers.weixin.qq.com/miniprogram/dev/reference/configuration/app.html#networkTimeout

windows:全局的默認窗口表現


微信小程序第二天學習打卡

networkTimeout :否網絡超時時間


微信小程序第二天學習打卡


tabBar 底部 tab 欄的表現,只能在首頁顯示;;


微信小程序第二天學習打卡

debug:否是否開啟 debug 模式,默認關閉

配置後每個頁面都會打印LOG

先發一下;


分享到:


相關文章: