1.wx.showToast 提示框
wx.showToast({
title,
mask:true
})
2. wx.showModal 确认框
wx.showModal({
content,
success: ({confirm}) => {
if(confirm)resolve()
},
})
3.this.setDate({})
用于渲染数据
4.tabBar导航栏 写在json里面 页面中json文件里导航栏样式会覆盖全局的样式
最多设置五个 最少设置两个
1.wx.showToast 提示框
wx.showToast({
title,
mask:true
})
2. wx.showModal 确认框
wx.showModal({
content,
success: ({confirm}) => {
if(confirm)resolve()
},
})
3.this.setDate({})
用于渲染数据
4.tabBar导航栏 写在json里面 页面中json文件里导航栏样式会覆盖全局的样式
最多设置五个 最少设置两个