摘要: 阅读全文
posted @ 2020-07-31 16:40 徐海峰 阅读(1094) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-06-01 09:58 徐海峰 阅读(600) 评论(0) 推荐(0) 编辑
摘要: 1. ./public/index.html -- 主页, 项目入口, 灵活运用, ps:可以自定义HTML标签META和TITLE,ICON的地方, 也直接引用 js 操作类库(调用时需要声明语法免检); 2. ./src/router/index.js -- 路由配置文件: 路由调用页面声明, 阅读全文
posted @ 2020-04-09 13:11 徐海峰 阅读(393) 评论(0) 推荐(0) 编辑
摘要: function commafy(num){ return num && num .toString() .replace(/(\d)(?=(\d{3})+\.)/g, function($1, $2){ return $2 + ','; }); } 链接:https://juejin.im/pos 阅读全文
posted @ 2019-10-09 16:00 徐海峰 阅读(376) 评论(0) 推荐(0) 编辑
摘要: CSS3 渐变(gradients)可以让你在两个或多个指定的颜色之间显示平稳的过渡。以前,你必须使用图像来实现这些效果。但是,通过使用 CSS3 渐变(gradients),你可以减少下载的事件和宽带的使用。此外,渐变效果的元素在放大时看起来效果更好,因为渐变(gradient)是由浏览器生成的。 阅读全文
posted @ 2019-10-09 14:02 徐海峰 阅读(441) 评论(0) 推荐(0) 编辑
摘要: function CheckPhoneNumber(){ // 1[345678]\d{9} 号码为数字1开头+一位3-8的数字+后面任意9位数字 if(!(/^1[345678]\d{9}$/.test(phone))){ alert("手机号码验证失败"); return false; } } 阅读全文
posted @ 2019-10-09 10:47 徐海峰 阅读(4910) 评论(0) 推荐(0) 编辑
摘要: /* 使用json数组填充下拉框并复选 */ /* 初始化下拉框数据 */ var jsonStr = { "data": [] }; for (var str in JsonStr.data) { jsonStr.data.push({ "value": JsonStr.data[str].value, "text": JsonStr.data[str].text }); } /* 调... 阅读全文
posted @ 2018-02-09 10:20 徐海峰 阅读(7381) 评论(0) 推荐(0) 编辑
摘要: --使用 execute sp_addextendedproperty / sp_updateextendedproperty 过程 --添加表说明 execute sp_addextendedproperty 'MS_Description','表说明','user','dbo','table', 阅读全文
posted @ 2017-09-04 11:07 徐海峰 阅读(225) 评论(0) 推荐(0) 编辑
摘要: //使用示例 : new Models.AreaCode().Contrast[22] + "-" + new Models.AreaCode().ContrastTable(220183) //县及县以上行政区划代码 (GB/T 2260) (截止 2006 年 12 月 31 日) //Clas 阅读全文
posted @ 2017-08-29 09:35 徐海峰 阅读(1997) 评论(0) 推荐(0) 编辑
摘要: <li class="uk-hidden"> <a href="http://www.poolball.top" class="uk-margin-small-top" target="blank"><svg version="1.1" id="Ebene_1" xmlns="http://www. 阅读全文
posted @ 2017-08-11 09:53 徐海峰 阅读(416) 评论(0) 推荐(0) 编辑