摘要: //除法 function accDiv(arg1,arg2){ var t1=0,t2=0,r1,r2; try{t1=arg1.toString().split(".")[1].length}catch(e){} try{t2=arg2.toString().split(".")[1].leng 阅读全文
posted @ 2018-04-27 11:31 宋宇 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 获取时间: 苏宁:http://quan.suning.com/getSysTime.do 淘宝:http://api.m.taobao.com/rest/api3.do?api=mtop.common.getTimestamp 天气预报: http://wthrcdn.etouch.cn/weat 阅读全文
posted @ 2018-04-27 10:46 宋宇 阅读(1614) 评论(0) 推荐(0) 编辑