随笔分类 -  微信小程序

摘要:当前设备照片 ... 阅读全文
posted @ 2019-06-21 15:46 不一样的开始 阅读(270) 评论(0) 推荐(0) 编辑
摘要:小程序访问php WeixinPay.php: 小程序页面处理: 回调url:notify.php 阅读全文
posted @ 2018-03-16 12:01 不一样的开始 阅读(1339) 评论(0) 推荐(0) 编辑
摘要:var countdown = 120; var settime = function (that) { if (countdown == 0) { that.setData({ codeText: '获取验证码', code_time: '', isClick: false }) ... 阅读全文
posted @ 2017-12-26 15:49 不一样的开始 阅读(209) 评论(0) 推荐(0) 编辑
摘要:fail:function(){ wx.showModal({ title: '拒绝授权', content: '拒绝授权您将不能使用任何功能, 如想重新授权,请先删除小程序之后再次添加授权,才能使用', showCancel: false, success: function (res) { if 阅读全文
posted @ 2017-11-30 15:46 不一样的开始 阅读(5572) 评论(0) 推荐(0) 编辑
摘要:取值的时候,再页面加载函数中可以获取到 阅读全文
posted @ 2017-11-22 17:00 不一样的开始 阅读(5786) 评论(0) 推荐(0) 编辑
摘要:小程序弹出框: http://blog.csdn.net/u014360817/article/details/52671211 阅读全文
posted @ 2017-11-16 17:22 不一样的开始 阅读(216) 评论(0) 推荐(0) 编辑
摘要:要加上header头 header:{ 'content-type':'application/x-www-form-urlencoded' } 阅读全文
posted @ 2017-11-15 17:12 不一样的开始 阅读(343) 评论(0) 推荐(0) 编辑
摘要:核心代码就是 wx:for,对应一个数组。 而 wx:for-index 指明后面如果要用数组索引的话,用什么名字,如果名字是 index,则可省略,直接使用。 而 wx:for-item 指明后面如果要用数组索引对应的项的话,用什么名字,如果名字是 item,则可省略,直接使用。 .js 代码 原 阅读全文
posted @ 2017-11-09 12:07 不一样的开始 阅读(1849) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示