This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var WebCommon = (function (func) { | |
| return func(WebCommon || {}, $); | |
| }).call(this, function (wc, $, undefined) { | |
| var | |
| // 获取指定param的查询字符串值 | |
| query = function (param) { | |
| var match = RegExp('[?&]' + param + '=([^&]*)').exec(location.href.split('#')[0]); | |
| return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); | |
| }, |
OlderNewer