随笔分类 -  微信小程序

摘要:提交按钮不再遮挡,textarea placeholder 里面字样了!!!! 阅读全文
posted @ 2019-07-29 17:42 盘思动 阅读(3186) 评论(0) 推荐(0) 编辑
摘要:save_share_img:function(img){ var that = this; let { result } = that.data; getData.getData( "save_share_img", { id : result.id, ... 阅读全文
posted @ 2019-07-27 10:28 盘思动 阅读(1056) 评论(0) 推荐(0) 编辑
摘要:'14488', 'desc' => '参数错误' ]; return return_data; }data['mch_appid'] = C('APPID'); //商户的应用appid ... 阅读全文
posted @ 2019-07-26 20:07 盘思动 阅读(3218) 评论(0) 推荐(0) 编辑
摘要:// 把多少秒 转化为 时分秒: 类似倒计时! function timestampToDate(ctime){ let returnStr = ''; // 天数位 // let day = Math.floor(ctime / 3600 / 24); // let dayStr = day.toString(); // if (dayStr.leng... 阅读全文
posted @ 2019-07-26 16:22 盘思动 阅读(1355) 评论(0) 推荐(0) 编辑
摘要:想修改整个程序的导航栏,在app.json 文件 修改 "window": { "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#fff", "navigationBarTitleText": "修改,改变程序导航栏名称", "navigationBarTextStyle": "... 阅读全文
posted @ 2019-07-26 14:42 盘思动 阅读(8927) 评论(0) 推荐(0) 编辑
摘要:第一个页面: 第二个页面: 阅读全文
posted @ 2019-07-24 21:34 盘思动 阅读(7299) 评论(0) 推荐(0) 编辑
摘要:对象转成数组方式一(数组里面是一个个number类型的元素) 对象转成数组方式二(数组里面是一个个字典类型的元素) 阅读全文
posted @ 2019-07-20 15:39 盘思动 阅读(11713) 评论(1) 推荐(0) 编辑
摘要:参考腾讯官方文档: http://kf.qq.com/faq/161222NneAJf161222U7fARv.html?pass_ticket=4K97qCCjgTaO4WwN1x%2BCdKEqLLpHfB1QG%2Fc0FvRawAXKsOxvyJSw2%2FmOg878QADx 微信支付是不 阅读全文
posted @ 2019-07-16 10:48 盘思动 阅读(5594) 评论(0) 推荐(0) 编辑
摘要:wx.setNavigationBarColor({//设置导航栏颜色 frontColor: '#000000',//注意frontColor的值只能为000000或者111111 backgroundColor: app.globalData.background }); 阅读全文
posted @ 2019-06-29 16:38 盘思动 阅读(3959) 评论(1) 推荐(0) 编辑
摘要:onPageScroll: function (e) { console.log(e.scrollTop); } 阅读全文
posted @ 2019-06-28 16:44 盘思动 阅读(367) 评论(0) 推荐(0) 编辑
摘要:const winHeight = wx.getSystemInfoSync().windowHeight Page({ data: { logs: [] }, onLoad: function () { this.setData({ winH: wx.getSystemInfoSync().windowHeigh... 阅读全文
posted @ 2019-06-28 16:20 盘思动 阅读(1911) 评论(0) 推荐(0) 编辑
摘要:公益文旅"精准扶贫平台正式1... 公益文旅"精准扶贫平台正式1... 公益文旅"精准扶贫平台正式1... vertical='true' 是swiper 用的;这样才可以山下翻滚,这个可以自动波动;scroll-y 是scroll 用的,这个不好自动翻滚,只可手动波动 阅读全文
posted @ 2019-06-28 14:07 盘思动 阅读(824) 评论(0) 推荐(0) 编辑
摘要:1 2 3 .box { width:100vw; height: 200rpx; white-space: nowrap; /*white-space 不能丢*/ border: 1px solid red; box-sizing: border-box}.box-item { width: 45%; height:100... 阅读全文
posted @ 2019-06-27 15:49 盘思动 阅读(1535) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-06-12 20:43 盘思动 阅读(1) 评论(0) 推荐(0) 编辑
摘要:{“errcode”:41030,”errmsg”:”invalid page hint: [gP1eXXXXXX]”} 接口所传page页面不存在,或者小程序没有发布。记住需要发布才能用如果在本地测试,只能添加编译模式模拟二维码功能 阅读全文
posted @ 2019-04-10 14:49 盘思动 阅读(1338) 评论(0) 推荐(0) 编辑
摘要:json文件 js 文件 阅读全文
posted @ 2019-03-21 15:04 盘思动 阅读(5015) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/11eb5b0bfe1a 注意 博客介绍的 在 wxss backgroung-image 中引入小程序内图片是不可的,传到cdn上才实现 阅读全文
posted @ 2019-03-20 15:20 盘思动 阅读(701) 评论(0) 推荐(0) 编辑
摘要:微信小程序开发模板消息的时候 出现 errcode: 41028, errmsg: "invalid form id hint: 小程序开发模板消息的时候 出现 errcode: 41028, errmsg: "invalid form id hint: 我是使用的微信支付发送模板消息,提示的for 阅读全文
posted @ 2018-08-24 10:58 盘思动 阅读(1214) 评论(0) 推荐(0) 编辑
摘要:https://github.com/cytle/wechat_web_devtools 实测:64位 32位的可以... 参考命令; 2030 sudo apt-get install wine1.6 ///注意:wine 安装有到确定的一步,鼠标点击没用,键盘选择下拉, 到最下面的确定 ,点击回 阅读全文
posted @ 2018-05-04 18:28 盘思动 阅读(2608) 评论(0) 推荐(0) 编辑
摘要:「yueming: https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421137522」 阅读全文
posted @ 2018-04-04 15:36 盘思动 阅读(193) 评论(0) 推荐(0) 编辑

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