![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
uni-app
一天一天来一趟
这个作者很懒,什么都没留下…
展开
-
微信小程序版本自动更新的方法
// 在app.js里写下以下代码 onLaunch () { if (wx.canIUse('getUpdateManager')) { const updateManager = wx.getUpdateManager() updateManager.onCheckForUpdate(function (res) { console.log('onCheckForUpdate====', res) // 请求完新版本信息的回调 if (res.ha...原创 2020-06-09 16:58:58 · 953 阅读 · 0 评论 -
小程序页面样式调试
修改导航条背景颜色和字体颜色 uni.setNavigationBarColor({ frontColor: "#ffffff", backgroundColor:"#007AFF" }) 设置小程序显示亮屏 uni.setKeepScreenOn({ keepScreenOn: true }); 在微信小程序中,自定义导航栏的颜色 可以在app.j...原创 2020-06-03 12:24:46 · 1143 阅读 · 0 评论