上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页
摘要: #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 阅读(156) 评论(0) 推荐(0)
摘要: 在使用uni.setStorageAsync 存数据时,key 不能带 _ 比如 area_code ,可以采用驼峰方法命名key值。 阅读全文
posted @ 2020-10-14 11:30 Action_swt 阅读(4490) 评论(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 阅读(874) 评论(0) 推荐(1)
摘要: 点击事件控制类名。 阅读全文
posted @ 2020-09-19 23:23 Action_swt 阅读(200) 评论(0) 推荐(0)
摘要: vue-router ≥3.0版本回调形式以及改成promise api的形式了,返回的是一个promise,如果路由地址跳转相同, 且没有捕获到错误,控制台始终会出现如图所示的警告 (注:3.0以下版本则不会出现以下警告!!!,因路由回调问题…) 方案一:安装vue-router3.0以下版本:先 阅读全文
posted @ 2020-09-18 15:11 Action_swt 阅读(3131) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/Yukinoshita_kino/article/details/106338236 阅读全文
posted @ 2020-09-17 15:47 Action_swt 阅读(3423) 评论(0) 推荐(0)
摘要: //获取本地ip function getIPAdress() { var interfaces = require('os').networkInterfaces(); for (var devName in interfaces) { var iface = interfaces[devName 阅读全文
posted @ 2020-09-17 10:52 Action_swt 阅读(5743) 评论(0) 推荐(0)
摘要: //手机号格式 3-4-4 不验证手机号码: Mobile_input(type){ if(type "recvMobile"){ var value = this.erp_register_msg.recvMobile; }else if(type "fapiaoRecvMobile"){ var 阅读全文
posted @ 2020-09-16 14:24 Action_swt 阅读(350) 评论(0) 推荐(0)
摘要: value = value.replace(/[\u4E00-\u9FA5]|[A-Za-z]/g,''); 阅读全文
posted @ 2020-09-16 14:17 Action_swt 阅读(2034) 评论(0) 推荐(0)
摘要: obj.value=obj.value.replace(/[\u4E00-\u9FA5]|[\uFE30-\uFFA0]/g,''); 阅读全文
posted @ 2020-09-16 10:17 Action_swt 阅读(167) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页