group-app.94dfc3d3.js 22 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["group-app"],{"0124":function(e,t,r){e.exports=r.p+"img/page2Ele2.b9997e6a.png"},"017a":function(e,t,r){},"0361":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAeCAYAAADdGWXmAAAACXBIWXMAABcSAAAXEgFnn9JSAAALe2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIiB4bXA6Q3JlYXRvclRvb2w9IkFkb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3y5ssJJmhavXXmZWkuvXRnM3317NnULOE3ASQyoh4YFqA3+grqD0AhQAScxyHtIGEHyOqK4dnmTKm992FVjq+Syfx7035gq1FqAuGfJOXc4KCMjGonPg6Hy9xduBqbqvnF1qHYEdgR2BPY/gGkQUj5ADxdIrIW1W13OatOA4Rv+Qf1XU2th4iFM896TTQ2iRVebBosfkGpKuHkLxjgTD8Py6vJHfwI7Jf4lVtYgpgAAAABJRU5ErkJggg=="},"0581":function(e,t,r){e.exports=r.p+"img/page3Ele2.41ed9e71.png"},"0c371":function(e,t,r){e.exports=r.p+"img/page3Ele7.c6b1db4e.png"},"1b58":function(e,t,r){e.exports=r.p+"img/page4Ele4.31fb07da.png"},2024:function(e,t,r){},"2163d":function(e,t,r){e.exports=r.p+"img/page2Ele3.32616eaf.png"},"252d":function(e,t,r){e.exports=r.p+"img/page4Ele6.5d21e8ae.png"},"2b39":function(e,t,r){e.exports=r.p+"img/page1Ele2.7de3c613.png"},"2e72":function(e,t,r){e.exports=r.p+"img/page3Ele4.f73d4c4a.png"},3821:function(e,t,r){e.exports=r.p+"img/page4Ele2.35d49257.png"},3846:function(e,t,r){r("9e1e")&&"g"!=/./g.flags&&r("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:r("0bfb")})},"43cb":function(e,t,r){"use strict";r("017a")},"4b63":function(e,t,r){e.exports=r.p+"img/page3Ele6.3644b736.png"},"4e54":function(e,t,r){"use strict";r("2024")},5904:function(e,t,r){e.exports=r.p+"img/page2Back2.f5a4dc92.jpg"},"5d7c":function(e,t,r){e.exports=r.p+"img/page4Ele5.513f6d9d.png"},"659c":function(e,t,r){e.exports=r.p+"img/words.6e416c35.png"},"6b54":function(e,t,r){"use strict";r("3846");var s=r("cb7c"),i=r("0bfb"),a=r("9e1e"),n="toString",c=/./[n],o=function(e){r("2aba")(RegExp.prototype,n,e,!0)};r("79e5")((function(){return"/a/b"!=c.call({source:"a",flags:"b"})}))?o((function(){var e=s(this);return"/".concat(e.source,"/","flags"in e?e.flags:!a&&e instanceof RegExp?i.call(e):void 0)})):c.name!=n&&o((function(){return c.call(this)}))},"6c08":function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"start-index"},[1==e.pageIndex?s("div",{staticClass:"home-page"},[s("div",{staticClass:"middle-part"},[s("img",{attrs:{src:r("b276")}}),s("img",{attrs:{src:r("659c")}}),s("div",{staticClass:"input-form"},[s("div",[e._v(e._s(2==e.state.indexType?"注    册":"登    录"))]),1==e.state.indexType?s("div",{staticClass:"login-form"},[s("div",{staticClass:"input-log"},[s("img",{attrs:{src:r("d096")}}),s("input",{ref:"loginUsername",attrs:{type:"text",name:"username",placeholder:"请输入手机号",required:""}})]),s("div",{staticClass:"input-log"},[s("img",{attrs:{src:r("0361")}}),s("input",{ref:"loginPassword",attrs:{type:"password",name:"password",placeholder:"请输入密码",required:""}})]),s("div",{staticClass:"input-log check-code"},[s("img",{attrs:{src:r("0361")}}),s("input",{directives:[{name:"model",rawName:"v-model",value:e.check.inputCode,expression:"check.inputCode"}],attrs:{type:"text",name:"checkCode",placeholder:"请输入验证码",required:""},domProps:{value:e.check.inputCode},on:{input:function(t){t.target.composing||e.$set(e.check,"inputCode",t.target.value)}}}),s("RandomCode",{staticClass:"random-code",attrs:{randomType:3},on:{getCode:function(t){return e.getCode(t)}}}),e.check.codeError?s("i",{staticClass:"error"},[e._v("验证码错误")]):e._e()],1),s("div",{staticClass:"login-submit"},[s("el-button",{class:{noAllow:e.check.inputCode.toLowerCase()!==e.check.generateCode},attrs:{type:"primary",loading:e.loading,id:"loginBt1",disabled:e.check.inputCode.toLowerCase()!==e.check.generateCode},on:{click:function(t){return t.preventDefault(),e.submit.apply(null,arguments)}}},[e._v(e._s(e.loading?"请稍等":"登录"))])],1),e.error?s("i",{staticClass:"error"},[e._v("登录账号或密码错误")]):e._e(),e._m(0)]):e._e(),2==e.state.indexType?s("div",{staticClass:"login-form register",attrs:{name:"registerForm"}},[s("div",{staticClass:"input-log"},[s("img",{attrs:{src:r("d096")}}),s("input",{directives:[{name:"model",rawName:"v-model",value:e.reg.region,expression:"reg.region"}],attrs:{type:"text",name:"region",placeholder:"请输入校区",required:""},domProps:{value:e.reg.region},on:{input:function(t){t.target.composing||e.$set(e.reg,"region",t.target.value)}}}),e.check.schoolError&&""==e.reg.region?s("i",{staticClass:"error"},[e._v("校区不能为空")]):e._e()]),s("div",{staticClass:"input-log"},[s("img",{attrs:{src:r("d096")}}),s("input",{directives:[{name:"model",rawName:"v-model",value:e.reg.name,expression:"reg.name"}],attrs:{type:"text",name:"name",placeholder:"请输入考生姓名",required:""},domProps:{value:e.reg.name},on:{input:function(t){t.target.composing||e.$set(e.reg,"name",t.target.value)}}}),e.check.nameError&&""==e.reg.name?s("i",{staticClass:"error"},[e._v("考生姓名不能为空")]):e._e()]),s("div",{staticClass:"input-log"},[s("img",{attrs:{src:r("d096")}}),s("input",{directives:[{name:"model",rawName:"v-model",value:e.reg.username,expression:"reg.username"}],attrs:{type:"text",name:"regName",placeholder:"请输入手机号",required:""},domProps:{value:e.reg.username},on:{input:function(t){t.target.composing||e.$set(e.reg,"username",t.target.value)}}}),e.check.userAlready?s("i",{staticClass:"error"},[e._v("该号码已使用")]):e._e(),e.check.phoneError&&""==e.reg.username?s("i",{staticClass:"error"},[e._v("手机号不能为空")]):e._e()]),s("div",{staticClass:"input-log"},[s("img",{attrs:{src:r("0361")}}),s("input",{directives:[{name:"model",rawName:"v-model",value:e.reg.password,expression:"reg.password"}],attrs:{type:"password",name:"regPass",placeholder:"请设置密码(6-16位)",required:""},domProps:{value:e.reg.password},on:{input:function(t){t.target.composing||e.$set(e.reg,"password",t.target.value)}}}),e.check.passwordError&&""==e.reg.password?s("i",{staticClass:"error"},[e._v("密码不能为空")]):e._e()]),s("div",{staticClass:"input-log"},[s("img",{attrs:{src:r("0361")}}),s("input",{directives:[{name:"model",rawName:"v-model",value:e.reg.passwordConfirm,expression:"reg.passwordConfirm"}],attrs:{type:"password",name:"regPassConfirm",placeholder:"确认密码",required:""},domProps:{value:e.reg.passwordConfirm},on:{input:function(t){t.target.composing||e.$set(e.reg,"passwordConfirm",t.target.value)}}}),e.check.checkPassWrong?s("i",{staticClass:"error"},[e._v("确认密码不相同")]):e._e()]),s("div",{staticClass:"login-submit"},[s("el-button",{attrs:{type:"primary",loading:e.loading,id:"regButton",disabled:e.reg.password!==e.reg.passwordConfirm||e.check.userAlready},on:{click:function(t){return t.preventDefault(),e.registerNew.apply(null,arguments)}}},[e._v("\r\n "+e._s(e.loading?"请稍等":"注册")+"\r\n ")])],1)]):e._e()]),e._m(1)])]):e._e(),2==e.pageIndex?s("div",{staticClass:"second-page"},[s("el-carousel",{ref:"carousel",attrs:{height:"100%",direction:"vertical",interval:5e3},on:{change:e.changeCarousel}},[s("el-carousel-item",[s("p",[e._v("找  到  真  正  的  方  向")]),s("p",[e._v("DETERMINE AND REVIEW")]),s("p",[e._v("爻象能力诊断")]),s("button",{on:{click:function(t){e.pageIndex=1,e.state.indexType=1}}},[s("p",[e._v("登录体验")]),s("i"),s("i")]),s("img",{attrs:{src:r("f93c")}}),s("img",{attrs:{src:r("f93c")}}),s("img",{attrs:{src:r("2b39")}}),s("img",{attrs:{src:r("2b39")}}),s("img",{attrs:{src:r("2b39")}}),s("img",{attrs:{src:r("2b39")}})]),s("el-carousel-item",[s("img",{attrs:{src:r("8880")}}),s("img",{attrs:{src:r("5904")}}),s("p",[e._v("爻 象 诊 断")]),s("ul",[s("li",[s("img",{attrs:{src:r("f00e")}}),s("p",[e._v("理念")]),s("p",[e._v("为中国学生提供最全面、最权威的学习问题诊断和学习能力测评服务!")])]),s("li",[s("img",{attrs:{src:r("0124")}}),s("p",[e._v("团队")]),s("p",[e._v("一支掌握先进诊断测评技术和丰富教学经验的团队!")])]),s("li",[s("img",{attrs:{src:r("2163d")}}),s("p",[e._v("价值")]),s("p",[e._v("将最前沿的诊断测评技术和中国学生的学习情况相结合,精准诊断学生的学科问题,测评学生学习能力等级。")])])])]),s("el-carousel-item",[s("p",[s("img",{attrs:{src:r("0c371")}}),e._v("大 能 力 全 面 评 价")]),s("ul",[s("li",[s("img",{attrs:{src:r("a5c1")}}),s("p",[e._v("计 算 与 操 作")])]),s("li",[s("img",{attrs:{src:r("0581")}}),s("p",[e._v("语 言 理 解")])]),s("li",[s("img",{attrs:{src:r("c196")}}),s("p",[e._v("归 纳 类 比")])])]),s("ul",[s("li",[s("img",{attrs:{src:r("2e72")}}),s("p",[e._v("转 化 迁 移")])]),s("li",[s("img",{attrs:{src:r("8650")}}),s("p",[e._v("空 间 想 象")])]),s("li",[s("img",{attrs:{src:r("4b63")}}),s("p",[e._v("逻 辑 推 理")])])])]),s("el-carousel-item",[s("p",[e._v("诊 断 案 例")]),s("ul",[s("li",[s("img",{attrs:{src:r("b1b7")}})]),s("li",[s("img",{attrs:{src:r("3821")}})]),s("li",[s("img",{attrs:{src:r("736a")}})])]),s("ul",[s("li",[s("img",{attrs:{src:r("1b58")}})]),s("li",[s("img",{attrs:{src:r("5d7c")}})]),s("li",[s("img",{attrs:{src:r("252d")}})])]),s("div",[s("p",[e._v("©2019 爻象诊断 版权所有")])])])],1)],1):e._e(),s("div",{staticClass:"top-part"},[e._m(2),s("ul",{class:{black:2==e.pageIndex&&0!=e.state.carouselIndex||e.pageIndex>2}})])])},i=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("p",[r("a",[e._v("忘记密码?")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("p",[e._v("@2019-2020 yaoxiangedu.com "),r("a",{attrs:{href:"http://beian.miit.gov.cn/",target:"_blank"}},[e._v("粤ICP备19011669号")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("p",[r("br")])}],a=(r("7f7f"),r("a481"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("canvas",{ref:"cav",attrs:{width:"100",height:"40",id:"randomCode",title:"看不清,换一张"},on:{click:function(t){return e.getRandomCode()}}})])}),n=[],c=r("f6ff"),o=c["a"],l=r("2877"),p=Object(l["a"])(o,a,n,!1,null,null,null),d=p.exports,m=r("7ded"),g={components:{RandomCode:d},data:function(){return{pageIndex:1,state:{indexType:1,carouselIndex:0},check:{inputCode:"",generateCode:"",codeError:!1,schoolError:!1,nameError:!1,phoneError:!1,passwordError:!1,checkPassWrong:!1,userAlready:!1},reg:{region:"",name:"",username:"",password:""},error:!1,loading:!1}},created:function(){this.state.indexType="register"==this.$route.query.reg?2:1;var e=this;document.onkeypress=function(t){var r;if(!t)window.event;t.keyCode?r=t.keyCode:t.which&&(r=t.which),13==r&&(2!=e.state.indexType||e.reg.password!=e.reg.passwordConfirm||e.check.userAlready?e.check.inputCode.toLowerCase()==e.check.generateCode&&e.submit():e.registerNew())}},watch:{"check.inputCode":function(e){this.checkCodeValue()},"reg.username":function(){this.checkUser()},"reg.passwordConfirm":function(){this.checkConfirm()}},mounted:function(){},methods:{checkCodeValue:function(){this.check.inputCode&&this.check.inputCode.length>=this.check.generateCode.length?this.check.codeError=this.check.inputCode.toLowerCase()!==this.check.generateCode:this.check.codeError=!1},getCode:function(e){e&&(this.check.generateCode=e)},checkConfirm:function(){this.reg.password&&this.reg.passwordConfirm&&this.reg.passwordConfirm.length>=this.reg.password.length?this.check.checkPassWrong=this.reg.passwordConfirm!==this.reg.password:this.check.checkPassWrong=!1},checkUser:function(){var e=this;Object(m["a"])(this.reg.username).then((function(t){e.check.userAlready=!t}))},submit:function(){var e=this;this.$refs.loginUsername.value&&this.$refs.loginPassword.value?(this.loading=!0,Object(m["c"])({username:this.$refs.loginUsername.value.trim(),password:this.$refs.loginPassword.value,loginFrom:"student"}).then((function(t){t&&"1"==t.ok?e.$router.replace({name:"App"}):e.error=!0,e.loading=!1}),(function(){e.error=!0,e.loading=!1}))):this.error=!0},registerNew:function(){var e=this;this.reg.region?this.reg.name?this.reg.username?this.reg.password?(this.loading=!0,Object(m["e"])(this.reg).then((function(t){t&&(e.$alert("注册成功","提示",{confirmButtonText:"确定"}),e.state.indexType=1,e.loading=!1)}),(function(){e.$alert("注册失败","提示",{confirmButtonText:"确定"}),e.loading=!1}))):this.check.passwordError=!0:this.check.phoneError=!0:this.check.nameError=!0:this.check.schoolError=!0},changeCarousel:function(e){this.state.carouselIndex=e},handleScroll:function(e){2==this.pageIndex&&(void 0!=e.wheelDelta?e.wheelDelta>0?this.$refs.carousel.prev():this.$refs.carousel.next():e.detail>0?this.$refs.carousel.next():this.$refs.carousel.prev())}},beforeDestroy:function(){}},h=g,u=(r("e810"),r("43cb"),Object(l["a"])(h,s,i,!1,null,"0232d668",null));t["default"]=u.exports},"736a":function(e,t,r){e.exports=r.p+"img/page4Ele3.55b09769.png"},"7f7f":function(e,t,r){var s=r("86cc").f,i=Function.prototype,a=/^\s*function ([^ (]*)/,n="name";n in i||r("9e1e")&&s(i,n,{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(e){return""}}})},8650:function(e,t,r){e.exports=r.p+"img/page3Ele5.b0c7fc88.png"},8880:function(e,t,r){e.exports=r.p+"img/page2Back1.d079756f.jpg"},a5c1:function(e,t,r){e.exports=r.p+"img/page3Ele1.68d93f86.png"},b1b7:function(e,t,r){e.exports=r.p+"img/page4Ele1.88f27f62.png"},b276:function(e,t,r){e.exports=r.p+"img/elephant.568d921d.png"},c196:function(e,t,r){e.exports=r.p+"img/page3Ele3.93123405.png"},d096:function(e,t,r){e.exports=r.p+"img/iconUser.e47ece08.png"},f00e:function(e,t,r){e.exports=r.p+"img/page2Ele1.f489cfbb.png"},f6ff:function(module,__webpack_exports__,__webpack_require__){"use strict";var core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("6b54"),core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("c5f6"),core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_1__);__webpack_exports__["a"]={components:{},props:{randomType:{type:Number,default:1}},data:function(){return{canvas:{},width:0,height:0,x:0,y:0,cvs:{},color:"#333",str:"",colors:["#247ad6","#3c763d","#a94442","#e02b28","#333"]}},created:function(){},mounted:function(){this.canvas=this.$refs.cav,this.width=this.canvas.width,this.height=this.canvas.height,this.x=this.width/5,this.y=this.height/2,this.cvs=this.canvas.getContext("2d"),this.cvs.font="25px bold sans-serif",this.getRandomCode()},methods:{getRandomCode:function(){this.NumberOrvarter(),this.disturb(),this.$emit("getCode",this.str.toLowerCase())},getNumber:function(){this.cvs.clearRect(0,0,this.width,this.height),this.str="";for(var e=1;e<5;e++){var t=parseInt(10*Math.random());this.str+=t,this.draw({text:t,x:this.x*e,y:this.y})}},getvarter:function(){this.cvs.clearRect(0,0,this.width,this.height),this.str="";for(var e=1;e<5;e++){var t=String.fromCharCode(65+parseInt(26*Math.random()));this.str+=t,this.draw({text:t,x:this.x*e,y:this.y})}},NumberOrvarter:function(){this.cvs.clearRect(0,0,this.width,this.height),this.str="";for(var e=1;e<5;e++){var t=parseInt(10*Math.random()),r=t>5?String.fromCharCode(65+parseInt(26*Math.random())):parseInt(10*Math.random());this.str+=r,this.draw({text:r,x:this.x*e,y:this.y})}},character:function character(){this.cvs.clearRect(0,0,this.width,this.height),this.str="";for(var i=1;i<5;i++){var str=eval('"\\u'+(Math.round(20901*Math.random())+19968).toString(16)+'"');this.str+=str,this.draw({text:str,x:this.x*i,y:this.y})}},disturb:function(){for(var e=0;e<500;e++){var t={x:parseInt(Math.random()*this.width),y:parseInt(Math.random()*this.height)};this.cvs.beginPath(),this.cvs.moveTo(t.x,t.y),this.cvs.lineTo(t.x+1,t.y+1),this.cvs.strokeStyle=this.colors[Math.round(5*Math.random())]||"red",this.cvs.stroke(),this.cvs.closePath()}},draw:function(e){this.cvs.save(),this.cvs.beginPath(),this.cvs.fillStyle=this.colors[Math.round(5*Math.random())]||"#333",this.cvs.textAlign="center",this.cvs.textBaseline="middle",this.cvs.font="25px bold sans-serif",this.cvs.translate(e.x,e.y);var t=Math.PI/6*Math.random()*(-1*Math.round(10*Math.random())%2+0);this.cvs.rotate(t),this.cvs.translate(-e.x,-e.y),this.cvs.fillText(e.text,e.x,e.y),this.cvs.closePath(),this.cvs.restore()}}}},f93c:function(e,t,r){e.exports=r.p+"img/page1Ele1.3600eb4e.png"},fb03:function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},i=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"notfound"},[r("div",{staticClass:"error"},[r("span",[e._v("Page not found")]),r("span",[e._v("404")]),r("span")]),r("div",{staticClass:"sun"})])}],a=(r("4e54"),r("2877")),n={},c=Object(a["a"])(n,s,i,!1,null,"6d0357e8",null);t["default"]=c.exports}}]);