chunk-7df16b0b.16a4a2c6.js 27 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-7df16b0b"],{1148:function(e,t,i){"use strict";var n=i("5926"),o=i("577e"),s=i("1d80"),r=RangeError;e.exports=function(e){var t=o(s(this)),i="",a=n(e);if(a<0||a===1/0)throw new r("Wrong number of repetitions");for(;0<a;(a>>>=1)&&(t+=t))1&a&&(i+=t);return i}},"318e":function(e,t,i){"use strict";i.r(t);var n=i("5530"),o=i("c7eb"),s=i("1da1"),r=(i("b0c0"),i("14d9"),i("d3b7"),i("159b"),i("5723")),a=i("42e3"),c=i("c276"),l=(i("7daa"),i("a9e3"),i("25f0"),i("a15b"),i("ac1f"),i("5319"),i("e9c4"),i("b680"),i("3452")),h=i.n(l);function u(e,t){return t=h.a.enc.Utf8.parse(1<arguments.length&&void 0!==t?t:"XwKsGlMcdPMEhR1B"),e=h.a.enc.Utf8.parse(e),h.a.AES.encrypt(e,t,{mode:h.a.mode.ECB,padding:h.a.pad.Pkcs7}).toString()}function d(e){var t=e.$el.parentNode.offsetWidth||window.offsetWidth,i=e.$el.parentNode.offsetHeight||window.offsetHeight,n=-1!=e.imgSize.width.indexOf("%")?parseInt(this.imgSize.width)/100*t+"px":this.imgSize.width,o=-1!=e.imgSize.height.indexOf("%")?parseInt(this.imgSize.height)/100*i+"px":this.imgSize.height;t=-1!=e.barSize.width.indexOf("%")?parseInt(this.barSize.width)/100*t+"px":this.barSize.width,e=-1!=e.barSize.height.indexOf("%")?parseInt(this.barSize.height)/100*i+"px":this.barSize.height;return{imgWidth:n,imgHeight:o,barWidth:t,barHeight:e}}var f=i("2934"),m=(l={name:"VerifySlide",props:{captchaType:{type:String},type:{type:String,default:"1"},mode:{type:String,default:"fixed"},vSpace:{type:Number,default:5},explain:{type:String,default:"向右滑动完成验证"},imgSize:{type:Object,default:function(){return{width:"310px",height:"155px"}}},blockSize:{type:Object,default:function(){return{width:"50px",height:"50px"}}},barSize:{type:Object,default:function(){return{width:"310px",height:"40px"}}},defaultImg:{type:String,default:""}},data:function(){return{secretKey:"",passFlag:"",backImgBase:"",blockBackImgBase:"",backToken:"",startMoveTime:"",endMovetime:"",tipsBackColor:"",tipWords:"",text:"",finishText:"",setSize:{imgHeight:0,imgWidth:0,barHeight:0,barWidth:0},top:0,left:0,moveBlockLeft:void 0,leftBarWidth:void 0,moveBlockBackgroundColor:void 0,leftBarBorderColor:"#ddd",iconColor:void 0,iconClass:"icon-right",status:!1,isEnd:!1,showRefresh:!0,transitionLeft:"",transitionWidth:""}},computed:{barArea:function(){return this.$el.querySelector(".verify-bar-area")},resetSize:function(){return d}},watch:{type:{immediate:!0,handler:function(){this.init()}}},mounted:function(){this.$el.onselectstart=function(){return!1}},methods:{init:function(){var e=this,t=(this.text=this.explain,this.getPictrue(),this.$nextTick((function(){var t,i=e.resetSize(e);for(t in i)e.$set(e.setSize,t,i[t]);e.$parent.$emit("ready",e)})),this);window.removeEventListener("touchmove",(function(e){t.move(e)})),window.removeEventListener("mousemove",(function(e){t.move(e)})),window.removeEventListener("touchend",(function(){t.end()})),window.removeEventListener("mouseup",(function(){t.end()})),window.addEventListener("touchmove",(function(e){t.move(e)})),window.addEventListener("mousemove",(function(e){t.move(e)})),window.addEventListener("touchend",(function(){t.end()})),window.addEventListener("mouseup",(function(){t.end()}))},start:function(e){var t;t=(e=e||window.event).touches?e.touches[0].pageX:e.clientX,this.startLeft=Math.floor(t-this.barArea.getBoundingClientRect().left),this.startMoveTime=+new Date,0==this.isEnd&&(this.text="",this.moveBlockBackgroundColor="#337ab7",this.leftBarBorderColor="#337AB7",this.iconColor="#fff",e.stopPropagation(),this.status=!0)},move:function(e){e=e||window.event,this.status&&0==this.isEnd&&((e=(e=(e.touches?e.touches[0].pageX:e.clientX)-this.barArea.getBoundingClientRect().left)>=this.barArea.offsetWidth-parseInt(parseInt(this.blockSize.width)/2)-2?this.barArea.offsetWidth-parseInt(parseInt(this.blockSize.width)/2)-2:e)<=0&&(e=parseInt(parseInt(this.blockSize.width)/2)),this.moveBlockLeft=e-this.startLeft+"px",this.leftBarWidth=e-this.startLeft+"px")},end:function(){var e,t,i=this,n=(this.endMovetime=+new Date,this);this.status&&0==this.isEnd&&(e=310*(e=parseInt((this.moveBlockLeft||"").replace("px","")))/parseInt(this.setSize.imgWidth),t={captchaType:this.captchaType,pointJson:this.secretKey?u(JSON.stringify({x:e,y:5}),this.secretKey):JSON.stringify({x:e,y:5}),token:this.backToken},Object(f.b)(t).then((function(t){i.moveBlockBackgroundColor="#5cb85c",i.leftBarBorderColor="#5cb85c",i.iconColor="#fff",i.iconClass="icon-check",i.showRefresh=!1,i.isEnd=!0,"pop"==i.mode&&setTimeout((function(){i.$parent.clickShow=!1,i.refresh()}),1500),i.passFlag=!0,i.tipWords="".concat(((i.endMovetime-i.startMoveTime)/1e3).toFixed(2),"s验证成功");var n=i.secretKey?u(i.backToken+"---"+JSON.stringify({x:e,y:5}),i.secretKey):i.backToken+"---"+JSON.stringify({x:e,y:5});setTimeout((function(){i.tipWords="",i.$parent.closeBox(),i.$parent.$emit("success",{captchaVerification:n})}),1e3)})).catch((function(e){i.moveBlockBackgroundColor="#d9534f",i.leftBarBorderColor="#d9534f",i.iconColor="#fff",i.iconClass="icon-close",i.passFlag=!1,setTimeout((function(){n.refresh()}),1e3),i.$parent.$emit("error",i),i.tipWords="验证失败",setTimeout((function(){i.tipWords=""}),1e3)})),this.status=!1)},refresh:function(){var e=this;this.showRefresh=!0,this.finishText="",this.transitionLeft="left .3s",this.moveBlockLeft=0,this.leftBarWidth=void 0,this.transitionWidth="width .3s",this.leftBarBorderColor="#ddd",this.moveBlockBackgroundColor="#fff",this.iconColor="#000",this.iconClass="icon-right",this.isEnd=!1,this.getPictrue(),setTimeout((function(){e.transitionWidth="",e.transitionLeft="",e.text=e.explain}),300)},getPictrue:function(){var e=this,t={captchaType:this.captchaType,clientUid:localStorage.getItem("slider"),ts:Date.now()};Object(f.a)(t).then((function(t){e.backImgBase=t.data.originalImageBase64,e.blockBackImgBase=t.data.jigsawImageBase64,e.backToken=t.data.token,e.secretKey=t.data.secretKey})).catch((function(t){e.tipWords=t.msg,e.backImgBase=null,e.blockBackImgBase=null}))}}},i("2877")),p=(l=Object(m.a)(l,(function(){var e=this,t=e._self._c;return t("div",{staticStyle:{position:"relative"}},["2"===e.type?t("div",{staticClass:"verify-img-out",style:{height:parseInt(e.setSize.imgHeight)+e.vSpace+"px"}},[t("div",{staticClass:"verify-img-panel",style:{width:e.setSize.imgWidth,height:e.setSize.imgHeight}},[t("img",{staticStyle:{width:"100%",height:"100%",display:"block"},attrs:{src:e.backImgBase?"data:image/png;base64,"+e.backImgBase:e.defaultImg,alt:""}}),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showRefresh,expression:"showRefresh"}],staticClass:"verify-refresh",on:{click:e.refresh}},[t("i",{staticClass:"iconfont icon-refresh"})]),t("transition",{attrs:{name:"tips"}},[e.tipWords?t("span",{staticClass:"verify-tips",class:e.passFlag?"suc-bg":"err-bg"},[e._v(e._s(e.tipWords))]):e._e()])],1)]):e._e(),t("div",{staticClass:"verify-bar-area",style:{width:e.setSize.imgWidth,height:e.barSize.height,"line-height":e.barSize.height}},[t("span",{staticClass:"verify-msg",domProps:{textContent:e._s(e.text)}}),t("div",{staticClass:"verify-left-bar",style:{width:void 0!==e.leftBarWidth?e.leftBarWidth:e.barSize.height,height:e.barSize.height,"border-color":e.leftBarBorderColor,transaction:e.transitionWidth}},[t("span",{staticClass:"verify-msg",domProps:{textContent:e._s(e.finishText)}}),t("div",{staticClass:"verify-move-block",style:{width:e.barSize.height,height:e.barSize.height,"background-color":e.moveBlockBackgroundColor,left:e.moveBlockLeft,transition:e.transitionLeft},on:{touchstart:e.start,mousedown:e.start}},[t("i",{class:["verify-icon iconfont",e.iconClass],style:{color:e.iconColor}}),"2"===e.type?t("div",{staticClass:"verify-sub-block",style:{width:Math.floor(47*parseInt(e.setSize.imgWidth)/310)+"px",height:e.setSize.imgHeight,top:"-"+(parseInt(e.setSize.imgHeight)+e.vSpace)+"px","background-size":e.setSize.imgWidth+" "+e.setSize.imgHeight}},[t("img",{staticStyle:{width:"100%",height:"100%",display:"block"},attrs:{src:"data:image/png;base64,"+e.blockBackImgBase,alt:""}})]):e._e()])])])])}),[],!1,null,null,null).exports,i("a434"),i("d81d"),{name:"VerifyPoints",props:{mode:{type:String,default:"fixed"},captchaType:{type:String},vSpace:{type:Number,default:5},imgSize:{type:Object,default:function(){return{width:"310px",height:"155px"}}},barSize:{type:Object,default:function(){return{width:"310px",height:"40px"}}},defaultImg:{type:String,default:""}},data:function(){return{secretKey:"",checkNum:3,fontPos:[],checkPosArr:[],num:1,pointBackImgBase:"",poinTextList:[],backToken:"",setSize:{imgHeight:0,imgWidth:0,barHeight:0,barWidth:0},tempPoints:[],text:"",barAreaColor:void 0,barAreaBorderColor:void 0,showRefresh:!0,bindingClick:!0}},computed:{resetSize:function(){return d}},watch:{type:{immediate:!0,handler:function(){this.init()}}},mounted:function(){this.$el.onselectstart=function(){return!1}},methods:{init:function(){var e=this;this.fontPos.splice(0,this.fontPos.length),this.checkPosArr.splice(0,this.checkPosArr.length),this.num=1,this.getPictrue(),this.$nextTick((function(){e.setSize=e.resetSize(e),e.$parent.$emit("ready",e)}))},canvasClick:function(e){var t=this;this.checkPosArr.push(this.getMousePos(this.$refs.canvas,e)),this.num==this.checkNum&&(this.num=this.createPoint(this.getMousePos(this.$refs.canvas,e)),this.checkPosArr=this.pointTransfrom(this.checkPosArr,this.setSize),setTimeout((function(){var e=t.secretKey?u(t.backToken+"---"+JSON.stringify(t.checkPosArr),t.secretKey):t.backToken+"---"+JSON.stringify(t.checkPosArr),i={captchaType:t.captchaType,pointJson:t.secretKey?u(JSON.stringify(t.checkPosArr),t.secretKey):JSON.stringify(t.checkPosArr),token:t.backToken};Object(f.b)(i).then((function(i){"0000"==i.repCode?(t.barAreaColor="#4cae4c",t.barAreaBorderColor="#5cb85c",t.text="验证成功",t.bindingClick=!1,"pop"==t.mode&&setTimeout((function(){t.$parent.clickShow=!1,t.refresh()}),1500),t.$parent.$emit("success",{captchaVerification:e})):(t.$parent.$emit("error",t),t.barAreaColor="#d9534f",t.barAreaBorderColor="#d9534f",t.text="验证失败",setTimeout((function(){t.refresh()}),700))}))}),400)),this.num<this.checkNum&&(this.num=this.createPoint(this.getMousePos(this.$refs.canvas,e)))},getMousePos:function(e,t){return{x:t.offsetX,y:t.offsetY}},createPoint:function(e){return this.tempPoints.push(Object.assign({},e)),++this.num},refresh:function(){this.tempPoints.splice(0,this.tempPoints.length),this.barAreaColor="#000",this.barAreaBorderColor="#ddd",this.bindingClick=!0,this.fontPos.splice(0,this.fontPos.length),this.checkPosArr.splice(0,this.checkPosArr.length),this.num=1,this.getPictrue(),this.text="验证失败",this.showRefresh=!0},getPictrue:function(){var e=this,t={captchaType:this.captchaType,clientUid:localStorage.getItem("point"),ts:Date.now()};Object(f.a)(t).then((function(t){"0000"==t.repCode?(e.pointBackImgBase=t.repData.originalImageBase64,e.backToken=t.repData.token,e.secretKey=t.repData.secretKey,e.poinTextList=t.repData.wordList,e.text="请依次点击【"+e.poinTextList.join(",")+"】"):e.text=t.repMsg,"6201"==t.repCode&&(e.pointBackImgBase=null)}))},pointTransfrom:function(e,t){return e.map((function(e){return{x:Math.round(310*e.x/parseInt(t.imgWidth)),y:Math.round(155*e.y/parseInt(t.imgHeight))}}))}}}),g=(l={name:"Vue2Verify",components:{VerifySlide:l,VerifyPoints:Object(m.a)(p,(function(){var e=this,t=e._self._c;return t("div",{staticStyle:{position:"relative"}},[t("div",{staticClass:"verify-img-out"},[t("div",{staticClass:"verify-img-panel",style:{width:e.setSize.imgWidth,height:e.setSize.imgHeight,"background-size":e.setSize.imgWidth+" "+e.setSize.imgHeight,"margin-bottom":e.vSpace+"px"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.showRefresh,expression:"showRefresh"}],staticClass:"verify-refresh",staticStyle:{"z-index":"3"},on:{click:e.refresh}},[t("i",{staticClass:"iconfont icon-refresh"})]),t("img",{ref:"canvas",staticStyle:{width:"100%",height:"100%",display:"block"},attrs:{src:e.pointBackImgBase?"data:image/png;base64,"+e.pointBackImgBase:e.defaultImg,alt:""},on:{click:function(t){e.bindingClick&&e.canvasClick(t)}}}),e._l(e.tempPoints,(function(i,n){return t("div",{key:n,staticClass:"point-area",style:{"background-color":"#1abd6c",color:"#fff","z-index":9999,width:"20px",height:"20px","text-align":"center","line-height":"20px","border-radius":"50%",position:"absolute",top:parseInt(i.y-10)+"px",left:parseInt(i.x-10)+"px"}},[e._v("\n "+e._s(n+1)+"\n ")])}))],2)]),t("div",{staticClass:"verify-bar-area",style:{width:e.setSize.imgWidth,color:this.barAreaColor,"border-color":this.barAreaBorderColor,"line-height":this.barSize.height}},[t("span",{staticClass:"verify-msg"},[e._v(e._s(e.text))])])])}),[],!1,null,null,null).exports},props:{locale:{require:!1,type:String,default:function(){return navigator.language||navigator.browserLanguage}},captchaType:{type:String,required:!0},figure:{type:Number},arith:{type:Number},mode:{type:String,default:"pop"},vSpace:{type:Number},explain:{type:String},imgSize:{type:Object,default:function(){return{width:"310px",height:"155px"}}},blockSize:{type:Object},barSize:{type:Object}},data:function(){return{clickShow:!1,verifyType:void 0,componentType:void 0,defaultImg:i("951a")}},computed:{instance:function(){return this.$refs.instance||{}},showBox:function(){return"pop"!=this.mode||this.clickShow}},watch:{captchaType:{immediate:!0,handler:function(e){switch(e.toString()){case"blockPuzzle":this.verifyType="2",this.componentType="VerifySlide";break;case"clickWord":this.verifyType="",this.componentType="VerifyPoints"}}}},mounted:function(){this.uuid()},methods:{uuid:function(){for(var e=[],t="0123456789abcdef",i=0;i<36;i++)e[i]=t.substr(Math.floor(16*Math.random()),1);e[14]="4",e[19]=t.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-";var n="slider-"+e.join(""),o="point-"+e.join("");localStorage.getItem("slider")||localStorage.setItem("slider",n),localStorage.getItem("point")||localStorage.setItem("point",o)},i18n:function(e){return this.$t?this.$t(e):(this.$options.i18n.messages[this.locale]||this.$options.i18n.messages["en-US"])[e]},refresh:function(){this.instance.refresh&&this.instance.refresh()},closeBox:function(){this.clickShow=!1,this.refresh()},show:function(){"pop"==this.mode&&(this.clickShow=!0)}}},p=(i("c617"),Object(m.a)(l,(function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"show",rawName:"v-show",value:e.showBox,expression:"showBox"}],class:"pop"==e.mode?"mask":""},[t("div",{class:"pop"==e.mode?"verifybox":"",style:{"max-width":parseInt(e.imgSize.width)+30+"px"}},["pop"==e.mode?t("div",{staticClass:"verifybox-top"},[e._v("\n 请完成安全验证\n "),t("span",{staticClass:"verifybox-close",on:{click:e.closeBox}},[t("i",{staticClass:"iconfont icon-close"})])]):e._e(),t("div",{staticClass:"verifybox-bottom",style:{padding:"pop"==e.mode?"15px":"0"}},[e.componentType?t(e.componentType,{ref:"instance",tag:"components",attrs:{"captcha-type":e.captchaType,type:e.verifyType,figure:e.figure,arith:e.arith,mode:e.mode,"v-space":e.vSpace,explain:e.explain,"img-size":e.imgSize,"block-size":e.blockSize,"bar-size":e.barSize,"default-img":e.defaultImg}}):e._e()],1)])])}),[],!1,null,null,null).exports),i("3908")),v=i("6987");l={components:{Verify:p},data:function(){return{fullWidth:document.documentElement.clientWidth,swiperOption:{pagination:".swiper-pagination",autoplay:!0},loading:!1,isShow:!1,autoLogin:!0,imgcode:"",formInline:{username:"",password:""},ruleInline:{username:[{required:!0,message:"请输入用户名",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}]},login_captcha:0,login_logo:"",swiperList:[],defaultSwiperList:i("433f"),key:"",copyright:"",version:""}},created:function(){var e=this;document.onkeydown=function(){"login"===e.$route.name&&13===window.event.keyCode&&e.handleSubmit("formInline")},window.addEventListener("resize",this.handleResize)},watch:{fullWidth:function(e){var t;this.timer||(this.screenWidth=e,this.timer=!0,t=this,setTimeout((function(){t.timer=!1}),400))},$route:function(e){}},mounted:function(){var e=this;this.$nextTick((function(){e.screenWidth<768?document.getElementsByTagName("canvas")[0].removeAttribute("class","index_bg"):document.getElementsByTagName("canvas")[0].className="index_bg",e.swiperData()}))},methods:{swiperData:function(){var e=this;Object(r.c)().then((function(t){window.document.title="".concat(t.data.site_name," - 登录"),localStorage.setItem("ADMIN_TITLE",t.data.site_name||""),e.$store.commit("setAdminTitle",t.data.site_name),t=t.data||{},e.login_logo=t.login_logo||i("9d64"),e.swiperList=t.slide.length?t.slide:[{slide:e.defaultSwiperList}],e.key=t.key,e.copyright=t.copyright,e.version=t.version,e.login_captcha=t.login_captcha})).catch((function(t){e.$message.error(t),e.login_logo=i("9d64"),e.swiperList=[{slide:e.defaultSwiperList}]}))},success:function(e){this.closeModel(e)},closeModel:function(e){var t=this;this.isShow=!1,this.loading=!0,Object(r.a)({account:this.formInline.username,pwd:this.formInline.password,key:this.key,captchaType:"blockPuzzle",captchaVerification:e?e.captchaVerification:""}).then(function(){var e=Object(s.a)(Object(o.a)().mark((function e(i){var n,s;return Object(o.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=i.data,s=t.getExpiresTime(n.expires_time),Object(c.o)("uuid",n.user_info.id,s),Object(c.o)("token",n.token,s),Object(c.o)("expires_time",n.expires_time,s),t.$store.commit("userInfo/uniqueAuth",n.unique_auth),t.$store.commit("userInfo/userInfo",n.user_info),t.$store.commit("menus/setopenMenus",[]),t.$store.commit("menus/getmenusNav",n.menus),t.$store.dispatch("routesList/setRoutesList",n.menus),s=Object(v.c)(t.$router.options.routes),t.formatTwoStageRoutes(s),t.$store.commit("menus/setOneLvMenus",s),s=Object(v.c)(n.menus),t.$store.commit("menus/setOneLvRoute",s),t.$store.commit("userInfo/name",n.user_info.account),t.$store.commit("userInfo/avatar",n.user_info.head_pic),t.$store.commit("userInfo/access",n.unique_auth),t.$store.commit("userInfo/logo",n.logo),t.$store.commit("userInfo/logoSmall",n.logo_square),t.$store.commit("userInfo/version",n.version),t.$store.commit("userInfo/newOrderAudioLink",n.newOrderAudioLink),t.login_captcha=0;try{!1===n.queue&&t.$notify.warning({title:"温馨提示",dangerouslyUseHTMLString:!0,message:'您的【消息队列】未开启,没有开启会导致异步任务无法执行。请尽快执行命令开启!!<a href="https://doc.crmeb.com/single/crmeb_v4/7217" target="_blank">点击查看开启方法</a>',duration:3e4}),!1===n.timer&&t.$notify.warning({title:"温馨提示",dangerouslyUseHTMLString:!0,message:'您的【定时任务】未开启,没有开启会导致自动收货、未支付自动取消订单、订单自动好评、拼团到期退款等任务无法正常执行。请尽快执行命令开启!!<a href="https://doc.crmeb.com/single/crmeb_v4/7211" target="_blank">点击查看开启方法</a>',duration:3e4}),t.checkSocket()}catch(e){}return g.a.start(),e.abrupt("return",t.$router.push({path:i.data.menus.length?Object(v.a)(i.data.menus).path:t.$routeProStr+"/"}));case 26:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$message.error((void 0===e?{}:e).msg||"登录失败"),t.login_captcha=e.data.login_captcha})),setTimeout((function(e){t.loading=!1}),1e3)},formatTwoStageRoutes:function(e){var t,i,o=this;return!(e.length<=0)&&(t=[],i=[],e.forEach((function(e){e&&e.meta&&e.meta.keepAlive&&(t.push(Object(n.a)({},e)),i.push(e.name),o.$store.dispatch("keepAliveNames/setCacheKeepAlive",i))})),t)},checkSocket:function(){var e=this;Object(a.n)().then((function(t){t=t.data.admin;var i=!1,n=new WebSocket(t);n.onopen=function(){i=!0,n.close()},n.onerror=function(t){i||(i=!0,e.$notify.warning({title:"温馨提示",message:'您的【长连接】未开启,没有开启会导致系统默认客服无法使用,后台订单通知无法收到。请尽快执行命令开启!!<a href="https://doc.crmeb.com/single/crmeb_v4/7219" target="_blank">点击查看开启方法</a>',dangerouslyUseHTMLString:!0,duration:3e4}))},n.onclose=function(t){i||(i=!0,e.$notify.warning({title:"温馨提示",message:'您的【长连接】未开启,没有开启会导致系统默认客服无法使用,后台订单通知无法收到。请尽快执行命令开启!!<a href="https://doc.crmeb.com/single/crmeb_v4/7219" target="_blank">点击查看开启方法</a>',dangerouslyUseHTMLString:!0,duration:3e4}))}}))},getExpiresTime:function(e){var t=Math.round(new Date/1e3);return parseFloat(parseFloat(parseFloat((e-t)/60)/60)/24)},closefail:function(){this.$message.error("校验错误")},handleResize:function(e){this.fullWidth=document.documentElement.clientWidth,this.fullWidth<768?document.getElementsByTagName("canvas")[0].removeAttribute("class","index_bg"):document.getElementsByTagName("canvas")[0].className="index_bg"},handleSubmit:function(e){var t=this;this.$refs[e].validate((function(e){e&&(1==t.login_captcha?t.$refs.verify.show():t.closeModel())}))}},beforeCreate:function(){this.fullWidth<768?document.getElementsByTagName("canvas")[0].removeAttribute("class","index_bg"):document.getElementsByTagName("canvas")[0].className="index_bg"},beforeDestroy:function(){window.removeEventListener("resize",this.handleResize),document.getElementsByTagName("canvas")[0].removeAttribute("class","index_bg")}},i("f6ee"),p=Object(m.a)(l,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"page-account"},[t("div",{staticClass:"container",class:[768<e.fullWidth?"containerSamll":"containerBig"]},[768<e.fullWidth?t("swiper",{staticClass:"swiperPross",attrs:{options:e.swiperOption}},[e._l(e.swiperList,(function(e,i){return t("swiper-slide",{key:i,staticClass:"swiperPic"},[t("img",{attrs:{src:e.slide,alt:""}})])})),t("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"})],2):e._e(),t("div",{staticClass:"index_from page-account-container from-wh"},[t("div",{staticClass:"page-account-top"},[t("div",{staticClass:"page-account-top-logo"},[t("img",{staticStyle:{width:"100%",height:"74px"},attrs:{src:e.login_logo,alt:"logo"}})])]),t("el-form",{ref:"formInline",attrs:{model:e.formInline,rules:e.ruleInline},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleSubmit("formInline")}}},[t("el-form-item",{attrs:{prop:"username"}},[t("el-input",{attrs:{type:"text",prefix:"ios-contact-outline",placeholder:"请输入用户名",size:"large"},model:{value:e.formInline.username,callback:function(t){e.$set(e.formInline,"username",t)},expression:"formInline.username"}})],1),t("el-form-item",{attrs:{prop:"password"}},[t("el-input",{attrs:{type:"password",prefix:"ios-lock-outline",placeholder:"请输入密码",size:"large","show-password":""},model:{value:e.formInline.password,callback:function(t){e.$set(e.formInline,"password",t)},expression:"formInline.password"}})],1),t("el-form-item",{staticClass:"pt10"},[t("el-button",{staticClass:"btn",attrs:{type:"primary",loading:e.loading,size:"large"},on:{click:function(t){return e.handleSubmit("formInline")}}},[e._v("登录")])],1)],1)],1)],1),t("Verify",{ref:"verify",attrs:{captchaType:"blockPuzzle",imgSize:{width:"330px",height:"155px"}},on:{success:e.success}}),t("div",{staticClass:"footer"},[e.copyright?t("div",{staticClass:"pull-right"},[e._v(e._s(e.copyright))]):t("div",{staticClass:"pull-right"},[e._v("\n Copyright © 2014-2023 "),t("a",{attrs:{href:"https://www.crmeb.com",target:"_blank"}},[e._v(e._s(e.version))])])])],1)}),[],!1,null,"50b07d7b",null);t.default=p.exports},"433f":function(e,t,i){e.exports=i.p+"system_static/img/sw.3ef10e8b.jpg"},"750c":function(e,t,i){},"7daa":function(e,t,i){function n(e,t,i){return e.getAttribute(t)||i}function o(e){return document.getElementsByTagName(e)}function s(){a=l.width=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,c=l.height=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}function r(){var e,t,i,n,o,s;(f+=1)<5||(f=0,d.clearRect(0,0,a,c),e=[g].concat(v),v.forEach((function(r){for(r.x+=r.xa,r.y+=r.ya,r.xa*=r.x>a||r.x<0?-1:1,r.ya*=r.y>c||r.y<0?-1:1,d.fillRect(r.x-.5,r.y-.5,2,2),d.fillStyle="#FFFFFF",i=0;i<e.length;i++)r!==(t=e[i])&&null!==t.x&&null!==t.y&&(n=r.x-t.x,o=r.y-t.y,(s=n*n+o*o)<t.max)&&(t===g&&s>=t.max/2&&(r.x-=.03*n,r.y-=.03*o),n=(t.max-s)/t.max,d.beginPath(),d.lineWidth=n/2,d.strokeStyle="rgba("+h.c+","+(.2+n)+")",d.moveTo(r.x,r.y),d.lineTo(t.x,t.y),d.stroke());e.splice(e.indexOf(r),1)}))),m(r)}i("99af"),i("d3b7"),i("159b"),i("a434"),i("14d9");var a,c,l=document.createElement("canvas"),h=(u=(i=o("script")).length,i=i[u-1],{l:u,z:n(i,"zIndex",-2),o:n(i,"opacity",.8),c:n(i,"color","255,255,255"),n:n(i,"count",240)}),u="c_n"+h.l,d=l.getContext("2d"),f=0,m=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/45)},p=Math.random,g={x:null,y:null,max:2e4};l.id=u,l.style.cssText="position:fixed;top:0;left:0;z-index:"+h.z+";opacity:"+h.o,o("body")[0].appendChild(l),s(),window.onresize=s,window.onmousemove=function(e){e=e||window.event,g.x=e.clientX,g.y=e.clientY},window.onmouseout=function(){g.x=null,g.y=null};for(var v=[],y=0;y<h.n;y++){var b=p()*a,w=p()*c,k=2*p()-1,x=2*p()-1;v.push({x:b,y:w,xa:k,ya:x,max:6e3})}setTimeout((function(){r()}),100)},"951a":function(e,t,i){e.exports=i.p+"system_static/img/default.6b914f9c.jpg"},"9d64":function(e,t,i){e.exports=i.p+"system_static/img/logo.eb6eba32.png"},b680:function(e,t,i){"use strict";function n(e,t,i){return 0===t?i:t%2==1?n(e,t-1,i*e):n(e*e,t/2,i)}function o(e,t,i){for(var n=-1,o=i;++n<6;)o+=t*e[n],e[n]=o%1e7,o=m(o/1e7)}function s(e,t){for(var i=6,n=0;0<=--i;)n+=e[i],e[i]=m(n/t),n=n%t*1e7}function r(e){for(var t,i=6,n="";0<=--i;)""===n&&0!==i&&0===e[i]||(t=f(e[i]),n=""===n?t:n+p("0",7-t.length)+t);return n}var a=i("23e7"),c=i("e330"),l=i("5926"),h=i("408a"),u=i("1148"),d=(i=i("d039"),RangeError),f=String,m=Math.floor,p=c(u),g=c("".slice),v=c(1..toFixed);a({target:"Number",proto:!0,forced:i((function(){return"0.000"!==v(8e-5,3)||"1"!==v(.9,0)||"1.25"!==v(1.255,2)||"1000000000000000128"!==v(0xde0b6b3a7640080,0)}))||!i((function(){v({})}))},{toFixed:function(e){var t,i,a=h(this),c=(e=l(e),[0,0,0,0,0,0]),u="",m="0";if(e<0||20<e)throw new d("Incorrect fraction digits");if(a!=a)return"NaN";if(a<=-1e21||1e21<=a)return f(a);if(a<0&&(u="-",a=-a),1e-21<a)if(a=(t=function(e){for(var t=0,i=e;4096<=i;)t+=12,i/=4096;for(;2<=i;)t+=1,i/=2;return t}(a*n(2,69,1))-69)<0?a*n(2,-t,1):a/n(2,t,1),a*=4503599627370496,0<(t=52-t)){for(o(c,0,a),i=e;7<=i;)o(c,1e7,0),i-=7;for(o(c,n(10,i,1),0),i=t-1;23<=i;)s(c,1<<23),i-=23;s(c,1<<i),o(c,1,1),s(c,2),m=r(c)}else o(c,0,a),o(c,1<<-t,0),m=r(c)+p("0",e);return 0<e?u+((a=m.length)<=e?"0."+p("0",e-a)+m:g(m,0,a-e)+"."+g(m,a-e)):u+m}})},c617:function(e,t,i){"use strict";i("d224")},d224:function(e,t,i){},f6ee:function(e,t,i){"use strict";i("750c")}}]);