上一页 1 ··· 14 15 16 17 18
摘要: 手机号掩码 {{mobile|pwdCard}} pwdCard: function (value) { var start = value.slice(0, 1) var end = value.slice(-1) var strs = value strs = strs.replace(/./g 阅读全文
posted @ 2018-10-24 11:54 shuihanxiao 阅读(1205) 评论(0) 推荐(0)
摘要: 微信小程序中自定义modal .wxml Page({ data:{ hidden:false, nocancel:false }, cancel: function(){ this.setData({ hidden: true }); }, confirm: function(){ this.se 阅读全文
posted @ 2018-10-24 10:48 shuihanxiao 阅读(465) 评论(0) 推荐(0)
摘要: html js 阅读全文
posted @ 2018-10-18 21:02 shuihanxiao 阅读(193) 评论(0) 推荐(0)
摘要: html js css 阅读全文
posted @ 2018-10-18 20:43 shuihanxiao 阅读(2435) 评论(0) 推荐(0)
摘要: npm install js-pinyin main.js 引入 import pinyin from 'js-pinyin' 使用组件内 let pinyin = require('js-pinyin'); pinyin.setOptions({checkPolyphone: false, cha 阅读全文
posted @ 2018-09-27 16:31 shuihanxiao 阅读(4007) 评论(0) 推荐(0)
摘要: var pinyin = (function (){ var Pinyin = function (ops){ this.initialize(ops); }, options = { checkPolyphone: false, charcase: 'default' }; Pinyin.fn = 阅读全文
posted @ 2018-09-27 16:22 shuihanxiao 阅读(295) 评论(0) 推荐(0)
摘要: .activeMoreBankList{ height: 188px; overflow-y: auto;} /*滚动条样式*/.activeMoreBankList::-webkit-scrollbar {/*滚动条整体样式*/ width: 4px; /*高宽分别对应横竖滚动条的尺寸*/ hei 阅读全文
posted @ 2018-09-27 15:57 shuihanxiao 阅读(217) 评论(0) 推荐(0)
摘要: //时间显示问题(几天前、几分钟前)Vue.filter('fomatTime', function (valueTime) { if(valueTime){ var newData = Date.parse(new Date()); var diffTime = Math.abs(newData- 阅读全文
posted @ 2018-09-18 19:14 shuihanxiao 阅读(4353) 评论(1) 推荐(0)
摘要: sudo -s(以管理员身份运行) 1 /删除ROOT rm -r * 2 /上传zip包 rz 回车 3 /解压 unzip dist.zip 4 /重命名 mv dist ROOT 5 /查找进程,杀进程 ps -ef|grep java kill -9 进程号 6 /重启应用 /home/wy 阅读全文
posted @ 2018-09-18 17:46 shuihanxiao 阅读(133) 评论(0) 推荐(0)
摘要: //base64加密function b64EncodeUnicode(str) { return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, function(match, p1) { return String.fromChar 阅读全文
posted @ 2018-09-18 17:37 shuihanxiao 阅读(222) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18