上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页
  2017年9月3日
摘要: 在控制台中运行命令“webpack”,出现错误:“ERROR in Entry module not found: Error: Can't resolve 'babel-loader' in.........” 解决方法是在控制台输入命令“npm install babel-loader --sa 阅读全文
posted @ 2017-09-03 18:05 vsmart 阅读(207) 评论(0) 推荐(0) 编辑
  2017年8月31日
摘要: function formatMoneyUpper(n) { if(n==""){ return ""; } if (!/^(0|[1-9]\d*)(\.\d+)?$/.test(n)){ return "数据非法"; } var unit = "千百拾亿千百拾万千百拾元角分"; var str = ""; ... 阅读全文
posted @ 2017-08-31 08:22 vsmart 阅读(116) 评论(0) 推荐(0) 编辑
  2017年8月19日
摘要: import urllib.requestresp=urllib.request.urlopen("http://fanyi.baidu.com/")html=resp.read()html = html.decode("utf-8")print (html) 阅读全文
posted @ 2017-08-19 07:34 vsmart 阅读(190) 评论(0) 推荐(0) 编辑
  2017年7月25日
摘要: b border-radius:0; 阅读全文
posted @ 2017-07-25 10:40 vsmart 阅读(1431) 评论(0) 推荐(0) 编辑
  2017年7月20日
摘要: function goPAGE() { if ((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)... 阅读全文
posted @ 2017-07-20 15:59 vsmart 阅读(259) 评论(0) 推荐(0) 编辑
  2017年7月12日
摘要: 实验环境: 测试域名daxiangtravel.com,apache根目录/mnt/,测试目录/mnt/qa/test,测试文件名为index.php。 获取代码: 获取当前目录: 1 2 3 4 getcwd(); // /mnt/qa/test dirname(__FILE__); // /mn 阅读全文
posted @ 2017-07-12 12:57 vsmart 阅读(11682) 评论(0) 推荐(0) 编辑
  2017年6月28日
摘要: @bgfff:#fff;.bg(@color){background:@color;}.color(@color){color:@color;}.bgf{background:#fff;}.col333{color:#333}.cof{color:#fff}.col666{color:#666}.c 阅读全文
posted @ 2017-06-28 15:56 vsmart 阅读(1192) 评论(0) 推荐(0) 编辑
  2017年6月26日
摘要: getCode(4,60,20);function getCode($num,$w,$h) { $code = ""; for ($i = 0; $i < $num; $i++) { $code .= rand(0, 9); } //4位验证码也可以用rand(1000,9999)直接生成 //将生 阅读全文
posted @ 2017-06-26 09:23 vsmart 阅读(114) 评论(0) 推荐(0) 编辑
  2017年6月23日
摘要: <?php class Control { //保存分配变量的对像属性 private $arr; /** * 分配置变量至视图 * @param [String] $name [变量名] * @param [type] $value [变量值] */ function assign ($name, 阅读全文
posted @ 2017-06-23 15:28 vsmart 阅读(106) 评论(0) 推荐(0) 编辑
  2017年6月21日
摘要: js获取文档高度 网页可见区域宽: document.body.clientWidth网页可见区域高: document.body.clientHeight网页可见区域宽: document.body.offsetWidth (包括边线的宽)网页可见区域高: document.body.offset 阅读全文
posted @ 2017-06-21 14:05 vsmart 阅读(207) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页