diff --git a/dist/index.html b/dist/index.html index d2f3c34..8b40b7d 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -嘉洛马 — 文件后台管理系统
\ No newline at end of file +嘉洛马 — 文件后台管理系统
\ No newline at end of file diff --git a/dist/static/css/app.20bb0413.css b/dist/static/css/app.20bb0413.css deleted file mode 100644 index 5b5f1d9..0000000 --- a/dist/static/css/app.20bb0413.css +++ /dev/null @@ -1 +0,0 @@ -.fade-enter-active,.fade-leave-active{-webkit-transition:opacity .28s;transition:opacity .28s}.fade-enter,.fade-leave-active{opacity:0}.fade-transform-enter-active,.fade-transform-leave-active{-webkit-transition:all .5s;transition:all .5s}.fade-transform-enter{opacity:0;-webkit-transform:translateX(-30px);transform:translateX(-30px)}.fade-transform-leave-to{opacity:0;-webkit-transform:translateX(30px);transform:translateX(30px)}.breadcrumb-enter-active,.breadcrumb-leave-active{-webkit-transition:all .5s;transition:all .5s}.breadcrumb-enter,.breadcrumb-leave-active{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.breadcrumb-move{-webkit-transition:all .5s;transition:all .5s}.breadcrumb-leave-active{position:absolute}.el-breadcrumb__inner,.el-breadcrumb__inner a{font-weight:400!important}.el-upload input[type=file]{display:none!important}.el-upload__input{display:none}.el-dialog{-webkit-transform:none;transform:none;left:0;position:relative;margin:0 auto}.upload-container .el-upload{width:100%}.upload-container .el-upload .el-upload-dragger{width:100%;height:200px}.el-dropdown-menu a{display:block}.el-range-separator{-webkit-box-sizing:content-box;box-sizing:content-box}.el-submenu__title i{color:#fff}#app .main-container{min-height:100%;-webkit-transition:margin-left .28s;transition:margin-left .28s;margin-left:210px;position:relative}#app .sidebar-container{-webkit-transition:width .28s;transition:width .28s;width:210px!important;background-color:#2b3245;height:100%;position:fixed;font-size:0;top:91px;bottom:0;left:0;z-index:1888;overflow:hidden}#app .sidebar-container .el_submenu_link{width:76%;height:56px;z-index:100;position:absolute;left:0;top:0;bottom:0;right:10%}#app .sidebar-container .el_submenu_link:hover{background-color:rgba(0,0,0,.3)}#app .sidebar-container .horizontal-collapse-transition{-webkit-transition:width 0s ease-in-out,padding-left 0s ease-in-out,padding-right 0s ease-in-out;transition:width 0s ease-in-out,padding-left 0s ease-in-out,padding-right 0s ease-in-out}#app .sidebar-container .scrollbar-wrapper{overflow-x:hidden!important}#app .sidebar-container .el-scrollbar__view{padding-bottom:92px}#app .sidebar-container .el-scrollbar__bar.is-vertical{right:0}#app .sidebar-container .el-scrollbar{height:100%}#app .sidebar-container.has-logo .el-scrollbar{height:calc(100% - 50px)}#app .sidebar-container .is-horizontal{display:none}#app .sidebar-container a{display:inline-block;width:100%;overflow:hidden}#app .sidebar-container .svg-icon{margin-right:16px}#app .sidebar-container .sub-el-icon{margin-right:12px;margin-left:-2px}#app .sidebar-container .el-menu{border:none;height:100%;width:100%!important}#app .sidebar-container .el-menu>div{position:relative}#app .sidebar-container .is-active>.el-submenu__title{color:#f4f4f5!important}#app .sidebar-container .el-submenu .el-menu-item,#app .sidebar-container .nest-menu .el-submenu>.el-submenu__title{min-width:210px!important;background-color:#1f2d3d!important}#app .sidebar-container .el-submenu .el-menu-item:hover,#app .sidebar-container .nest-menu .el-submenu>.el-submenu__title:hover{background-color:#001528!important}#app .hideSidebar .sidebar-container{width:54px!important}#app .hideSidebar .main-container{margin-left:54px}#app .hideSidebar .submenu-title-noDropdown{padding:0!important;position:relative}#app .hideSidebar .submenu-title-noDropdown .el-tooltip{padding:0!important}#app .hideSidebar .submenu-title-noDropdown .el-tooltip .svg-icon{margin-left:20px}#app .hideSidebar .submenu-title-noDropdown .el-tooltip .sub-el-icon{margin-left:19px}#app .hideSidebar .el-submenu{overflow:hidden}#app .hideSidebar .el-submenu>.el-submenu__title{padding:0!important}#app .hideSidebar .el-submenu>.el-submenu__title .svg-icon{margin-left:20px}#app .hideSidebar .el-submenu>.el-submenu__title .sub-el-icon{margin-left:19px}#app .hideSidebar .el-submenu>.el-submenu__title .el-submenu__icon-arrow{display:none}#app .hideSidebar .el-menu--collapse .el-submenu>.el-submenu__title>span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}#app .el-menu--collapse .el-menu .el-submenu{min-width:210px!important}#app .mobile .main-container{margin-left:0}#app .mobile .sidebar-container{-webkit-transition:-webkit-transform .28s;transition:-webkit-transform .28s;transition:transform .28s;transition:transform .28s,-webkit-transform .28s;width:210px!important}#app .mobile.hideSidebar .sidebar-container{pointer-events:none;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transform:translate3d(-210px,0,0);transform:translate3d(-210px,0,0)}#app .withoutAnimation .main-container,#app .withoutAnimation .sidebar-container{-webkit-transition:none;transition:none}.el-menu--vertical>.el-menu .svg-icon{margin-right:16px}.el-menu--vertical>.el-menu .sub-el-icon{margin-right:12px;margin-left:-2px}.el-menu--vertical .el-menu-item:hover,.el-menu--vertical .nest-menu .el-submenu>.el-submenu__title:hover{background-color:#263445!important}.el-menu--vertical>.el-menu--popup{max-height:100vh;overflow-y:auto}.el-menu--vertical>.el-menu--popup::-webkit-scrollbar-track-piece{background:#d3dce6}.el-menu--vertical>.el-menu--popup::-webkit-scrollbar{width:6px}.el-menu--vertical>.el-menu--popup::-webkit-scrollbar-thumb{background:#99a9bf;border-radius:20px}label{font-weight:700}html{-webkit-box-sizing:border-box;box-sizing:border-box}#app,html{height:100%}*,:after,:before{-webkit-box-sizing:inherit;box-sizing:inherit}a:active,a:focus{outline:none}a,a:focus,a:hover{cursor:pointer;color:inherit;text-decoration:none}div:focus{outline:none}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.app-container{padding:20px}.app-breadcrumb.el-breadcrumb[data-v-6e721a7c]{display:inline-block;font-size:14px;line-height:50px;margin-left:8px}.app-breadcrumb.el-breadcrumb .no-redirect[data-v-6e721a7c]{color:#97a8be;cursor:text}.hamburger[data-v-49e15297]{display:inline-block;vertical-align:middle;width:20px;height:20px}.hamburger.is-active[data-v-49e15297]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.navbar[data-v-bfe8efa0]{height:50px;overflow:hidden;position:relative;background:#fff;-webkit-box-shadow:0 1px 4px rgba(0,21,41,.08);box-shadow:0 1px 4px rgba(0,21,41,.08)}.navbar .hamburger-container[data-v-bfe8efa0]{line-height:46px;height:100%;float:left;cursor:pointer;-webkit-transition:background .3s;transition:background .3s;-webkit-tap-highlight-color:transparent}.navbar .hamburger-container[data-v-bfe8efa0]:hover{background:rgba(0,0,0,.025)}.navbar .breadcrumb-container[data-v-bfe8efa0]{float:left}.navbar .right-menu[data-v-bfe8efa0]{float:right;height:100%;line-height:50px}.navbar .right-menu[data-v-bfe8efa0]:focus{outline:none}.navbar .right-menu .right-menu-item[data-v-bfe8efa0]{display:inline-block;padding:0 8px;height:100%;font-size:18px;color:#5a5e66;vertical-align:text-bottom}.navbar .right-menu .right-menu-item.hover-effect[data-v-bfe8efa0]{cursor:pointer;-webkit-transition:background .3s;transition:background .3s}.navbar .right-menu .right-menu-item.hover-effect[data-v-bfe8efa0]:hover{background:rgba(0,0,0,.025)}.navbar .right-menu .avatar-container[data-v-bfe8efa0]{margin-right:30px}.navbar .right-menu .avatar-container .avatar-wrapper[data-v-bfe8efa0]{margin-top:5px;position:relative}.navbar .right-menu .avatar-container .avatar-wrapper .user-avatar[data-v-bfe8efa0]{cursor:pointer;width:40px;height:40px;border-radius:10px}.navbar .right-menu .avatar-container .avatar-wrapper .el-icon-caret-bottom[data-v-bfe8efa0]{cursor:pointer;position:absolute;right:-20px;top:25px;font-size:12px}.sidebarLogoFade-enter-active[data-v-39d3a2a9]{-webkit-transition:opacity 1.5s;transition:opacity 1.5s}.sidebarLogoFade-enter[data-v-39d3a2a9],.sidebarLogoFade-leave-to[data-v-39d3a2a9]{opacity:0}.sidebar-logo-container[data-v-39d3a2a9]{position:relative;width:100%;height:50px;line-height:50px;background:#2b2f3a;text-align:center;overflow:hidden}.sidebar-logo-container .sidebar-logo-link[data-v-39d3a2a9]{height:100%;width:100%}.sidebar-logo-container .sidebar-logo-link .sidebar-logo[data-v-39d3a2a9]{width:32px;height:32px;vertical-align:middle;margin-right:12px}.sidebar-logo-container .sidebar-logo-link .sidebar-title[data-v-39d3a2a9]{display:inline-block;margin:0;color:#fff;font-weight:600;line-height:50px;font-size:14px;font-family:Avenir,Helvetica Neue,Arial,Helvetica,sans-serif;vertical-align:middle}.sidebar-logo-container.collapse .sidebar-logo[data-v-39d3a2a9]{margin-right:0}.sub-el-icon[data-v-18eeea00]{color:currentColor;width:1em;height:1em}.svg-icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.app-main[data-v-2c621124]{min-height:100%;width:100%;position:relative;overflow:hidden}.fixed-header+.app-main[data-v-2c621124]{padding-top:50px}.el-popup-parent--hidden .fixed-header{padding-right:15px}[data-v-08776dca]:export{menuText:#bfcbd9;menuActiveText:#409eff;subMenuActiveText:#f4f4f5;menuBg:#2b3245;menuHover:#263445;subMenuBg:#1f2d3d;subMenuHover:#001528;sideBarWidth:210px}.toptitle[data-v-08776dca]{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[data-v-08776dca]{float:left;margin-top:16px;height:60px}.toptitle .leftk>img[data-v-08776dca]{vertical-align:middle;display:inline-block;max-width:100%;height:100%;background-color:#fff;border-radius:50%}.toptitle .leftk>i[data-v-08776dca]{vertical-align:middle;color:#fff;font-size:30px;margin:6px 0 0 15px}.toptitle .rightk[data-v-08776dca]{float:right;margin-top:18px;position:relative}.toptitle .erectline[data-v-08776dca]{margin:0 18px;display:inline-block;vertical-align:middle;height:40px;width:1px;background-color:#414758}.toptitle .avatark[data-v-08776dca]{height:20px}.toptitle .avatark>img[data-v-08776dca]{width:58px;background-color:#409eff;border-radius:50%}.svg-icon[data-v-08776dca]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.app-wrapper[data-v-08776dca]{position:relative;height:100%;width:100%}.app-wrapper[data-v-08776dca]:after{content:"";display:table;clear:both}.app-wrapper.mobile.openSidebar[data-v-08776dca]{position:fixed;top:0}.drawer-bg[data-v-08776dca]{background:#000;opacity:.3;width:100%;top:0;height:100%;position:absolute;z-index:999}.fixed-header[data-v-08776dca]{position:fixed;top:0;right:0;z-index:9;width:calc(100% - 210px);-webkit-transition:width .28s;transition:width .28s}.hideSidebar .fixed-header[data-v-08776dca]{width:calc(100% - 54px)}.mobile .fixed-header[data-v-08776dca]{width:100%}.content_main[data-v-08776dca]{padding-top:91px}.svg-icon[data-v-f9f7fefc]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.svg-external-icon[data-v-f9f7fefc]{background-color:currentColor;-webkit-mask-size:cover!important;mask-size:cover!important;display:inline-block} \ No newline at end of file diff --git a/dist/static/css/app.75fcd5fc.css b/dist/static/css/app.75fcd5fc.css new file mode 100644 index 0000000..148415d --- /dev/null +++ b/dist/static/css/app.75fcd5fc.css @@ -0,0 +1 @@ +.fade-enter-active,.fade-leave-active{-webkit-transition:opacity .28s;transition:opacity .28s}.fade-enter,.fade-leave-active{opacity:0}.fade-transform-enter-active,.fade-transform-leave-active{-webkit-transition:all .5s;transition:all .5s}.fade-transform-enter{opacity:0;-webkit-transform:translateX(-30px);transform:translateX(-30px)}.fade-transform-leave-to{opacity:0;-webkit-transform:translateX(30px);transform:translateX(30px)}.breadcrumb-enter-active,.breadcrumb-leave-active{-webkit-transition:all .5s;transition:all .5s}.breadcrumb-enter,.breadcrumb-leave-active{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.breadcrumb-move{-webkit-transition:all .5s;transition:all .5s}.breadcrumb-leave-active{position:absolute}.el-breadcrumb__inner,.el-breadcrumb__inner a{font-weight:400!important}.el-upload input[type=file]{display:none!important}.el-upload__input{display:none}.el-dialog{-webkit-transform:none;transform:none;left:0;position:relative;margin:0 auto}.upload-container .el-upload{width:100%}.upload-container .el-upload .el-upload-dragger{width:100%;height:200px}.el-dropdown-menu a{display:block}.el-range-separator{-webkit-box-sizing:content-box;box-sizing:content-box}.el-submenu__title i{color:#fff}.el-message{z-index:6000!important}#app .main-container{min-height:100%;-webkit-transition:margin-left .28s;transition:margin-left .28s;margin-left:210px;position:relative}#app .sidebar-container{-webkit-transition:width .28s;transition:width .28s;width:210px!important;background-color:#2b3245;height:100%;position:fixed;font-size:0;top:91px;bottom:0;left:0;z-index:2002;overflow:hidden}#app .sidebar-container .el_submenu_link{width:76%;height:56px;z-index:100;position:absolute;left:0;top:0;bottom:0;right:10%}#app .sidebar-container .el_submenu_link:hover{background-color:rgba(0,0,0,.3)}#app .sidebar-container .horizontal-collapse-transition{-webkit-transition:width 0s ease-in-out,padding-left 0s ease-in-out,padding-right 0s ease-in-out;transition:width 0s ease-in-out,padding-left 0s ease-in-out,padding-right 0s ease-in-out}#app .sidebar-container .scrollbar-wrapper{overflow-x:hidden!important}#app .sidebar-container .el-scrollbar__view{padding-bottom:92px}#app .sidebar-container .el-scrollbar__bar.is-vertical{right:0}#app .sidebar-container .el-scrollbar{height:100%}#app .sidebar-container.has-logo .el-scrollbar{height:calc(100% - 50px)}#app .sidebar-container .is-horizontal{display:none}#app .sidebar-container a{display:inline-block;width:100%;overflow:hidden}#app .sidebar-container .svg-icon{margin-right:16px}#app .sidebar-container .sub-el-icon{margin-right:12px;margin-left:-2px}#app .sidebar-container .el-menu{border:none;height:100%;width:100%!important}#app .sidebar-container .el-menu>div{position:relative}#app .sidebar-container .is-active>.el-submenu__title{color:#f4f4f5!important}#app .sidebar-container .el-submenu .el-menu-item,#app .sidebar-container .nest-menu .el-submenu>.el-submenu__title{min-width:210px!important;background-color:#1f2d3d!important}#app .sidebar-container .el-submenu .el-menu-item:hover,#app .sidebar-container .nest-menu .el-submenu>.el-submenu__title:hover{background-color:#001528!important}#app .hideSidebar .sidebar-container{width:54px!important}#app .hideSidebar .main-container{margin-left:54px}#app .hideSidebar .submenu-title-noDropdown{padding:0!important;position:relative}#app .hideSidebar .submenu-title-noDropdown .el-tooltip{padding:0!important}#app .hideSidebar .submenu-title-noDropdown .el-tooltip .svg-icon{margin-left:20px}#app .hideSidebar .submenu-title-noDropdown .el-tooltip .sub-el-icon{margin-left:19px}#app .hideSidebar .el-submenu{overflow:hidden}#app .hideSidebar .el-submenu>.el-submenu__title{padding:0!important}#app .hideSidebar .el-submenu>.el-submenu__title .svg-icon{margin-left:20px}#app .hideSidebar .el-submenu>.el-submenu__title .sub-el-icon{margin-left:19px}#app .hideSidebar .el-submenu>.el-submenu__title .el-submenu__icon-arrow{display:none}#app .hideSidebar .el-menu--collapse .el-submenu>.el-submenu__title>span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}#app .el-menu--collapse .el-menu .el-submenu{min-width:210px!important}#app .mobile .main-container{margin-left:0}#app .mobile .sidebar-container{-webkit-transition:-webkit-transform .28s;transition:-webkit-transform .28s;transition:transform .28s;transition:transform .28s,-webkit-transform .28s;width:210px!important}#app .mobile.hideSidebar .sidebar-container{pointer-events:none;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transform:translate3d(-210px,0,0);transform:translate3d(-210px,0,0)}#app .withoutAnimation .main-container,#app .withoutAnimation .sidebar-container{-webkit-transition:none;transition:none}.el-menu--vertical>.el-menu .svg-icon{margin-right:16px}.el-menu--vertical>.el-menu .sub-el-icon{margin-right:12px;margin-left:-2px}.el-menu--vertical .el-menu-item:hover,.el-menu--vertical .nest-menu .el-submenu>.el-submenu__title:hover{background-color:#263445!important}.el-menu--vertical>.el-menu--popup{max-height:100vh;overflow-y:auto}.el-menu--vertical>.el-menu--popup::-webkit-scrollbar-track-piece{background:#d3dce6}.el-menu--vertical>.el-menu--popup::-webkit-scrollbar{width:6px}.el-menu--vertical>.el-menu--popup::-webkit-scrollbar-thumb{background:#99a9bf;border-radius:20px}blockquote,body,button,code,dd,div,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,input,legend,li,ol,p,pre,select,td,textarea,th,ul{margin:0;padding:0;font-weight:inherit}.vercenter{text-align:center!important}.verleft{text-align:left!important}.textright{text-align:right!important}label{font-weight:700}html{-webkit-box-sizing:border-box;box-sizing:border-box}#app,html{height:100%}*,:after,:before{-webkit-box-sizing:inherit;box-sizing:inherit}a:active,a:focus{outline:none}a,a:focus,a:hover{cursor:pointer;color:inherit;text-decoration:none}div:focus{outline:none}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.app-container{padding:20px}.app-breadcrumb.el-breadcrumb[data-v-0c871572]{display:inline-block;font-size:14px;line-height:50px;margin-left:8px}.app-breadcrumb.el-breadcrumb .no-redirect[data-v-0c871572]{color:#97a8be;cursor:text}.hamburger[data-v-49e15297]{display:inline-block;vertical-align:middle;width:20px;height:20px}.hamburger.is-active[data-v-49e15297]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.navbar[data-v-bfe8efa0]{height:50px;overflow:hidden;position:relative;background:#fff;-webkit-box-shadow:0 1px 4px rgba(0,21,41,.08);box-shadow:0 1px 4px rgba(0,21,41,.08)}.navbar .hamburger-container[data-v-bfe8efa0]{line-height:46px;height:100%;float:left;cursor:pointer;-webkit-transition:background .3s;transition:background .3s;-webkit-tap-highlight-color:transparent}.navbar .hamburger-container[data-v-bfe8efa0]:hover{background:rgba(0,0,0,.025)}.navbar .breadcrumb-container[data-v-bfe8efa0]{float:left}.navbar .right-menu[data-v-bfe8efa0]{float:right;height:100%;line-height:50px}.navbar .right-menu[data-v-bfe8efa0]:focus{outline:none}.navbar .right-menu .right-menu-item[data-v-bfe8efa0]{display:inline-block;padding:0 8px;height:100%;font-size:18px;color:#5a5e66;vertical-align:text-bottom}.navbar .right-menu .right-menu-item.hover-effect[data-v-bfe8efa0]{cursor:pointer;-webkit-transition:background .3s;transition:background .3s}.navbar .right-menu .right-menu-item.hover-effect[data-v-bfe8efa0]:hover{background:rgba(0,0,0,.025)}.navbar .right-menu .avatar-container[data-v-bfe8efa0]{margin-right:30px}.navbar .right-menu .avatar-container .avatar-wrapper[data-v-bfe8efa0]{margin-top:5px;position:relative}.navbar .right-menu .avatar-container .avatar-wrapper .user-avatar[data-v-bfe8efa0]{cursor:pointer;width:40px;height:40px;border-radius:10px}.navbar .right-menu .avatar-container .avatar-wrapper .el-icon-caret-bottom[data-v-bfe8efa0]{cursor:pointer;position:absolute;right:-20px;top:25px;font-size:12px}.sidebarLogoFade-enter-active[data-v-39d3a2a9]{-webkit-transition:opacity 1.5s;transition:opacity 1.5s}.sidebarLogoFade-enter[data-v-39d3a2a9],.sidebarLogoFade-leave-to[data-v-39d3a2a9]{opacity:0}.sidebar-logo-container[data-v-39d3a2a9]{position:relative;width:100%;height:50px;line-height:50px;background:#2b2f3a;text-align:center;overflow:hidden}.sidebar-logo-container .sidebar-logo-link[data-v-39d3a2a9]{height:100%;width:100%}.sidebar-logo-container .sidebar-logo-link .sidebar-logo[data-v-39d3a2a9]{width:32px;height:32px;vertical-align:middle;margin-right:12px}.sidebar-logo-container .sidebar-logo-link .sidebar-title[data-v-39d3a2a9]{display:inline-block;margin:0;color:#fff;font-weight:600;line-height:50px;font-size:14px;font-family:Avenir,Helvetica Neue,Arial,Helvetica,sans-serif;vertical-align:middle}.sidebar-logo-container.collapse .sidebar-logo[data-v-39d3a2a9]{margin-right:0}.sub-el-icon[data-v-18eeea00]{color:currentColor;width:1em;height:1em}.svg-icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.app-main{min-height:100%;width:100%;position:relative;overflow:hidden}.app-main .el-loading-mask{z-index:100}.fixed-header+.app-main{padding-top:50px}.el-popup-parent--hidden .fixed-header{padding-right:15px}[data-v-7912d7ab]:export{menuText:#bfcbd9;menuActiveText:#409eff;subMenuActiveText:#f4f4f5;menuBg:#2b3245;menuHover:#263445;subMenuBg:#1f2d3d;subMenuHover:#001528;sideBarWidth:210px}.toptitle[data-v-7912d7ab]{color:#fff;height:91px;padding:0 6% 0 36px;z-index:2005;background-color:#2b3245;position:fixed;top:0;left:0;right:0;overflow:hidden}.toptitle .leftk[data-v-7912d7ab]{float:left;margin-top:16px;height:60px}.toptitle .leftk>img[data-v-7912d7ab]{vertical-align:middle;display:inline-block;max-width:100%;height:100%;background-color:#fff;border-radius:50%}.toptitle .leftk>i[data-v-7912d7ab]{vertical-align:middle;color:#fff;font-size:30px;margin:6px 0 0 15px}.toptitle .rightk[data-v-7912d7ab]{float:right;margin-top:18px;position:relative}.toptitle .erectline[data-v-7912d7ab]{margin:0 18px;height:40px;width:1px;background-color:#414758}.toptitle .avatark[data-v-7912d7ab],.toptitle .erectline[data-v-7912d7ab]{display:inline-block;vertical-align:middle}.toptitle .avatark>img[data-v-7912d7ab]{width:58px;background-color:#409eff;border-radius:50%}.app-wrapper[data-v-7912d7ab]{position:relative;height:100%;width:100%}.app-wrapper[data-v-7912d7ab]:after{content:"";display:table;clear:both}.app-wrapper.mobile.openSidebar[data-v-7912d7ab]{position:fixed;top:0}.drawer-bg[data-v-7912d7ab]{background:#000;opacity:.3;width:100%;top:0;height:100%;position:absolute;z-index:2001}.fixed-header[data-v-7912d7ab]{position:fixed;top:0;right:0;z-index:9;width:calc(100% - 210px);-webkit-transition:width .28s;transition:width .28s}.hideSidebar .fixed-header[data-v-7912d7ab]{width:calc(100% - 54px)}.mobile .fixed-header[data-v-7912d7ab]{width:100%}.content_main[data-v-7912d7ab]{padding-top:141px}.navbar_main[data-v-7912d7ab]{width:100%;position:fixed;top:91px;z-index:300}.svg-icon[data-v-f9f7fefc]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.svg-external-icon[data-v-f9f7fefc]{background-color:currentColor;-webkit-mask-size:cover!important;mask-size:cover!important;display:inline-block} \ No newline at end of file diff --git a/dist/static/css/chunk-03d6f850.40883d09.css b/dist/static/css/chunk-03d6f850.40883d09.css deleted file mode 100644 index 6637cbf..0000000 --- a/dist/static/css/chunk-03d6f850.40883d09.css +++ /dev/null @@ -1 +0,0 @@ -.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:18px;position:relative}.toptitle .erectline{margin:0 18px;display:inline-block;vertical-align:middle;height:40px;width:1px;background-color:#414758}.toptitle .avatark{height:20px}.toptitle .avatark>img{width:58px;background-color:#409eff;border-radius:50%}.svg-icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.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} \ No newline at end of file diff --git a/dist/static/css/chunk-131916dc.fd921d20.css b/dist/static/css/chunk-131916dc.fd921d20.css new file mode 100644 index 0000000..c30801f --- /dev/null +++ b/dist/static/css/chunk-131916dc.fd921d20.css @@ -0,0 +1 @@ +.toptitle{color:#fff;height:91px;padding:0 6% 0 36px;z-index:2005;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:18px;position:relative}.toptitle .erectline{margin:0 18px;height:40px;width:1px;background-color:#414758}.toptitle .avatark,.toptitle .erectline{display:inline-block;vertical-align:middle}.toptitle .avatark>img{width:58px;background-color:#409eff;border-radius:50%}.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} \ No newline at end of file diff --git a/dist/static/css/chunk-2e716637.d185d2a3.css b/dist/static/css/chunk-755f3784.d185d2a3.css similarity index 100% rename from dist/static/css/chunk-2e716637.d185d2a3.css rename to dist/static/css/chunk-755f3784.d185d2a3.css diff --git a/dist/static/css/chunk-6b919d04.f4754777.css b/dist/static/css/chunk-764328cf.f4754777.css similarity index 100% rename from dist/static/css/chunk-6b919d04.f4754777.css rename to dist/static/css/chunk-764328cf.f4754777.css diff --git a/dist/static/css/chunk-088a652a.992eb6c3.css b/dist/static/css/chunk-b179bd6e.992eb6c3.css similarity index 100% rename from dist/static/css/chunk-088a652a.992eb6c3.css rename to dist/static/css/chunk-b179bd6e.992eb6c3.css diff --git a/dist/static/css/chunk-libs.b57e4bfb.css b/dist/static/css/chunk-libs.5833bdfc.css similarity index 92% rename from dist/static/css/chunk-libs.b57e4bfb.css rename to dist/static/css/chunk-libs.5833bdfc.css index 8945982..5b2b5ff 100644 --- a/dist/static/css/chunk-libs.b57e4bfb.css +++ b/dist/static/css/chunk-libs.5833bdfc.css @@ -1 +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)}} \ No newline at end of file +#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:6000;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)}} \ No newline at end of file diff --git a/dist/static/js/app.0bd9b1d2.js b/dist/static/js/app.0bd9b1d2.js deleted file mode 100644 index 4fcba3f..0000000 --- a/dist/static/js/app.0bd9b1d2.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,t,n){e.exports=n("56d7")},"0259":function(e,t,n){},"0f50":function(e,t,n){"use strict";n("3c88")},"18f0":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},2523:function(e,t,n){},"28e8":function(e,t,n){},"2a3d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"30c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"320d":function(e,t,n){},"3c88":function(e,t,n){},"47f1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"4a9d":function(e,t,n){"use strict";var a=n("2b0e"),i=new a["default"];t["a"]=i},"4df5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});s.a.add(o);t["default"]=o},"51ff":function(e,t,n){var a={"./dashboard.svg":"f782","./example.svg":"30c3","./eye-open.svg":"d7ec","./eye.svg":"4df5","./form.svg":"eb1b","./link.svg":"18f0","./nested.svg":"dcf8","./password.svg":"2a3d","./table.svg":"47f1","./tree.svg":"93cd","./user.svg":"b3b5"};function i(e){var t=r(e);return n(t)}function r(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=r,e.exports=i,i.id="51ff"},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var a=n("2b0e"),i=n("5c96"),r=n.n(i),s=(n("0fae"),n("b20f"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)}),o=[],c={name:"App"},u=c,l=n("2877"),d=Object(l["a"])(u,s,o,!1,null,null,null),h=d.exports,m=n("2f62"),f=(n("b0c0"),{sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name}}),p=f,v=n("a78e"),b=n.n(v),g={sidebar:{opened:!b.a.get("sidebarStatus")||!!+b.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},w={TOGGLE_SIDEBAR:function(e){e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?b.a.set("sidebarStatus",1):b.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){b.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t}},x={toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,a=t.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)}},C={namespaced:!0,state:g,mutations:w,actions:x},y=n("83d6"),_=n.n(y),k=_.a.showSettings,O=_.a.fixedHeader,S=_.a.sidebarLogo,E={showSettings:k,fixedHeader:O,sidebarLogo:S},z={CHANGE_SETTING:function(e,t){var n=t.key,a=t.value;e.hasOwnProperty(n)&&(e[n]=a)}},T={changeSetting:function(e,t){var n=e.commit;n("CHANGE_SETTING",t)}},H={namespaced:!0,state:E,mutations:z,actions:T},M=(n("d3b7"),n("498a"),n("c24f")),j="jialuoma_token";function B(){return b.a.get(j)}function $(e){return b.a.set(j,e)}function L(){return b.a.remove(j)}n("3ca3"),n("ddb0");var A=n("8c4f"),V=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj},[n("div",{staticClass:"toptitle clearfix"},[e._m(0),n("div",{staticClass:"rightk tpriht"},[e._m(1),n("em",{staticClass:"erectline"}),n("el-button",{staticClass:"quit",attrs:{id:"tuichu",size:"mini",round:""},nativeOn:{click:function(t){return e.logout(t)}}},[e._v("退出")])],1)]),n("div",{staticClass:"content_main"},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),n("sidebar",{staticClass:"sidebar-container"}),n("div",{staticClass:"main-container"},[n("div",{class:{"fixed-header":e.fixedHeader}},[n("navbar")],1),n("app-main")],1)],1)])},q=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a",{staticClass:"leftk",attrs:{href:"javascript:;"}},[a("img",{attrs:{src:n("7b07"),alt:"图片"}}),a("em",{staticClass:"erectline"}),a("span",[e._v("后台管理系统")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a",{staticClass:"avatark",attrs:{href:"javascript:;","data-toggle":"dropdown",role:"button","aria-haspopup":"true","aria-expanded":"false"}},[a("img",{staticClass:"mailtp verMiddle",attrs:{src:n("7b07"),alt:"图片"}})])}],D=n("c7eb"),I=n("1da1"),P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{"is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}),n("breadcrumb",{staticClass:"breadcrumb-container"})],1)},N=[],G=n("5530"),R=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.breadcrumbq?n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{"separator-class":"el-icon-arrow-right"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(t,a){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||a==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])])})),1)],1):n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{"separator-class":"el-icon-arrow-right"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList2,(function(t){return n("el-breadcrumb-item",{key:t.path},[n("a",{attrs:{href:"#"+t.path}},[e._v(e._s(t.meta.title))])])})),1)],1)},U=[],F=(n("4de4"),n("99af"),n("bd11")),J=n.n(F),K=[{id:"0",path:"/homepage",meta:{title:"首页",icon:"dashboard"}},{id:"1",path:"/filemange/index",class:"file",meta:{title:"文件管理",icon:"el-icon-s-help"},children:[]},{id:"2",path:"/usermange/index",meta:{title:"用户管理",icon:"form"}},{id:"3",path:"/systme",meta:{title:"系统管理",icon:"dashboard"},children:[{id:"3-1",path:"changepass",meta:{title:"修改密码",icon:"table"}},{id:"3-2",path:"userrelated",meta:{title:"用户相关",icon:"tree"}},{id:"3-3",path:"switchtheme",meta:{title:"皮肤更换",icon:"tree"}}]}],W=K,Q={data:function(){return{levelList:null,breadcrumbq:!0,getcrumbsData:W,levelList2:[]}},watch:{$route:function(){this.ifbreadshow()},getcrumbsData:{handler:function(e,t){this.extractChild=this.arrToobj(e),this.ifbreadshow()},deep:!0}},created:function(){this.extractChild=null},computed:{},methods:{ifbreadshow:function(){var e=window.location.href,t=null,n=null;if(-1!=e.indexOf("filemange")){for(var a in this.extractChild)if(1==this.extractChild[a].id){n=this.extractChild[a];break}-1!=e.indexOf("?id")?(t=e.split("?id=")[1],this.levelList2=this.getBread(t,this.extractChild),this.levelList2.reverse(),console.log(this.levelList2)):this.levelList2=[],this.levelList2.unshift(n),this.breadcrumbq=!1}else this.breadcrumbq=!0,this.getBreadcrumb()},arrToobj:function(e){var t,n={};for(var a in e)if("undefined"!=typeof e[a]["children"])for(var i in t=this.arrToobj(e[a]["children"]),n[e[a].id]=e[a],t)n[t[i].id]=t[i];else n[e[a].id]=e[a];return n},getBread:function(e,t){if("undefined"==typeof t[e])return!1;var n=[];n[n.length]=t[e];var a="undefined"!=typeof t[e]["pid"]?t[e]["pid"]:0;while(a)n[n.length]=t[a],a="undefined"!=typeof t[a]["pid"]?t[a]["pid"]:0;return n},getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.meta&&e.meta.title})),t=e[0];this.isDashboard(t)||(e=[{path:"/dashboard",meta:{title:""}}].concat(e)),this.levelList=e.filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb}))},isDashboard:function(e){var t=e&&e.name;return!!t&&t.trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()},pathCompile:function(e){var t=this.$route.params,n=J.a.compile(e);return n(t)},handleLink:function(e){var t=e.redirect,n=e.path;t?this.$router.push(t):this.$router.push(this.pathCompile(n))}}},X=Q,Y=(n("6c35"),Object(l["a"])(X,R,U,!1,null,"6e721a7c",null)),Z=Y.exports,ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},te=[],ne={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},ae=ne,ie=(n("d49d"),Object(l["a"])(ae,ee,te,!1,null,"49e15297",null)),re=ie.exports,se={components:{Breadcrumb:Z,Hamburger:re},computed:Object(G["a"])({},Object(m["b"])(["sidebar","avatar"])),methods:{toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var e=this;return Object(I["a"])(Object(D["a"])().mark((function t(){return Object(D["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$router.push("/login?redirect=".concat(e.$route.fullPath));case 1:case"end":return t.stop()}}),t)})))()}}},oe=se,ce=(n("b55f"),Object(l["a"])(oe,P,N,!1,null,"bfe8efa0",null)),ue=ce.exports,le=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"has-logo":e.showLogo}},[e.showLogo?n("logo",{attrs:{collapse:e.isCollapse}}):e._e(),n("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":e.variables.menuBg,"text-color":e.variables.menuText,"unique-opened":!1,"active-text-color":e.variables.menuActiveText,"collapse-transition":!1,mode:"vertical","default-openeds":e.openedsindex},on:{open:e.handleOpen}},e._l(e.routes,(function(e){return n("sidebar-item",{key:e.path,attrs:{item:e,"base-path":e.path}})})),1),n("div",[n("a",{staticClass:"router-link-active",attrs:{href:"/",target:"_blank"}},[n("li",{staticClass:"el-menu-item submenu-title-noDropdown",staticStyle:{"padding-left":"20px",color:"rgb(191, 203, 217)","background-color":"rgb(43, 50, 69)"},attrs:{role:"menuitem",tabindex:"-1"}},[n("svg",{staticClass:"svg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-link"}})]),n("span",[e._v("前端展示页面")])])])])],1)],1)},de=[],he=(n("159b"),n("4a9d")),me=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse}},[n("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?n("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):n("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title)+" ")])]):n("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):e._e(),n("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title)+" ")])])],1)],1)},fe=[],pe={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},data:function(){return{title:"嘉洛马",logo:"https://static.jialuoma.cn/img/logo_jialuoma.png"}}},ve=pe,be=(n("d508"),Object(l["a"])(ve,me,fe,!1,null,"39d3a2a9",null)),ge=be.exports,we=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.item.hidden?e._e():n("div",[!e.hasOneShowingChild(e.item.children,e.item)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?[e.item.class&&"file"==e.item.class?n("a",{staticClass:"el_submenu_link",attrs:{index:e.resolvePath(e.item.path),href:"#"+e.resolvePath(e.item.path)}}):e._e(),n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._l(e.item.children,(function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})}))],2)]:[e.onlyOneChild.meta?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2)},xe=[],Ce=n("df7c"),ye=n.n(Ce);n("ac1f"),n("00b4");function _e(e){return/^(https?:|mailto:|tel:)/.test(e)}n("caad"),n("2532");var ke,Oe,Se={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,a=n.icon,i=n.title,r=[];return a&&(a.includes("el-icon")?r.push(e("i",{class:[a,"sub-el-icon"]})):r.push(e("svg-icon",{attrs:{"icon-class":a}}))),i&&r.push(e("span",{slot:"title"},[i])),r}},Ee=Se,ze=(n("f15b"),Object(l["a"])(Ee,ke,Oe,!1,null,"18eeea00",null)),Te=ze.exports,He=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.type,e._b({tag:"component"},"component",e.linkProps(e.to),!1),[e._t("default")],2)},Me=[],je={props:{to:{type:String,required:!0}},computed:{isExternal:function(){return _e(this.to)},type:function(){return this.isExternal?"a":"router-link"}},methods:{linkProps:function(e){return this.isExternal?{href:e,target:"_blank",rel:"noopener"}:{to:e}}}},Be=je,$e=Object(l["a"])(Be,He,Me,!1,null,null,null),Le=$e.exports,Ae={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.subMenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}},Ve={name:"SidebarItem",components:{Item:Te,AppLink:Le},mixins:[Ae],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,a=t.filter((function(t){return!t.hidden&&(e.onlyOneChild=t,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(G["a"])(Object(G["a"])({},n),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return _e(e)?e:_e(this.basePath)?this.basePath:ye.a.resolve(this.basePath,e)}}},qe=Ve,De=Object(l["a"])(qe,we,xe,!1,null,null,null),Ie=De.exports,Pe=n("cf1e"),Ne=n.n(Pe),Ge={components:{SidebarItem:Ie,Logo:ge},created:function(){this.getmunusdata()},mounted:function(){he["a"].$on("mkdirSuccess",this.getmunusdata);var e=window.location.href;-1!=e.indexOf("filemange/index")&&this.menuopeneds()},data:function(){return{routes:W,openedsindex:[]}},computed:Object(G["a"])(Object(G["a"])({},Object(m["b"])(["sidebar"])),{},{activeMenu:function(){var e=this.$route,t=e.meta,n=e.path,a=window.location.href;return-1!=a.indexOf("?id")?a.split("/#")[1]:t.activeMenu?t.activeMenu:n},showLogo:function(){return this.$store.state.settings.sidebarLogo},variables:function(){return Ne.a},isCollapse:function(){return!this.sidebar.opened}}),methods:{menuopeneds:function(){var e=this;window.setTimeout((function(){e.openedsindex=["/filemange/index"]}),400)},SplicingMenuTree:function(e){var t=this,n=null,a=[];return e.forEach((function(e){n={path:"/filemange/subfile?id="+e.id,meta:{title:e.directory},class:"file",id:e.id,pid:e.pid,children:[]},e.directories&&e.directories.length>0&&(n.children=t.SplicingMenuTree(e.directories)),a.push(n)})),a},getmunusdata:function(){var e=this,t=this;Object(M["e"])().then((function(t){var n=t.data;e.routes[1].children=[],1==n.code&&(e.routes[1].children=e.SplicingMenuTree(n.data.menus))})).catch((function(e){if(e.response){if(401==e.response.status)return t.$message({showClose:!0,message:e.response.data.err,type:"error"}),void t.$router.push({path:"/login"});t.$message({showClose:!0,message:e.response.data.err,type:"error"})}else e.request,t.$message({showClose:!0,message:e.response.data.err,type:"error"})}))},handleOpen:function(e,t){}}},Re=Ge,Ue=(n("5ef9"),Object(l["a"])(Re,le,de,!1,null,null,null)),Fe=Ue.exports,Je=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("router-view",{key:e.key})],1)],1)},Ke=[],We={name:"AppMain",computed:{key:function(){return this.$route.path}}},Qe=We,Xe=(n("0f50"),n("92cc"),Object(l["a"])(Qe,Je,Ke,!1,null,"2c621124",null)),Ye=Xe.exports,Ze=document,et=Ze.body,tt=992,nt={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&>.dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(gt.dispatch("app/toggleDevice","mobile"),gt.dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=et.getBoundingClientRect();return e.width-1'});s.a.add(o);t["default"]=o},b20f:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#2b3245",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},b3b5:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});s.a.add(o);t["default"]=o},b533:function(e,t,n){},b55f:function(e,t,n){"use strict";n("0259")},b775:function(e,t,n){"use strict";var a=n("bc3a"),i=a["a"].create({headers:{"Content-Type":"multipart/form-data"},timeout:0});t["a"]=i},c24f:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return o})),n.d(t,"k",(function(){return c})),n.d(t,"i",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"h",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"j",(function(){return m}));var a=n("b775");function i(e){return Object(a["a"])({url:"/api/captcha",method:"post",data:e})}function r(e){return Object(a["a"])({url:"/api/login",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/api/ls",method:"post",data:e})}function o(e){return Object(a["a"])({url:"/api/mkdir",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/api/uploadbase64",method:"post",data:e})}function u(e){return Object(a["a"])({url:"/api/rmdir",method:"post",data:e})}function l(e){return Object(a["a"])({url:"/api/delete",method:"post",data:e})}function d(e){return Object(a["a"])({url:"/api/rename",method:"post",data:e})}function h(e){return Object(a["a"])({url:"/api/move",method:"post",data:e})}function m(e){return Object(a["a"])({url:"/api/switchtheme/",method:"post",data:e})}},c4c2:function(e,t,n){},cf1e:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#2b3245",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},d49d:function(e,t,n){"use strict";n("da64")},d508:function(e,t,n){"use strict";n("e5f4")},d7ec:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},da64:function(e,t,n){},dcf8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},e5f4:function(e,t,n){},eb1b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},f15b:function(e,t,n){"use strict";n("28e8")},f18f:function(e,t,n){"use strict";n("b533")},f782:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});s.a.add(o);t["default"]=o}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/dist/static/js/app.ffc0875a.js b/dist/static/js/app.ffc0875a.js new file mode 100644 index 0000000..d7847f4 --- /dev/null +++ b/dist/static/js/app.ffc0875a.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,t,n){e.exports=n("56d7")},"0259":function(e,t,n){},"18f0":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"28e8":function(e,t,n){},"2a3d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"30c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"47f1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"4a9d":function(e,t,n){"use strict";var a=n("2b0e"),i=new a["default"];t["a"]=i},"4df5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});s.a.add(o);t["default"]=o},5099:function(e,t,n){"use strict";n("721c")},"51ff":function(e,t,n){var a={"./dashboard.svg":"f782","./example.svg":"30c3","./eye-open.svg":"d7ec","./eye.svg":"4df5","./form.svg":"eb1b","./link.svg":"18f0","./nested.svg":"dcf8","./password.svg":"2a3d","./table.svg":"47f1","./tree.svg":"93cd","./user.svg":"b3b5"};function i(e){var t=r(e);return n(t)}function r(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=r,e.exports=i,i.id="51ff"},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var a=n("2b0e"),i=n("5c96"),r=n.n(i),s=(n("0fae"),n("b20f"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)}),o=[],c={name:"App"},u=c,l=n("2877"),d=Object(l["a"])(u,s,o,!1,null,null,null),h=d.exports,m=n("2f62"),p=(n("b0c0"),{sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name}}),f=p,b=n("a78e"),v=n.n(b),g={sidebar:{opened:!v.a.get("sidebarStatus")||!!+v.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},w={TOGGLE_SIDEBAR:function(e){e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?v.a.set("sidebarStatus",1):v.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){v.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t}},x={toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,a=t.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)}},C={namespaced:!0,state:g,mutations:w,actions:x},y=n("83d6"),O=n.n(y),_=O.a.showSettings,k=O.a.fixedHeader,S=O.a.sidebarLogo,z={showSettings:_,fixedHeader:k,sidebarLogo:S},j={CHANGE_SETTING:function(e,t){var n=t.key,a=t.value;e.hasOwnProperty(n)&&(e[n]=a)}},E={changeSetting:function(e,t){var n=e.commit;n("CHANGE_SETTING",t)}},H={namespaced:!0,state:z,mutations:j,actions:E},M=(n("d3b7"),n("498a"),n("c24f")),T=n("5f87"),B=(n("3ca3"),n("ddb0"),n("8c4f")),$=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj},[n("div",{staticClass:"toptitle clearfix"},[e._m(0),n("div",{staticClass:"rightk tpriht"},[e._m(1),n("em",{staticClass:"erectline"}),n("el-button",{staticClass:"quit",attrs:{id:"tuichu",size:"mini",round:""},nativeOn:{click:function(t){return e.logout(t)}}},[e._v("退出")])],1)]),n("div",{staticClass:"content_main"},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),n("sidebar",{staticClass:"sidebar-container"}),n("div",{staticClass:"main-container"},[n("div",{staticClass:"navbar_main",class:{"fixed-header":e.fixedHeader}},[n("navbar")],1),n("app-main")],1)],1)])},L=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a",{staticClass:"leftk",attrs:{href:"javascript:;"}},[a("img",{attrs:{src:n("7b07"),alt:"图片"}}),a("em",{staticClass:"erectline"}),a("span",[e._v("后台管理系统")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a",{staticClass:"avatark",attrs:{href:"javascript:;","data-toggle":"dropdown",role:"button","aria-haspopup":"true","aria-expanded":"false"}},[a("img",{staticClass:"mailtp verMiddle",attrs:{src:n("7b07"),alt:"图片"}})])}],V=n("c7eb"),A=n("1da1"),q=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{"is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}),n("breadcrumb",{staticClass:"breadcrumb-container"})],1)},D=[],P=n("5530"),I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.breadcrumbq?n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{"separator-class":"el-icon-arrow-right"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(t,a){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||a==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])])})),1)],1):n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{"separator-class":"el-icon-arrow-right"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList2,(function(t){return n("el-breadcrumb-item",{key:t.path},[n("a",{attrs:{href:"#"+t.path}},[e._v(e._s(t.meta.title))])])})),1)],1)},N=[],G=(n("4de4"),n("99af"),n("bd11")),R=n.n(G),U=[{id:"0",path:"/homepage",meta:{title:"首页",icon:"dashboard"}},{id:"1",path:"/filemange/index",class:"file",meta:{title:"文件管理",icon:"el-icon-s-help"},children:[]},{id:"2",path:"/usermange/index",meta:{title:"用户管理",icon:"form"}},{id:"3",path:"/systme",meta:{title:"系统管理",icon:"dashboard"},children:[{id:"3-1",path:"changepass",meta:{title:"修改密码",icon:"table"}},{id:"3-2",path:"userrelated",meta:{title:"用户相关",icon:"tree"}},{id:"3-3",path:"switchtheme",meta:{title:"皮肤更换",icon:"tree"}}]}],F=U,J={data:function(){return{levelList:null,breadcrumbq:!0,getcrumbsData:F,levelList2:[]}},watch:{$route:function(){this.ifbreadshow()},getcrumbsData:{handler:function(e,t){this.extractChild=this.arrToobj(e),this.ifbreadshow()},deep:!0}},created:function(){this.extractChild=null},computed:{},methods:{ifbreadshow:function(){var e=window.location.href,t=null,n=null;if(-1!=e.indexOf("filemange")){for(var a in this.extractChild)if(1==this.extractChild[a].id){n=this.extractChild[a];break}-1!=e.indexOf("?id")?(t=e.split("?id=")[1],this.levelList2=this.getBread(t,this.extractChild),this.levelList2.reverse()):this.levelList2=[],this.levelList2.unshift(n),this.breadcrumbq=!1}else this.breadcrumbq=!0,this.getBreadcrumb()},arrToobj:function(e){var t,n={};for(var a in e)if("undefined"!=typeof e[a]["children"])for(var i in t=this.arrToobj(e[a]["children"]),n[e[a].id]=e[a],t)n[t[i].id]=t[i];else n[e[a].id]=e[a];return n},getBread:function(e,t){if("undefined"==typeof t[e])return!1;var n=[];n[n.length]=t[e];var a="undefined"!=typeof t[e]["pid"]?t[e]["pid"]:0;while(a)n[n.length]=t[a],a="undefined"!=typeof t[a]["pid"]?t[a]["pid"]:0;return n},getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.meta&&e.meta.title})),t=e[0];this.isDashboard(t)||(e=[{path:"/dashboard",meta:{title:""}}].concat(e)),this.levelList=e.filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb}))},isDashboard:function(e){var t=e&&e.name;return!!t&&t.trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()},pathCompile:function(e){var t=this.$route.params,n=R.a.compile(e);return n(t)},handleLink:function(e){var t=e.redirect,n=e.path;t?this.$router.push(t):this.$router.push(this.pathCompile(n))}}},K=J,W=(n("d614"),Object(l["a"])(K,I,N,!1,null,"0c871572",null)),Q=W.exports,X=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},Y=[],Z={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},ee=Z,te=(n("d49d"),Object(l["a"])(ee,X,Y,!1,null,"49e15297",null)),ne=te.exports,ae={components:{Breadcrumb:Q,Hamburger:ne},computed:Object(P["a"])({},Object(m["b"])(["sidebar","avatar"])),methods:{toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var e=this;return Object(A["a"])(Object(V["a"])().mark((function t(){return Object(V["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$router.push("/login?redirect=".concat(e.$route.fullPath));case 1:case"end":return t.stop()}}),t)})))()}}},ie=ae,re=(n("b55f"),Object(l["a"])(ie,q,D,!1,null,"bfe8efa0",null)),se=re.exports,oe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"has-logo":e.showLogo}},[e.showLogo?n("logo",{attrs:{collapse:e.isCollapse}}):e._e(),n("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":e.variables.menuBg,"text-color":e.variables.menuText,"unique-opened":!1,"active-text-color":e.variables.menuActiveText,"collapse-transition":!1,mode:"vertical","default-openeds":e.openedsindex},on:{open:e.handleOpen}},e._l(e.routes,(function(e){return n("sidebar-item",{key:e.path,attrs:{item:e,"base-path":e.path}})})),1),n("div",[n("a",{staticClass:"router-link-active",attrs:{href:"/",target:"_blank"}},[n("li",{staticClass:"el-menu-item submenu-title-noDropdown",staticStyle:{"padding-left":"20px",color:"rgb(191, 203, 217)","background-color":"rgb(43, 50, 69)"},attrs:{role:"menuitem",tabindex:"-1"}},[n("svg",{staticClass:"svg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-link"}})]),n("span",[e._v("前端展示页面")])])])])],1)],1)},ce=[],ue=(n("159b"),n("4a9d")),le=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse}},[n("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?n("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):n("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title)+" ")])]):n("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):e._e(),n("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title)+" ")])])],1)],1)},de=[],he={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},data:function(){return{title:"嘉洛马",logo:"https://static.jialuoma.cn/img/logo_jialuoma.png"}}},me=he,pe=(n("d508"),Object(l["a"])(me,le,de,!1,null,"39d3a2a9",null)),fe=pe.exports,be=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.item.hidden?e._e():n("div",[!e.hasOneShowingChild(e.item.children,e.item)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?[e.item.class&&"file"==e.item.class?n("a",{staticClass:"el_submenu_link",attrs:{index:e.resolvePath(e.item.path),href:"#"+e.resolvePath(e.item.path)}}):e._e(),n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._l(e.item.children,(function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})}))],2)]:[e.onlyOneChild.meta?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2)},ve=[],ge=n("df7c"),we=n.n(ge);n("ac1f"),n("00b4");function xe(e){return/^(https?:|mailto:|tel:)/.test(e)}n("caad"),n("2532");var Ce,ye,Oe={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,a=n.icon,i=n.title,r=[];return a&&(a.includes("el-icon")?r.push(e("i",{class:[a,"sub-el-icon"]})):r.push(e("svg-icon",{attrs:{"icon-class":a}}))),i&&r.push(e("span",{slot:"title"},[i])),r}},_e=Oe,ke=(n("f15b"),Object(l["a"])(_e,Ce,ye,!1,null,"18eeea00",null)),Se=ke.exports,ze=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.type,e._b({tag:"component"},"component",e.linkProps(e.to),!1),[e._t("default")],2)},je=[],Ee={props:{to:{type:String,required:!0}},computed:{isExternal:function(){return xe(this.to)},type:function(){return this.isExternal?"a":"router-link"}},methods:{linkProps:function(e){return this.isExternal?{href:e,target:"_blank",rel:"noopener"}:{to:e}}}},He=Ee,Me=Object(l["a"])(He,ze,je,!1,null,null,null),Te=Me.exports,Be={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.subMenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}},$e={name:"SidebarItem",components:{Item:Se,AppLink:Te},mixins:[Be],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,a=t.filter((function(t){return!t.hidden&&(e.onlyOneChild=t,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(P["a"])(Object(P["a"])({},n),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return xe(e)?e:xe(this.basePath)?this.basePath:we.a.resolve(this.basePath,e)}}},Le=$e,Ve=Object(l["a"])(Le,be,ve,!1,null,null,null),Ae=Ve.exports,qe=n("cf1e"),De=n.n(qe),Pe={components:{SidebarItem:Ae,Logo:fe},created:function(){this.getmunusdata()},mounted:function(){ue["a"].$on("mkdirSuccess",this.getmunusdata);var e=window.location.href;-1!=e.indexOf("filemange/index")&&this.menuopeneds()},data:function(){return{routes:F,openedsindex:[]}},computed:Object(P["a"])(Object(P["a"])({},Object(m["b"])(["sidebar"])),{},{activeMenu:function(){var e=this.$route,t=e.meta,n=e.path,a=window.location.href;return-1!=a.indexOf("?id")?a.split("/#")[1]:t.activeMenu?t.activeMenu:n},showLogo:function(){return this.$store.state.settings.sidebarLogo},variables:function(){return De.a},isCollapse:function(){return!this.sidebar.opened}}),methods:{menuopeneds:function(){var e=this;window.setTimeout((function(){e.openedsindex=["/filemange/index"]}),400)},SplicingMenuTree:function(e){var t=this,n=null,a=[];return e.forEach((function(e){n={path:"/filemange/subfile?id="+e.id,meta:{title:e.directory},class:"file",id:e.id,pid:e.pid,children:[]},e.directories&&e.directories.length>0&&(n.children=t.SplicingMenuTree(e.directories)),a.push(n)})),a},getmunusdata:function(){var e=this,t=this;Object(M["d"])().then((function(t){var n=t.data;e.routes[1].children=[],1==n.code&&(e.routes[1].children=e.SplicingMenuTree(n.data.menus))})).catch((function(e){if(e.response){if(401==e.response.status)return t.$message({showClose:!0,message:e.response.data.err,type:"error"}),void t.$router.push({path:"/login"});t.$message({showClose:!0,message:e.response.data.err,type:"error"})}else e.request,t.$message({showClose:!0,message:e.response.data.err,type:"error"})}))},handleOpen:function(e,t){}}},Ie=Pe,Ne=(n("5ef9"),Object(l["a"])(Ie,oe,ce,!1,null,null,null)),Ge=Ne.exports,Re=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("router-view",{key:e.key})],1)],1)},Ue=[],Fe={name:"AppMain",computed:{key:function(){return this.$route.path}}},Je=Fe,Ke=(n("5099"),Object(l["a"])(Je,Re,Ue,!1,null,null,null)),We=Ke.exports,Qe=document,Xe=Qe.body,Ye=992,Ze={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&ft.dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(ft.dispatch("app/toggleDevice","mobile"),ft.dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=Xe.getBoundingClientRect();return e.width-1'});s.a.add(o);t["default"]=o},b20f:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#2b3245",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},b3b5:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});s.a.add(o);t["default"]=o},b55f:function(e,t,n){"use strict";n("0259")},b775:function(e,t,n){"use strict";var a=n("bc3a"),i=a["a"].create({headers:{"Content-Type":"multipart/form-data"},timeout:0});t["a"]=i},c24f:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"h",(function(){return s})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"k",(function(){return l})),n.d(t,"i",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"g",(function(){return m})),n.d(t,"f",(function(){return p})),n.d(t,"j",(function(){return f}));var a=n("b775"),i=n("5f87");function r(e){return Object(a["a"])({url:"/api/captcha",method:"post",data:e})}function s(e,t){t.response?e.$message({showClose:!0,message:t.response.data.err,type:"error"}):t.request?e.$message({showClose:!0,message:t.request,type:"error"}):e.$message({showClose:!0,message:t.message,type:"error"}),t.response&&401==t.response.status&&(Object(i["b"])(),e.$router.push("/login?redirect=".concat(e.$route.fullPath)))}function o(e){return Object(a["a"])({url:"/api/login",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/api/ls",method:"post",data:e})}function u(e){return Object(a["a"])({url:"/api/mkdir",method:"post",data:e})}function l(e){return Object(a["a"])({url:"/api/uploadbase64",method:"post",data:e})}function d(e){return Object(a["a"])({url:"/api/rmdir",method:"post",data:e})}function h(e){return Object(a["a"])({url:"/api/delete",method:"post",data:e})}function m(e){return Object(a["a"])({url:"/api/rename",method:"post",data:e})}function p(e){return Object(a["a"])({url:"/api/move",method:"post",data:e})}function f(e){return Object(a["a"])({url:"/api/switchtheme/",method:"post",data:e})}},c4c2:function(e,t,n){},cf1e:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#2b3245",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},d49d:function(e,t,n){"use strict";n("da64")},d508:function(e,t,n){"use strict";n("e5f4")},d614:function(e,t,n){"use strict";n("fc2b")},d7ec:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},da64:function(e,t,n){},dcf8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},e5f4:function(e,t,n){},eb1b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},f15b:function(e,t,n){"use strict";n("28e8")},f782:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),s=n.n(r),o=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});s.a.add(o);t["default"]=o},fc2b:function(e,t,n){}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/dist/static/js/chunk-03d6f850.6bef400f.js b/dist/static/js/chunk-03d6f850.6bef400f.js deleted file mode 100644 index e6c0715..0000000 --- a/dist/static/js/chunk-03d6f850.6bef400f.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-03d6f850"],{"1fb3":function(e,t,a){},"3c85":function(e,t,a){"use strict";a("ed46")},5625:function(e,t,a){"use strict";a("1fb3")},"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:"filesite",password:"88888888",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("5625"),a("3c85"),a("2877")),l=Object(c["a"])(i,s,o,!1,null,null,null);t["default"]=l.exports},ed46:function(e,t,a){}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-088a652a.9e877b0e.js b/dist/static/js/chunk-088a652a.9e877b0e.js deleted file mode 100644 index f7ca9a9..0000000 --- a/dist/static/js/chunk-088a652a.9e877b0e.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-088a652a"],{"5a1b":function(e,t,a){e.exports=a.p+"static/img/file.8bc3a8bc.png"},"5e4c":function(e,t,a){"use strict";a("65e0")},"65e0":function(e,t,a){},a434:function(e,t,a){"use strict";var i=a("23e7"),s=a("23cb"),o=a("a691"),r=a("50c4"),l=a("7b0b"),n=a("65f0"),m=a("8418"),d=a("1dde"),f=a("ae40"),c=d("splice"),u=f("splice",{ACCESSORS:!0,0:0,1:2}),g=Math.max,p=Math.min,h=9007199254740991,b="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!c||!u},{splice:function(e,t){var a,i,d,f,c,u,v=l(this),w=r(v.length),y=s(e,w),C=arguments.length;if(0===C?a=i=0:1===C?(a=0,i=w-y):(a=C-2,i=p(g(o(t),0),w-y)),w+a-i>h)throw TypeError(b);for(d=n(v,i),f=0;fw-i+a;f--)delete v[f-1]}else if(a>i)for(f=w-i;f>y;f--)c=f+i-1,u=f+a-1,c in v?v[u]=v[c]:delete v[u];for(f=0;f"+l+""}},9566:function(e,n,t){},9911:function(e,n,t){"use strict";var s=t("23e7"),i=t("857a"),a=t("af03");s({target:"String",proto:!0,forced:a("link")},{link:function(e){return i(this,"a","href",e)}})},af03:function(e,n,t){var s=t("d039");e.exports=function(e){return s((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},bbc9:function(e,n,t){"use strict";t("9566")}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-6b919d04.52570c32.js b/dist/static/js/chunk-6b919d04.52570c32.js deleted file mode 100644 index 4a2f2c9..0000000 --- a/dist/static/js/chunk-6b919d04.52570c32.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6b919d04"],{"5a1b":function(e,t,o){e.exports=o.p+"static/img/file.8bc3a8bc.png"},"9a2d":function(e,t,o){"use strict";o("e86e")},e86e:function(e,t,o){},f454:function(e,t,o){"use strict";o.r(t);var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.subloading,expression:"subloading"}],staticClass:"filemange_container",attrs:{"element-loading-text":"数据加载中..."}},[s("div",{staticClass:"use_button"},[s("el-button",{attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.dirbox=!0}}},[e._v("创建目录")])],1),s("div",{on:{click:e.fileTableMClick}},[s("el-table",{staticClass:"filesmd verleft",staticStyle:{width:"100%"},attrs:{data:e.dirdata,"empty-text":"暂无子目录数据",border:""}},[s("el-table-column",{attrs:{align:"left",prop:"name",label:"名称"}}),s("el-table-column",{attrs:{align:"left",label:"类型",width:"auto"},scopedSlots:e._u([{key:"default",fn:function(e){return[s("div",{staticClass:"type_file_click"},[s("el-tooltip",{attrs:{content:"进入子目录",placement:"bottom-start",effect:"light"}},[s("a",{attrs:{href:"#/filemange/subfile?id="+e.row.id}},[s("img",{attrs:{src:o("5a1b"),alt:"图片"}})])])],1)]}}])}),s("el-table-column",{attrs:{align:"center",label:"操作",width:"auto"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",{staticClass:"file_caozuo"},[s("el-button",{attrs:{size:"mini",filenames:t.row.name,mark:"rename"}},[e._v("重命名")])],1),s("div",{staticClass:"file_caozuo2"},[s("el-button",{attrs:{size:"mini",realpath:t.row.frealpath,mark:"movefiledir"}},[e._v("移动")]),s("el-button",{attrs:{size:"mini",mark:"dirdelete",filenames:t.row.name,type:"danger"}},[e._v("删除")])],1)]}}])})],1)],1),s("el-dialog",{attrs:{title:"创建目录",visible:e.dirbox},on:{"update:visible":function(t){e.dirbox=t}}},[s("el-form",{attrs:{model:e.dirform}},[s("el-form-item",{attrs:{label:"目录名称","label-width":e.formLabelWidth}},[s("el-input",{attrs:{autocomplete:"off"},model:{value:e.dirform.dir,callback:function(t){e.$set(e.dirform,"dir",t)},expression:"dirform.dir"}})],1)],1),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.dirbox=!1}}},[e._v("取 消")]),s("el-button",{attrs:{type:"primary",loading:e.mkdirloadings},on:{click:e.mkdirs}},[e._v("确 定")])],1)],1),s("el-dialog",{attrs:{title:"重命名",visible:e.renamebox},on:{"update:visible":function(t){e.renamebox=t}}},[s("el-form",{attrs:{model:e.renamefileform}},[s("el-form-item",{attrs:{label:"新名称","label-width":e.formLabelWidth}},[s("el-input",{attrs:{autocomplete:"off"},model:{value:e.renamefileform.to,callback:function(t){e.$set(e.renamefileform,"to",t)},expression:"renamefileform.to"}},[e.filesuffix?s("template",{slot:"append"},[e._v(e._s(e.filesuffix))]):e._e()],2)],1)],1),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.renamebox=!1}}},[e._v("取 消")]),s("el-button",{attrs:{type:"primary",loading:e.mkdirloadings},on:{click:e.renameFileDir}},[e._v("确 定")])],1)],1),s("el-dialog",{attrs:{title:"目录移动弹出框",visible:e.movebox},on:{"update:visible":function(t){e.movebox=t}}},[s("el-form",{attrs:{model:e.movefileform}},[s("el-form-item",{attrs:{label:"当前位置","label-width":e.formLabelWidth}},[s("el-input",{attrs:{autocomplete:"off"},model:{value:e.movefileform.from,callback:function(t){e.$set(e.movefileform,"from",t)},expression:"movefileform.from"}})],1),s("el-form-item",{attrs:{label:"目标位置(请参考当前位置的格式填写目标位置,需要带上当前的文件名称)","label-width":e.formLabelWidth}},[s("el-input",{attrs:{autocomplete:"off"},model:{value:e.movefileform.to,callback:function(t){e.$set(e.movefileform,"to",t)},expression:"movefileform.to"}})],1)],1),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.movebox=!1}}},[e._v("取 消")]),s("el-button",{attrs:{type:"primary",loading:e.mkdirloadings},on:{click:e.moveFileDir}},[e._v("确 定")])],1)],1)],1)},i=[],r=(o("d3b7"),o("159b"),o("b64b"),o("c24f")),a=o("4a9d"),l={created:function(){this.getFileData()},data:function(){return{dirdata:[],subloading:!1,mkdirloadings:!1,dirbox:!1,dirform:{dir:"",parent:""},formLabelWidth:"",rmdirform:{dir:"",parent:""},renamebox:!1,filesuffix:!1,renamefileform:{from:"",to:"",parent:""},movebox:!1,movefileform:{from:"",to:""}}},methods:{getFileData:function(){var e=this,t=this;this.subloading=!0,Object(r["e"])().then((function(t){var o=t.data;if(e.dirdata=[],1==o.code){var s=o.data.menus;s&&(e.dirdata=e.forObjectData(s))}e.subloading=!1})).catch((function(o){o.response?t.$message({showClose:!0,message:o.response.data.err,type:"error"}):o.request?t.$message({showClose:!0,message:o,type:"error"}):t.$message({showClose:!0,message:o.message,type:"error"}),e.subloading=!1}))},forObjectData:function(e){var t=null,o=[];return Object.keys(e).forEach((function(s){var i=null;e[s].filename&&(i=e[s].filename+"."+e[s].extension),t={suffix:e[s].extension||"",image:e[s].path,name:i||e[s].directory,id:e[s].id,frealpath:e[s].realpath||e[s].directory},o.push(t)})),o},mkdirs:function(){var e=this,t=this;this.dirform.dir?(this.mkdirloadings=!0,Object(r["f"])(this.dirform).then((function(o){var s=o.data;1==s.code?(a["a"].$emit("mkdirSuccess"),e.getFileData(),e.dirform.dir="",t.$message({showClose:!0,message:s.msg,type:"success"})):t.$message({showClose:!0,message:s.err,type:"error"}),e.mkdirloadings=!1,e.dirbox=!1})).catch((function(e){e.response?(t.mkdirloadings=!1,t.$message({showClose:!0,message:e.response.data.err,type:"error"})):e.request?t.$message({showClose:!0,message:e,type:"error"}):t.$message({showClose:!0,message:e.message,type:"error"})}))):t.$message({showClose:!0,message:"目录名不能为空",type:"error"})},rmdirm:function(){var e=this,t=this;this.subloading=!0,Object(r["i"])(this.rmdirform).then((function(o){var s=o.data;s.data.dirTree;1==s.code?(a["a"].$emit("mkdirSuccess"),e.getFileData(),t.$message({showClose:!0,message:s.msg,type:"success"})):t.$message({showClose:!0,message:s.err,type:"error"}),e.subloading=!1})).catch((function(o){o.response||o.request,t.$message({showClose:!0,message:o.response.data.err,type:"error"}),e.subloading=!1}))},moveFileDir:function(){var e=this;if(this.movefileform.to&&this.movefileform.from){var t=this;this.subloading=!0,Object(r["g"])(this.movefileform).then((function(o){var s=o.data;1==s.code?(console.log(66666),a["a"].$emit("mkdirSuccess"),e.getFileData(),t.$message({showClose:!0,message:s.msg,type:"success"})):t.$message({showClose:!0,message:s.err,type:"error"}),e.subloading=!1,e.movebox=!1})).catch((function(o){e.subloading=!1,o.response||o.request,t.$message({showClose:!0,message:o.response.data.err,type:"error"})}))}else this.$message({showClose:!0,message:"不能为空",type:"error"})},renameFileDir:function(){var e=this;if(this.renamefileform.to){this.filesuffix&&(this.renamefileform.to+=this.filesuffix);var t=this;this.subloading=!0,Object(r["h"])(this.renamefileform).then((function(o){var s=o.data;1==s.code?(a["a"].$emit("mkdirSuccess"),e.getFileData(),t.$message({showClose:!0,message:s.msg,type:"success"})):t.$message({showClose:!0,message:s.err,type:"error"}),e.subloading=!1,e.renamebox=!1})).catch((function(o){e.subloading=!1,o.response||o.request,t.$message({showClose:!0,message:o.response.data.err,type:"error"})}))}else this.$message({showClose:!0,message:"新名称不能为空",type:"error"})},fileTableMClick:function(e){var t=e.target,o=t.tagName.toLowerCase(),s=(e.currentTarget,t),i=null;return"span"==o&&(s=t.parentNode),i=s.getAttribute("mark"),"dirdelete"==i?(this.rmdirform.dir=s.getAttribute("filenames"),void this.rmdirm()):"rename"==i?(this.renamefileform.from=s.getAttribute("filenames"),this.filesuffix=s.getAttribute("suffixs"),this.renamefileform.to="",void(this.renamebox=!0)):"movefiledir"==i?(this.movefileform.from=s.getAttribute("realpath"),this.movefileform.to="",void(this.movebox=!0)):void 0}}},n=l,m=(o("9a2d"),o("2877")),f=Object(m["a"])(n,s,i,!1,null,null,null);t["default"]=f.exports}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-755f3784.5612e2a1.js b/dist/static/js/chunk-755f3784.5612e2a1.js new file mode 100644 index 0000000..9007f49 --- /dev/null +++ b/dist/static/js/chunk-755f3784.5612e2a1.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-755f3784"],{"1e39":function(n,e,t){"use strict";t.r(e);var i=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"seitchtheme_m"},[t("h5",[n._v("更换皮肤以查看不同皮肤的前端网站")]),t("div",[t("span",[n._v("更换皮肤:")]),t("el-select",{attrs:{placeholder:"请选择皮肤"},on:{change:n.selectbian},model:{value:n.skinvalue,callback:function(e){n.skinvalue=e},expression:"skinvalue"}},n._l(n.options,(function(n){return t("el-option",{key:n.value,attrs:{label:n.label,value:n.value}})})),1),t("div",{staticClass:"Submit1"},[t("el-button",{attrs:{loading:n.skinloading,type:"primary"},on:{click:n.skinSubmit}},[n._v("提交")]),n.skinAsk?t("a",{staticClass:"to_front_web",attrs:{target:"_blank",href:n.skinLink}},[t("el-button",{attrs:{type:"success",round:""}},[n._v("查看"+n._s(n.skinlabel)+"站点")])],1):n._e()],1)],1)])},s=[],a=(t("d3b7"),t("159b"),t("9911"),t("c24f")),l=t("4a9d"),o={data:function(){return{options:[{value:"manual",label:"文档站",link:"/?"},{value:"webdirectory",label:"导航站",link:"/?"},{value:"googleimage",label:"图片站",link:"/?"},{value:"videoblog",label:"视频站",link:"/?"}],skinvalue:"",skinlabel:"",skinLink:"",skinAsk:!1,skinloading:!1,skinForm:{theme:""}}},created:function(){},methods:{skinSubmit:function(){var n=this,e=this;this.skinloading=!0,this.skinForm.theme=this.skinvalue,Object(a["j"])(this.skinForm).then((function(t){var i=t.data;1==i.code?(e.$message({showClose:!0,message:i.msg,type:"success"}),n.skinAsk=!0,l["a"].$emit("mkdirSuccess")):e.$message({showClose:!0,message:i.err,type:"error"}),n.skinloading=!1})).catch((function(e){n.skinloading=!1,Object(a["h"])(n,e)}))},selectbian:function(n){var e=this;this.options.forEach((function(t){t.value==n&&(e.skinlabel=t.label,e.skinLink=t.link+Math.round(1e3*Math.random()))})),this.skinAsk=!1}}},r=o,u=(t("5129"),t("2877")),c=Object(u["a"])(r,i,s,!1,null,null,null);e["default"]=c.exports},5129:function(n,e,t){"use strict";t("97b4")},"857a":function(n,e,t){var i=t("1d80"),s=/"/g;n.exports=function(n,e,t,a){var l=String(i(n)),o="<"+e;return""!==t&&(o+=" "+t+'="'+String(a).replace(s,""")+'"'),o+">"+l+""}},"97b4":function(n,e,t){},9911:function(n,e,t){"use strict";var i=t("23e7"),s=t("857a"),a=t("af03");i({target:"String",proto:!0,forced:a("link")},{link:function(n){return s(this,"a","href",n)}})},af03:function(n,e,t){var i=t("d039");n.exports=function(n){return i((function(){var e=""[n]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-764328cf.c445aef3.js b/dist/static/js/chunk-764328cf.c445aef3.js new file mode 100644 index 0000000..8fcaaef --- /dev/null +++ b/dist/static/js/chunk-764328cf.c445aef3.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-764328cf"],{"5a1b":function(e,t,i){e.exports=i.p+"static/img/file.8bc3a8bc.png"},cb5c:function(e,t,i){},ccae:function(e,t,i){"use strict";i("cb5c")},f454:function(e,t,i){"use strict";i.r(t);var o=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{directives:[{name:"loading",rawName:"v-loading",value:e.subloading,expression:"subloading"}],staticClass:"filemange_container",attrs:{"element-loading-text":"数据加载中..."}},[o("div",{staticClass:"use_button"},[o("el-button",{attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.dirbox=!0}}},[e._v("创建目录")])],1),o("div",{on:{click:e.fileTableMClick}},[o("el-table",{staticClass:"filesmd verleft",staticStyle:{width:"100%"},attrs:{data:e.dirdata,"empty-text":"暂无子目录数据",border:""}},[o("el-table-column",{attrs:{align:"left",prop:"name",label:"名称"}}),o("el-table-column",{attrs:{align:"left",label:"类型",width:"auto"},scopedSlots:e._u([{key:"default",fn:function(e){return[o("div",{staticClass:"type_file_click"},[o("el-tooltip",{attrs:{content:"进入子目录",placement:"bottom-start",effect:"light"}},[o("a",{attrs:{href:"#/filemange/subfile?id="+e.row.id}},[o("img",{attrs:{src:i("5a1b"),alt:"图片"}})])])],1)]}}])}),o("el-table-column",{attrs:{align:"center",label:"操作",width:"auto"},scopedSlots:e._u([{key:"default",fn:function(t){return[o("div",{staticClass:"file_caozuo"},[o("el-button",{attrs:{size:"mini",filenames:t.row.name,mark:"rename"}},[e._v("重命名")])],1),o("div",{staticClass:"file_caozuo2"},[o("el-button",{attrs:{size:"mini",realpath:t.row.frealpath,mark:"movefiledir"}},[e._v("移动")]),o("el-button",{attrs:{size:"mini",mark:"dirdelete",filenames:t.row.name,type:"danger"}},[e._v("删除")])],1)]}}])})],1)],1),o("el-dialog",{attrs:{title:"创建目录",visible:e.dirbox},on:{"update:visible":function(t){e.dirbox=t}}},[o("el-form",{attrs:{model:e.dirform}},[o("el-form-item",{attrs:{label:"目录名称","label-width":e.formLabelWidth}},[o("el-input",{attrs:{autocomplete:"off"},model:{value:e.dirform.dir,callback:function(t){e.$set(e.dirform,"dir",t)},expression:"dirform.dir"}})],1)],1),o("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(t){e.dirbox=!1}}},[e._v("取 消")]),o("el-button",{attrs:{type:"primary",loading:e.mkdirloadings},on:{click:e.mkdirs}},[e._v("确 定")])],1)],1),o("el-dialog",{attrs:{title:"重命名",visible:e.renamebox},on:{"update:visible":function(t){e.renamebox=t}}},[o("el-form",{attrs:{model:e.renamefileform}},[o("el-form-item",{attrs:{label:"新名称","label-width":e.formLabelWidth}},[o("el-input",{attrs:{autocomplete:"off"},model:{value:e.renamefileform.to,callback:function(t){e.$set(e.renamefileform,"to",t)},expression:"renamefileform.to"}},[e.filesuffix?o("template",{slot:"append"},[e._v(e._s(e.filesuffix))]):e._e()],2)],1)],1),o("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(t){e.renamebox=!1}}},[e._v("取 消")]),o("el-button",{attrs:{type:"primary",loading:e.mkdirloadings},on:{click:e.renameFileDir}},[e._v("确 定")])],1)],1),o("el-dialog",{attrs:{title:"目录移动弹出框",visible:e.movebox},on:{"update:visible":function(t){e.movebox=t}}},[o("el-form",{attrs:{model:e.movefileform}},[o("el-form-item",{attrs:{label:"当前位置","label-width":e.formLabelWidth}},[o("el-input",{attrs:{autocomplete:"off"},model:{value:e.movefileform.from,callback:function(t){e.$set(e.movefileform,"from",t)},expression:"movefileform.from"}})],1),o("el-form-item",{attrs:{label:"目标位置(请参考当前位置的格式填写目标位置,需要带上当前的文件名称)","label-width":e.formLabelWidth}},[o("el-input",{attrs:{autocomplete:"off"},model:{value:e.movefileform.to,callback:function(t){e.$set(e.movefileform,"to",t)},expression:"movefileform.to"}})],1)],1),o("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(t){e.movebox=!1}}},[e._v("取 消")]),o("el-button",{attrs:{type:"primary",loading:e.mkdirloadings},on:{click:e.moveFileDir}},[e._v("确 定")])],1)],1)],1)},a=[],r=(i("d3b7"),i("159b"),i("b64b"),i("c24f")),s=i("4a9d"),l={created:function(){this.getFileData()},data:function(){return{dirdata:[],subloading:!1,mkdirloadings:!1,dirbox:!1,dirform:{dir:"",parent:""},formLabelWidth:"",rmdirform:{dir:"",parent:""},renamebox:!1,filesuffix:!1,renamefileform:{from:"",to:"",parent:""},movebox:!1,movefileform:{from:"",to:""}}},methods:{getFileData:function(){var e=this;this.subloading=!0,Object(r["d"])().then((function(t){var i=t.data;if(e.dirdata=[],1==i.code){var o=i.data.menus;o&&(e.dirdata=e.forObjectData(o))}e.subloading=!1})).catch((function(t){Object(r["h"])(e,t),e.subloading=!1}))},forObjectData:function(e){var t=null,i=[];return Object.keys(e).forEach((function(o){var a=null;e[o].filename&&(a=e[o].filename+"."+e[o].extension),t={suffix:e[o].extension||"",image:e[o].path,name:a||e[o].directory,id:e[o].id,frealpath:e[o].realpath||e[o].directory},i.push(t)})),i},mkdirs:function(){var e=this,t=this;this.dirform.dir?(this.mkdirloadings=!0,Object(r["e"])(this.dirform).then((function(i){var o=i.data;1==o.code?(s["a"].$emit("mkdirSuccess"),e.getFileData(),e.dirform.dir="",t.$message({showClose:!0,message:o.msg,type:"success"})):t.$message({showClose:!0,message:o.err,type:"error"}),e.mkdirloadings=!1,e.dirbox=!1})).catch((function(t){e.mkdirloadings=!1,Object(r["h"])(e,t)}))):t.$message({showClose:!0,message:"目录名不能为空",type:"error"})},rmdirm:function(){var e=this,t=this;this.subloading=!0,Object(r["i"])(this.rmdirform).then((function(i){var o=i.data;o.data.dirTree;1==o.code?(s["a"].$emit("mkdirSuccess"),e.getFileData(),t.$message({showClose:!0,message:o.msg,type:"success"})):t.$message({showClose:!0,message:o.err,type:"error"}),e.subloading=!1})).catch((function(t){Object(r["h"])(e,t),e.subloading=!1}))},moveFileDir:function(){var e=this;if(this.movefileform.to&&this.movefileform.from){var t=this;this.subloading=!0,Object(r["f"])(this.movefileform).then((function(i){var o=i.data;1==o.code?(console.log(66666),s["a"].$emit("mkdirSuccess"),e.getFileData(),t.$message({showClose:!0,message:o.msg,type:"success"})):t.$message({showClose:!0,message:o.err,type:"error"}),e.subloading=!1,e.movebox=!1})).catch((function(t){e.subloading=!1,Object(r["h"])(e,t)}))}else this.$message({showClose:!0,message:"不能为空",type:"error"})},renameFileDir:function(){var e=this;if(this.renamefileform.to){this.filesuffix&&(this.renamefileform.to+=this.filesuffix);var t=this;this.subloading=!0,Object(r["g"])(this.renamefileform).then((function(i){var o=i.data;1==o.code?(s["a"].$emit("mkdirSuccess"),e.getFileData(),t.$message({showClose:!0,message:o.msg,type:"success"})):t.$message({showClose:!0,message:o.err,type:"error"}),e.subloading=!1,e.renamebox=!1})).catch((function(t){e.subloading=!1,Object(r["h"])(e,t)}))}else this.$message({showClose:!0,message:"新名称不能为空",type:"error"})},fileTableMClick:function(e){var t=e.target,i=t.tagName.toLowerCase(),o=(e.currentTarget,t),a=null;return"span"==i&&(o=t.parentNode),a=o.getAttribute("mark"),"dirdelete"==a?(this.rmdirform.dir=o.getAttribute("filenames"),void this.rmdirm()):"rename"==a?(this.renamefileform.from=o.getAttribute("filenames"),this.filesuffix=o.getAttribute("suffixs"),this.renamefileform.to="",void(this.renamebox=!0)):"movefiledir"==a?(this.movefileform.from=o.getAttribute("realpath"),this.movefileform.to="",void(this.movebox=!0)):void 0}}},n=l,m=(i("ccae"),i("2877")),f=Object(m["a"])(n,o,a,!1,null,null,null);t["default"]=f.exports}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-b179bd6e.19f8c2a3.js b/dist/static/js/chunk-b179bd6e.19f8c2a3.js new file mode 100644 index 0000000..1ada3a2 --- /dev/null +++ b/dist/static/js/chunk-b179bd6e.19f8c2a3.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b179bd6e"],{"0dd8":function(e,t,i){},5679:function(e,t,i){"use strict";i("0dd8")},"5a1b":function(e,t,i){e.exports=i.p+"static/img/file.8bc3a8bc.png"},a434:function(e,t,i){"use strict";var a=i("23e7"),o=i("23cb"),l=i("a691"),r=i("50c4"),s=i("7b0b"),n=i("65f0"),d=i("8418"),f=i("1dde"),m=i("ae40"),c=f("splice"),u=m("splice",{ACCESSORS:!0,0:0,1:2}),g=Math.max,b=Math.min,h=9007199254740991,p="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!c||!u},{splice:function(e,t){var i,a,f,m,c,u,v=s(this),w=r(v.length),x=o(e,w),k=arguments.length;if(0===k?i=a=0:1===k?(i=0,a=w-x):(i=k-2,a=b(g(l(t),0),w-x)),w+i-a>h)throw TypeError(p);for(f=n(v,a),m=0;mw-a+i;m--)delete v[m-1]}else if(i>a)for(m=w-a;m>x;m--)c=m+a-1,u=m+i-1,c in v?v[u]=v[c]:delete v[u];for(m=0;m