2019年 07月 13日 星期六


当前位置:PC蛋蛋 > 模具培训 > 模具培训

UG基础知识想学模具设计、编程的都看看

  针对许多入门UG的盆友而言,懂的某些小窍门是对学习培训ug模具设计或ug数控编程十分有益处的,下边就要网编简易详细介绍一下下,▪▲□◁ug初学者要学习培训的某些小窍门吧!

  左键挑选,中建确认。好几个物块要挑选的那时候立即左键挑选下来就能够,无须按着CTRL,shift+左键减掉选择对象,鼠标右键快捷菜单(短时间。廷时按鼠标右键挑选显示信息方式),挑选物块的那时候相互配合挑选过滤装置将事倍功半,当很多构造函数集中化时,能够左键按着廷时,△▪▲□△出現目录,在目录中挑选必须的构造函数。★-●=•▽按中建转动,旋轮缩放,shift+中建平移,左键+中建拖拽缩放,鼠标右键+中键拖放平移,鼠标右键快捷菜单中有设定(撤销)转动点,中键廷时按,★△◁◁▽▼出現方点后鼠标右键确认,也可设定设定选定点为转动点

  UG把座标系统软件分工作中座标系统软件和全局变量座标系统软件,全局变量座标是固定不动的,工作中座标也就是说当今选用的平面坐标,某些应用场景座标的指令全是选用当今座标(一部分指令能够挑选平面坐标通),•☆■▲当今座标能够选用座标指令灵便转换,可是模型树中不纪录那样的实际操作,对后边改动模具模型环节并不是非常好。并且UG挑选线的那时候一般会含有方位,近选择点为线的起止点,挑选方位的那时候近选择点为方位的对准点,当方位与愿意的方位相对时,●双击鼠标箭头符号可改方位

  现阶段UG仅适用256个图层,▼▲▲★-●熟练掌握每个指令针对善后工作很关键,特别是在是团队协作时更关键,△▪▲□△UG自顶向下设计方案中(也有工程图)至少某些作用将投射图层,▪•★要是图层规范不一样,将很对装配线D工程图的事件实际操作产生不便,置图层是1个繁杂的活,选用宏命令可处理此难题,还可以改模版,4之后版本号默认设置图层早已搞好了。图层专用工具—“在试着中看得见”指令融合工程图中的显示信息指令出工程图将事倍功半

  实际操作全部显示信息相关的选择项,清晰度、色调、网格、线框等,▲●…△有时在做精密模具面的那时候有时必须看UV线方位,必须显示信息UV线,可定义UV线框数量,可是不可以像SW相同参数化提取出去,UG有抽线指令(等主要参数曲线的那时候抽线不带主要参数,之前版本号在提取几何图形指令中抽线带主要参数

  草图生成器(试着)\再次粘附草图-----重新定义草图粘附面,此指令在中下游设计方案变更,而上下游必须转至中下游的那时候很便捷,此指令以前让俺感慨万千, 有多次设计方案一整套磨具,设计方案完后后,顾客说要在正中间加上1个构件构造,还行有此指令,在上下游添加此构造,全部设计方案更改草图粘附面后总体下挪

  在草图页面下,首选项\草图----能够设定全部草图绘图的页面特性.”保存规格”----在三维立体情况下,草图规格仍然存有(此选择项只能在草图页面的设定中才罢了改动),•●只有觉得不太好用,只是在必须键入许多关联的那时候,规格过多怕记不得才那样做,做了后还得藏起來真不便,◆◁•還是SW顺手一点儿,双击鼠标特点就可在三维立体中见到规格,挑选其他指令就掩藏。

  草图曲线图\关系点---用于界定不一样草图中的部位,当上中下游的草图必须对齐的那时候还真好使,一般還是喜爱运用座标来对齐的,有时未必能取到座标,运用线框间的规格约束力得话,可倒是能够,○▲-•■□就怕中下游设计方案变更的那时候改构造,◆▼并且偏要改到自个的引证构造函数,用关系点略微好点哦

  草图绘图时,草图约束力\全自动约束力---里边重叠选择项,一般用于查验重叠点是不是重叠(配合公差值),有时草图线框多了,□◁并且剪修了许多地区,或是是线框从Cad中变换回来的,•□▼◁▼接口处将会有小空隙,▪…□▷▷•必须合拼这种端点的那时候恰好用起,免得约束力或是中下游变更的那时候线乱串,根据改动尺寸公差还可以将错就错喽,◁☆●•○△仅仅尺寸公差变大,在大实体模型中显示信息小特点的那时候拆磨自个的双眼罢了。草绘情况下,草图生成器(试着)\再次精准定位----内有4个指令,熟练掌握,可重精准定位草图,此好多个指令熟练掌握能够非常好的精准定位之前绘图的图型。UG的草图后能够运用曲线图剪修,▼▼▽●▽●且能确保主要参数的传送,一般做相对路径的那时候必须采用断了的曲线图,▷•●模型树里能储存操作流程,改动实体模型便捷。

  \u5de6\u952e\u6311\u9009\uff0c\u4e2d\u5efa\u786e\u8ba4\u3002\u597d\u51e0\u4e2a\u7269\u5757\u8981\u6311\u9009\u7684\u90a3\u65f6\u5019\u7acb\u5373\u5de6\u952e\u6311\u9009\u4e0b\u6765\u5c31\u80fd\u591f,\u65e0\u987b\u6309\u7740CTRL\uff0cshift+\u5de6\u952e\u51cf\u6389\u9009\u62e9\u5bf9\u8c61\uff0c\u9f20\u6807\u53f3\u952e\u5feb\u6377\u83dc\u5355\uff08\u77ed\u65f6\u95f4\u3002\u5ef7\u65f6\u6309\u9f20\u6807\u53f3\u952e\u6311\u9009\u663e\u793a\u4fe1\u606f\u65b9\u5f0f\uff09\uff0c\u6311\u9009\u7269\u5757\u7684\u90a3\u65f6\u5019\u76f8\u4e92\u914d\u5408\u6311\u9009\u8fc7\u6ee4\u88c5\u7f6e\u5c06\u4e8b\u500d\u529f\u534a\uff0c\u5f53\u5f88\u591a\u6784\u9020\u51fd\u6570\u96c6\u4e2d\u5316\u65f6\uff0c\u80fd\u591f\u5de6\u952e\u6309\u7740\u5ef7\u65f6\uff0c\u51fa\u73fe\u76ee\u5f55\uff0c\u5728\u76ee\u5f55\u4e2d\u6311\u9009\u5fc5\u987b\u7684\u6784\u9020\u51fd\u6570\u3002\u6309\u4e2d\u5efa\u8f6c\u52a8\uff0c\u65cb\u8f6e\u7f29\u653e\uff0cshift+\u4e2d\u5efa\u5e73\u79fb\uff0c\u5de6\u952e+\u4e2d\u5efa\u62d6\u62fd\u7f29\u653e\uff0c\u9f20\u6807\u53f3\u952e+\u4e2d\u952e\u62d6\u653e\u5e73\u79fb\uff0c\u9f20\u6807\u53f3\u952e\u5feb\u6377\u83dc\u5355\u4e2d\u6709\u8bbe\u5b9a\uff08\u64a4\u9500\uff09\u8f6c\u52a8\u70b9\uff0c\u4e2d\u952e\u5ef7\u65f6\u6309\uff0c\u51fa\u73fe\u65b9\u70b9\u540e\u9f20\u6807\u53f3\u952e\u786e\u8ba4\uff0c\u4e5f\u53ef\u8bbe\u5b9a\u8bbe\u5b9a\u9009\u5b9a\u70b9\u4e3a\u8f6c\u52a8\u70b9

  UG\u628a\u5ea7\u6807\u7cfb\u7edf\u8f6f\u4ef6\u5206\u5de5\u4f5c\u4e2d\u5ea7\u6807\u7cfb\u7edf\u8f6f\u4ef6\u548c\u5168\u5c40\u53d8\u91cf\u5ea7\u6807\u7cfb\u7edf\u8f6f\u4ef6\uff0c\u5168\u5c40\u53d8\u91cf\u5ea7\u6807\u662f\u56fa\u5b9a\u4e0d\u52a8\u7684\uff0c\u5de5\u4f5c\u4e2d\u5ea7\u6807\u4e5f\u5c31\u662f\u8bf4\u5f53\u4eca\u9009\u7528\u7684\u5e73\u9762\u5750\u6807\uff0c\u67d0\u4e9b\u5e94\u7528\u573a\u666f\u5ea7\u6807\u7684\u6307\u4ee4\u5168\u662f\u9009\u7528\u5f53\u4eca\u5ea7\u6807\uff08\u4e00\u90e8\u5206\u6307\u4ee4\u80fd\u591f\u6311\u9009\u5e73\u9762\u5750\u6807\u901a\uff09\uff0c\u5f53\u4eca\u5ea7\u6807\u80fd\u591f\u9009\u7528\u5ea7\u6807\u6307\u4ee4\u7075\u4fbf\u8f6c\u6362\uff0c\u53ef\u662f\u6a21\u578b\u6811\u4e2d\u4e0d\u7eaa\u5f55\u90a3\u6837\u7684\u5b9e\u9645\u64cd\u4f5c\uff0c\u5bf9\u540e\u8fb9\u6539\u52a8\u6a21\u5177\u6a21\u578b\u73af\u8282\u5e76\u4e0d\u662f\u975e\u5e38\u597d\u3002\u5e76\u4e14UG\u6311\u9009\u7ebf\u7684\u90a3\u65f6\u5019\u4e00\u822c\u4f1a\u542b\u6709\u65b9\u4f4d\uff0c\u8fd1\u9009\u62e9\u70b9\u4e3a\u7ebf\u7684\u8d77\u6b62\u70b9\uff0c\u6311\u9009\u65b9\u4f4d\u7684\u90a3\u65f6\u5019\u8fd1\u9009\u62e9\u70b9\u4e3a\u65b9\u4f4d\u7684\u5bf9\u51c6\u70b9\uff0c\u5f53\u65b9\u4f4d\u4e0e\u613f\u610f\u7684\u65b9\u4f4d\u76f8\u5bf9\u65f6\uff0c\u53cc\u51fb\u9f20\u6807\u7bad\u5934\u7b26\u53f7\u53ef\u6539\u65b9\u4f4d

  \u73b0\u9636\u6bb5UG\u4ec5\u9002\u7528256\u4e2a\u56fe\u5c42\uff0c\u719f\u7ec3\u638c\u63e1\u6bcf\u4e2a\u6307\u4ee4\u9488\u5bf9\u5584\u540e\u5de5\u4f5c\u5f88\u5173\u952e\uff0c\u7279\u522b\u662f\u5728\u662f\u56e2\u961f\u534f\u4f5c\u65f6\u66f4\u5173\u952e\uff0cUG\u81ea\u9876\u5411\u4e0b\u8bbe\u8ba1\u65b9\u6848\u4e2d\uff08\u4e5f\u6709\u5de5\u7a0b\u56fe\uff09\u81f3\u5c11\u67d0\u4e9b\u4f5c\u7528\u5c06\u6295\u5c04\u56fe\u5c42\uff0c\u8981\u662f\u56fe\u5c42\u89c4\u8303\u4e0d\u4e00\u6837\uff0c\u5c06\u5f88\u5bf9\u88c5\u914d\u7ebf\u53ca\u51762D\u5de5\u7a0b\u56fe\u7684\u4e8b\u4ef6\u5b9e\u9645\u64cd\u4f5c\u4ea7\u751f\u4e0d\u4fbf\uff0c\u7f6e\u56fe\u5c42\u662f1\u4e2a\u7e41\u6742\u7684\u6d3b\uff0c\u9009\u7528\u5b8f\u547d\u4ee4\u53ef\u5904\u7406\u6b64\u96be\u9898\uff0c\u8fd8\u53ef\u4ee5\u6539\u6a21\u7248\uff0c4\u4e4b\u540e\u7248\u672c\u53f7\u9ed8\u8ba4\u8bbe\u7f6e\u56fe\u5c42\u65e9\u5df2\u641e\u597d\u4e86\u3002\u56fe\u5c42\u4e13\u7528\u5de5\u5177\u2014\u201c\u5728\u8bd5\u7740\u4e2d\u770b\u5f97\u89c1\u201d\u6307\u4ee4\u878d\u5408\u5de5\u7a0b\u56fe\u4e2d\u7684\u663e\u793a\u4fe1\u606f\u6307\u4ee4\u51fa\u5de5\u7a0b\u56fe\u5c06\u4e8b\u500d\u529f\u534a

  \u5b9e\u9645\u64cd\u4f5c\u5168\u90e8\u663e\u793a\u4fe1\u606f\u76f8\u5173\u7684\u9009\u62e9\u9879,\u6e05\u6670\u5ea6\u3001\u8272\u8c03\u3001\u7f51\u683c\u3001\u7ebf\u6846\u7b49\uff0c\u6709\u65f6\u5728\u505a\u7cbe\u5bc6\u6a21\u5177\u9762\u7684\u90a3\u65f6\u5019\u6709\u65f6\u5fc5\u987b\u770bUV\u7ebf\u65b9\u4f4d\uff0c\u5fc5\u987b\u663e\u793a\u4fe1\u606fUV\u7ebf\uff0c\u53ef\u5b9a\u4e49UV\u7ebf\u6846\u6570\u91cf\uff0c\u53ef\u662f\u4e0d\u53ef\u4ee5\u50cfSW\u76f8\u540c\u53c2\u6570\u5316\u63d0\u53d6\u51fa\u53bb\uff0cUG\u6709\u62bd\u7ebf\u6307\u4ee4\uff08\u7b49\u4e3b\u8981\u53c2\u6570\u66f2\u7ebf\u56fe\uff09\u53ef\u662f\u52305\u7684\u90a3\u65f6\u5019\u62bd\u7ebf\u4e0d\u5e26\u4e3b\u8981\u53c2\u6570\uff0c\u4e4b\u524d\u7248\u672c\u53f7\u5728\u63d0\u53d6\u51e0\u4f55\u56fe\u5f62\u6307\u4ee4\u4e2d\u62bd\u7ebf\u5e26\u4e3b\u8981\u53c2\u6570

  \u83b7\u5f97\u5927\u91cf\u6a21\u5177\u8bbe\u8ba1\u6750\u6599\uff0c\u80fd\u591f\u5173\u5fc3\u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\uff1a\u5851\u80f6\u6a21\u5177\u5b66\u4e60\u57f9\u8bad

  ).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:该手机号已经注。◆■◆●△▼●◇…=▲★▽…◇