2016年11月22日
摘要: http://fontawesome.io/icons/ http://www.bootstrapicons.com/ 阅读全文
posted @ 2016-11-22 10:45 qinyahui 阅读(79) 评论(0) 推荐(0) 编辑
  2016年11月16日
摘要: 1.TypeError: Cannot read property '$valid' of undefined a. Add ng-submit attribute to the form: b. ng-click 过程中加入参数 详情参考:http://stackoverflow.com/ques 阅读全文
posted @ 2016-11-16 14:10 qinyahui 阅读(178) 评论(0) 推荐(0) 编辑
  2016年11月1日
摘要: 字符串和对象的转化 :angular.fromJson(jsonStr) 对象转字符串 :angular.toJson(obj) jsonStr:json字符串 obj:对象 阅读全文
posted @ 2016-11-01 17:36 qinyahui 阅读(95) 评论(0) 推荐(0) 编辑
  2016年10月24日
摘要: 获取当前位置并显示在google地图上 function do_something(coords) { // Do something with the coords ... 阅读全文
posted @ 2016-10-24 11:11 qinyahui 阅读(440) 评论(0) 推荐(0) 编辑
  2016年10月21日
摘要: public class IPTest { public static void main(String[] args) { try{ // 获取计算机名 String name = InetAddress.getLocalHost().getHostName(); // 获取IP地址 ... 阅读全文
posted @ 2016-10-21 14:20 qinyahui 阅读(115) 评论(0) 推荐(0) 编辑
摘要: public class Utill { public String TimeString(Date currentTime, Date beginTime){ /*默认为毫秒,除以1000是为了转换成秒*/ long interval=(currentTime.getTime()-beginTime.getTime())/1000;//秒 ... 阅读全文
posted @ 2016-10-21 14:18 qinyahui 阅读(584) 评论(0) 推荐(0) 编辑
  2016年10月18日
摘要: 完整案例,参考http://www.cnblogs.com/pilixiami/p/5661600.html 阅读全文
posted @ 2016-10-18 10:46 qinyahui 阅读(372) 评论(1) 推荐(0) 编辑
  2016年10月17日
摘要: 在map初始化的过程中,得到当前经纬度,完成初始化地图,通过HTML5中的Geolocation实现,具体参考:http://www.jb51.net/html5/71556.html 1.获取当前地理位置 调用方法 void getCurrentPosition(onSuccess, onErro 阅读全文
posted @ 2016-10-17 14:42 qinyahui 阅读(422) 评论(0) 推荐(0) 编辑
  2016年9月22日
摘要: 阅读全文
posted @ 2016-09-22 10:32 qinyahui 阅读(98) 评论(0) 推荐(0) 编辑
  2016年9月6日
摘要: 使用IntelliJ IDEA开发SpringMVC网站(一)开发环境 http://my.oschina.net/gaussik/blog/385697 使用IntelliJ IDEA开发SpringMVC网站(二)框架配置 http://my.oschina.net/gaussik/blog/5 阅读全文
posted @ 2016-09-06 15:14 qinyahui 阅读(144) 评论(0) 推荐(0) 编辑