qj-happy-common-zhongjian 1.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +12 -0
- package/.eslintrc.js +25 -0
- package/.postcssrc.js +9 -0
- package/.prettierrc.js +7 -0
- package/.project +37 -0
- package/README.md +5 -0
- package/gulpfile.js +20 -0
- package/package.json +18 -0
- package/src/api/apimanage.js +146 -0
- package/src/api/common/index.js +192 -0
- package/src/api/login.js +160 -0
- package/src/api/shopFbu.js +515 -0
- package/src/api/upload.js +8 -0
- package/src/assets/20201111165611.png +0 -0
- package/src/assets/2wm.jpg +0 -0
- package/src/assets/404_images/404.png +0 -0
- package/src/assets/404_images/404_1.png +0 -0
- package/src/assets/404_images/404_cloud.png +0 -0
- package/src/assets/Hy.png +0 -0
- package/src/assets/WeChat.png +0 -0
- package/src/assets/banner.png +0 -0
- package/src/assets/chuizi.png +0 -0
- package/src/assets/css/theme/index.min.004178.css +1 -0
- package/src/assets/css/theme/index.min.00c0dc.css +1 -0
- package/src/assets/css/theme/index.min.1E87F0.css +1 -0
- package/src/assets/css/theme/index.min.1cac43.css +1 -0
- package/src/assets/css/theme/index.min.409eff-.css +1 -0
- package/src/assets/css/theme/index.min.409eff.css +1 -0
- package/src/assets/css/theme/index.min.48B1E0.css +1 -0
- package/src/assets/css/theme/index.min.54b2d3.css +1 -0
- package/src/assets/css/theme/index.min.F00E1F.css +1 -0
- package/src/assets/css/theme/index.min.FC9041.css +1 -0
- package/src/assets/css/theme/index.min.aa0808.css +1 -0
- package/src/assets/css/theme/index.min.b79f77.css +1 -0
- package/src/assets/css/theme/index.min.c21a1b.css +1 -0
- package/src/assets/css/theme/index.min.ec001a.css +1 -0
- package/src/assets/css/theme/index.min.f4a338.css +1 -0
- package/src/assets/css/theme/index.min.f53415.css +1 -0
- package/src/assets/css/theme/index.min.ffffff.css +1 -0
- package/src/assets/er_bg.png +0 -0
- package/src/assets/homePage/home1.png +0 -0
- package/src/assets/homePage/home2.png +0 -0
- package/src/assets/homePage/home3.png +0 -0
- package/src/assets/homePage/home4.png +0 -0
- package/src/assets/homePage/home5.png +0 -0
- package/src/assets/homePage/home6.png +0 -0
- package/src/assets/homePage/home7.png +0 -0
- package/src/assets/homePage/home8.png +0 -0
- package/src/assets/homePage//347/233/256/345/275/225/347/273/223/346/236/204_03.png +0 -0
- package/src/assets/homePage//347/233/256/345/275/225/347/273/223/346/236/204_05.png +0 -0
- package/src/assets/homePage//347/233/256/345/275/225/347/273/223/346/236/204_10.png +0 -0
- package/src/assets/homePage//347/233/256/345/275/225/347/273/223/346/236/204_12.png +0 -0
- package/src/assets/homePage//347/233/256/345/275/225/347/273/223/346/236/204_13.png +0 -0
- package/src/assets/homePage//347/233/256/345/275/225/347/273/223/346/236/204_17.png +0 -0
- package/src/assets/homePage//347/233/256/345/275/225/347/273/223/346/236/204_18.png +0 -0
- package/src/assets/homePage//347/233/256/345/275/225/347/273/223/346/236/204_19.png +0 -0
- package/src/assets/hot.png +0 -0
- package/src/assets/info.jpg +0 -0
- package/src/assets/info.png +0 -0
- package/src/assets/logo.png +0 -0
- package/src/assets/nav/admin-hover.png +0 -0
- package/src/assets/nav/admin.png +0 -0
- package/src/assets/nav/info.png +0 -0
- package/src/assets/nav/logout-hover.png +0 -0
- package/src/assets/nav/logout.png +0 -0
- package/src/assets/nav/set.png +0 -0
- package/src/assets/nav/tool.png +0 -0
- package/src/assets/nav/user.png +0 -0
- package/src/assets/nav_lab.png +0 -0
- package/src/assets/newerwei.png +0 -0
- package/src/assets/nopic.jpg +0 -0
- package/src/assets/user.png +0 -0
- package/src/assets/user_img.png +0 -0
- package/src/assets//345/233/276/345/261/202 20.png +0 -0
- package/src/components/Bounced/index.vue +145 -0
- package/src/components/Breadcrumb/index.vue +71 -0
- package/src/components/Checkbox/index.vue +53 -0
- package/src/components/Hamburger/index.vue +48 -0
- package/src/components/Logistics/logic.vue +186 -0
- package/src/components/ScrollBar/index.vue +60 -0
- package/src/components/Sticky/index.vue +76 -0
- package/src/components/SvgIcon/index.vue +42 -0
- package/src/components/ThemePicker/index.vue +242 -0
- package/src/components/Tinymce/components/editorImage.vue +95 -0
- package/src/components/Tinymce/index.vue +166 -0
- package/src/components/Tinymce/plugins.js +7 -0
- package/src/components/Tinymce/toolbar.js +6 -0
- package/src/components/TreeTable/customEval.js +44 -0
- package/src/components/TreeTable/eval.js +29 -0
- package/src/components/TreeTable/index.vue +124 -0
- package/src/components/TreeTable/readme.md +89 -0
- package/src/components/TreeTableApi/customEval.js +49 -0
- package/src/components/TreeTableApi/eval.js +29 -0
- package/src/components/TreeTableApi/index.vue +124 -0
- package/src/components/TreeTableApi/readme.md +89 -0
- package/src/components/Upload/singleImage.vue +123 -0
- package/src/components/Upload/singleImage2.vue +118 -0
- package/src/components/Upload/singleImage3.vue +138 -0
- package/src/components/Upload/upload.vue +295 -0
- package/src/components/workOrderList/index.vue +158 -0
- package/src/dependencies.js +119 -0
- package/src/iconShop/demo.css +539 -0
- package/src/iconShop/demo_index.html +8445 -0
- package/src/iconShop/iconfont.css +1451 -0
- package/src/iconShop/iconfont.eot +0 -0
- package/src/iconShop/iconfont.js +1 -0
- package/src/iconShop/iconfont.json +2522 -0
- package/src/iconShop/iconfont.svg +1070 -0
- package/src/iconShop/iconfont.ttf +0 -0
- package/src/iconShop/iconfont.woff +0 -0
- package/src/iconShop/iconfont.woff2 +0 -0
- package/src/iconfont/demo.css +539 -0
- package/src/iconfont/demo_index.html +5276 -0
- package/src/iconfont/iconfont.css +905 -0
- package/src/iconfont/iconfont.eot +0 -0
- package/src/iconfont/iconfont.js +1 -0
- package/src/iconfont/iconfont.json +1563 -0
- package/src/iconfont/iconfont.svg +692 -0
- package/src/iconfont/iconfont.ttf +0 -0
- package/src/iconfont/iconfont.woff +0 -0
- package/src/iconfont/iconfont.woff2 +0 -0
- package/src/icons/index.js +9 -0
- package/src/icons/svg/documentation.svg +1 -0
- package/src/icons/svg/example.svg +1 -0
- package/src/icons/svg/eye.svg +1 -0
- package/src/icons/svg/form.svg +1 -0
- package/src/icons/svg/password.svg +1 -0
- package/src/icons/svg/table.svg +1 -0
- package/src/icons/svg/tree.svg +1 -0
- package/src/icons/svg/user.svg +1 -0
- package/src/lang/e.js +49 -0
- package/src/lang/en.js +49 -0
- package/src/lang/zh.js +49 -0
- package/src/main.js +36 -0
- package/src/permission.js +257 -0
- package/src/permissionForMall.backup.js +374 -0
- package/src/permissionForMall.js +374 -0
- package/src/preset.js +67 -0
- package/src/router/_import_common.js +2 -0
- package/src/router/_import_development.js +1 -0
- package/src/router/_import_production.js +1 -0
- package/src/store/getters.js +39 -0
- package/src/store/index.js +18 -0
- package/src/store/modules/app.js +30 -0
- package/src/store/modules/menu.js +82 -0
- package/src/store/modules/user.js +11376 -0
- package/src/styles/element-ui.scss +1345 -0
- package/src/styles/index.scss +167 -0
- package/src/styles/mixin.scss +27 -0
- package/src/styles/pc-ui.scss +1032 -0
- package/src/styles/scrollBar.scss +22 -0
- package/src/styles/sidebar.scss +124 -0
- package/src/styles/transition.scss +32 -0
- package/src/styles/variables.scss +45 -0
- package/src/styles/wf-ui.scss +87 -0
- package/src/utils/auth.js +57 -0
- package/src/utils/dom.js +12 -0
- package/src/utils/getQueryString.js +5 -0
- package/src/utils/import.js +5 -0
- package/src/utils/index.js +355 -0
- package/src/utils/interceptor.js +34 -0
- package/src/utils/menu.js +116 -0
- package/src/utils/proapp.js +35 -0
- package/src/utils/query.js +26 -0
- package/src/utils/request.js +362 -0
- package/src/utils/routeMapping.js +40 -0
- package/src/utils/routeMapping.json +310 -0
- package/src/utils/utils.js +84 -0
- package/src/utils/validate.js +102 -0
- package/src/views/404.vue +72 -0
- package/src/views/Layout.vue +106 -0
- package/src/views/imgSwiper/index.vue +35 -0
- package/src/views/layout/Layout.vue +176 -0
- package/src/views/layout/assets/close.png +0 -0
- package/src/views/layout/assets/logo.png +0 -0
- package/src/views/layout/assets/logo_s.png +0 -0
- package/src/views/layout/assets/open.png +0 -0
- package/src/views/layout/components/AppMain.vue +20 -0
- package/src/views/layout/components/Footer.vue +22 -0
- package/src/views/layout/components/LeftNavbar.vue +265 -0
- package/src/views/layout/components/NavMenu.vue +15 -0
- package/src/views/layout/components/Navbar.vue +646 -0
- package/src/views/layout/components/Sidebar/SidebarItem.vue +113 -0
- package/src/views/layout/components/Sidebar/index.vue +193 -0
- package/src/views/layout/components/index.js +20 -0
- package/src/views/layout/theme/darkBlue/Layout.vue +140 -0
- package/src/views/layout/theme/darkBlue/assets/229649024644998808.png +0 -0
- package/src/views/layout/theme/darkBlue/assets/_20181026154207.png +0 -0
- package/src/views/layout/theme/darkBlue/assets/close.png +0 -0
- package/src/views/layout/theme/darkBlue/assets/f-brand.png +0 -0
- package/src/views/layout/theme/darkBlue/assets/f-reward.png +0 -0
- package/src/views/layout/theme/darkBlue/assets/f-tel.png +0 -0
- package/src/views/layout/theme/darkBlue/assets/info.jpg +0 -0
- package/src/views/layout/theme/darkBlue/assets/info.png +0 -0
- package/src/views/layout/theme/darkBlue/assets/logo.png +0 -0
- package/src/views/layout/theme/darkBlue/assets/logo1.png +0 -0
- package/src/views/layout/theme/darkBlue/assets/logo_1.png +0 -0
- package/src/views/layout/theme/darkBlue/assets/open.png +0 -0
- package/src/views/layout/theme/darkBlue/assets/test.jpg +0 -0
- package/src/views/layout/theme/darkBlue/assets/user.png +0 -0
- package/src/views/layout/theme/darkBlue/components/AppMain.vue +38 -0
- package/src/views/layout/theme/darkBlue/components/Footer.vue +148 -0
- package/src/views/layout/theme/darkBlue/components/LeftNavbar(/345/261/225/347/244/272/345/205/250/351/203/250/350/217/234/345/215/225).vue +448 -0
- package/src/views/layout/theme/darkBlue/components/LeftNavbar.3.vue +191 -0
- package/src/views/layout/theme/darkBlue/components/LeftNavbar.vue +466 -0
- package/src/views/layout/theme/darkBlue/components/Navbar.vue +200 -0
- package/src/views/layout/theme/darkBlue/components/Sidebar/SidebarItem.vue +72 -0
- package/src/views/layout/theme/darkBlue/components/Sidebar/index.vue +49 -0
- package/src/views/layout/theme/darkBlue/components/index.js +16 -0
- package/src/views/layout-default/Layout.vue +134 -0
- package/src/views/layout-default/assets/close.png +0 -0
- package/src/views/layout-default/assets/logo.png +0 -0
- package/src/views/layout-default/assets/logo_s.png +0 -0
- package/src/views/layout-default/assets/open.png +0 -0
- package/src/views/layout-default/components/AppMain.vue +19 -0
- package/src/views/layout-default/components/Footer.vue +22 -0
- package/src/views/layout-default/components/LeftNavbar.vue +160 -0
- package/src/views/layout-default/components/Navbar.vue +295 -0
- package/src/views/layout-default/components/Sidebar/SidebarItem.vue +67 -0
- package/src/views/layout-default/components/Sidebar/index.vue +59 -0
- package/src/views/layout-default/components/index.js +4 -0
- package/src/views/layout-default/theme/darkBlue/Layout.vue +140 -0
- package/src/views/layout-default/theme/darkBlue/assets/229649024644998808.png +0 -0
- package/src/views/layout-default/theme/darkBlue/assets/_20181026154207.png +0 -0
- package/src/views/layout-default/theme/darkBlue/assets/close.png +0 -0
- package/src/views/layout-default/theme/darkBlue/assets/f-brand.png +0 -0
- package/src/views/layout-default/theme/darkBlue/assets/f-reward.png +0 -0
- package/src/views/layout-default/theme/darkBlue/assets/f-tel.png +0 -0
- package/src/views/layout-default/theme/darkBlue/assets/info.jpg +0 -0
- package/src/views/layout-default/theme/darkBlue/assets/info.png +0 -0
- package/src/views/layout-default/theme/darkBlue/assets/logo.png +0 -0
- package/src/views/layout-default/theme/darkBlue/assets/logo1.png +0 -0
- package/src/views/layout-default/theme/darkBlue/assets/logo_1.png +0 -0
- package/src/views/layout-default/theme/darkBlue/assets/open.png +0 -0
- package/src/views/layout-default/theme/darkBlue/assets/test.jpg +0 -0
- package/src/views/layout-default/theme/darkBlue/assets/user.png +0 -0
- package/src/views/layout-default/theme/darkBlue/components/AppMain.vue +38 -0
- package/src/views/layout-default/theme/darkBlue/components/Footer.vue +148 -0
- package/src/views/layout-default/theme/darkBlue/components/LeftNavbar.vue +465 -0
- package/src/views/layout-default/theme/darkBlue/components/Navbar.vue +200 -0
- package/src/views/layout-default/theme/darkBlue/components/Sidebar/SidebarItem.vue +70 -0
- package/src/views/layout-default/theme/darkBlue/components/Sidebar/index.vue +49 -0
- package/src/views/layout-default/theme/darkBlue/components/index.js +16 -0
- package/src/views/pc/Internationalization.vue +80 -0
- package/src/views/pc/default/Layout.vue +413 -0
- package/src/views/pc/default/LayoutCard.vue +405 -0
- package/src/views/pc/default/assets/2001.png +0 -0
- package/src/views/pc/default/assets/a13.png +0 -0
- package/src/views/pc/default/assets/about.png +0 -0
- package/src/views/pc/default/assets/af3a58da5c4d1ddfb31e1b0e7b6f798.png +0 -0
- package/src/views/pc/default/assets/ans_er.png +0 -0
- package/src/views/pc/default/assets/dllgwap.png +0 -0
- package/src/views/pc/default/assets/f-brand.png +0 -0
- package/src/views/pc/default/assets/f-reward.png +0 -0
- package/src/views/pc/default/assets/f-tel.png +0 -0
- package/src/views/pc/default/assets/flex.scss +100 -0
- package/src/views/pc/default/assets/footer_img1.png +0 -0
- package/src/views/pc/default/assets/footer_img2.png +0 -0
- package/src/views/pc/default/assets/footer_img3.png +0 -0
- package/src/views/pc/default/assets/footer_img4.png +0 -0
- package/src/views/pc/default/assets/huiyuan.png +0 -0
- package/src/views/pc/default/assets/hyzx.png +0 -0
- package/src/views/pc/default/assets/icp.png +0 -0
- package/src/views/pc/default/assets/kywwap.png +0 -0
- package/src/views/pc/default/assets/logo-gray.png +0 -0
- package/src/views/pc/default/assets/logo.png +0 -0
- package/src/views/pc/default/assets/logo_ucc.png +0 -0
- package/src/views/pc/default/assets/peisong.png +0 -0
- package/src/views/pc/default/assets/shangjia.png +0 -0
- package/src/views/pc/default/assets/shouhou.png +0 -0
- package/src/views/pc/default/assets/xinshou.png +0 -0
- package/src/views/pc/default/assets/ymlogo.png +0 -0
- package/src/views/pc/default/assets/yunmoLogo.png +0 -0
- package/src/views/pc/default/assets//345/233/276/345/261/202 20.png +0 -0
- package/src/views/pc/default/footer-modules/DgFooter/images/icon-hhyj.png +0 -0
- package/src/views/pc/default/footer-modules/DgFooter/images/icon-hhyj@2x.png +0 -0
- package/src/views/pc/default/footer-modules/DgFooter/images/icon-hyzx.png +0 -0
- package/src/views/pc/default/footer-modules/DgFooter/images/icon-hyzx@2x.png +0 -0
- package/src/views/pc/default/footer-modules/DgFooter/images/icon-plqq.png +0 -0
- package/src/views/pc/default/footer-modules/DgFooter/images/icon-plqq@2x.png +0 -0
- package/src/views/pc/default/footer-modules/DgFooter/images/icon-ppbz.png +0 -0
- package/src/views/pc/default/footer-modules/DgFooter/images/icon-ppbz@2x.png +0 -0
- package/src/views/pc/default/footer-modules/DgFooter/index.vue +179 -0
- package/src/views/pc/default/footer-modules/DgFooter/indexSDX.vue +187 -0
- package/src/views/pc/default/footer-modules/footer.vue +172 -0
- package/src/views/pc/default/footer-modules/footerAns.vue +168 -0
- package/src/views/pc/default/footer-modules/footerDM.vue +254 -0
- package/src/views/pc/default/footer-modules/footerDefault.vue +267 -0
- package/src/views/pc/default/footer-modules/footerDefaultA.vue +270 -0
- package/src/views/pc/default/footer-modules/footerDefaultNew.vue +201 -0
- package/src/views/pc/default/footer-modules/footerHDB.vue +153 -0
- package/src/views/pc/default/footer-modules/footerHy.vue +63 -0
- package/src/views/pc/default/footer-modules/footerKYW.vue +163 -0
- package/src/views/pc/default/footer-modules/footerNew.vue +117 -0
- package/src/views/pc/default/footer-modules/footerayd.vue +85 -0
- package/src/views/pc/default/footer-modules/ymFooter.vue +155 -0
- package/src/views/pc/default/footer-modules/zgl.vue +251 -0
- package/src/views/pc/default/header-modules/DgHeader/Logo.vue +57 -0
- package/src/views/pc/default/header-modules/DgHeader/Search.vue +135 -0
- package/src/views/pc/default/header-modules/DgHeader/Settleup.vue +46 -0
- package/src/views/pc/default/header-modules/DgHeader/images/logo.png +0 -0
- package/src/views/pc/default/header-modules/DgHeader/index.vue +38 -0
- package/src/views/pc/default/header-modules/active.vue +177 -0
- package/src/views/pc/default/header-modules/header.vue +98 -0
- package/src/views/pc/default/header-modules/headerA.vue +142 -0
- package/src/views/pc/default/header-modules/headerFLPT.vue +157 -0
- package/src/views/pc/default/header-modules/headerNew.vue +122 -0
- package/src/views/pc/default/header-modules/headerSDX.vue +304 -0
- package/src/views/pc/default/header-modules/headerStyle2.vue +174 -0
- package/src/views/pc/default/header-modules/headerStyle3.vue +191 -0
- package/src/views/pc/default/header-modules/headerStyle4.vue +164 -0
- package/src/views/pc/default/header-modules/headerStyleAns.vue +401 -0
- package/src/views/pc/default/header-modules/headerStyleDefalut.vue +209 -0
- package/src/views/pc/default/header-modules/headerStyleKYW.vue +436 -0
- package/src/views/pc/default/header-modules/headerayd.vue +187 -0
- package/src/views/pc/default/header-modules/index.vue +466 -0
- package/src/views/pc/default/header-modules/ymHeader.vue +292 -0
- package/src/views/pc/default/header-modules/ysHeader.vue +249 -0
- package/src/views/pc/default/header-modules/zgl.vue +855 -0
- package/src/views/pc/default/leftMenu-modules/leftMenu-logo.vue +193 -0
- package/src/views/pc/default/leftMenu-modules/leftMenu-style2.vue +206 -0
- package/src/views/pc/default/leftMenu-modules/leftMenu-style3.vue +207 -0
- package/src/views/pc/default/leftMenu-modules/leftMenu-style4.vue +192 -0
- package/src/views/pc/default/leftMenu-modules/leftMenu.vue +183 -0
- package/src/views/pc/default/leftMenu-modules/leftMenuDefault.vue +212 -0
- package/src/views/pc/default/leftMenu-modules/leftMenuDefaultEn.vue +214 -0
- package/src/views/pc/default/leftMenu-modules/leftMenuDefaultFLPT.vue +220 -0
- package/src/views/pc/default/leftMenu-modules/leftMenuDefaultayd.vue +220 -0
- package/src/views/pc/default/nav-modules/nav.vue +52 -0
- package/src/views/pc/default/nav-modules/navAns.vue +60 -0
- package/src/views/pc/default/top-modules/DgTopShortcut/index.vue +177 -0
- package/src/views/pc/default/top-modules/Toplg.vue +281 -0
- package/src/views/pc/default/top-modules/topA.vue +137 -0
- package/src/views/pc/default/top-modules/topAns.vue +262 -0
- package/src/views/pc/default/top-modules/topBar.vue +305 -0
- package/src/views/pc/default/top-modules/topDefault.vue +244 -0
- package/src/views/pc/default/top-modules/topDefaultDM.vue +197 -0
- package/src/views/pc/default/top-modules/topDefaultNew.vue +272 -0
- package/src/views/pc/default/top-modules/topFLPT.vue +197 -0
- package/src/views/pc/default/top-modules/topHDB.vue +478 -0
- package/src/views/pc/default/top-modules/topKYW.vue +258 -0
- package/src/views/pc/default/top-modules/topNew.vue +98 -0
- package/src/views/pc/default/top-modules/topSDX.vue +298 -0
- package/src/views/pc/default/top-modules/topSimple.vue +248 -0
- package/src/views/pc/default/top-modules/topSimpleHy.vue +256 -0
- package/src/views/pc/default/top-modules/topUcc.vue +265 -0
- package/src/views/pc/default/top-modules/topayd.vue +170 -0
- package/src/views/pc/default/top-modules/ymTop.vue +299 -0
- package/src/views/pc/default/top-modules/zgltop.vue +500 -0
- package/src/views/routerView.vue +9 -0
- package/src/views/templates/components/temp-select.vue +80 -0
- package/src/views/templates/components/temp-upload.vue +234 -0
- package/src/views/templates/readme.md +2 -0
- package/src/views/templates/templateInput.vue +417 -0
- package/src/views/templates/templateReadme.html +589 -0
- package/src/views/templates/templateReadme.md +620 -0
- package/src/views/templates/templateTable.vue +2071 -0
- package/src/views/templates/templateTableData.vue +1883 -0
- package/src/views/templates/templateUi/templateTableContent.vue +187 -0
- package/src/views/treeTemplate/index.vue +559 -0
- package/src/views/treeTemplate/treeTemplate.md +274 -0
- package/src/views/uploadDialog/index copy.vue +352 -0
- package/src/views/uploadDialog/index.vue +558 -0
- package/src/views/uploadDialog/indexOlay.vue +582 -0
- package/src/views/uploadDialog/indexPM.vue +578 -0
- package/src/views/uploadDialog/indexUpload.vue +543 -0
- package/src/views/uploadDialog/readme.md +45 -0
@@ -0,0 +1,646 @@
|
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<el-menu class="navbar" mode="horizontal">
|
4
|
+
<!-- <hamburger
|
5
|
+
class="hamburger-container"
|
6
|
+
:toggleClick="toggleSideBar"
|
7
|
+
:isActive="sidebar.appNavOpen"
|
8
|
+
></hamburger>
|
9
|
+
<breadcrumb></breadcrumb>-->
|
10
|
+
<slot></slot>
|
11
|
+
<div class="navbar-title">
|
12
|
+
<!-- <i class="icon-liebiaoxiangyou iconfont"></i> -->
|
13
|
+
<ul class="flex">
|
14
|
+
<li>{{ firstLevelMenu }}</li>
|
15
|
+
<li v-if="secondLevelMenu">
|
16
|
+
<i>/</i>
|
17
|
+
{{ secondLevelMenu }}
|
18
|
+
</li>
|
19
|
+
<li v-if="thirdLevelMenu">
|
20
|
+
<i>/</i>
|
21
|
+
{{ thirdLevelMenu }}
|
22
|
+
</li>
|
23
|
+
</ul>
|
24
|
+
</div>
|
25
|
+
<div class="nav-head">
|
26
|
+
<el-popover placement="bottom-end" width="100" trigger="click">
|
27
|
+
<ul class="theme-color-box clearfix">
|
28
|
+
<li @click="themeClick('bda16f')" :class="[activeColor == 'bda16f' ? 'active' : '']" :style="{ background: '#bda16f' }"></li>
|
29
|
+
<li @click="themeClick('2c4158')" :class="[activeColor == '2c4158' ? 'active' : '']" :style="{ background: '#2c4158' }"></li>
|
30
|
+
</ul>
|
31
|
+
<!-- <el-button class="theme-box" slot="reference">主题</el-button> -->
|
32
|
+
</el-popover>
|
33
|
+
|
34
|
+
<div class="user_name">
|
35
|
+
<p class="user-bar">
|
36
|
+
<!-- <i class="user-icon"></i> -->
|
37
|
+
<!-- <span class="user_line"></span> -->
|
38
|
+
<!-- <i class="icon-yonghu-outline iconfont"></i> -->
|
39
|
+
<span class="user-remark" v-if="proappRemark && proappRemark.length > 0">
|
40
|
+
<el-popover placement="bottom" width="300" trigger="hover">
|
41
|
+
<p>{{ proappRemark[0] }}</p>
|
42
|
+
<img :src="proappRemark[1]" alt="" width="300px" />
|
43
|
+
<i slot="reference">{{ proappRemark[0] }} </i>
|
44
|
+
</el-popover>
|
45
|
+
</span>
|
46
|
+
|
47
|
+
<!-- <span class="user_line"></span> -->
|
48
|
+
<!-- <i class="icon-yonghu-outline iconfont"></i> -->
|
49
|
+
<el-badge
|
50
|
+
class="msg-icon"
|
51
|
+
v-if="proappEnvLayout && proappEnvLayout.tenantCode == '2021122100000001'"
|
52
|
+
is-dot
|
53
|
+
:hidden='unreadMessageNum==0'
|
54
|
+
>
|
55
|
+
<i class="el-icon-bell" @click="jumpToPage"></i>
|
56
|
+
</el-badge>
|
57
|
+
<span class="user-name" @click="lookInfo">
|
58
|
+
<i style="padding-right: 10px">{{ this.merberCompname }}</i>
|
59
|
+
{{ $store.state.user.name }}
|
60
|
+
</span>
|
61
|
+
</p>
|
62
|
+
</div>
|
63
|
+
<!-- <i class="set-icon"></i>
|
64
|
+
<i class="info-icon"></i>-->
|
65
|
+
<!-- <span class="spl_line"></span> -->
|
66
|
+
<div class="log_uot">
|
67
|
+
<i class="icon-tuichu1 iconfont" @click="logout"></i>
|
68
|
+
<!-- <span class="logout-text" @click="logout">退出</span> -->
|
69
|
+
</div>
|
70
|
+
</div>
|
71
|
+
<el-dialog title="登录账户信息" :visible.sync="centerDialogVisible" width="23%" center>
|
72
|
+
<div class="loginInfo-Block-left">
|
73
|
+
<div>登录名:</div>
|
74
|
+
<div>手机号:</div>
|
75
|
+
<div>所属公司:</div>
|
76
|
+
<div>角色:</div>
|
77
|
+
<!-- <div>联系人:</div> -->
|
78
|
+
</div>
|
79
|
+
<div class="loginInfo-Block-right">
|
80
|
+
<div>{{ name }}</div>
|
81
|
+
<div>{{ phone | hidePhone }}</div>
|
82
|
+
<div>{{ compony }}</div>
|
83
|
+
<div>{{ role }}</div>
|
84
|
+
<!-- <img :src="proappRemark[1]" alt=""> -->
|
85
|
+
</div>
|
86
|
+
</el-dialog>
|
87
|
+
<!-- <el-dropdown class="avatar-container" trigger="click">
|
88
|
+
<div class="avatar-wrapper">
|
89
|
+
<img class="user-avatar" src="https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80">
|
90
|
+
<i class="el-icon-caret-bottom"></i>
|
91
|
+
</div>
|
92
|
+
<el-dropdown-menu class="user-dropdown" slot="dropdown">
|
93
|
+
<router-link class="inlineBlock" to="/">
|
94
|
+
<el-dropdown-item>
|
95
|
+
Home
|
96
|
+
</el-dropdown-item>
|
97
|
+
</router-link>
|
98
|
+
<el-dropdown-item divided>
|
99
|
+
<span @click="logout" style="display:block;">LogOut</span>
|
100
|
+
</el-dropdown-item>
|
101
|
+
</el-dropdown-menu>
|
102
|
+
</el-dropdown>-->
|
103
|
+
</el-menu>
|
104
|
+
</div>
|
105
|
+
</template>
|
106
|
+
|
107
|
+
<script>
|
108
|
+
import { mapGetters } from 'vuex';
|
109
|
+
import Breadcrumb from '#/components/Breadcrumb';
|
110
|
+
import Hamburger from '#/components/Hamburger';
|
111
|
+
import { getUserserviceInfo, getSSOAuthInfo } from '../../../api/login';
|
112
|
+
import axios from 'axios';
|
113
|
+
import qs from 'qs';
|
114
|
+
|
115
|
+
export default {
|
116
|
+
components: {
|
117
|
+
Breadcrumb,
|
118
|
+
Hamburger,
|
119
|
+
},
|
120
|
+
props: {
|
121
|
+
firstLevelMenu: String,
|
122
|
+
secondLevelMenu: String,
|
123
|
+
thirdLevelMenu: String,
|
124
|
+
},
|
125
|
+
data() {
|
126
|
+
return {
|
127
|
+
unreadMessageNum:0,
|
128
|
+
activeColor: '2c4158',
|
129
|
+
menuList: '',
|
130
|
+
menuCode:'',
|
131
|
+
merberCompname: '',
|
132
|
+
centerDialogVisible: false,
|
133
|
+
name: '',
|
134
|
+
phone: '',
|
135
|
+
compony: '',
|
136
|
+
role: '',
|
137
|
+
type: null,
|
138
|
+
ssoSubscriptionKey: '',
|
139
|
+
proappEnvLayout: '',
|
140
|
+
proappRemark: [],
|
141
|
+
|
142
|
+
gapTime: '',
|
143
|
+
beforeUnloadTime: '',
|
144
|
+
secDomainName: null,
|
145
|
+
};
|
146
|
+
},
|
147
|
+
computed: {
|
148
|
+
...mapGetters(['sidebar']),
|
149
|
+
},
|
150
|
+
created() {
|
151
|
+
this.merberCompname = sessionStorage.getItem('personalInfo') ? JSON.parse(sessionStorage.getItem('personalInfo')).merberCompname : '';
|
152
|
+
this.proappEnvLayout = window.sessionStorage.getItem('proappEnvLayout') ? JSON.parse(window.sessionStorage.getItem('proappEnvLayout')) : '';
|
153
|
+
|
154
|
+
if (this.proappEnvLayout && this.proappEnvLayout.proappRemark) {
|
155
|
+
this.proappRemark = this.proappEnvLayout.proappRemark.split('>');
|
156
|
+
}
|
157
|
+
|
158
|
+
console.log(window.location.href, 'window.location.href本地路由');
|
159
|
+
if (window.location.href.indexOf('listDMkf') == -1) {
|
160
|
+
if(this.proappEnvLayout.tenantCode === '2019071800001392'){ // tenantCode 判断
|
161
|
+
let userId = sessionStorage.getItem('personalInfo') ? JSON.parse(sessionStorage.getItem('personalInfo')).userId : '';
|
162
|
+
getUserserviceInfo({
|
163
|
+
userId: userId,
|
164
|
+
}).then((res) => {
|
165
|
+
// console.log(res)
|
166
|
+
this.name = res.userRelname ? res.userRelname : res.userName;
|
167
|
+
this.phone = res.userOcode?res.userOcode:res.userPhone;
|
168
|
+
this.compony = res.userinfoCompname;
|
169
|
+
this.role = res.userRoleName;
|
170
|
+
});
|
171
|
+
}else{
|
172
|
+
let userId = sessionStorage.getItem('personalInfo') ? JSON.parse(sessionStorage.getItem('personalInfo')).userId : '';
|
173
|
+
getUserserviceInfo({
|
174
|
+
userId: userId,
|
175
|
+
}).then((res) => {
|
176
|
+
// console.log(res)
|
177
|
+
this.name = res.userNickname ? res.userNickname : res.userName;
|
178
|
+
this.phone = res.userPhone;
|
179
|
+
this.compony = res.userinfoCompname;
|
180
|
+
this.role = res.userRoleName;
|
181
|
+
});
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
if(this.proappEnvLayout && this.proappEnvLayout.tenantCode == '2021122100000001') this.watchLocalStorage()
|
186
|
+
},
|
187
|
+
mounted() {
|
188
|
+
// 监听 beforeunload 离开或者刷新页面触发
|
189
|
+
window.addEventListener('beforeunload', (e) => this.beforeunloadFn(e));
|
190
|
+
// 监听 unload
|
191
|
+
window.addEventListener('unload', (e) => this.unloadFn());
|
192
|
+
|
193
|
+
this.type = this.$route.query.type || null;
|
194
|
+
this.secDomainName = sessionStorage.getItem('secDomainName') ? sessionStorage.getItem('secDomainName') : null;
|
195
|
+
},
|
196
|
+
filters: {
|
197
|
+
hidePhone: function (value) {
|
198
|
+
var myreg = /^[1][3,4,5,7,8][0-9]{9}$/; //判断为手机号的正则
|
199
|
+
if (!myreg.test(value)) {
|
200
|
+
return value;
|
201
|
+
} else {
|
202
|
+
return value.replace(/^(\d{3})\d{4}(\d{4})$/, '$1****$2');
|
203
|
+
}
|
204
|
+
},
|
205
|
+
},
|
206
|
+
methods: {
|
207
|
+
/**
|
208
|
+
* 监听保存到本地的未读消息数量用来显示角标
|
209
|
+
*/
|
210
|
+
watchLocalStorage(){
|
211
|
+
// 监听localStorage的变化
|
212
|
+
window.addEventListener('storage', event=>{
|
213
|
+
if (event.key === 'unreadMessageNum') {
|
214
|
+
// 处理数据变化的逻辑
|
215
|
+
this.unreadMessageNum = Number(event.newValue)
|
216
|
+
}
|
217
|
+
});
|
218
|
+
},
|
219
|
+
/**
|
220
|
+
* 跳转到消息列表页面
|
221
|
+
*/
|
222
|
+
jumpToPage(){
|
223
|
+
location.href = '/paas/b2b-bus-pc-ayd/index.html#/msgList'
|
224
|
+
},
|
225
|
+
/**
|
226
|
+
* beforeunload function
|
227
|
+
*/
|
228
|
+
beforeunloadFn() {
|
229
|
+
// 记录当前时间
|
230
|
+
this.beforeUnloadTime = new Date().getTime();
|
231
|
+
},
|
232
|
+
|
233
|
+
/**
|
234
|
+
* unload function
|
235
|
+
*/
|
236
|
+
unloadFn() {
|
237
|
+
this.gapTime = new Date().getTime() - this.beforeUnloadTime;
|
238
|
+
if (this.gapTime < 5) {
|
239
|
+
//请求退出接口
|
240
|
+
this.logout();
|
241
|
+
}
|
242
|
+
},
|
243
|
+
|
244
|
+
lookInfo() {
|
245
|
+
// 这边修改导航用户登陆信息按钮
|
246
|
+
// location.href = `${
|
247
|
+
// location.origin
|
248
|
+
// }/paas/buyer-manager/index.html#/operatorInfo`;
|
249
|
+
this.centerDialogVisible = true;
|
250
|
+
// console.log("我被调用了北鼻")
|
251
|
+
},
|
252
|
+
toggleSideBar() {
|
253
|
+
this.$store.commit('TOGGLE_SIDEBAR_APPNAV');
|
254
|
+
},
|
255
|
+
logout() {
|
256
|
+
window.localStorage.removeItem('pohcode');
|
257
|
+
this.menuList = window.sessionStorage.getItem('menuList') ? window.sessionStorage.getItem('menuList') : '';
|
258
|
+
this.menuCode = window.sessionStorage.getItem('menuCode') ? window.sessionStorage.getItem('menuCode') : '';
|
259
|
+
this.proappEnvLayout = window.sessionStorage.getItem('proappEnvLayout') ? window.sessionStorage.getItem('proappEnvLayout') : '';
|
260
|
+
// 获取 SSO 登出配置
|
261
|
+
this.ssoLogout();
|
262
|
+
},
|
263
|
+
|
264
|
+
/**
|
265
|
+
* SSO 登出操作
|
266
|
+
*/
|
267
|
+
ssoLogout() {
|
268
|
+
getSSOAuthInfo({ oauthEnvCode: 'out' }).then((res) => {
|
269
|
+
let logoutUrl = '';
|
270
|
+
let paramsArr = [];
|
271
|
+
if (res.rows && res.rows.length > 0) {
|
272
|
+
let configs = res.rows;
|
273
|
+
let params = '';
|
274
|
+
configs.forEach((el) => {
|
275
|
+
if (el.oauthEnvconfigName == 'baseUrl') {
|
276
|
+
this.ssoBaseUrl = el.oauthEnvconfigValue;
|
277
|
+
} else {
|
278
|
+
params += `${el.oauthEnvconfigName}=${el.oauthEnvconfigValue}&`;
|
279
|
+
paramsArr.push({ name: el.oauthEnvconfigName, value: el.oauthEnvconfigValue });
|
280
|
+
}
|
281
|
+
});
|
282
|
+
|
283
|
+
// 拼接登出地址
|
284
|
+
logoutUrl = `${this.ssoBaseUrl}?${params.substring(0, params.length - 1)}`;
|
285
|
+
// P&G SSO logout 需要iframe
|
286
|
+
if (JSON.parse(this.proappEnvLayout).proappCode != '063') {
|
287
|
+
try {
|
288
|
+
var iframe = document.createElement('<iframe name="ifr"></iframe>');
|
289
|
+
} catch (e) {
|
290
|
+
var iframe = document.createElement('iframe');
|
291
|
+
iframe.name = 'ifr';
|
292
|
+
}
|
293
|
+
iframe.src = logoutUrl;
|
294
|
+
iframe.style = 'display: none';
|
295
|
+
document.body.appendChild(iframe);
|
296
|
+
}
|
297
|
+
}
|
298
|
+
console.log('logout---->params---->', paramsArr);
|
299
|
+
this.paasLogout(paramsArr);
|
300
|
+
});
|
301
|
+
},
|
302
|
+
|
303
|
+
// 九洲云腾退出登录
|
304
|
+
iDsManagerLogout(paramsArr) {
|
305
|
+
//创建form表单
|
306
|
+
var temp_form = document.createElement('form');
|
307
|
+
|
308
|
+
temp_form.action = this.ssoBaseUrl;
|
309
|
+
|
310
|
+
//如需打开新窗口,form的target属性要设置为'_blank'
|
311
|
+
|
312
|
+
temp_form.target = '_self';
|
313
|
+
|
314
|
+
temp_form.method = 'post';
|
315
|
+
|
316
|
+
temp_form.style.display = 'none';
|
317
|
+
|
318
|
+
//添加参数
|
319
|
+
for (var item in paramsArr) {
|
320
|
+
var opt = document.createElement('textarea');
|
321
|
+
|
322
|
+
opt.name = paramsArr[item].name;
|
323
|
+
|
324
|
+
opt.value = paramsArr[item].value;
|
325
|
+
|
326
|
+
temp_form.appendChild(opt);
|
327
|
+
}
|
328
|
+
|
329
|
+
document.body.appendChild(temp_form);
|
330
|
+
|
331
|
+
//提交数据
|
332
|
+
|
333
|
+
temp_form.submit();
|
334
|
+
},
|
335
|
+
|
336
|
+
// Paas 登出操作
|
337
|
+
paasLogout(paramsArr) {
|
338
|
+
// 调用 Paas 登出接口
|
339
|
+
this.$store.dispatch('LogOut').then((res) => {
|
340
|
+
window.sessionStorage.clear();
|
341
|
+
window.sessionStorage.setItem('menuList', this.menuList);
|
342
|
+
window.sessionStorage.setItem('menuCode', this.menuCode);
|
343
|
+
this.$store.dispatch('GetAppRouter').then((reg) => {
|
344
|
+
window.sessionStorage.setItem('menuList', JSON.stringify(reg));
|
345
|
+
});
|
346
|
+
|
347
|
+
this.$store.commit('ADD_MENU', []);
|
348
|
+
console.log('logout---->params---->', JSON.parse(this.proappEnvLayout).proappCode);
|
349
|
+
// 九洲云腾登出操作
|
350
|
+
// if (JSON.parse(this.proappEnvLayout).proappCode === '063') {
|
351
|
+
// this.iDsManagerLogout(paramsArr);
|
352
|
+
// } else {
|
353
|
+
let path = '';
|
354
|
+
if (this.proappEnvLayout && this.proappEnvLayout != null && this.proappEnvLayout != '') {
|
355
|
+
path = JSON.parse(this.proappEnvLayout).proappEnvIndexr;
|
356
|
+
} else {
|
357
|
+
path = '/paas/index/index.html';
|
358
|
+
}
|
359
|
+
console.log(path, window.location.origin, 'logout');
|
360
|
+
if (window.location.origin) {
|
361
|
+
//this.secDomainName
|
362
|
+
if (this.secDomainName && this.secDomainName != 'null' && this.secDomainName != window.location.origin) {
|
363
|
+
window.location.href = `${this.secDomainName}${path}`;
|
364
|
+
} else {
|
365
|
+
window.location.href = `${window.location.origin}${path}`;
|
366
|
+
}
|
367
|
+
//无论url是什么,强制刷新页面,另外reload()有true和false参
|
368
|
+
window.location.reload()
|
369
|
+
} else {
|
370
|
+
window.location.href = path;
|
371
|
+
window.location.reload()
|
372
|
+
}
|
373
|
+
// }
|
374
|
+
});
|
375
|
+
},
|
376
|
+
|
377
|
+
themeClick(color) {
|
378
|
+
this.activeColor = color;
|
379
|
+
this.$emit('themeClick', color);
|
380
|
+
},
|
381
|
+
},
|
382
|
+
|
383
|
+
destroyed() {
|
384
|
+
window.removeEventListener('beforeunload', (e) => this.beforeunloadFn());
|
385
|
+
window.removeEventListener('unload', (e) => this.unloadFn());
|
386
|
+
},
|
387
|
+
};
|
388
|
+
</script>
|
389
|
+
|
390
|
+
<style rel="stylesheet/scss" lang="scss" scoped>
|
391
|
+
.loginInfo-Block-left {
|
392
|
+
width: 39%;
|
393
|
+
height: 100%;
|
394
|
+
text-align: right;
|
395
|
+
display: inline-block;
|
396
|
+
}
|
397
|
+
.loginInfo-Block-left > div {
|
398
|
+
margin-bottom: 25px;
|
399
|
+
}
|
400
|
+
.loginInfo-Block-right {
|
401
|
+
height: 100%;
|
402
|
+
display: inline-block;
|
403
|
+
img {
|
404
|
+
width: 120px;
|
405
|
+
height: 120px;
|
406
|
+
}
|
407
|
+
}
|
408
|
+
.loginInfo-Block-right > div {
|
409
|
+
margin-bottom: 25px;
|
410
|
+
}
|
411
|
+
.theme-color-box {
|
412
|
+
li {
|
413
|
+
width: 40px;
|
414
|
+
height: 20px;
|
415
|
+
border: 1px solid #e0e0e0;
|
416
|
+
cursor: pointer;
|
417
|
+
float: left;
|
418
|
+
margin: 5px;
|
419
|
+
opacity: 0.3;
|
420
|
+
&.active {
|
421
|
+
opacity: 1;
|
422
|
+
}
|
423
|
+
}
|
424
|
+
}
|
425
|
+
.user-bar {
|
426
|
+
}
|
427
|
+
.user-remark {
|
428
|
+
display: inline-block;
|
429
|
+
width: 530px;
|
430
|
+
white-space: nowrap;
|
431
|
+
overflow: hidden;
|
432
|
+
text-overflow: ellipsis;
|
433
|
+
float: left;
|
434
|
+
font-size: 12px;
|
435
|
+
cursor: pointer;
|
436
|
+
text-align: right;
|
437
|
+
padding-right: 20px;
|
438
|
+
position: relative;
|
439
|
+
}
|
440
|
+
|
441
|
+
.user-name {
|
442
|
+
font-size: 14px;
|
443
|
+
// line-height: 30px;
|
444
|
+
// margin-top: -1px;
|
445
|
+
// display: inline-block;
|
446
|
+
float: right;
|
447
|
+
|
448
|
+
cursor: pointer;
|
449
|
+
}
|
450
|
+
.nav-head {
|
451
|
+
flex: 1;
|
452
|
+
display: inline-flex;
|
453
|
+
justify-content: flex-end;
|
454
|
+
align-items: center;
|
455
|
+
color: #bbbbbb;
|
456
|
+
margin-right: 15px;
|
457
|
+
align-items:center
|
458
|
+
// font-weight: normal;
|
459
|
+
// transition: all 10s linear;
|
460
|
+
// i {
|
461
|
+
// display: inline-block;
|
462
|
+
// width: 18px;
|
463
|
+
// height: 18px;
|
464
|
+
// // margin-right: 25px;
|
465
|
+
// cursor: pointer;
|
466
|
+
// }
|
467
|
+
// .user_name {
|
468
|
+
// cursor: pointer;
|
469
|
+
// margin-right: 15px;
|
470
|
+
// p {
|
471
|
+
// width: 100%;
|
472
|
+
// line-height: 24px;
|
473
|
+
// height: 24px;
|
474
|
+
// display: inline-table;
|
475
|
+
// // .user-icon {
|
476
|
+
// // vertical-align: middle;
|
477
|
+
// // background: url("../../../assets/nav/admin.png") no-repeat;
|
478
|
+
// // background-size: 80%;
|
479
|
+
// // }
|
480
|
+
// // .user_line {
|
481
|
+
// // border: 1px solid #f8f8f8;
|
482
|
+
// // margin: 0 5px;
|
483
|
+
// // }
|
484
|
+
// }
|
485
|
+
// &:hover {
|
486
|
+
// // .user-icon {
|
487
|
+
// // vertical-align: middle;
|
488
|
+
// // background-image: url("../../../assets/nav/admin-hover.png");
|
489
|
+
// // background-size: 100% 100%;
|
490
|
+
// // }
|
491
|
+
// p {
|
492
|
+
// color: #409dff;
|
493
|
+
// }
|
494
|
+
// }
|
495
|
+
// }
|
496
|
+
|
497
|
+
.spl_line {
|
498
|
+
height: 40px;
|
499
|
+
border: 1px solid #f8f8f8;
|
500
|
+
line-height: 46px;
|
501
|
+
margin-right: 15px;
|
502
|
+
}
|
503
|
+
.log_uot {
|
504
|
+
// height: 24px;
|
505
|
+
// line-height: 24px;
|
506
|
+
// width: 24px;
|
507
|
+
cursor: pointer;
|
508
|
+
margin-left: 12px;
|
509
|
+
// .logout-icon {
|
510
|
+
// vertical-align: middle;
|
511
|
+
// background: url("../../../assets/nav/logout.png") no-repeat;
|
512
|
+
// background-size: 80%;
|
513
|
+
// }
|
514
|
+
.logout-text {
|
515
|
+
position: absolute;
|
516
|
+
bottom: -15px;
|
517
|
+
font-size: 12px;
|
518
|
+
}
|
519
|
+
&:hover {
|
520
|
+
// .logout-icon {
|
521
|
+
// vertical-align: middle;
|
522
|
+
// background-image: url("../../../assets/nav/logout-hover.png");
|
523
|
+
// background-size: 100% 100%;
|
524
|
+
// }
|
525
|
+
color: #409dff;
|
526
|
+
.logout-text {
|
527
|
+
color: #409dff;
|
528
|
+
}
|
529
|
+
}
|
530
|
+
}
|
531
|
+
}
|
532
|
+
.theme-box {
|
533
|
+
border: none;
|
534
|
+
background: none;
|
535
|
+
margin-right: 30px;
|
536
|
+
&:active {
|
537
|
+
background: none;
|
538
|
+
color: #409dff;
|
539
|
+
}
|
540
|
+
&:hover {
|
541
|
+
background: none;
|
542
|
+
color: #409dff;
|
543
|
+
}
|
544
|
+
&:focus {
|
545
|
+
background: none;
|
546
|
+
color: #409dff;
|
547
|
+
}
|
548
|
+
&:visited {
|
549
|
+
background: none;
|
550
|
+
color: #409dff;
|
551
|
+
}
|
552
|
+
}
|
553
|
+
// .logout-text:hover{
|
554
|
+
// font-weight: bold;
|
555
|
+
// color:#3ca1ec;
|
556
|
+
// }
|
557
|
+
// .logout-text{
|
558
|
+
// margin:0 25px 0 8px;cursor:pointer;
|
559
|
+
// }
|
560
|
+
// .nav-head i{
|
561
|
+
// display: inline-block;
|
562
|
+
// width: 18px;
|
563
|
+
// height: 18px;
|
564
|
+
// // margin-right: 25px;
|
565
|
+
// cursor: pointer;
|
566
|
+
// }
|
567
|
+
// .nav-head p{
|
568
|
+
// margin-right: 15px;
|
569
|
+
// }
|
570
|
+
|
571
|
+
.set-icon {
|
572
|
+
background-image: url('../../../assets/nav/set.png');
|
573
|
+
background-size: 100% 100%;
|
574
|
+
}
|
575
|
+
|
576
|
+
.info-icon {
|
577
|
+
background-image: url('../../../assets/nav/info.png');
|
578
|
+
background-size: 100% 100%;
|
579
|
+
}
|
580
|
+
.navbar {
|
581
|
+
height: 50px;
|
582
|
+
line-height: 50px;
|
583
|
+
display: flex;
|
584
|
+
box-sizing: border-box;
|
585
|
+
border-radius: 0 !important;
|
586
|
+
position: relative;
|
587
|
+
&-title {
|
588
|
+
font-size: 14px;
|
589
|
+
color: #333;
|
590
|
+
margin-left: 12px;
|
591
|
+
// cursor: pointer;
|
592
|
+
ul {
|
593
|
+
li:last-child {
|
594
|
+
color: #999;
|
595
|
+
}
|
596
|
+
i {
|
597
|
+
margin: 0 10px;
|
598
|
+
color: #999;
|
599
|
+
}
|
600
|
+
}
|
601
|
+
}
|
602
|
+
.hamburger-container {
|
603
|
+
line-height: 30px;
|
604
|
+
height: 30px;
|
605
|
+
float: left;
|
606
|
+
padding: 0 14px 0 20px;
|
607
|
+
}
|
608
|
+
.screenfull {
|
609
|
+
position: absolute;
|
610
|
+
right: 90px;
|
611
|
+
top: 16px;
|
612
|
+
color: red;
|
613
|
+
}
|
614
|
+
.avatar-container {
|
615
|
+
height: 46px;
|
616
|
+
display: inline-block;
|
617
|
+
position: absolute;
|
618
|
+
right: 35px;
|
619
|
+
.avatar-wrapper {
|
620
|
+
cursor: pointer;
|
621
|
+
margin-top: 5px;
|
622
|
+
position: relative;
|
623
|
+
.user-avatar {
|
624
|
+
width: 40px;
|
625
|
+
height: 40px;
|
626
|
+
border-radius: 10px;
|
627
|
+
}
|
628
|
+
.el-icon-caret-bottom {
|
629
|
+
position: absolute;
|
630
|
+
right: -20px;
|
631
|
+
top: 25px;
|
632
|
+
font-size: 12px;
|
633
|
+
}
|
634
|
+
}
|
635
|
+
}
|
636
|
+
}
|
637
|
+
::-webkit-validation-bubble-arrow-clipper .msg-icon{
|
638
|
+
display:inline;
|
639
|
+
cursor: pointer;
|
640
|
+
margin-right:20px;
|
641
|
+
.el-badge__content.is-fixed{
|
642
|
+
top:4px;
|
643
|
+
right: 8px;
|
644
|
+
}
|
645
|
+
}
|
646
|
+
</style>
|