if(string==r)return+e.replace(//g
发布时间:2019-04-01 14:52

  近期做了一个创意出来,成果分享:逆变器为12V正弦波逆变器,前级和后级采用隔离方式,DC12V输入,输出220V50HZ正弦波电压可以轻松带起感性负载,最大功率300W(足功率,峰值功率600W)。本产品是真正意义上的蓝牙逆变器,可以无线遥控逆变器,无线上传、下传数据!不是市面上的用个蓝牙MP3、蓝牙耳机加在逆变器里,那种蓝牙和逆变器没有关系。

  1、4位LED数码管显示:1)“t”温度显示2)“u”DC电压显示3)“P”输出功率显示 4)循环显示。(具体显示方式可以通过手机APP设置!)2、逆变器软启动功能1)2秒钟;2)1秒钟;3)0.7秒钟;4)0.35秒钟;5)取消软启动功能。(通过手机APP设置!)3、可以定时关机逆变器,最长能定时999分钟:如,定时30分钟,在30分钟后逆变器就自动关机。(通过手机APP设置!)

  4、可以定时关机和开机逆变器,定时开机最长999分钟关机最长999分钟:如,定时开20分钟关50分钟,逆变器就会开机20分钟后关闭,待关机50分钟后自动开机,一直循环。(通过手机APP设置!)5、逆变器在与蓝牙通讯距离范围内(10米),可以通过手机APP随时“打开”或者“关闭”逆变 器。(通过手机APP的“开”“关”按钮操作)

  6、手机APP上实时显示逆变器的DC电压、温度、输出功率等信息,用户一目了然,方便管理。7、逆变器的220V输出可以任意短路、长时间短路MOS不会发热(短路一天、一个月------)、因为短路电流是空载电流的一半这样(如:空载电流520ma,那么短路后的电流是280ma左右),可以短路开机,在短路期间蜂鸣器一直循环响2声报警,短路排除逆变器自动恢复输出。

  8、输入DC高压保护:输入电压大于15V时,自动关闭输出电压蜂鸣器一直循环响5声报警,待电压小于13V时自动恢复输出电压。9、输入DC低压保护:输入电压小于11V时,蜂鸣器一直循环响6声报警,小于10.5V时,自动关闭输出电压,待电压大于12V时自动恢复输出电压。10、温度保护:主板温度大于45度,风扇自动开启,温度大于80度时关闭输出电压,蜂鸣器一直循环响4声报警,待温度下降到45度时,自动恢复输出电压。

  11、过载保护(过流保护、过冲保护):逆变器的输出功率或者输出电流过大时(300W),逆变器连续5秒过载后,会自动关闭输出,蜂鸣器一直循环响3声报警。12、智能驱动风扇:温度达到45度以上或者负载超过100W时会立即启动风扇。13、输出电压可调,最低调到190V输出,最高可以调到270V输出,本逆变器的DC输入不可以反接,反接就会烧MOS管、保险丝等前级元件。

  1\u30014\u4f4dLED\u6570\u7801\u7ba1\u663e\u793a\uff1a1\uff09\u201ct\u201d\u6e29\u5ea6\u663e\u793a2\uff09\u201cu\u201dDC\u7535\u538b\u663e\u793a3\uff09\u201cP\u201d\u8f93\u51fa\u529f\u7387\u663e\u793a 4\uff09\u5faa\u73af\u663e\u793a\u3002\uff08\u5177\u4f53\u663e\u793a\u65b9\u5f0f\u53ef\u4ee5\u901a\u8fc7\u624b\u673aAPP\u8bbe\u7f6e\uff01\uff092\u3001\u9006\u53d8\u5668\u8f6f\u542f\u52a8\u529f\u80fd1\uff092\u79d2\u949f\uff1b2\uff091\u79d2\u949f\uff1b3\uff090.7\u79d2\u949f\uff1b4\uff090.35\u79d2\u949f\uff1b5\uff09\u53d6\u6d88\u8f6f\u542f\u52a8\u529f\u80fd\u3002\uff08\u901a\u8fc7\u624b\u673aAPP\u8bbe\u7f6e\uff01\uff093\u3001\u53ef\u4ee5\u5b9a\u65f6\u5173\u673a\u9006\u53d8\u5668\uff0c\u6700\u957f\u80fd\u5b9a\u65f6999\u5206\u949f\uff1a\u5982\uff0c\u5b9a\u65f630\u5206\u949f\uff0c\u572830\u5206\u949f\u540e\u9006\u53d8\u5668\u5c31\u81ea\u52a8\u5173\u673a\u3002\uff08\u901a\u8fc7\u624b\u673aAPP\u8bbe\u7f6e\uff01\uff09

  4\u3001\u53ef\u4ee5\u5b9a\u65f6\u5173\u673a\u548c\u5f00\u673a\u9006\u53d8\u5668\uff0c\u5b9a\u65f6\u5f00\u673a\u6700\u957f999\u5206\u949f\u5173\u673a\u6700\u957f999\u5206\u949f\uff1a\u5982\uff0c\u5b9a\u65f6\u5f0020\u5206\u949f\u517350\u5206\u949f\uff0c\u9006\u53d8\u5668\u5c31\u4f1a\u5f00\u673a20\u5206\u949f\u540e\u5173\u95ed\uff0c\u5f85\u5173\u673a50\u5206\u949f\u540e\u81ea\u52a8\u5f00\u673a\uff0c\u4e00\u76f4\u5faa\u73af\u3002\uff08\u901a\u8fc7\u624b\u673aAPP\u8bbe\u7f6e\uff01\uff095\u3001\u9006\u53d8\u5668\u5728\u4e0e\u84dd\u7259\u901a\u8baf\u8ddd\u79bb\u8303\u56f4\u5185\uff0810\u7c73\uff09\uff0c\u53ef\u4ee5\u901a\u8fc7\u624b\u673aAPP\u968f\u65f6\u201c\u6253\u5f00\u201d\u6216\u8005\u201c\u5173\u95ed\u201d\u9006\u53d8 \u5668\u3002\uff08\u901a\u8fc7\u624b\u673aAPP\u7684\u201c\u5f00\u201d\u201c\u5173\u201d\u6309\u94ae\u64cd\u4f5c\uff09

  6\u3001\u624b\u673aAPP\u4e0a\u5b9e\u65f6\u663e\u793a\u9006\u53d8\u5668\u7684DC\u7535\u538b\u3001\u6e29\u5ea6\u3001\u8f93\u51fa\u529f\u7387\u7b49\u4fe1\u606f\uff0c\u7528\u6237\u4e00\u76ee\u4e86\u7136\uff0c\u65b9\u4fbf\u7ba1\u7406\u30027\u3001\u9006\u53d8\u5668\u7684220V\u8f93\u51fa\u53ef\u4ee5\u4efb\u610f\u77ed\u8def\u3001\u957f\u65f6\u95f4\u77ed\u8defMOS\u4e0d\u4f1a\u53d1\u70ed\uff08\u77ed\u8def\u4e00\u5929\u3001\u4e00\u4e2a\u6708------\uff09\u3001\u56e0\u4e3a\u77ed\u8def\u7535\u6d41\u662f\u7a7a\u8f7d\u7535\u6d41\u7684\u4e00\u534a\u8fd9\u6837\uff08\u5982\uff1a\u7a7a\u8f7d\u7535\u6d41520ma\uff0c\u90a3\u4e48\u77ed\u8def\u540e\u7684\u7535\u6d41\u662f280ma\u5de6\u53f3\uff09\uff0c\u53ef\u4ee5\u77ed\u8def\u5f00\u673a\uff0c\u5728\u77ed\u8def\u671f\u95f4\u8702\u9e23\u5668\u4e00\u76f4\u5faa\u73af\u54cd2\u58f0\u62a5\u8b66\uff0c\u77ed\u8def\u6392\u9664\u9006\u53d8\u5668\u81ea\u52a8\u6062\u590d\u8f93\u51fa\u3002

  8\u3001\u8f93\u5165DC\u9ad8\u538b\u4fdd\u62a4\uff1a\u8f93\u5165\u7535\u538b\u5927\u4e8e15V\u65f6\uff0c\u81ea\u52a8\u5173\u95ed\u8f93\u51fa\u7535\u538b\u8702\u9e23\u5668\u4e00\u76f4\u5faa\u73af\u54cd5\u58f0\u62a5\u8b66\uff0c\u5f85\u7535\u538b\u5c0f\u4e8e13V\u65f6\u81ea\u52a8\u6062\u590d\u8f93\u51fa\u7535\u538b\u30029\u3001\u8f93\u5165DC\u4f4e\u538b\u4fdd\u62a4\uff1a\u8f93\u5165\u7535\u538b\u5c0f\u4e8e11V\u65f6\uff0c\u8702\u9e23\u5668\u4e00\u76f4\u5faa\u73af\u54cd6\u58f0\u62a5\u8b66\uff0c\u5c0f\u4e8e10.5V\u65f6\uff0c\u81ea\u52a8\u5173\u95ed\u8f93\u51fa\u7535\u538b\uff0c\u5f85\u7535\u538b\u5927\u4e8e12V\u65f6\u81ea\u52a8\u6062\u590d\u8f93\u51fa\u7535\u538b\u300210\u3001\u6e29\u5ea6\u4fdd\u62a4\uff1a\u4e3b\u677f\u6e29\u5ea6\u5927\u4e8e45\u5ea6\uff0c\u98ce\u6247\u81ea\u52a8\u5f00\u542f\uff0c\u6e29\u5ea6\u5927\u4e8e80\u5ea6\u65f6\u5173\u95ed\u8f93\u51fa\u7535\u538b\uff0c\u8702\u9e23\u5668\u4e00\u76f4\u5faa\u73af\u54cd4\u58f0\u62a5\u8b66\uff0c\u5f85\u6e29\u5ea6\u4e0b\u964d\u523045\u5ea6\u65f6\uff0c\u81ea\u52a8\u6062\u590d\u8f93\u51fa\u7535\u538b\u3002

  11\u3001\u8fc7\u8f7d\u4fdd\u62a4\uff08\u8fc7\u6d41\u4fdd\u62a4\u3001\u8fc7\u51b2\u4fdd\u62a4\uff09\uff1a\u9006\u53d8\u5668\u7684\u8f93\u51fa\u529f\u7387\u6216\u8005\u8f93\u51fa\u7535\u6d41\u8fc7\u5927\u65f6\uff08300W\uff09\uff0c\u9006\u53d8\u5668\u8fde\u7eed5\u79d2\u8fc7\u8f7d\u540e\uff0c\u4f1a\u81ea\u52a8\u5173\u95ed\u8f93\u51fa\uff0c\u8702\u9e23\u5668\u4e00\u76f4\u5faa\u73af\u54cd3\u58f0\u62a5\u8b66\u300212\u3001\u667a\u80fd\u9a71\u52a8\u98ce\u6247\uff1a\u6e29\u5ea6\u8fbe\u523045\u5ea6\u4ee5\u4e0a\u6216\u8005\u8d1f\u8f7d\u8d85\u8fc7100W\u65f6\u4f1a\u7acb\u5373\u542f\u52a8\u98ce\u6247\u300213\u3001\u8f93\u51fa\u7535\u538b\u53ef\u8c03\uff0c\u6700\u4f4e\u8c03\u5230190V\u8f93\u51fa\uff0c\u6700\u9ad8\u53ef\u4ee5\u8c03\u5230270V\u8f93\u51fa\uff0c\u672c\u9006\u53d8\u5668\u7684DC\u8f93\u5165\u4e0d\u53ef\u4ee5\u53cd\u63a5\uff0c\u53cd\u63a5\u5c31\u4f1a\u70e7MOS\u7ba1\u3001\u4fdd\u9669\u4e1d\u7b49\u524d\u7ea7\u5143\u4ef6\u3002

  ).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;n0;)n+=s;i.each(function(e,t){if(t.createtextrange){var i=t.createtextrange();i.collapse(!0),i.movestart(character,n),i.moveend(character,r),i.select()}else if(t.setselectionrange)t.setselectionrange(n,r);else{if(!t.selectionstart)return!1;t.selectionstart=n,t.selectionend=r}}),i.focus()},n.json={parse:t.parsejson,stringify:window.json&&json.stringify?json.stringify:function(e){var n=function(e){var r=typeof e,i=t.isarray(e);if(string==r)return+e.replace(//g,)+;if(number==rboolean==r)return e;if(it.isplainobject(e)){var s=t.map(e,function(e,t){return i?n(e):+t.tostring().replace(//g,)+:+n(e)}).join();return i?[+s+]:{+s+}}return null},r=n(e);return r&&r.tostring()}},n.support=t.extend({fixed:!1},t.support),t(function(){try{var e=t(document.body),r=t().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:该手机号已经注。