wen
2 years ago
27 changed files with 112 additions and 2 deletions
@ -0,0 +1,34 @@ |
|||||||
|
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,select,p,blockquote,th,td{margin:0;padding:0;font-weight:inherit;} |
||||||
|
.clearfix{zoom:1;} |
||||||
|
.clearfix:after{content:'.';display:block;visibility:hidden;clear:both;overflow:hidden;height:0px;} |
||||||
|
body{font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif;margin:0 auto;font-size:14px;min-height:100%;} |
||||||
|
ul,li{list-style:none;margin:0;padding:0;} |
||||||
|
a,img,span{display:inline-block;max-width:100%;} |
||||||
|
a{color:#464c5c;text-decoration:none;} |
||||||
|
|
||||||
|
.img-responsive{max-width:100%;display:block;} |
||||||
|
.elementBlock{display:block !important;} |
||||||
|
.elementNone{display:none !important;} |
||||||
|
.elementhidden{visibility:hidden !important;} |
||||||
|
.verMiddle{vertical-align:middle !important;} |
||||||
|
.vercenter{text-align:center !important;} |
||||||
|
.verleft{text-align:left !important;} |
||||||
|
.textright{text-align:right !important;} |
||||||
|
.verbold{font-weight:bold !important;} |
||||||
|
.qcmargin{margin:0 !important;} |
||||||
|
.qcpadding{padding:0 !important;} |
||||||
|
.qcbdbt{border-bottom:0 !important;} |
||||||
|
.qcbdtop{border-top:0 !important;} |
||||||
|
.qcbdlt{border-left:0 !important;} |
||||||
|
.qcbdrt{border-right:0 !important;} |
||||||
|
.bjcolor{background-color:#FFF !important;} |
||||||
|
.minheight{min-height:537px;} |
||||||
|
a:hover{text-decoration:none;} |
||||||
|
a:active{text-decoration:none;} |
||||||
|
a:visited{text-decoration:none;} |
||||||
|
|
||||||
|
*{ |
||||||
|
-webkit-box-sizing: border-box; |
||||||
|
-moz-box-sizing: border-box; |
||||||
|
box-sizing: border-box; |
||||||
|
} |
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
|||||||
|
.pass_form[data-v-585a5b6e]{padding:66px 46px} |
@ -0,0 +1 @@ |
|||||||
|
.seitchtheme_m{padding:26px 5% 47px 5%}.seitchtheme_m .el-select{width:88%;margin:25px 0}.seitchtheme_m .Submit1{margin:20px 0;text-align:center}.seitchtheme_m h5{font-size:18px;font-weight:700}.seitchtheme_m .to_front_web{display:block;margin:16px 0} |
@ -0,0 +1 @@ |
|||||||
|
.wscn-http404-container[data-v-51936dbb]{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);position:absolute;top:40%;left:50%}.wscn-http404[data-v-51936dbb]{position:relative;width:1200px;padding:0 50px;overflow:hidden}.wscn-http404 .pic-404[data-v-51936dbb]{position:relative;float:left;width:600px;overflow:hidden}.wscn-http404 .pic-404__parent[data-v-51936dbb]{width:100%}.wscn-http404 .pic-404__child[data-v-51936dbb]{position:absolute}.wscn-http404 .pic-404__child.left[data-v-51936dbb]{width:80px;top:17px;left:220px;opacity:0;-webkit-animation-name:cloudLeft-data-v-51936dbb;animation-name:cloudLeft-data-v-51936dbb;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1s;animation-delay:1s}.wscn-http404 .pic-404__child.mid[data-v-51936dbb]{width:46px;top:10px;left:420px;opacity:0;-webkit-animation-name:cloudMid-data-v-51936dbb;animation-name:cloudMid-data-v-51936dbb;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1.2s;animation-delay:1.2s}.wscn-http404 .pic-404__child.right[data-v-51936dbb]{width:62px;top:100px;left:500px;opacity:0;-webkit-animation-name:cloudRight-data-v-51936dbb;animation-name:cloudRight-data-v-51936dbb;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1s;animation-delay:1s}@-webkit-keyframes cloudLeft-data-v-51936dbb{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@keyframes cloudLeft-data-v-51936dbb{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@-webkit-keyframes cloudMid-data-v-51936dbb{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@keyframes cloudMid-data-v-51936dbb{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@-webkit-keyframes cloudRight-data-v-51936dbb{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}@keyframes cloudRight-data-v-51936dbb{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}.wscn-http404 .bullshit[data-v-51936dbb]{position:relative;float:left;width:300px;padding:30px 0;overflow:hidden}.wscn-http404 .bullshit__oops[data-v-51936dbb]{font-size:32px;line-height:40px;color:#1482f0;margin-bottom:20px;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__headline[data-v-51936dbb],.wscn-http404 .bullshit__oops[data-v-51936dbb]{font-weight:700;opacity:0;-webkit-animation-name:slideUp-data-v-51936dbb;animation-name:slideUp-data-v-51936dbb;-webkit-animation-duration:.5s;animation-duration:.5s}.wscn-http404 .bullshit__headline[data-v-51936dbb]{font-size:20px;line-height:24px;color:#222;margin-bottom:10px;-webkit-animation-delay:.1s;animation-delay:.1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-51936dbb]{font-size:13px;line-height:21px;color:grey;margin-bottom:30px;-webkit-animation-delay:.2s;animation-delay:.2s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-51936dbb],.wscn-http404 .bullshit__return-home[data-v-51936dbb]{opacity:0;-webkit-animation-name:slideUp-data-v-51936dbb;animation-name:slideUp-data-v-51936dbb;-webkit-animation-duration:.5s;animation-duration:.5s}.wscn-http404 .bullshit__return-home[data-v-51936dbb]{display:block;float:left;width:110px;height:36px;background:#1482f0;border-radius:100px;text-align:center;color:#fff;font-size:14px;line-height:36px;cursor:pointer;-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes slideUp-data-v-51936dbb{0%{-webkit-transform:translateY(60px);transform:translateY(60px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes slideUp-data-v-51936dbb{0%{-webkit-transform:translateY(60px);transform:translateY(60px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}} |
@ -0,0 +1 @@ |
|||||||
|
.filemange_container{padding:26px 5% 47px 5%}.filemange_container .block{margin:0 0 28px 0}.filemange_container .sou_bottom{margin-left:10px}.filemange_container .use_button{margin:15px 0 16px 0}.filemange_container .file_caozuo2>button{margin-top:6px}.filemange_container .el-table td{padding:9px 0}.filemange_container .folder_bottom a{margin:0 6px}.filemange_container .el-table__body-wrapper img{width:100px;height:71px}.filemange_container .el-drawer__body{text-align:center;padding:0 10% 20px 10%}.filemange_container .request_main{text-align:center;margin:12px 0}.filemange_container .addimgtext{line-height:25px;display:inline-block;color:#8c939d;vertical-align:middle}.filemange_container .el-upload--picture-card i{vertical-align:middle}.filemange_container .type_file_click img{width:64px;height:48px}.filemange_container .type_file_click a{display:block} |
@ -0,0 +1 @@ |
|||||||
|
.pass_form[data-v-154a9918]{padding:66px 46px} |
@ -0,0 +1 @@ |
|||||||
|
.subfile_main{padding:26px 5% 47px 5%}.subfile_main .block{margin:0 0 28px 0}.subfile_main .sou_bottom{margin-left:10px}.subfile_main .use_button{margin:15px 0 16px 0}.subfile_main .file_caozuo2>button{margin-top:6px}.subfile_main .el-table td{padding:9px 0}.subfile_main .folder_bottom a{margin:0 6px}.subfile_main .el-table__body-wrapper img{width:100px;height:71px}.subfile_main .el-drawer__body{text-align:center;padding:0 10% 20px 10%}.subfile_main .request_main{text-align:center;margin:12px 0}.subfile_main .addimgtext{line-height:25px;display:inline-block;color:#8c939d;vertical-align:middle}.subfile_main .el-upload--picture-card i{vertical-align:middle}.subfile_main .type_file_click img{width:64px;height:48px}.subfile_main .type_file_click a{display:block} |
@ -0,0 +1 @@ |
|||||||
|
.toptitle{color:#fff;height:91px;padding:0 6% 0 36px;z-index:1002;background-color:#2b3245;position:fixed;top:0;left:0;right:0;overflow:hidden}.toptitle .leftk{float:left;margin-top:16px;height:60px}.toptitle .leftk>img{vertical-align:middle;display:inline-block;max-width:100%;height:100%;background-color:#fff;border-radius:50%}.toptitle .leftk>i{vertical-align:middle;color:#fff;font-size:30px;margin:6px 0 0 15px}.toptitle .rightk{float:right;margin-top:24px;position:relative}.toptitle .erectline{margin:0 18px;display:inline-block;vertical-align:middle;height:40px;width:1px;background-color:#414758}.login-container .el-input{display:inline-block;height:47px;width:85%}.login-container .el-input input{background:transparent;border:0;-webkit-appearance:none;border-radius:0;padding:12px 5px 12px 15px;color:#000;height:47px;caret-color:#3c3535}.login-container .el-input input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #283443 inset!important;box-shadow:inset 0 0 0 1000px #283443!important;-webkit-text-fill-color:#3c3535!important}.login-container .el-form-item{border:1px solid hsla(0,0%,100%,.1);background:rgba(0,0,0,.1);border-radius:5px;color:#454545}.login-container{min-height:100%;width:100%;background-color:#fff;overflow:hidden}.login-container .bt_login{width:100%;margin:0 0 16px 0}.login-container .bt_rest{margin:0}.login-container .login-form{position:relative;width:520px;max-width:100%;padding:0 32px 0 32px;margin:160px auto 0 auto;overflow:hidden}.login-container .svg-container{padding:6px 5px 6px 15px;color:#000;vertical-align:middle;width:30px;display:inline-block}.login-container .title-container{position:relative}.login-container .title-container .title{font-size:26px;color:#000;margin:0 auto 40px auto;text-align:center;font-weight:700}.login-container .show-pwd{position:absolute;right:10px;top:7px;font-size:16px;color:#000;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.login-container .captcha_k{display:-webkit-box;display:-ms-flexbox;display:flex}.login-container .captcha_k .captcha_main{width:100px;height:54px;margin:0 0 0 15px}.login-container .captcha_k .captcha_img{border-radius:6px;display:block;max-width:100%;height:100%;cursor:pointer}.login-container .captcha_k>.el-form-item{-webkit-box-flex:1;-ms-flex:1;flex:1} |
@ -0,0 +1 @@ |
|||||||
|
#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;-webkit-box-shadow:0 0 10px #29d,0 0 5px #29d;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;-webkit-transform:rotate(3deg) translateY(-4px);transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;-webkit-box-sizing:border-box;box-sizing:border-box;border:2px solid transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}} |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 18 KiB |
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
|||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1d18033f"],{"007b":function(t,n,c){},bc9c:function(t,n,c){"use strict";c("007b")},f572:function(t,n,c){"use strict";c.r(n);var e=function(){var t=this,n=t.$createElement;t._self._c;return t._m(0)},r=[function(){var t=this,n=t.$createElement,c=t._self._c||n;return c("div",{staticClass:"app-container Clew"},[c("h2",[t._v("欢迎")])])}],s={data:function(){return{}},methods:{}},u=s,a=(c("bc9c"),c("2877")),i=Object(a["a"])(u,e,r,!1,null,"26089c81",null);n["default"]=i.exports}}]); |
@ -0,0 +1 @@ |
|||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0ac468"],{"199c":function(n,t,e){"use strict";e.r(t);var a=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"app-container"},[n._v(" 暂未开放 ")])},c=[];e("b775");var r={filters:{},data:function(){return{}},created:function(){},methods:{}},s=r,u=e("2877"),i=Object(u["a"])(s,a,c,!1,null,null,null);t["default"]=i.exports}}]); |
@ -0,0 +1 @@ |
|||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-34c03a6e"],{"0add":function(n,e,t){"use strict";t.r(e);var a=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"app-container"},[n._v(" 暂未开放 ")])},i=[],c={data:function(){return{labelPosition:"right",formLabelAlign:{name:"",region:"",type:""}}}},o=c,r=(t("210e"),t("2877")),s=Object(r["a"])(o,a,i,!1,null,"585a5b6e",null);e["default"]=s.exports},"210e":function(n,e,t){"use strict";t("9938")},9938:function(n,e,t){}}]); |
@ -0,0 +1 @@ |
|||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-502c3f22"],{"0d34":function(e,t,n){"use strict";n("528a")},"1e39":function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"seitchtheme_m"},[n("h5",[e._v("更换皮肤以查看不同皮肤的前端网站")]),n("div",[n("span",[e._v("更换皮肤:")]),n("el-select",{attrs:{placeholder:"请选择皮肤"},on:{change:e.selectbian},model:{value:e.skinvalue,callback:function(t){e.skinvalue=t},expression:"skinvalue"}},e._l(e.options,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),n("div",{staticClass:"Submit1"},[e.skinvalue?n("a",{staticClass:"to_front_web",attrs:{target:"_blank",href:e.skinLink}},[n("el-button",{attrs:{type:"success",round:""}},[e._v("查看"+e._s(e.skinlabel)+"站点")])],1):e._e()])],1)])},i=[],a=(n("d3b7"),n("159b"),n("9911"),n("c24f")),l={data:function(){return{options:[{value:"manual",label:"文档站",link:"https://Filesite.io"},{value:"webdirectory",label:"导航站",link:"https://WebDirectory.filesite.io"},{value:"googleimage",label:"图片站",link:"https://googleimage.filesite.io/"},{value:"videoblog",label:"视频站",link:"https://Duan.Filesite.io"}],skinvalue:"",skinlabel:"",skinLink:"",skinloading:!1,skinForm:{theme:""}}},methods:{skinSubmit:function(){var e=this,t=this;this.skinloading=!0,this.skinForm.theme=this.skinvalue,Object(a["k"])(this.skinForm).then((function(n){var s=n.data;1==s.code?t.$message({showClose:!0,message:s.msg,type:"success"}):t.$message({showClose:!0,message:s.err,type:"error"}),e.skinloading=!1})).catch((function(n){e.skinloading=!1,n.response||n.request,t.$message({showClose:!0,message:n.response.data.err,type:"error"})}))},selectbian:function(e){var t=this;this.options.forEach((function(n){n.value==e&&(t.skinlabel=n.label,t.skinLink=n.link)}))}}},o=l,r=(n("0d34"),n("2877")),u=Object(r["a"])(o,s,i,!1,null,null,null);t["default"]=u.exports},"528a":function(e,t,n){},"857a":function(e,t,n){var s=n("1d80"),i=/"/g;e.exports=function(e,t,n,a){var l=String(s(e)),o="<"+t;return""!==n&&(o+=" "+n+'="'+String(a).replace(i,""")+'"'),o+">"+l+"</"+t+">"}},9911:function(e,t,n){"use strict";var s=n("23e7"),i=n("857a"),a=n("af03");s({target:"String",proto:!0,forced:a("link")},{link:function(e){return i(this,"a","href",e)}})},af03:function(e,t,n){var s=n("d039");e.exports=function(e){return s((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}}}]); |
@ -0,0 +1 @@ |
|||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5ac87448"],{"26fc":function(t,s,e){t.exports=e.p+"static/img/404_cloud.0f4bc32b.png"},"728e":function(t,s,e){},"8cdb":function(t,s,e){"use strict";e.r(s);var a=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"wscn-http404-container"},[e("div",{staticClass:"wscn-http404"},[t._m(0),e("div",{staticClass:"bullshit"},[e("div",{staticClass:"bullshit__oops"},[t._v("嘉马洛!")]),t._m(1),e("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),e("div",{staticClass:"bullshit__info"},[t._v("Please check that the URL you entered is correct, or click the button below to return to the homepage.")]),e("a",{staticClass:"bullshit__return-home",attrs:{href:""}},[t._v("返回首页")])])])])},c=[function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"pic-404"},[a("img",{staticClass:"pic-404__parent",attrs:{src:e("a36b"),alt:"404"}}),a("img",{staticClass:"pic-404__child left",attrs:{src:e("26fc"),alt:"404"}}),a("img",{staticClass:"pic-404__child mid",attrs:{src:e("26fc"),alt:"404"}}),a("img",{staticClass:"pic-404__child right",attrs:{src:e("26fc"),alt:"404"}})])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"bullshit__info"},[t._v("All rights reserved "),e("a",{staticStyle:{color:"#20a0ff"},attrs:{href:"https://wallstreetcn.com",target:"_blank"}},[t._v("wallstreetcn")])])}],i={name:"Page404",computed:{message:function(){return"The webmaster said that you can not enter this page..."}}},l=i,n=(e("ccbe"),e("2877")),r=Object(n["a"])(l,a,c,!1,null,"51936dbb",null);s["default"]=r.exports},a36b:function(t,s,e){t.exports=e.p+"static/img/404.a57b6f31.png"},ccbe:function(t,s,e){"use strict";e("728e")}}]); |
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
|||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7d4500ae"],{"211d":function(n,t,u){"use strict";u.r(t);var e=u("45ad"),a=u.n(e);for(var r in e)["default"].indexOf(r)<0&&function(n){u.d(t,n,(function(){return e[n]}))}(r);t["default"]=a.a},"2e18":function(n,t,u){"use strict";u.d(t,"a",(function(){return e})),u.d(t,"b",(function(){return a}));var e=function(){var n=this,t=n.$createElement,u=n._self._c||t;return u("div",{staticClass:"app-container"},[n._v(" 暂未开放 ")])},a=[]},"3a21":function(n,t,u){"use strict";u("8d96")},"45ad":function(n,t){},"4e2d":function(n,t,u){"use strict";u.r(t);var e=u("2e18"),a=u("211d");for(var r in a)["default"].indexOf(r)<0&&function(n){u.d(t,n,(function(){return a[n]}))}(r);u("3a21");var i=u("2877"),c=Object(i["a"])(a["default"],e["a"],e["b"],!1,null,"154a9918",null);t["default"]=c.exports},"8d96":function(n,t,u){}}]); |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
|||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-fd39e1d2"],{"543f":function(e,t,a){},"6a54":function(e,t,a){"use strict";a("8939")},8939:function(e,t,a){},"8f4b":function(e,t,a){"use strict";a("543f")},"9ed6":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"login-container"},[e._m(0),a("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:e.loginForm,rules:e.loginRules,"auto-complete":"on","label-position":"left"}},[a("div",{staticClass:"title-container"},[a("h3",{staticClass:"title"},[e._v("系统登入")])]),a("el-form-item",{attrs:{prop:"username"}},[a("span",{staticClass:"svg-container"},[a("svg-icon",{attrs:{"icon-class":"user"}})],1),a("el-input",{ref:"username",attrs:{placeholder:"用户名",name:"用户名",type:"text",tabindex:"1","auto-complete":"on"},model:{value:e.loginForm.username,callback:function(t){e.$set(e.loginForm,"username",t)},expression:"loginForm.username"}})],1),a("el-form-item",{attrs:{prop:"password"}},[a("span",{staticClass:"svg-container"},[a("svg-icon",{attrs:{"icon-class":"password"}})],1),a("el-input",{key:e.passwordType,ref:"password",attrs:{type:e.passwordType,placeholder:"密码",name:"密码",tabindex:"2","auto-complete":"on"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleLogin(t)}},model:{value:e.loginForm.password,callback:function(t){e.$set(e.loginForm,"password",t)},expression:"loginForm.password"}}),a("span",{staticClass:"show-pwd",on:{click:e.showPwd}},[a("svg-icon",{attrs:{"icon-class":"password"===e.passwordType?"eye":"eye-open"}})],1)],1),a("div",{staticClass:"captcha_k"},[a("el-form-item",{attrs:{prop:"captcha"}},[a("span",{staticClass:"svg-container"},[a("svg-icon",{attrs:{"icon-class":"example"}})],1),a("el-input",{ref:"captcha",attrs:{placeholder:"验证码",name:"用户名",type:"text",tabindex:"3","auto-complete":"on"},model:{value:e.loginForm.captcha,callback:function(t){e.$set(e.loginForm,"captcha",t)},expression:"loginForm.captcha"}})],1),a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.captcha_loading,expression:"captcha_loading"}],staticClass:"captcha_main",on:{click:e.getcaptcha}},[e.captcha_loading?e._e():a("img",{staticClass:"captcha_img",attrs:{src:e.captchaimg,alt:"验证码"}})])],1),a("el-button",{staticClass:"bt_login",attrs:{loading:e.loading,type:"primary"},nativeOn:{click:function(t){return t.preventDefault(),e.handleLogin(t)}}},[e._v("登入")]),a("el-button",{staticClass:"bt_rest bt_login",on:{click:function(t){return e.resetForm("loginForm")}}},[e._v("重置")])],1)],1)},o=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"toptitle clearfix"},[s("a",{staticClass:"leftk",attrs:{href:"javascript:;"}},[s("img",{attrs:{src:a("7b07"),alt:"图片"}}),s("em",{staticClass:"erectline"}),s("span",[e._v("后台管理系统")])])])}],r=a("c24f"),n={created:function(){this.getcaptcha()},data:function(){var e=function(e,t,a){t.length<3?a(new Error("请输入正确的用户名")):a()},t=function(e,t,a){t.length<6?a(new Error("请输入正确的密码")):a()},a=function(e,t,a){t.length<5?a(new Error("请输入正确的验证码")):a()};return{loading:!1,captcha_loading:!0,passwordType:"password",redirect:void 0,loginForm:{username:"",password:"",captcha:""},captchaimg:"",loginRules:{username:[{required:!0,trigger:"blur",validator:e}],password:[{required:!0,trigger:"blur",validator:t}],captcha:[{required:!0,trigger:"blur",validator:a}]}}},watch:{$route:{handler:function(e){this.redirect=e.query&&e.query.redirect},immediate:!0}},methods:{getcaptcha:function(){var e=this;this.captcha_loading=!0,Object(r["a"])().then((function(t){var a=t.data;e.captchaimg=a.data,e.captcha_loading=!1}))},showPwd:function(){var e=this;"password"===this.passwordType?this.passwordType="text":this.passwordType="password",this.$nextTick((function(){e.$refs.password.focus()}))},handleLogin:function(){var e=this;this.$refs.loginForm.validate((function(t){if(!t)return console.log("error submit!!"),!1;e.loading=!0;var a=e;e.$store.dispatch("user/login",e.loginForm).then((function(t){console.log(t);var a=t.data;1==a.code?(e.$router.push({path:e.redirect||"/filemange/index"}),e.$message({showClose:!0,message:a.msg,type:"success"})):0==a.code&&e.$message({showClose:!0,message:a.err,type:"error"}),e.loading=!1})).catch((function(t){t.response?a.$message({showClose:!0,message:t.response.data.err,type:"error"}):t.request?a.$message({showClose:!0,message:t.request,type:"error"}):a.$message({showClose:!0,message:t.message,type:"error"}),e.loading=!1}))}))},resetForm:function(e){this.$refs[e].resetFields()}}},i=n,c=(a("8f4b"),a("6a54"),a("2877")),l=Object(c["a"])(i,s,o,!1,null,null,null);t["default"]=l.exports}}]); |
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue