摘要:
javascript中的时间格式化的方法 Date.prototype.format = function(format) { var o = { "M+": this.getMonth() + 1, //month "d+": this.getDate(), //day "h+": this.ge 阅读全文
摘要:
uni app 的ui插件uview里自带的一些正则表达式 取自"uni_modules\uview-ui\libs\function\test.js" /** * 验证电子邮箱格式 */ function email(value) { return /^\w+((-\w+)|(\.\w+))*\@ 阅读全文