diff --git a/.env.production b/.env.production index db845f0..4d93926 100644 --- a/.env.production +++ b/.env.production @@ -5,4 +5,4 @@ ENV = 'production' VUE_APP_BASE_API = '/prod-api' # base imgurl -VUE_APP_IMG_URL = '/' \ No newline at end of file +VUE_APP_IMG_URL = '' \ No newline at end of file diff --git a/dist/index.html b/dist/index.html index 5eff033..7c46228 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.3fb323b0.css b/dist/static/css/app.e3ce4bc6.css similarity index 89% rename from dist/static/css/app.3fb323b0.css rename to dist/static/css/app.e3ce4bc6.css index bfd7de8..60b7533 100644 --- a/dist/static/css/app.3fb323b0.css +++ b/dist/static/css/app.e3ce4bc6.css @@ -1 +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}#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-59b332f4]{display:inline-block;font-size:14px;line-height:50px;margin-left:8px}.app-breadcrumb.el-breadcrumb .no-redirect[data-v-59b332f4]{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}.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-6cc64aab]:export{menuText:#bfcbd9;menuActiveText:#409eff;subMenuActiveText:#f4f4f5;menuBg:#2b3245;menuHover:#263445;subMenuBg:#1f2d3d;subMenuHover:#001528;sideBarWidth:210px}.toptitle[data-v-6cc64aab]{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-6cc64aab]{float:left;margin-top:16px;height:60px}.toptitle .leftk>img[data-v-6cc64aab]{vertical-align:middle;display:inline-block;max-width:100%;height:100%;background-color:#fff;border-radius:50%}.toptitle .leftk>i[data-v-6cc64aab]{vertical-align:middle;color:#fff;font-size:30px;margin:6px 0 0 15px}.toptitle .rightk[data-v-6cc64aab]{float:right;margin-top:24px;position:relative}.toptitle .erectline[data-v-6cc64aab]{margin:0 18px;display:inline-block;vertical-align:middle;height:40px;width:1px;background-color:#414758}.app-wrapper[data-v-6cc64aab]{position:relative;height:100%;width:100%}.app-wrapper[data-v-6cc64aab]:after{content:"";display:table;clear:both}.app-wrapper.mobile.openSidebar[data-v-6cc64aab]{position:fixed;top:0}.drawer-bg[data-v-6cc64aab]{background:#000;opacity:.3;width:100%;top:0;height:100%;position:absolute;z-index:999}.fixed-header[data-v-6cc64aab]{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-6cc64aab]{width:calc(100% - 54px)}.mobile .fixed-header[data-v-6cc64aab]{width:100%}.content_main[data-v-6cc64aab]{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 +.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-59b332f4]{display:inline-block;font-size:14px;line-height:50px;margin-left:8px}.app-breadcrumb.el-breadcrumb .no-redirect[data-v-59b332f4]{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}.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-0e0b7f70]:export{menuText:#bfcbd9;menuActiveText:#409eff;subMenuActiveText:#f4f4f5;menuBg:#2b3245;menuHover:#263445;subMenuBg:#1f2d3d;subMenuHover:#001528;sideBarWidth:210px}.toptitle[data-v-0e0b7f70]{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-0e0b7f70]{float:left;margin-top:16px;height:60px}.toptitle .leftk>img[data-v-0e0b7f70]{vertical-align:middle;display:inline-block;max-width:100%;height:100%;background-color:#fff;border-radius:50%}.toptitle .leftk>i[data-v-0e0b7f70]{vertical-align:middle;color:#fff;font-size:30px;margin:6px 0 0 15px}.toptitle .rightk[data-v-0e0b7f70]{float:right;margin-top:24px;position:relative}.toptitle .erectline[data-v-0e0b7f70]{margin:0 18px;display:inline-block;vertical-align:middle;height:40px;width:1px;background-color:#414758}.app-wrapper[data-v-0e0b7f70]{position:relative;height:100%;width:100%}.app-wrapper[data-v-0e0b7f70]:after{content:"";display:table;clear:both}.app-wrapper.mobile.openSidebar[data-v-0e0b7f70]{position:fixed;top:0}.drawer-bg[data-v-0e0b7f70]{background:#000;opacity:.3;width:100%;top:0;height:100%;position:absolute;z-index:999}.fixed-header[data-v-0e0b7f70]{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-0e0b7f70]{width:calc(100% - 54px)}.mobile .fixed-header[data-v-0e0b7f70]{width:100%}.content_main[data-v-0e0b7f70]{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/chunk-97585c70.d185d2a3.css b/dist/static/css/chunk-6082a362.d185d2a3.css similarity index 100% rename from dist/static/css/chunk-97585c70.d185d2a3.css rename to dist/static/css/chunk-6082a362.d185d2a3.css diff --git a/dist/static/js/app.1309a4dc.js b/dist/static/js/app.1309a4dc.js new file mode 100644 index 0000000..b5aeaf4 --- /dev/null +++ b/dist/static/js/app.1309a4dc.js @@ -0,0 +1 @@ +(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")},"17f3":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"),o=n.n(r),s=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t["default"]=s},"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"),o=n.n(r),s=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t["default"]=s},"2e7c":function(e,t,n){"use strict";n("ef37")},"30c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),o=n.n(r),s=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t["default"]=s},"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"),o=n.n(r),s=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t["default"]=s},"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"),o=n.n(r),s=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});o.a.add(s);t["default"]=s},"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),o=(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)}),s=[],c={name:"App"},u=c,l=n("2877"),d=Object(l["a"])(u,o,s,!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,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)}},y={namespaced:!0,state:g,mutations:w,actions:x},C=n("83d6"),_=n.n(C),O=_.a.showSettings,k=_.a.fixedHeader,S=_.a.sidebarLogo,E={showSettings:O,fixedHeader:k,sidebarLogo:S},z={CHANGE_SETTING:function(e,t){var n=t.key,a=t.value;e.hasOwnProperty(n)&&(e[n]=a)}},M={changeSetting:function(e,t){var n=e.commit;n("CHANGE_SETTING",t)}},T={namespaced:!0,state:E,mutations:z,actions:M},H=(n("d3b7"),n("498a"),n("c24f")),B="jialuoma_token";function j(){return v.a.get(B)}function L(e){return v.a.set(B,e)}function $(){return v.a.remove(B)}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},[e._m(0),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)])},I=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"toptitle clearfix"},[a("a",{staticClass:"leftk",attrs:{href:"javascript:;"}},[a("img",{attrs:{src:n("7b07"),alt:"图片"}}),a("em",{staticClass:"erectline"}),a("span",[e._v("后台管理系统")])]),a("div",{staticClass:"rightk tpriht"},[a("a",{attrs:{id:"dLabel",href:"javascript:;","data-toggle":"dropdown",role:"button","aria-haspopup":"true","aria-expanded":"false"}},[a("img",{staticClass:"mailtp verMiddle",attrs:{src:n("7b07"),alt:"图片"}}),a("span",{staticClass:"verMiddle glyphicon glyphicon-menu-down"})]),a("em",{staticClass:"erectline"})])])}],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("c7eb"),N=n("1da1"),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"}}]},{id:"4",path:"/",meta:{title:"前端展示页面",icon:"link"}}],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()):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("abb9"),Object(l["a"])(X,R,U,!1,null,"59b332f4",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,oe={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(N["a"])(Object(P["a"])().mark((function t(){return Object(P["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)})))()}}},se=oe,ce=(n("b55f"),Object(l["a"])(se,q,D,!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)],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"}}},be=pe,ve=(n("d508"),Object(l["a"])(be,me,fe,!1,null,"39d3a2a9",null)),ge=ve.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=[],ye=n("df7c"),Ce=n.n(ye);n("ac1f"),n("00b4");function _e(e){return/^(https?:|mailto:|tel:)/.test(e)}n("caad"),n("2532");var Oe,ke,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,Oe,ke,!1,null,"18eeea00",null)),Me=ze.exports,Te=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)},He=[],Be={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}}}},je=Be,Le=Object(l["a"])(je,Te,He,!1,null,null,null),$e=Le.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:Me,AppLink:$e},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:Ce.a.resolve(this.basePath,e)}}},Ie=Ve,qe=Object(l["a"])(Ie,we,xe,!1,null,null,null),De=qe.exports,Pe=n("cf1e"),Ne=n.n(Pe),Ge={components:{SidebarItem:De,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(H["f"])().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=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'});o.a.add(s);t["default"]=s},abb9:function(e,t,n){"use strict";n("17f3")},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"),o=n.n(r),s=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});o.a.add(s);t["default"]=s},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,"f",(function(){return o})),n.d(t,"g",(function(){return s})),n.d(t,"l",(function(){return c})),n.d(t,"j",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return h})),n.d(t,"k",(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 o(e){return Object(a["a"])({url:"/api/ls",method:"post",data:e})}function s(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})}},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"),o=n.n(r),s=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);t["default"]=s},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"),o=n.n(r),s=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t["default"]=s},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"),o=n.n(r),s=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t["default"]=s},ef37:function(e,t,n){},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"),o=n.n(r),s=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});o.a.add(s);t["default"]=s}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/dist/static/js/app.9a21cee5.js b/dist/static/js/app.9a21cee5.js deleted file mode 100644 index fd0ae5a..0000000 --- a/dist/static/js/app.9a21cee5.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")},"17f3":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"),o=n.n(r),s=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t["default"]=s},"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"),o=n.n(r),s=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t["default"]=s},"30c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),r=n("21a1"),o=n.n(r),s=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t["default"]=s},"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"),o=n.n(r),s=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t["default"]=s},"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"),o=n.n(r),s=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});o.a.add(s);t["default"]=s},"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),o=(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)}),s=[],c={name:"App"},u=c,l=n("2877"),d=Object(l["a"])(u,o,s,!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,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)}},y={namespaced:!0,state:g,mutations:w,actions:x},C=n("83d6"),_=n.n(C),O=_.a.showSettings,k=_.a.fixedHeader,S=_.a.sidebarLogo,E={showSettings:O,fixedHeader:k,sidebarLogo:S},z={CHANGE_SETTING:function(e,t){var n=t.key,a=t.value;e.hasOwnProperty(n)&&(e[n]=a)}},M={changeSetting:function(e,t){var n=e.commit;n("CHANGE_SETTING",t)}},T={namespaced:!0,state:E,mutations:z,actions:M},H=(n("d3b7"),n("498a"),n("c24f")),B="jialuoma_token";function j(){return v.a.get(B)}function L(e){return v.a.set(B,e)}function $(){return v.a.remove(B)}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},[e._m(0),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)])},I=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"toptitle clearfix"},[a("a",{staticClass:"leftk",attrs:{href:"javascript:;"}},[a("img",{attrs:{src:n("7b07"),alt:"图片"}}),a("em",{staticClass:"erectline"}),a("span",[e._v("后台管理系统")])]),a("div",{staticClass:"rightk tpriht"},[a("a",{attrs:{id:"dLabel",href:"javascript:;","data-toggle":"dropdown",role:"button","aria-haspopup":"true","aria-expanded":"false"}},[a("img",{staticClass:"mailtp verMiddle",attrs:{src:n("7b07"),alt:"图片"}}),a("span",{staticClass:"verMiddle glyphicon glyphicon-menu-down"})]),a("em",{staticClass:"erectline"})])])}],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("c7eb"),N=n("1da1"),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"}}]},{id:"4",path:"https://dev.filesite.io",meta:{title:"前端展示页面",icon:"link"}}],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()):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("abb9"),Object(l["a"])(X,R,U,!1,null,"59b332f4",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,oe={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(N["a"])(Object(P["a"])().mark((function t(){return Object(P["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)})))()}}},se=oe,ce=(n("b55f"),Object(l["a"])(se,q,D,!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)],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"}}},be=pe,ve=(n("d508"),Object(l["a"])(be,me,fe,!1,null,"39d3a2a9",null)),ge=ve.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=[],ye=n("df7c"),Ce=n.n(ye);n("ac1f"),n("00b4");function _e(e){return/^(https?:|mailto:|tel:)/.test(e)}n("caad"),n("2532");var Oe,ke,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,Oe,ke,!1,null,"18eeea00",null)),Me=ze.exports,Te=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)},He=[],Be={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}}}},je=Be,Le=Object(l["a"])(je,Te,He,!1,null,null,null),$e=Le.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:Me,AppLink:$e},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:Ce.a.resolve(this.basePath,e)}}},Ie=Ve,qe=Object(l["a"])(Ie,we,xe,!1,null,null,null),De=qe.exports,Pe=n("cf1e"),Ne=n.n(Pe),Ge={components:{SidebarItem:De,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(H["f"])().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=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'});o.a.add(s);t["default"]=s},a99d:function(e,t,n){"use strict";n("fd2b")},abb9:function(e,t,n){"use strict";n("17f3")},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"),o=n.n(r),s=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});o.a.add(s);t["default"]=s},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,"f",(function(){return o})),n.d(t,"g",(function(){return s})),n.d(t,"l",(function(){return c})),n.d(t,"j",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return h})),n.d(t,"k",(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 o(e){return Object(a["a"])({url:"/api/ls",method:"post",data:e})}function s(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})}},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"),o=n.n(r),s=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);t["default"]=s},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"),o=n.n(r),s=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t["default"]=s},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"),o=n.n(r),s=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t["default"]=s},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"),o=n.n(r),s=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});o.a.add(s);t["default"]=s},fd2b:function(e,t,n){}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/dist/static/js/chunk-6082a362.15333289.js b/dist/static/js/chunk-6082a362.15333289.js new file mode 100644 index 0000000..fa5e1fd --- /dev/null +++ b/dist/static/js/chunk-6082a362.15333289.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6082a362"],{"1e39":function(e,n,t){"use strict";t.r(n);var s=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"seitchtheme_m"},[t("h5",[e._v("更换皮肤以查看不同皮肤的前端网站")]),t("div",[t("span",[e._v("更换皮肤:")]),t("el-select",{attrs:{placeholder:"请选择皮肤"},on:{change:e.selectbian},model:{value:e.skinvalue,callback:function(n){e.skinvalue=n},expression:"skinvalue"}},e._l(e.options,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),t("div",{staticClass:"Submit1"},[t("el-button",{attrs:{loading:e.skinloading,type:"primary"},on:{click:e.skinSubmit}},[e._v("提交")]),e.skinAsk?t("a",{staticClass:"to_front_web",attrs:{target:"_blank",href:e.skinLink}},[t("el-button",{attrs:{type:"success",round:""}},[e._v("查看"+e._s(e.skinlabel)+"站点")])],1):e._e()],1)],1)])},a=[],i=(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 e=this,n=this;this.skinloading=!0,this.skinForm.theme=this.skinvalue,Object(i["k"])(this.skinForm).then((function(t){var s=t.data;1==s.code?(n.$message({showClose:!0,message:s.msg,type:"success"}),e.skinAsk=!0,l["a"].$emit("mkdirSuccess")):n.$message({showClose:!0,message:s.err,type:"error"}),e.skinloading=!1})).catch((function(t){e.skinloading=!1,t.response||t.request,n.$message({showClose:!0,message:t.response.data.err,type:"error"})}))},selectbian:function(e){var n=this;this.options.forEach((function(t){t.value==e&&(n.skinlabel=t.label,n.skinLink=t.link+Math.round(1e3*Math.random()))})),this.skinAsk=!1}}},r=o,u=(t("a7af"),t("2877")),c=Object(u["a"])(r,s,a,!1,null,null,null);n["default"]=c.exports},"665a":function(e,n,t){},"857a":function(e,n,t){var s=t("1d80"),a=/"/g;e.exports=function(e,n,t,i){var l=String(s(e)),o="<"+n;return""!==t&&(o+=" "+t+'="'+String(i).replace(a,""")+'"'),o+">"+l+""}},9911:function(e,n,t){"use strict";var s=t("23e7"),a=t("857a"),i=t("af03");s({target:"String",proto:!0,forced:i("link")},{link:function(e){return a(this,"a","href",e)}})},a7af:function(e,n,t){"use strict";t("665a")},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}))}}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-97585c70.57c28400.js b/dist/static/js/chunk-97585c70.57c28400.js deleted file mode 100644 index 1515848..0000000 --- a/dist/static/js/chunk-97585c70.57c28400.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-97585c70"],{"1e39":function(e,n,t){"use strict";t.r(n);var s=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"seitchtheme_m"},[t("h5",[e._v("更换皮肤以查看不同皮肤的前端网站")]),t("div",[t("span",[e._v("更换皮肤:")]),t("el-select",{attrs:{placeholder:"请选择皮肤"},on:{change:e.selectbian},model:{value:e.skinvalue,callback:function(n){e.skinvalue=n},expression:"skinvalue"}},e._l(e.options,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),t("div",{staticClass:"Submit1"},[t("el-button",{attrs:{loading:e.skinloading,type:"primary"},on:{click:e.skinSubmit}},[e._v("提交")]),e.skinAsk?t("a",{staticClass:"to_front_web",attrs:{target:"_blank",href:e.skinLink}},[t("el-button",{attrs:{type:"success",round:""}},[e._v("查看"+e._s(e.skinlabel)+"站点")])],1):e._e()],1)],1)])},i=[],a=(t("d3b7"),t("159b"),t("9911"),t("c24f")),l={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 e=this,n=this;this.skinloading=!0,this.skinForm.theme=this.skinvalue,Object(a["k"])(this.skinForm).then((function(t){var s=t.data;1==s.code?(n.$message({showClose:!0,message:s.msg,type:"success"}),e.skinAsk=!0):n.$message({showClose:!0,message:s.err,type:"error"}),e.skinloading=!1})).catch((function(t){e.skinloading=!1,t.response||t.request,n.$message({showClose:!0,message:t.response.data.err,type:"error"})}))},selectbian:function(e){var n=this;this.options.forEach((function(t){t.value==e&&(n.skinlabel=t.label,n.skinLink=t.link)}))}}},o=l,r=(t("a04b"),t("2877")),u=Object(r["a"])(o,s,i,!1,null,null,null);n["default"]=u.exports},"857a":function(e,n,t){var s=t("1d80"),i=/"/g;e.exports=function(e,n,t,a){var l=String(s(e)),o="<"+n;return""!==t&&(o+=" "+t+'="'+String(a).replace(i,""")+'"'),o+">"+l+""}},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)}})},a04b:function(e,n,t){"use strict";t("b314")},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}))}},b314:function(e,n,t){}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-cbc84f7c.6cff0b31.js b/dist/static/js/chunk-cbc84f7c.aacabd1a.js similarity index 52% rename from dist/static/js/chunk-cbc84f7c.6cff0b31.js rename to dist/static/js/chunk-cbc84f7c.aacabd1a.js index 4673519..ec5f53b 100644 --- a/dist/static/js/chunk-cbc84f7c.6cff0b31.js +++ b/dist/static/js/chunk-cbc84f7c.aacabd1a.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-cbc84f7c"],{"5a1b":function(e,t,a){e.exports=a.p+"static/img/file.8bc3a8bc.png"},"9c4f":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;fh)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 - +
diff --git a/src/views/systme/switchtheme.vue b/src/views/systme/switchtheme.vue index e0c63a5..1a24bb3 100644 --- a/src/views/systme/switchtheme.vue +++ b/src/views/systme/switchtheme.vue @@ -26,6 +26,7 @@