摘要: var timestamp = new Date().getTime().toString();var pzKeyArr =[{name:"walletId",value:walletId},{name:"nonceStr",value:timestamp},{name:"money",value: 阅读全文
posted @ 2017-06-28 15:39 lijun8637 阅读(2363) 评论(0) 推荐(0) 编辑
摘要: oc-js 互通消息的桥梁函数 阅读全文
posted @ 2017-06-28 15:33 lijun8637 阅读(603) 评论(0) 推荐(0) 编辑
摘要: (function ($) { $.getUrlParam = function (name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).mat 阅读全文
posted @ 2017-06-28 15:11 lijun8637 阅读(793) 评论(0) 推荐(0) 编辑
摘要: function getTimes(timeStamp){ //timeStamp 时间戳 if(/\d{11,13}/.test(timeStamp)){ let date = new Date(timeStamp); let year = date.getFullYear() ; let mon 阅读全文
posted @ 2017-06-28 14:59 lijun8637 阅读(264) 评论(0) 推荐(0) 编辑
摘要: function getExplorer(){ var userAgent = navigator.userAgent; var isOpera = userAgent.indexOf("Opera") > -1; if (isOpera) { return "Opera" }; if (userA 阅读全文
posted @ 2017-06-28 14:55 lijun8637 阅读(258) 评论(0) 推荐(0) 编辑