微信小程序
微信小程序
清黎浅帆
这个作者很懒,什么都没留下…
展开
-
如何清空微信小程序input值
wxml代码<input type='text' value='{{content}}' bindinput="getContentValue"></input><button catchtap="sendMsg">发送</button>js代码data: { content: '',//input框绑定的值 },//获取co...原创 2019-10-12 10:08:58 · 2746 阅读 · 0 评论 -
微信小程序上划加载下划刷新
上划加载onReachBottom: function() { let that = this; if (that.data.TabCur == 1 && (that.data.productLimit + that.data.productOffset)<that.data.productTotal) { that.setData({ ...原创 2020-01-03 10:39:53 · 579 阅读 · 0 评论 -
微信小程序设置页面标题
在json文件中设置{ "navigationBarTitleText": "页面标题"}在js文件中设置wx.setNavigationBarTitle({ title: "页面标题"})原创 2020-01-03 10:49:37 · 5192 阅读 · 0 评论