上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页
摘要: https://ask.dcloud.net.cn/question/71626 https://ask.dcloud.net.cn/question/89910 https://www.freesion.com/article/9954674738/ https://blog.csdn.net/w 阅读全文
posted @ 2020-10-22 14:15 Action_swt 阅读(943) 评论(0) 推荐(0) 编辑
摘要: https://open.alipay.com/channel/miniIndex.htm 傻瓜式操作 已入驻地址: https://openhome.alipay.com/platform/developerIndex.htm 支付宝公众平台: https://open.alipay.com/mi 阅读全文
posted @ 2020-10-20 18:13 Action_swt 阅读(166) 评论(0) 推荐(0) 编辑
摘要: var that = this; /** * 获取当前设备的宽高 */ wx.getSystemInfo({ success: function (res) { that.setData({ clientHeight: res.windowHeight -30 }); } }); style="he 阅读全文
posted @ 2020-10-16 14:52 Action_swt 阅读(1129) 评论(0) 推荐(0) 编辑
摘要: 目前发现的是不兼容 Array.from() 方法,导致 js 报错 解决方法: Array.prototype.slice.call() 已测,可以解决或Array.prototype.slice.apply() 阅读全文
posted @ 2020-10-15 18:26 Action_swt 阅读(319) 评论(0) 推荐(0) 编辑
摘要: function getCookieByString(cookieName){ var start = document.cookie.indexOf(cookieName+'='); if (start == -1) return false; start = start+cookieName.l 阅读全文
posted @ 2020-10-14 16:04 Action_swt 阅读(119) 评论(0) 推荐(0) 编辑
摘要: #bananerDis{ height: 550px; background: url("../images/bannerdisplay.jpg") no-repeat; background-position:center center; background-size: cover; } 阅读全文
posted @ 2020-10-14 15:49 Action_swt 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 在使用uni.setStorageAsync 存数据时,key 不能带 _ 比如 area_code ,可以采用驼峰方法命名key值。 阅读全文
posted @ 2020-10-14 11:30 Action_swt 阅读(4113) 评论(0) 推荐(0) 编辑
摘要: 方法1:js 封装 base64_img(base64){ let base64_str = base64.replace(/[\r\n]/g, ""); // base64 字符串 去掉换行 var array_buffer = wx.base64ToArrayBuffer(base64_str) 阅读全文
posted @ 2020-09-25 14:33 Action_swt 阅读(827) 评论(0) 推荐(1) 编辑
摘要: 点击事件控制类名。 阅读全文
posted @ 2020-09-19 23:23 Action_swt 阅读(194) 评论(0) 推荐(0) 编辑
摘要: vue-router ≥3.0版本回调形式以及改成promise api的形式了,返回的是一个promise,如果路由地址跳转相同, 且没有捕获到错误,控制台始终会出现如图所示的警告 (注:3.0以下版本则不会出现以下警告!!!,因路由回调问题…) 方案一:安装vue-router3.0以下版本:先 阅读全文
posted @ 2020-09-18 15:11 Action_swt 阅读(2640) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页