中国历史上最著名的三次战役堪比近代的世界大战!

佚名2019-08-23 18:18:11

  中国事有着一个上下五千年汗青的泱泱大国,汗青从未中缀过!当然伴跟着这么长的汗青必定也少不了有些许的战斗,昨天就带大师清点一下古代出名的战斗!长平之战:战国末年,壮大的秦国不竭通过和平,吞并东方列国,其第一方针即是临近的韩国。秦国将领白起设伏兵包抄赵括戎行,并截断赵军粮道,昭襄王亲至河内,悉发成年须眉到长平助战,赵军被围困46天,草粮隔离,白起收赵降兵四十余万,白起以为赵兵不忠,夜里坑杀之,赵国继而式微。是为长平之战!赤壁之战:公元208年,三国构成期间,孙权、刘备联军在长江赤壁(今湖北蒲圻西北,一说今嘉鱼东北)一带大北曹操戎行,奠基三国鼎峙根本的出名战斗。此为赤壁之战。淝水之战:公元383年苻坚亲率90万雄师从长安南下,同时,苻坚又命梓潼太守裴元略率海军7万从巴蜀顺流东下,向建康进军。近百万行戎行伍前后千里,旗鼓相望。工具万里,水陆齐进。东晋王朝在劲敌压境,面对存亡生死的求助紧急关头,以丞相谢安为首的主战派决意抖擞抵御。此为淝水之战

  u4e2du56fdu662fu6709u7740u4e00u4e2au4e0au4e0bu4e94u5343u5e74u5386u53f2u7684u6cf1u6cf1u5927u56fduff0cu5386u53f2u4eceu672au4e2du65adu8fc7uff01u5f53u7136u4f34u968fu7740u8fd9u4e48u957fu7684u5386u53f2u80afu5b9au4e5fu5c11u4e0du4e86u6709u4e9bu8bb8u7684u6218u5f79uff0cu4ecau5929u5c31u5e26u5927u5bb6u76d8u70b9u4e00u4e0bu53e4u4ee3u8457u540du7684u6218u5f79uff01

  u957fu5e73u4e4bu6218uff1au6218u56fdu672bu5e74uff0cu5f3au5927u7684u79e6u56fdu4e0du65adu901au8fc7u6218u4e89uff0cu517cu5e76u4e1cu65b9u5404u56fduff0cu5176u7b2cu4e00u76eeu6807u4fbfu662fu90bbu8fd1u7684u97e9u56fdu3002u79e6u56fdu5c06u9886u767du8d77u8bbeu4f0fu5175u5305u56f4u8d75u62ecu519bu961fuff0cu5e76u622au65adu8d75u519bu7caeu9053uff0cu662du8944u738bu4eb2u81f3u6cb3u5185uff0cu6089u53d1u6210u5e74u7537u5b50u5230u957fu5e73u52a9u6218uff0cu8d75u519bu88abu56f4u56f046u5929uff0cu8349u7caeu65adu7edduff0cu767du8d77u6536u8d75u964du5175u56dbu5341u4f59u4e07uff0cu767du8d77u8ba4u4e3au8d75u5175u4e0du5fe0uff0cu591cu91ccu5751u6740u4e4buff0cu8d75u56fdu7ee7u800cu8870u843du3002u662fu4e3au957fu5e73u4e4bu6218uff01

  u8d64u58c1u4e4bu6218uff1au516cu5143208u5e74uff0cu4e09u56fdu5f62u6210u65f6u671fuff0cu5b59u6743u3001u5218u5907u8054u519bu5728u957fu6c5fu8d64u58c1(u4ecau6e56u5317u84b2u573bu897fu5317uff0cu4e00u8bf4u4ecau5609u9c7cu4e1cu5317)u4e00u5e26u5927u8d25u66f9u64cdu519bu961fuff0cu5960u5b9au4e09u56fdu9f0eu7acbu57fau7840u7684u8457u540du6218u5f79u3002u6b64u4e3au8d64u58c1u4e4bu6218u3002

  u6dddu6c34u4e4bu6218uff1au516cu5143383u5e74u82fbu575au4eb2u738790u4e07u5927u519bu4eceu957fu5b89u5357u4e0buff0cu540cu65f6uff0cu82fbu575au53c8u547du6893u6f7cu592au5b88u88f4u5143u7565u7387u6c34u5e087u4e07u4eceu5df4u8700u987au6d41u4e1cu4e0buff0cu5411u5efau5eb7u8fdbu519bu3002u8fd1u767eu4e07u884cu519bu961fu4f0d\u524du540eu5343u91ccuff0cu65d7u9f13u76f8u671bu3002u4e1cu897fu4e07u91ccuff0cu6c34u9646u9f50u8fdbu3002u4e1cu664bu738bu671du5728u5f3au654cu538bu5883uff0cu9762u4e34u751fu6b7bu5b58u4ea1u7684u5371u6025u5173u5934uff0cu4ee5u4e1eu76f8u8c22u5b89u4e3au9996u7684u4e3bu6218u6d3eu51b3u610fu594bu8d77u62b5u5fa1u3002u6b64u4e3au6dddu6c34u4e4bu6218

  u4e2du56fdu662fu6709u7740u4e00u4e2au4e0au4e0bu4e94u5343u5e74u5386u53f2u7684u6cf1u6cf1u5927u56fduff0cu5386u53f2u4eceu672au4e2du65adu8fc7uff01u5f53u7136u4f34u968fu7740u8fd9u4e48u957fu7684u5386u53f2u80afu5b9au4e5fu5c11u4e0du4e86u6709u4e9bu8bb8u7684u6218u5f79uff0cu4ecau5929u5c31u5e26u5927u5bb6u76d8u70b9u4e00u4e0bu53e4u4ee3u8457u540du7684u6218u5f79uff01

  u957fu5e73u4e4bu6218uff1au6218u56fdu672bu5e74uff0cu5f3au5927u7684u79e6u56fdu4e0du65adu901au8fc7u6218u4e89uff0cu517cu5e76u4e1cu65b9u5404u56fduff0cu5176u7b2cu4e00u76eeu6807u4fbfu662fu90bbu8fd1u7684u97e9u56fdu3002u79e6u56fdu5c06u9886u767du8d77u8bbeu4f0fu5175u5305u56f4u8d75u62ecu519bu961fuff0cu5e76u622au65adu8d75u519bu7caeu9053uff0cu662du8944u738bu4eb2u81f3u6cb3u5185uff0cu6089u53d1u6210u5e74u7537u5b50u5230u957fu5e73u52a9u6218uff0cu8d75u519bu88abu56f4u56f046u5929uff0cu8349u7caeu65adu7edduff0cu767du8d77u6536u8d75u964du5175u56dbu5341u4f59u4e07uff0cu767du8d77u8ba4u4e3au8d75u5175u4e0du5fe0uff0cu591cu91ccu5751u6740u4e4buff0cu8d75u56fdu7ee7u800cu8870u843du3002u662fu4e3au957fu5e73u4e4bu6218uff01

  u8d64u58c1u4e4bu6218uff1au516cu5143208u5e74uff0cu4e09u56fdu5f62u6210u65f6u671fuff0cu5b59u6743u3001u5218u5907u8054u519bu5728u957fu6c5fu8d64u58c1(u4ecau6e56u5317u84b2u573bu897fu5317uff0cu4e00u8bf4u4ecau5609u9c7cu4e1cu5317)u4e00u5e26u5927u8d25u66f9u64cdu519bu961fuff0cu5960u5b9au4e09u56fdu9f0eu7acbu57fau7840u7684u8457u540du6218u5f79u3002u6b64u4e3au8d64u58c1u4e4bu6218u3002

  u6dddu6c34u4e4bu6218uff1au516cu5143383u5e74u82fbu575au4eb2u738790u4e07u5927u519bu4eceu957fu5b89u5357u4e0buff0cu540cu65f6uff0cu82fbu575au53c8u547du6893u6f7cu592au5b88u88f4u5143u7565u7387u6c34u5e087u4e07u4eceu5df4u8700u987au6d41u4e1cu4e0buff0cu5411u5efau5eb7u8fdbu519bu3002u8fd1u767eu4e07u884cu519bu961fu4f0d\u524du540eu5343u91ccuff0cu65d7u9f13u76f8u671bu3002u4e1cu897fu4e07u91ccuff0cu6c34u9646u9f50u8fdbu3002u4e1cu664bu738bu671du5728u5f3au654cu538bu5883uff0cu9762u4e34u751fu6b7bu5b58u4ea1u7684u5371u6025u5173u5934uff0cu4ee5u4e1eu76f8u8c22u5b89u4e3au9996u7684u4e3bu6218u6d3eu51b3u610fu594bu8d77u62b5u5fa1u3002u6b64u4e3au6dddu6c34u4e4bu6218).attr(t).hide();return a.each(e,function(e,t){a().hide(),c=a.extend({},this.param,{proxy:e.getConfig(proxy),callback:o,func:o}),h=n(c,{name:u,target:f,url:tthis.ajaxOpt.url});return window[o]=function(t){clearTimeout(i);var n;for(var s in t)t.hasOwnProperty(s)&&(n=decodeURIComponent(t[s]),n.match(/^({.*})([.*])$/)&&(n=a.parseJSON(n)),t[s]=n);r.resolve(t),e.events.trigger(receive.sync,t)},i=setTimeout(function(){r.reject({method:post,url:t,status:{status:0,statusText:post 请求超时}})},this.ajaxOpt.timeout),r.always(function(e){try{delete window[o]}catch(e){window[o]=null}}),a(document.body).append(l).append(h),a(h).submit(),r.then(this.done,e.utils.bind(this.fail,this))},done:s(0),fail:function(t){if(https==this.protocol&&http:==location.protocol&&e.getConfig(retryWithHttp,!0))returnsso==this.ajaxOpt.data.o&&getToken==this.ajaxOpt.data.m&&(f=!0),this.retryHttp(t);var n=a.Deferred();return n.reject({errno:999999,errmsg:string==a.type(t)?t:收集错误}),e.events.trigger(error.sync,t.urlthis.ajaxOpt.url),n.promise()},getDomainApi:function(e){return e=elocation.hostname.replace(/^(?:.+.)?(w+.w+)$/,$1),this.protocol+://login.+e},retryHttp:function(t){this.protocol=http,this.ajaxOpt.url=this.ajaxOpt.url.replace(/^https/,http),this.I360=请登录帐号}),t.promise()},e.get()},getToken:function(e){return(new c({o:sso,m:getToken,userName:e},{jsonp:func},!0)).get()},getUserInfo:function(t,n){var r=e.getConfig(headSize,100_100),i=e.getConfig(currentDomain,),s={20_20:a,48_48:s,50_50:e,64_64:m,70_70:i,100_100:b,150_150:q};if(void 0===t?t=!0:boolean!=a.type(t)&&(n=t,t=!1),t&&h&&void 0===n)return a.Deferred().resolve(h).promise();var o=new c({o:sso,m:info,show_name_flag:1,head_type:s[r]});return o.done=function(e){var t=a.Deferred();return e.qid?(void 0===n&&(h=e),t.resolve(e)):t.reject({errno:999999,errmsg:无奈获取登录形态}),t.promise()},e.getConfig(ignoreCookie)?o.get():i&&e.utils.getCookie(Q)?o.get(o.getDomainApi(i)):e.utils.getCookie(Q)?o.get(o.getDomainApi(n)):a.Deferred().reject(e.ERROR.NOT_SIGNED_IN).promise()},getUserSecInfo:function(e){var t=new c({crumb:e});return t.get(t.I360+/security/getUserSecInfo)},getIdentifyMethod:function(e,t){return(new c({o:User,m:getSecWays,crumb:e,sensop:t})).post()},getCaptchaUrl:function(t){var n=e.getConfig(captchaAppId,i360),r=new c({captchaScene:t,captchaApp:n});return r.get(r.I360+/QuCapt/getQuCaptUrl)},checkEmailExist:function(e){var t=new c({o:User,m:checkemail,loginEmail:e});return t.done=s(202),t.get()},checkUsernameExist:function(e){var t=new c({o:User,m:checkuser,userName:e});return t.done=s(1e4),t.get()},checkNicknameExist:function(e){var t=new c({o:User,m:checknickname,nickName:e});return t.done=s(259),t.get()},checkMobileNumberExist:function(e,t,n){var e=t?t+e:e;return n=n,(new c({o:User,m:checkmobile,mobile:e,type:n})).post()},checkEmailStatus:function(e){var t=new c({crumb:e});return t.get(t.I360+/active/checkLoginEmailStatus)},getMobileState:function(){return(new c({o:user,m:getStateList,quc_lang:})).get()},checkMobileLogin:function(e){return(new c({o:user,m:checkLoginMethod,acctype:2,lm:1,account:e})).get()},checkSignUpCaptchaRequired:function(){var t=new c({captchaApp:e.getConfig(captchaAppId,i360)});return t.get(t.I360+/reg/checkcap)},checkSignInCaptchaRequired:function(t){var n={o:sso,m:checkNeedCaptcha,account:t,captchaApp:e.getConfig(captchaAppId,i360)};return(new c(n)).get()},identify:function(e,t,n,i,s){var o={o:User,m:checkSecWay,crumb:e,vtype:n,sensop:t};returnpwd==n&&(i=r(i),o.captcha=s),o.vc=i,(new c(o,{},!0)).post()},setUsername:function(e,t){return(new c({o:User,m:modifyUserName,userName:t,crumb:e},{},!0)).post().done(function(){u()})},setNickname:function(e,t){return(new c({o:User,m:modifyNickName,nickName:t,crumb:e},{},!0)).post().done(function(){u()})},setEmail:function(e,t){var n=new c({crumb:e,loginEmail:t},{},!0);return n.post(n.I360+/active/doSetLoginEmail).done(function(){u()})},setSecEmail:function(e,t){var n=new c({crumb:e,secemail:t},{},!0);return n.post(n.I360+/profile/dosetsecemail).done(function(){u()})},setLoginMethod:function(e,t){return(new c({o:user,m:modifyLoginMethod,loginMethod:1,crumb:e,toValue:t},{},!0)).post().done(function(){u()})},setCookie:function(t,n){var r=e.getConfig(supportHttps,l),i=https==e.getConfig(protocol,null).toLowerCase();t=decodeURIComponent(t),void 0===n?n=e.getConfig(domainList,[]):a.isArray(n)(n=[n]);var s,o=[];return a.each(n,function(e,n){a.inArray(n,r)>

  ).hide(),c=a.extend({},this.param,{proxy:e.getConfig(proxy),callback:o,func:o}),h=n(c,{name:u,target:f,url:tthis.ajaxOpt.url});return window[o]=function(t){clearTimeout(i);var n;for(var s in t)t.hasOwnProperty(s)&&(n=decodeURIComponent(t[s]),n.match(/^({.*})([.*])$/)&&(n=a.parseJSON(n)),t[s]=n);r.resolve(t),e.events.trigger(receive.sync,t)},i=setTimeout(function(){r.reject({method:post,url:t,status:{status:0,statusText:post 请求超时}})},this.ajaxOpt.timeout),r.always(function(e){try{delete window[o]}catch(e){window[o]=null}}),a(document.body).append(l).append(h),a(h).submit(),r.then(this.done,e.utils.bind(this.fail,this))},done:s(0),fail:function(t){if(https==this.protocol&&http:==location.protocol&&e.getConfig(retryWithHttp,!0))returnsso==this.ajaxOpt.data.o&&getToken==this.ajaxOpt.data.m&&(f=!0),this.retryHttp(t);var n=a.Deferred();return n.reject({errno:999999,errmsg:string==a.type(t)?t:收集错误}),e.events.trigger(error.sync,t.urlthis.ajaxOpt.url),n.promise()},getDomainApi:function(e){return e=elocation.hostname.replace(/^(?:.+.)?(w+.w+)$/,$1),this.protocol+://login.+e},retryHttp:function(t){this.protocol=http,this.ajaxOpt.url=this.ajaxOpt.url.replace(/^https/,http),this.I360=请登录帐号}),t.promise()},e.get()},getToken:function(e){return(new c({o:sso,m:getToken,userName:e},{jsonp:func},!0)).get()},getUserInfo:function(t,n){var r=e.getConfig(headSize,100_100),i=e.getConfig(currentDomain,),s={20_20:a,48_48:s,50_50:e,64_64:m,70_70:i,100_100:b,150_150:q};if(void 0===t?t=!0:boolean!=a.type(t)&&(n=t,t=!1),t&&h&&void 0===n)return a.Deferred().resolve(h).promise();var o=new c({o:sso,m:info,show_name_flag:1,head_type:s[r]});return o.done=function(e){var t=a.Deferred();return e.qid?(void 0===n&&(h=e),t.resolve(e)):t.reject({errno:999999,errmsg:无奈获取登录形态}),t.promise()},e.getConfig(ignoreCookie)?o.get():i&&e.utils.getCookie(Q)?o.get(o.getDomainApi(i)):e.utils.getCookie(Q)?o.get(o.getDomainApi(n)):a.Deferred().reject(e.ERROR.NOT_SIGNED_IN).promise()},getUserSecInfo:function(e){var t=new c({crumb:e});return t.get(t.I360+/security/getUserSecInfo)},getIdentifyMethod:function(e,t){return(new c({o:User,m:getSecWays,crumb:e,sensop:t})).post()},getCaptchaUrl:function(t){var n=e.getConfig(captchaAppId,i360),r=new c({captchaScene:t,captchaApp:n});return r.get(r.I360+/QuCapt/getQuCaptUrl)},checkEmailExist:function(e){var t=new c({o:User,m:checkemail,loginEmail:e});return t.done=s(202),t.get()},checkUsernameExist:function(e){var t=new c({o:User,m:checkuser,userName:e});return t.done=s(1e4),t.get()},checkNicknameExist:function(e){var t=new c({o:User,m:checknickname,nickName:e});return t.done=s(259),t.get()},checkMobileNumberExist:function(e,t,n){var e=t?t+e:e;return n=n,(new c({o:User,m:checkmobile,mobile:e,type:n})).post()},checkEmailStatus:function(e){var t=new c({crumb:e});return t.get(t.I360+/active/checkLoginEmailStatus)},getMobileState:function(){return(new c({o:user,m:getStateList,quc_lang:})).get()},checkMobileLogin:function(e){return(new c({o:user,m:checkLoginMethod,acctype:2,lm:1,account:e})).get()},checkSignUpCaptchaRequired:function(){var t=new c({captchaApp:e.getConfig(captchaAppId,i360)});return t.get(t.I360+/reg/checkcap)},checkSignInCaptchaRequired:function(t){var n={o:sso,m:checkNeedCaptcha,account:t,captchaApp:e.getConfig(captchaAppId,i360)};return(new c(n)).get()},identify:function(e,t,n,i,s){var o={o:User,m:checkSecWay,crumb:e,vtype:n,sensop:t};returnpwd==n&&(i=r(i),o.captcha=s),o.vc=i,(new c(o,{},!0)).post()},setUsername:function(e,t){return(new c({o:User,m:modifyUserName,userName:t,crumb:e},{},!0)).post().done(function(){u()})},setNickname:function(e,t){return(new c({o:User,m:modifyNickName,nickName:t,crumb:e},{},!0)).post().done(function(){u()})},setEmail:function(e,t){var n=new c({crumb:e,loginEmail:t},{},!0);return n.post(n.I360+/active/doSetLoginEmail).done(function(){u()})},setSecEmail:function(e,t){var n=new c({crumb:e,secemail:t},{},!0);return n.post(n.I360+/profile/dosetsecemail).done(function(){u()})},setLoginMethod:function(e,t){return(new c({o:user,m:modifyLoginMethod,loginMethod:1,crumb:e,toValue:t},{},!0)).post().done(function(){u()})},setCookie:function(t,n){var r=e.getConfig(supportHttps,l),i=https==e.getConfig(protocol,null).toLowerCase();t=decodeURIComponent(t),void 0===n?n=e.getConfig(domainList,[]):a.isArray(n)(n=[n]);var s,o=[];return a.each(n,function(e,n){a.inArray(n,r)-1?(s=new c({o:sso,m:setcookie,s:t},{jsonp:func},!0),o.push(s.get(s.getDomainApi(n)))):i(s=new c({o:sso,m:setcookie,s:t},{jsonp:func}),o.push(s.get(s.getDomainApi(n))))}),a.when.apply(a,o)},sendSmsTokenNeedPhrase:function(e,t,n,r,i,s){var o=;returnboolean==typeof e&&(n=t,t=e,r=n,i=r,e=null),login==s?o=0:reg==s&&(o=2),(new c({o:User,m:sendSmsCodeNew,condition:t?1:2,account:n,crumb:e,sms_scene:o,captcha:r,vt:i})).post()},sendSmsToken:function(e,t,n,r){var i=;returnboolean==typeof e&&(n=t,t=e,e=null),object==typeof n&&(n=n.areaCode+n.mobileNumber),findpwd==r&&(i=1),(new c({o:User,m:sendSmsCode,condition:t?1:2,account:n,crumb:e,sms_scene:i})).post()},sendEmailToken:function(e,t){return(new c({o:User,m:sendEmsCode,condition:1,crumb:e,vtype:t})).post()},sendActivationEmail:function(e){var t=new c({crumb:e});return t.post(t.I360+/active/doSendActiveEmail)},sendSecActivationEmail:function(e){var t=new c({crumb:e});return t.post(t.I360+/profile/resendSecurityEmail)},sendSignUpActivationEmail:function(e){return(new c).get(e)},bindMobile:function(e,t,n){var t=t.areaCode+t.mobileNumber;return(new c({o:user,m:bindMobile,crumb:e,mobile:t,smscode:n},{},!0)).post().done(function(){u()})},signUp:function(t){var n={captchaFlag:!0,captchaApp:e.getConfig(captchaAppId,i360),smDeviceId:i()};t=a.extend(n,t),t.password=r(t.password),t.passwordAgain=r(t.passwordAgain)t.password,o(t,{emailActiveFlag:loginEmailActiveFlag,passwordAgain:rePassword,smsToken:smscode,nickname:nickName,username:userName,agreeLicence:is_agree});var s=new c(t,{},!0);return s.post(s.I360+/reg/doregAccount).done(function(){u()})},signIn:function(t){var n={o:sso,m:login,lm:mobile==t.type?1:0,captFlag:1,rtype:data,validatelm:e.getConfig(signIn.mobile.isMustUseMobileSignIn,!1)?1:0,isKeepAlive:!1,captchaApp:e.getConfig(captchaAppId,i360),userName:t.account,smDeviceId:i()};returnmobile==t.type?t.acctype=2:t.password=r(t.password),a.when().then(function(){return t.tokene.sync.getToken(t.account).done(function(e){t.token=e.token})}).then(function(){return(new c(a.extend(n,t),{},!0)).post().done(function(){u()})}).then(function(t){return e.sync.setCookie(t.s)}).then(function(){return e.getUserInfo(!1)})},signOut:function(t){var n=e.getConfig(supportHttps,l),r=https==e.getConfig(protocol,null).toLowerCase();void 0===t!0===t?t=e.getConfig(domainList,[]):a.isArray(t)(t=[t]);var i,s=[];return a.each(t,function(e,t){a.inArray(t,n)>

  -1?(s=new c({o:sso,m:setcookie,s:t},{jsonp:func},!0),o.push(s.get(s.getDomainApi(n)))):i(s=new c({o:sso,m:setcookie,s:t},{jsonp:func}),o.push(s.get(s.getDomainApi(n))))}),a.when.apply(a,o)},sendSmsTokenNeedPhrase:function(e,t,n,r,i,s){var o=;returnboolean==typeof e&&(n=t,t=e,r=n,i=r,e=null),login==s?o=0:reg==s&&(o=2),(new c({o:User,m:sendSmsCodeNew,condition:t?1:2,account:n,crumb:e,sms_scene:o,captcha:r,vt:i})).post()},sendSmsToken:function(e,t,n,r){var i=;returnboolean==typeof e&&(n=t,t=e,e=null),object==typeof n&&(n=n.areaCode+n.mobileNumber),findpwd==r&&(i=1),(new c({o:User,m:sendSmsCode,condition:t?1:2,account:n,crumb:e,sms_scene:i})).post()},sendEmailToken:function(e,t){return(new c({o:User,m:sendEmsCode,condition:1,crumb:e,vtype:t})).post()},sendActivationEmail:function(e){var t=new c({crumb:e});return t.post(t.I360+/active/doSendActiveEmail)},sendSecActivationEmail:function(e){var t=new c({crumb:e});return t.post(t.I360+/profile/resendSecurityEmail)},sendSignUpActivationEmail:function(e){return(new c).get(e)},bindMobile:function(e,t,n){var t=t.areaCode+t.mobileNumber;return(new c({o:user,m:bindMobile,crumb:e,mobile:t,smscode:n},{},!0)).post().done(function(){u()})},signUp:function(t){var n={captchaFlag:!0,captchaApp:e.getConfig(captchaAppId,i360),smDeviceId:i()};t=a.extend(n,t),t.password=r(t.password),t.passwordAgain=r(t.passwordAgain)t.password,o(t,{emailActiveFlag:loginEmailActiveFlag,passwordAgain:rePassword,smsToken:smscode,nickname:nickName,username:userName,agreeLicence:is_agree});var s=new c(t,{},!0);return s.post(s.I360+/reg/doregAccount).done(function(){u()})},signIn:function(t){var n={o:sso,m:login,lm:mobile==t.type?1:0,captFlag:1,rtype:data,validatelm:e.getConfig(signIn.mobile.isMustUseMobileSignIn,!1)?1:0,isKeepAlive:!1,captchaApp:e.getConfig(captchaAppId,i360),userName:t.account,smDeviceId:i()};returnmobile==t.type?t.acctype=2:t.password=r(t.password),a.when().then(function(){return t.tokene.sync.getToken(t.account).done(function(e){t.token=e.token})}).then(function(){return(new c(a.extend(n,t),{},!0)).post().done(function(){u()})}).then(function(t){return e.sync.setCookie(t.s)}).then(function(){return e.getUserInfo(!1)})},signOut:function(t){var n=e.getConfig(supportHttps,l),r=https==e.getConfig(protocol,null).toLowerCase();void 0===t!0===t?t=e.getConfig(domainList,[]):a.isArray(t)(t=[t]);var i,s=[];return a.each(t,function(e,t){a.inArray(t,n)-1?(i=new c({o:sso,m:logout},{jsonp:func},!0),s.push(i.get(i.getDomainApi(t)))):r(i=new c({o:sso,m:logout},{jsonp:func}),s.push(i.get(i.getDomainApi(t))))}),u(),a.when.apply(a,s)},fillProfile:function(e,t,n,i,s){return i=in,(new c({o:User,m:perfectInfo,crumb:e,userName:t,captcha:s,password:r(n),rePassword:r(i)},{},!0)).post().done(function(){u()})},perfectMobile:function(e,t,n,i){return(new c({o:user,m:perfectMobile,crumb:e,mobile:t,password:r(n),rePassword:r(n),smscode:i},{})).post()},checkQrCodeSignInStatus:function(){return(new c({o:sso,m:qrLogin},{jsonp:func})).get()},getAuthenticationStatus:function(e){return(new c({o:User,m:getShiMingStatus,crumb:e})).get()},submitAuthenMobile:function(e,t,n){return(new c({o:User,m:verifyShiMingCaptcha,mobile:e,captcha:t,crumb:n},{},!0)).post()},fillAuthenInfo:function(e,t,n){return(new c({o:User,m:verifyShiMingSmsCode,vt:e,vc:t,crumb:n},{},!0)).post()},authSendSmsToken:function(e,t){return(new c({o:User,m:sendShiMingSmsCode,crumb:e,vt:t},{},!0)).post()}};var p={};a.each(e.sync,function(t,n){var r=function(){var r=arguments[0],i=t+(a.isPlainObject(r)?e.utils.JSON.stringify(r):[].join.apply(arguments)),s=p[i];return s?p[i]:(s=p[i]=n.apply(e.sync,arguments),s.always(function(){delete p[i]}),s)};r.funcName=n.funcName=sync.+t,e.sync[t]=r})}(QHPass),function(e){use strict;var t=e.$,n={charset:document.charsetdocument.defaultCharsetdocument.characterSetUTF-8,domainList:[360pay.cn,so.com,haosou.com,360.cn,360.com,qiku.com,360shouji.com],protocol:location.protocol.replace(:,),proxy:location.protocol+//+location.host+/psp_jump.html,ignoreCookie:!1};e.getConfig=function(e,r){r=void 0!==r?r:null;for(var i,s=n,o=e.split(.);o.length>

  -1?(i=new c({o:sso,m:logout},{jsonp:func},!0),s.push(i.get(i.getDomainApi(t)))):r(i=new c({o:sso,m:logout},{jsonp:func}),s.push(i.get(i.getDomainApi(t))))}),u(),a.when.apply(a,s)},fillProfile:function(e,t,n,i,s){return i=in,(new c({o:User,m:perfectInfo,crumb:e,userName:t,captcha:s,password:r(n),rePassword:r(i)},{},!0)).post().done(function(){u()})},perfectMobile:function(e,t,n,i){return(new c({o:user,m:perfectMobile,crumb:e,mobile:t,password:r(n),rePassword:r(n),smscode:i},{})).post()},checkQrCodeSignInStatus:function(){return(new c({o:sso,m:qrLogin},{jsonp:func})).get()},getAuthenticationStatus:function(e){return(new c({o:User,m:getShiMingStatus,crumb:e})).get()},submitAuthenMobile:function(e,t,n){return(new c({o:User,m:verifyShiMingCaptcha,mobile:e,captcha:t,crumb:n},{},!0)).post()},fillAuthenInfo:function(e,t,n){return(new c({o:User,m:verifyShiMingSmsCode,vt:e,vc:t,crumb:n},{},!0)).post()},authSendSmsToken:function(e,t){return(new c({o:User,m:sendShiMingSmsCode,crumb:e,vt:t},{},!0)).post()}};var p={};a.each(e.sync,function(t,n){var r=function(){var r=arguments[0],i=t+(a.isPlainObject(r)?e.utils.JSON.stringify(r):[].join.apply(arguments)),s=p[i];return s?p[i]:(s=p[i]=n.apply(e.sync,arguments),s.always(function(){delete p[i]}),s)};r.funcName=n.funcName=sync.+t,e.sync[t]=r})}(QHPass),function(e){use strict;var t=e.$,n={charset:document.charsetdocument.defaultCharsetdocument.characterSetUTF-8,domainList:[360pay.cn,so.com,haosou.com,360.cn,360.com,qiku.com,360shouji.com],protocol:location.protocol.replace(:,),proxy:location.protocol+//+location.host+/psp_jump.html,ignoreCookie:!1};e.getConfig=function(e,r){r=void 0!==r?r:null;for(var i,s=n,o=e.split(.);o.length0;)if(i=o.shift(),0!=i.length){if(void 0===s[i]o.length>

  0;)if(i=o.shift(),0!=i.length){if(void 0===s[i]o.length0&&!t.isPlainObject(s[i]))return r;s=s[i]}return t.isPlainObject(s)?t.extend({},s):s},e.setConfig=function(i,s){if(!i)return e.events.trigger(warn.config,setConfig parameter key is null or undefined),e;if(t.isPlainObject(i))return r(!0,n,i),e;for(var o,u,a=n,f=i.split(.),l=!1;f.length>

  0&&!t.isPlainObject(s[i]))return r;s=s[i]}return t.isPlainObject(s)?t.extend({},s):s},e.setConfig=function(i,s){if(!i)return e.events.trigger(warn.config,setConfig parameter key is null or undefined),e;if(t.isPlainObject(i))return r(!0,n,i),e;for(var o,u,a=n,f=i.split(.),l=!1;f.length0;){if(u=f.shift(),void 0===a[u]&&(a[u]={}),!t.isPlainObject(a[u])&&f.length>

  0;){if(u=f.shift(),void 0===a[u]&&(a[u]={}),!t.isPlainObject(a[u])&&f.length0){l=!0;break}o=a,a=a[u]}return l?e.events.trigger(warn.config,setConfig cannot be set on +i):o[u]=s,e};var r=function(){var e,n,i,s,o,u=arguments[0]{},a=1,f=arguments.length,l=!1;for(boolean==typeof u&&(l=u,u=arguments[1]{},a=2),object==typeof ut.isFunction(u)(u={});a0},n.getGuid=function(){return r++},n.parseCallback=function(e){returnfunction==t.type(e)?e:!0===e?function(){location.reload()}:string==t.type(e)&&0===e.indexOf(http)?function(){location.href=e}:function(){}},n.setCookie=function(e,t,n){var r=new Date;n=void 0!==n?n:2,r.setTime(r.getTime()+864e5*n),document.cookie=e+=+encodeURIComponent(t)+;expires=+r.toGMTString()+;path=/},n.getCookie=function(e){var t=null,n=new RegExp((^ )+e+=([^;]*)(;$)),r=document.cookie.match(n);return r&&(t=decodeURIComponent(r[2])),t},n.throttle=function(e,t,n,r){var i,s,o,u=+(new Date),a=0,f=0,l=null,c=function(){f=u,e.apply(s,o)};return function(){u=+(new Date),s=this,o=arguments,i=u-(r?a:f)-t,clearTimeout(l),r?n?l=setTimeout(c,t):i>

  0},n.getGuid=function(){return r++},n.parseCallback=function(e){returnfunction==t.type(e)?e:!0===e?function(){location.reload()}:string==t.type(e)&&0===e.indexOf(http)?function(){location.href=e}:function(){}},n.setCookie=function(e,t,n){var r=new Date;n=void 0!==n?n:2,r.setTime(r.getTime()+864e5*n),document.cookie=e+=+encodeURIComponent(t)+;expires=+r.toGMTString()+;path=/},n.getCookie=function(e){var t=null,n=new RegExp((^ )+e+=([^;]*)(;$)),r=document.cookie.match(n);return r&&(t=decodeURIComponent(r[2])),t},n.throttle=function(e,t,n,r){var i,s,o,u=+(new Date),a=0,f=0,l=null,c=function(){f=u,e.apply(s,o)};return function(){u=+(new Date),s=this,o=arguments,i=u-(r?a:f)-t,clearTimeout(l),r?n?l=setTimeout(c,t):i=0?c():n&&(l=setTimeout(c,-i)),a=u}},n.debounce=function(e,t,r){return n.throttle(e,t,r,!0)},n.bind=function(e,n){if(e.bind&&e.bind===Function.prototype.bind)return e.bind(n);if(!t.isFunction(e))throw new TypeError;var r=[].slice.call(arguments,2),i=function(){var t=[].slice.apply(arguments);if(this instanceof i){var s=function(){};s.prototype=e.prototype;var o=new s;s.prototype=null;var u=e.apply(o,r.concat(t));return Object(u)===u?u:o}return e.apply(n,r.concat(t))};return i},n.initInputId=function(e){t(e).find(.quc-input:not([id])).each(function(e,r){var i=t(r),s=i.parent();if(s=LABEL==s[0].tagName?s:s.siblings(label),s.length){var o=quc_+i.attr(name)+_+n.getGuid();i.attr(id,o),s.attr(for,o)}})},n.selectText=function(e,n,r){var i=t(e),s=i.val().length;for(n=parseInt(n)0,r=parseInt(r)s;n).attr(src,o).hide();t(n.body).append(u),window[s]=function(){clearTimeout(a),delete r.object;var e=u[0].contentWindow,n=e.document,s=r.store=n.createElement(input);setTimeout(function(){s.addBehavior(#default#userData),n.body.appendChild(s),s.load(r.storeName),t.each(i.data,function(e,t){s.setAttribute(e,t)}),s.save(r.storeName)},30)};var a=setTimeout(function(){u.remove()},2e4)})}},set:function(e,t){this.object?this.object.set(e,t):(this.store.load(this.storeName),this.store.setAttribute(e,t),this.store.save(this.storeName))},get:function(e,t){if(this.object)return this.object.get(e,t);this.store.load(this.storeName);var n=this.store.getAttribute(e);return null!==n?n:t},remove:function(e){this.object?this.object.remove(e):this.store.removeAttribute(e)}},a={init:function(){this.data=this.data{}},set:function(e,t){this.data[e]=t},get:function(e,t){var n=this.data[e];return void 0!==n?n:t},remove:function(e){delete this.data[e]}},f=navigator.userAgent.toLowerCase(),l=f.match(/msie ([d.]+)/),c=l&&l[1],h=6==c7==c;e.utils.storage=function(e){var t;switch(e){default:caselocal:try{t=window.localStorage?r:h?u:a}catch(e){t=a}break;casesession:try{t=window.sessionStorage?i:a}catch(e){t=a}break;casecookie:t=o()?s:a;break;casepage:t=a}return t.init&&t.init(),t},h&&u.init()}(QHPass),function(e){use strict;var t=e.$,n=当即登录,r=e.ERROR={REALNAME_EMPTY:{errno:204,errmsg:请输入您的实在姓名},REALNAME_INVALID:{errno:227,errmsg:请确认您输入的实在姓名能否有误},ACCOUNT_EMPTY:{errno:1030,errmsg:请输入360帐号},ACCOUNT_INVALID:{errno:1035,errmsg:请确认您的帐号输入能否有误},ACCOUNT_DUPLICATE:{errno:1037,errmsg:该帐号曾经注册,+n},USERNAME_DUPLICATE:{errno:213,errmsg:用户名曾经被利用,+n},USERNAME_EMPTY:{errno:215,errmsg:请输入用户名},USERNAME_INAPPROPRIATE:{errno:225,ermsg:用户名蕴含不恰当内容},USERNAME_INVALID:{errno:199,errmsg:用户名应为2-14个字符,支撑中英文、数字或_},USERNAME_NUMBER:{errno:200,errmsg:用户名不克不及全为数字},NICKNAME_EMPTY:{errno:205,errmsg:请输入昵称},NICKNAME_DUPLICATE:{errno:260,errmsg:昵称曾经被利用},NICKNAME_INAPPROPRIATE:{errno:226,errmsg:昵称蕴含不恰当内容},NICKNAME_NUMBER:{errno:262,errmsg:昵称不克不及全数是数字},NICKNAME_INVALID:{errno:15e3,errmsg:昵称应为2-14个字符,支撑中英文、数字、_或.},EMAIL_EMPTY:{errno:203,errmsg:请输入邮箱},EMAIL_INVALID:{errno:1532,errmsg:邮箱格局有误},EMAIL_NOT_ACTIVATED:{errno:2e4},MOBILE_EMPTY:{errno:1107,errmsg:请输入手机号},MOBILE_INVALID:{errno:1100,errmsg:手机号格局有误},MOBILE_DUPLICATE:{errno:1106,errmsg:该手机号曾经注册,+n},CAPTCHA_INVALID:{errno:78e3,errmsg:验证码错误请从头输入},CAPTCHA_INVALID_OLD:{errno:1670,errmsg:验证码错误请从头输入},CAPTCHA_EMPTY:{errno:78002,errmsg:请输入验证码},CAPTCHA_APPID_INVALID:{errno:1300,errmsg:验证码格局有误},SMS_TOKEN_EMPTY:{errno:1350,errmsg:请输入校验码},SMS_TOKEN_INCORRECT:{errno:1351,errmsg:校验码输入有误},PASSWORD_EMPTY:{errno:211,errmsg:请输入暗码},PASSWORD_INVALID:{errno:1065,errmsg:暗码长度应为6-20个字符},PASSWORD_LEVEL_LOW:{errno:54999,errmsg:暗码平安级别过低},PASSWORD_WEAK:{errno:54999,errmsg:暗码弱,有危害,请从头输入},PASSWORD_ORDERED:{errno:54999,errmsg:暗码不克不及为持续字符},PASSWORD_CHAR_REPEAT:{errno:54999,errmsg:暗码不克不及全为不异字符},PASSWORD_WRONG:{errno:220,errmsg:登录暗码错误,请从头输入},PASSWORD_NOT_MATCH:{errno:1091,errmsg:两次暗码输入不分歧},PASSWORD_FULL_SHARP:{errno:54e3,errmsg:暗码不克不及蕴含中文字符,请从头设置},IDENTIFY_EXPIRE:{errno:153e3},NOT_SIGNED_IN:{errno:1501,errmsg:用户未登岸},UNKNOWN_ERROR:{errno:999999,errmsg:未知错误},SUCCESS:{errno:0,errmsg:操作顺利},TIME_OUT:{errno:1,errmsg:收集超时}},i=e.utils=e.utils{},s={1105:该手机号未注册360帐号,1402:手机号当天发送短信次数超限,201:该邮箱曾经注册,+n,3e4:该手机号曾经注册,请间接用手机号登录,30007:该手机号曾经注册,请间接用手机号登录,65002:该帐号未开启短信登录功效,当即开启,65001:该帐号只能通过短信登录,封闭此功效,221:帐号被封。

最新文章