(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-7bcd8b9e"],{4356:function(t,e,i){"use strict";i.r(e);var a=i("9ab4"),n=i("1b40"),s=i("bc3a"),c=i.n(s),r=i("d70b"),o=i("afbc"),l=i("4bb5");let d=class extends n.e{};Object(a.a)([Object(l.b)("config")],d.prototype,"config",void 0),d=Object(a.a)([n.a],d);var h=d,u=(i("a2bf"),i("2877")),p=Object(u.a)(h,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"ls-footer"},[e("div",{staticClass:"flex-col col-center"},[e("div",{staticClass:"white_color xs m-t-20"},[e("span",{staticClass:"m-r-10"},[this._v(this._s(this.config.copyright))]),e("a",{staticClass:"link white_color",attrs:{href:this.config.record_system_link,target:"_blank"}},[this._v("备案号："+this._s(this.config.record_number))])])])])}),[],!1,null,"233a6c6f",null).exports;let f=class extends n.e{constructor(){super(...arguments),this.form={tencent_map_key:""},this.rules={tencent_map_key:[{required:!0,message:"请输入腾讯地图的配置Key"}]},this.timeRemainingStr="剩余时间: 0天 0小时 0分钟",this.auth_url=""}jumpLogin(){o.b.push("/account/login")}calculateTimeRemaining(t,e){const i=t-e;if(i<=0)return{days:0,hours:0,minutes:0};return{days:Math.floor(i/864e5),hours:Math.floor(i%864e5/36e5),minutes:Math.floor(i%36e5/6e4)}}created(){if("/setting/authorize"==o.b.currentRoute.path){var t=document.createElement("link");t.rel="stylesheet",t.href="/css/anim.css",document.head.appendChild(t);var e=document.createElement("script");e.src="/js/three.min.js",document.head.appendChild(e),e.onload=()=>{var t=document.createElement("script");t.src="/js/anim.js",document.head.appendChild(t)}}c.a.get(r.a.baseURL+"/adminapi/config/getConfig",{headers:{"content-type":"application/json"}}).then(t=>{this.auth_url=null==t.data.auth_url?"//www.haosns.com":"//"+t.data.auth_url}).catch(t=>{})}};f=Object(a.a)([Object(n.a)({components:{LsFooter:p}})],f);var m=f,b=(i("fb62"),Object(u.a)(m,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticStyle:{position:"relative"}},[i("div",{staticStyle:{width:"100%",height:"100vh","justify-content":"center","align-items":"center",display:"flex"},attrs:{id:"anim"}},[i("div",{staticStyle:{"border-radius":"20px",overflow:"hidden",display:"flex",position:"relative"}},[i("div",{staticStyle:{width:"400px",height:"400px"}},[i("el-image",{attrs:{src:"/no_permission.png"}})],1),i("div",{staticStyle:{width:"200px",height:"400px","z-index":"100","background-color":"white",display:"flex","flex-direction":"column","align-items":"center","justify-content":"center"}},[i("div",[i("p",[i("a",{attrs:{target:"_blank",href:t.auth_url}},[t._v("1.点击此处前往官网授权")])]),i("p",[t._v("2.在官网注册登录自己的账号")]),i("p",[t._v("3.在官网后台开通授权")]),i("p",[t._v("4.授权成功后可继续使用")])]),i("el-button",{staticStyle:{"margin-top":"50px"},attrs:{type:"primary"},on:{click:t.jumpLogin}},[t._v("我已授权好了")])],1),i("div",{staticStyle:{width:"600px",position:"absolute",left:"0",right:"0","text-align":"center","margin-top":"20px","font-size":"24px"}},[t._v("您还未授权！")])])]),i("div",{staticStyle:{position:"absolute",bottom:"30px",left:"0",right:"0","text-align":"center",color:"white"}},[i("ls-footer")],1)])}),[],!1,null,null,null));e.default=b.exports},"8dda":function(t,e,i){},a2bf:function(t,e,i){"use strict";i("8dda")},fb62:function(t,e,i){"use strict";i("fd58")},fd58:function(t,e,i){t.exports={primary:"#9cc259",white:"#fff",asideMenuWidth:"150px",headerHeight:"64px",primary2:"#9cc259",colorBlack2:"#333"}}}]);