We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
//app.json { "window": { "navigationStyle": "custom" } }
radio { transform:scale(0.7); }
wx.createSelectorQuery().select('#id').boundingClientRect(function(rect){ console.log(rect) }).exec(); wx.createSelectorQuery().selectAll('.classname').boundingClientRect(function(rects){ console.log(rects) }).exec();
try { wx.setStorageSync('theme', theme) } catch (e) { } try { const theme = wx.getStorageSync('theme') || '#c8e6c9' } catch (e) { } wx.getStorage({ key: 'theme', success(res) {}, fail(){}, complete(){} });
wx.setNavigationBarColor({ frontColor: '#ffffff', backgroundColor: theme, animation: { duration: 400, timingFunc: 'easeIn' } })
var context = wx.createCanvasContext('canvas'); context.save(); context.beginPath(); context.rect(0, 0, width, height); // 绘制裁切区域 context.clip(); // 裁切 context.drawImage(imagePath,0,0); // 控制图片 context.restore();
// app.json 01. 全局配置或页面配置 { "enablePullDownRefresh": true } 02. 注册事件 onPullDownRefresh: function () { // to refresh }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
微信小程序设置全屏
微信小程序改变radio(单选钮)默认大小
微信小程序获取某个元素的宽度高度
微信小程序本地存储
微信小程序设置导航条颜色
微信小程序裁切图片
微信小程序下拉刷新
The text was updated successfully, but these errors were encountered: