微信小程序-自定義頭部導航

先展示效果:  步驟一: app.json:中添加 "window": { "navigationStyle":"custom" } 步驟二: app.js:獲取手機系統信息及導航高度 App({ onLaunch: function (options) { // 獲取手機系統信息 wx.getSystemInfo({ success: res => {
相關文章
相關標籤/搜索