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,244 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="common-top-bar">
|
3
|
+
<div class="inner w1200 m0a">
|
4
|
+
<div v-if="isLogin && userInfor" class="login-name">
|
5
|
+
<span>{{userInfor.userName}}</span>
|
6
|
+
<a href="javascript:;" @click="logout">[ {{th('loginOut') }}]</a>
|
7
|
+
</div>
|
8
|
+
<div v-else class="login-name login-names">
|
9
|
+
<a href="/paas/index/index.html#/loginPc">[{{th('login')}}]</a>
|
10
|
+
<a href="/paas/index/index.html#/regPc" v-if='regPcHave!="2021020200000001"'>[{{th('signUp')}}]</a>
|
11
|
+
</div>
|
12
|
+
<div class="right">
|
13
|
+
<ul class>
|
14
|
+
<li v-if="!isLogin || userInfor">
|
15
|
+
<a
|
16
|
+
href="/paas/user-manager/index.html#/user"
|
17
|
+
class="iconfont icon-wode-copy"
|
18
|
+
style="font-size:18px"
|
19
|
+
></a>
|
20
|
+
</li>
|
21
|
+
<li class="rignt-line">|</li>
|
22
|
+
<li class="cars">
|
23
|
+
<a href="/paas/pc-mall/index.html#/car" class="iconfont icon-gouwudai6"></a>
|
24
|
+
<span class="bg-theme">{{total}}</span>
|
25
|
+
</li>
|
26
|
+
</ul>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
<slot></slot>
|
30
|
+
</div>
|
31
|
+
</template>
|
32
|
+
|
33
|
+
<script>
|
34
|
+
import { logout } from "#/api/login";
|
35
|
+
import { getToken, removeToken } from "#/utils/auth";
|
36
|
+
import API from "#/api/common/index.js";
|
37
|
+
import erwm from "#/assets/newerwei.png";
|
38
|
+
|
39
|
+
export default {
|
40
|
+
data() {
|
41
|
+
return {
|
42
|
+
gw: "暂无顾问",
|
43
|
+
flaggw: false,
|
44
|
+
myerwm: erwm,
|
45
|
+
show: false,
|
46
|
+
total:0,
|
47
|
+
logins:null,
|
48
|
+
regPcHave:'',
|
49
|
+
};
|
50
|
+
},
|
51
|
+
updated() {
|
52
|
+
this.gw = this.th("none");
|
53
|
+
},
|
54
|
+
computed: {
|
55
|
+
isLogin() {
|
56
|
+
let info = JSON.parse(sessionStorage.getItem('saas-user-ex'))||null;
|
57
|
+
this.logins=this.getUserCookie() && getToken(this.getUserCookie())? getToken(this.getUserCookie()) :info ?info :false;
|
58
|
+
return this.getUserCookie() && getToken(this.getUserCookie())? getToken(this.getUserCookie()) :info ?info :false;
|
59
|
+
},
|
60
|
+
userInfor() {
|
61
|
+
let info =
|
62
|
+
this.getUserCookie() && getToken(this.getUserCookie())
|
63
|
+
? JSON.parse(getToken(this.getUserCookie()))
|
64
|
+
:JSON.parse(sessionStorage.getItem('saas-user-ex'))
|
65
|
+
?JSON.parse(sessionStorage.getItem('saas-user-ex'))
|
66
|
+
: {};
|
67
|
+
return info;
|
68
|
+
}
|
69
|
+
},
|
70
|
+
watch:{
|
71
|
+
logins(newVal,oldVal){
|
72
|
+
if(newVal){
|
73
|
+
this.getCarNum()
|
74
|
+
}
|
75
|
+
},
|
76
|
+
'$route' : 'getCarNum'
|
77
|
+
},
|
78
|
+
created() {
|
79
|
+
this.regPcHave=localStorage.getItem('tcode')?localStorage.getItem('tcode'):localStorage.getItem('saas-tenantcode')
|
80
|
+
},
|
81
|
+
mounted() {
|
82
|
+
window.addEventListener("click", this.gwhide);
|
83
|
+
},
|
84
|
+
methods: {
|
85
|
+
th(key) {
|
86
|
+
return this.$th("common.pc.default.topModules.topDefault.", key);
|
87
|
+
},
|
88
|
+
getCarNum(){
|
89
|
+
API.shoppingList().then(res=>{
|
90
|
+
this.total=res&&res.total
|
91
|
+
})
|
92
|
+
},
|
93
|
+
gwopen() {
|
94
|
+
API.getCustrelByEmployee().then(res => {
|
95
|
+
if (res) {
|
96
|
+
if (res.employeePhone) {
|
97
|
+
this.gw = res.employeePhone;
|
98
|
+
} else {
|
99
|
+
this.gw = this.th("none");
|
100
|
+
}
|
101
|
+
} else {
|
102
|
+
this.gw = this.th("none");
|
103
|
+
}
|
104
|
+
});
|
105
|
+
this.flaggw = true;
|
106
|
+
},
|
107
|
+
gwhide() {
|
108
|
+
this.flaggw = false;
|
109
|
+
},
|
110
|
+
enter() {
|
111
|
+
this.show = true;
|
112
|
+
},
|
113
|
+
leave() {
|
114
|
+
this.show = false;
|
115
|
+
},
|
116
|
+
login() {
|
117
|
+
location.href = "/paas/pc-mall/index.html#/loginPc";
|
118
|
+
},
|
119
|
+
register() {
|
120
|
+
location.href = "/paas/pc-mall/index.html#/regPc";
|
121
|
+
},
|
122
|
+
logout() {
|
123
|
+
// 退出
|
124
|
+
logout().then(() => {
|
125
|
+
let newDomain = document.domain
|
126
|
+
.split(".")
|
127
|
+
.splice(-2)
|
128
|
+
.join(".");
|
129
|
+
removeToken("LOGININFO", newDomain, "/");
|
130
|
+
sessionStorage.removeItem("saas-user-ex");
|
131
|
+
// removeToken("personalInfo", newDomain, "/");
|
132
|
+
// location.reload();
|
133
|
+
location.href = location.origin;
|
134
|
+
});
|
135
|
+
},
|
136
|
+
getUserCookie() {
|
137
|
+
let cookie = document.cookie;
|
138
|
+
let session = JSON.parse(sessionStorage.getItem('saas-user-ex'));
|
139
|
+
let start = cookie.indexOf("personalInfo");//cookie.indexOf("saas-user-");
|
140
|
+
if (start > -1) {
|
141
|
+
let end = cookie.indexOf("=", start);
|
142
|
+
return cookie.substring(start, end);
|
143
|
+
} else if(session){
|
144
|
+
return session||null;
|
145
|
+
} else {
|
146
|
+
return null;
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
};
|
151
|
+
</script>
|
152
|
+
|
153
|
+
<style rel="stylesheet/scss" lang="scss" scoped >
|
154
|
+
.common-top-bar {
|
155
|
+
overflow: hidden;
|
156
|
+
position: relative;
|
157
|
+
.right{
|
158
|
+
.cars{
|
159
|
+
position: relative;
|
160
|
+
}
|
161
|
+
span{
|
162
|
+
display: inline-block;
|
163
|
+
color: #fff;
|
164
|
+
border-radius: 50%;
|
165
|
+
top: 5px;
|
166
|
+
right: -15px;
|
167
|
+
width: 18px;
|
168
|
+
height: 18px;
|
169
|
+
text-align: center;
|
170
|
+
line-height: 18px;
|
171
|
+
position: absolute;
|
172
|
+
font-size: 12px;
|
173
|
+
}
|
174
|
+
}
|
175
|
+
|
176
|
+
}
|
177
|
+
.login-name {
|
178
|
+
float: left;
|
179
|
+
font-size: 14px;
|
180
|
+
color: #333;
|
181
|
+
span {
|
182
|
+
margin-right: 17px;
|
183
|
+
}
|
184
|
+
a {
|
185
|
+
color: #333;
|
186
|
+
margin: 0 7px;
|
187
|
+
}
|
188
|
+
}
|
189
|
+
.login-names {
|
190
|
+
color: #666;
|
191
|
+
span {
|
192
|
+
cursor: pointer;
|
193
|
+
}
|
194
|
+
a {
|
195
|
+
color: #666;
|
196
|
+
}
|
197
|
+
}
|
198
|
+
|
199
|
+
.common-top-bar {
|
200
|
+
.rignt-line {
|
201
|
+
color: #ccc;
|
202
|
+
}
|
203
|
+
color: #666;
|
204
|
+
font-size: 13px;
|
205
|
+
width: 100%;
|
206
|
+
height: 38px;
|
207
|
+
line-height: 38px;
|
208
|
+
background-color: #fafafa;
|
209
|
+
.inner {
|
210
|
+
.left {
|
211
|
+
float: left;
|
212
|
+
}
|
213
|
+
.right {
|
214
|
+
float: right;
|
215
|
+
position: relative;
|
216
|
+
ul {
|
217
|
+
margin-right: 1px;
|
218
|
+
}
|
219
|
+
ul li {
|
220
|
+
margin: 0 7px;
|
221
|
+
float: left;
|
222
|
+
float:left a {
|
223
|
+
color: #666;
|
224
|
+
}
|
225
|
+
// &:hover a {
|
226
|
+
// color: #ff9e01;
|
227
|
+
// }
|
228
|
+
}
|
229
|
+
.line {
|
230
|
+
width: 1px;
|
231
|
+
height: 16px;
|
232
|
+
background: #ccc;
|
233
|
+
margin: 12px 28px;
|
234
|
+
}
|
235
|
+
.item {
|
236
|
+
vertical-align: top;
|
237
|
+
height: 20px;
|
238
|
+
margin-top: 12px;
|
239
|
+
line-height: 20px;
|
240
|
+
}
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}
|
244
|
+
</style>
|
@@ -0,0 +1,197 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="common-top-bar">
|
3
|
+
<div class="inner w1200 m0a">
|
4
|
+
<div v-if="userInfo.userPhone" class="login-name">
|
5
|
+
<span>{{ userInfo.userName }}</span>
|
6
|
+
<a href="javascript:;" @click="logout">[ {{ th('loginOut') }}]</a>
|
7
|
+
</div>
|
8
|
+
<div v-else class="login-name login-names">
|
9
|
+
<a href="/paas/index/index.html#/loginPc">[{{ th('login') }}]</a>
|
10
|
+
<!-- <a href="/paas/index/index.html#/regPc">[{{th('signUp')}}]</a> -->
|
11
|
+
</div>
|
12
|
+
<div class="right">
|
13
|
+
<ul class>
|
14
|
+
<li>
|
15
|
+
<a href="/paas/user-manager/index.html#/user" class="iconfont icon-wode-copy" style="font-size: 18px"></a>
|
16
|
+
</li>
|
17
|
+
<li class="rignt-line">|</li>
|
18
|
+
<li class="cars">
|
19
|
+
<a href="/paas/pc-mall/index.html#/car" class="iconfont icon-gouwudai6"></a>
|
20
|
+
<span class="bg-theme">{{ total }}</span>
|
21
|
+
</li>
|
22
|
+
</ul>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
<slot></slot>
|
26
|
+
</div>
|
27
|
+
</template>
|
28
|
+
|
29
|
+
<script>
|
30
|
+
import { logout } from '#/api/login';
|
31
|
+
import { getToken, removeToken } from '#/utils/auth';
|
32
|
+
import API from '#/api/common/index.js';
|
33
|
+
import erwm from '#/assets/newerwei.png';
|
34
|
+
|
35
|
+
export default {
|
36
|
+
data() {
|
37
|
+
return {
|
38
|
+
gw: '暂无顾问',
|
39
|
+
flaggw: false,
|
40
|
+
myerwm: erwm,
|
41
|
+
show: false,
|
42
|
+
total: 0,
|
43
|
+
logins: null,
|
44
|
+
userInfo: {},
|
45
|
+
};
|
46
|
+
},
|
47
|
+
updated() {
|
48
|
+
this.gw = this.th('none');
|
49
|
+
},
|
50
|
+
computed: {},
|
51
|
+
watch: {},
|
52
|
+
mounted() {
|
53
|
+
if (window.sessionStorage.getItem('personalInfo')) {
|
54
|
+
this.userInfo = JSON.parse(window.sessionStorage.getItem('personalInfo'));
|
55
|
+
this.getCarNum();
|
56
|
+
}
|
57
|
+
},
|
58
|
+
methods: {
|
59
|
+
th(key) {
|
60
|
+
return this.$th('common.pc.default.topModules.topDefault.', key);
|
61
|
+
},
|
62
|
+
getCarNum() {
|
63
|
+
API.shoppingList().then((res) => {
|
64
|
+
this.total = res && res.total;
|
65
|
+
});
|
66
|
+
},
|
67
|
+
gwopen() {
|
68
|
+
API.getCustrelByEmployee().then((res) => {
|
69
|
+
if (res) {
|
70
|
+
if (res.employeePhone) {
|
71
|
+
this.gw = res.employeePhone;
|
72
|
+
} else {
|
73
|
+
this.gw = this.th('none');
|
74
|
+
}
|
75
|
+
} else {
|
76
|
+
this.gw = this.th('none');
|
77
|
+
}
|
78
|
+
});
|
79
|
+
this.flaggw = true;
|
80
|
+
},
|
81
|
+
|
82
|
+
enter() {
|
83
|
+
this.show = true;
|
84
|
+
},
|
85
|
+
leave() {
|
86
|
+
this.show = false;
|
87
|
+
},
|
88
|
+
login() {
|
89
|
+
location.href = '/paas/pc-mall/index.html#/loginPc';
|
90
|
+
},
|
91
|
+
register() {
|
92
|
+
location.href = '/paas/pc-mall/index.html#/regPc';
|
93
|
+
},
|
94
|
+
logout() {
|
95
|
+
// 退出
|
96
|
+
logout().then(() => {
|
97
|
+
this.$message.success('退出登陆成功');
|
98
|
+
localStorage.clear();
|
99
|
+
sessionStorage.clear();
|
100
|
+
this.userInfo = {};
|
101
|
+
location.href = location.origin;
|
102
|
+
});
|
103
|
+
},
|
104
|
+
},
|
105
|
+
};
|
106
|
+
</script>
|
107
|
+
|
108
|
+
<style rel="stylesheet/scss" lang="scss" scoped>
|
109
|
+
.common-top-bar {
|
110
|
+
position: relative;
|
111
|
+
.right {
|
112
|
+
.cars {
|
113
|
+
position: relative;
|
114
|
+
}
|
115
|
+
span {
|
116
|
+
display: inline-block;
|
117
|
+
color: #fff;
|
118
|
+
border-radius: 50%;
|
119
|
+
top: 5px;
|
120
|
+
right: -15px;
|
121
|
+
width: 18px;
|
122
|
+
height: 18px;
|
123
|
+
text-align: center;
|
124
|
+
line-height: 18px;
|
125
|
+
position: absolute;
|
126
|
+
font-size: 12px;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
.login-name {
|
131
|
+
float: left;
|
132
|
+
font-size: 14px;
|
133
|
+
color: #333;
|
134
|
+
span {
|
135
|
+
margin-right: 17px;
|
136
|
+
}
|
137
|
+
a {
|
138
|
+
color: #333;
|
139
|
+
margin: 0 7px;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
.login-names {
|
143
|
+
color: #666;
|
144
|
+
span {
|
145
|
+
cursor: pointer;
|
146
|
+
}
|
147
|
+
a {
|
148
|
+
color: #666;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
.common-top-bar {
|
153
|
+
.rignt-line {
|
154
|
+
color: #ccc;
|
155
|
+
}
|
156
|
+
color: #666;
|
157
|
+
font-size: 13px;
|
158
|
+
width: 100%;
|
159
|
+
height: 38px;
|
160
|
+
line-height: 38px;
|
161
|
+
background-color: #fafafa;
|
162
|
+
.inner {
|
163
|
+
.left {
|
164
|
+
float: left;
|
165
|
+
}
|
166
|
+
.right {
|
167
|
+
float: right;
|
168
|
+
position: relative;
|
169
|
+
ul {
|
170
|
+
margin-right: 1px;
|
171
|
+
}
|
172
|
+
ul li {
|
173
|
+
margin: 0 7px;
|
174
|
+
float: left;
|
175
|
+
float:left a {
|
176
|
+
color: #666;
|
177
|
+
}
|
178
|
+
// &:hover a {
|
179
|
+
// color: #ff9e01;
|
180
|
+
// }
|
181
|
+
}
|
182
|
+
.line {
|
183
|
+
width: 1px;
|
184
|
+
height: 16px;
|
185
|
+
background: #ccc;
|
186
|
+
margin: 12px 28px;
|
187
|
+
}
|
188
|
+
.item {
|
189
|
+
vertical-align: top;
|
190
|
+
height: 20px;
|
191
|
+
margin-top: 12px;
|
192
|
+
line-height: 20px;
|
193
|
+
}
|
194
|
+
}
|
195
|
+
}
|
196
|
+
}
|
197
|
+
</style>
|
@@ -0,0 +1,272 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="common-top-bar">
|
3
|
+
<div class="inner w1200 m0a">
|
4
|
+
<div v-if="isLogin && userInfor" class="login-name">
|
5
|
+
<span>{{userInfor.userName}}</span>
|
6
|
+
<a href="javascript:;" @click="logout">[ {{th('loginOut') }}]</a>
|
7
|
+
</div>
|
8
|
+
<div v-else class="login-name login-names">
|
9
|
+
<a href="/paas/index/index.html#/loginPc">[{{th('login')}}]</a>
|
10
|
+
<!-- <a href="/paas/index/index.html#/regPc" v-if='regPcHave!="2021020200000001"'>[{{th('signUp')}}]</a> -->
|
11
|
+
</div>
|
12
|
+
<div class="right">
|
13
|
+
<ul class>
|
14
|
+
<li>
|
15
|
+
<!-- class="iconfont icon-wode-copy" -->
|
16
|
+
<a href="/" class="iconfont icon-shouye5"> 商城首页</a>
|
17
|
+
</li>
|
18
|
+
<li class="rignt-line">|</li>
|
19
|
+
<li v-if="!isLogin || userInfor">
|
20
|
+
<!-- class="iconfont icon-wode-copy" -->
|
21
|
+
<a href="/paas/user-manager/index.html#/user" class="iconfont icon-wode-copy"> 会员中心</a>
|
22
|
+
</li>
|
23
|
+
<li class="rignt-line">|</li>
|
24
|
+
<li class="cars">
|
25
|
+
<!-- -->
|
26
|
+
<a href="/paas/pc-mall/index.html#/car" class="iconfont icon-gouwudai6"> 购物车</a>
|
27
|
+
<span class="bg-theme">{{total}}</span>
|
28
|
+
</li>
|
29
|
+
</ul>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
<slot></slot>
|
33
|
+
</div>
|
34
|
+
</template>
|
35
|
+
|
36
|
+
<script>
|
37
|
+
import {
|
38
|
+
logout
|
39
|
+
} from "#/api/login";
|
40
|
+
import {
|
41
|
+
getToken,
|
42
|
+
removeToken
|
43
|
+
} from "#/utils/auth";
|
44
|
+
import API from "#/api/common/index.js";
|
45
|
+
import erwm from "#/assets/newerwei.png";
|
46
|
+
|
47
|
+
export default {
|
48
|
+
data() {
|
49
|
+
return {
|
50
|
+
gw: "暂无顾问",
|
51
|
+
flaggw: false,
|
52
|
+
myerwm: erwm,
|
53
|
+
show: false,
|
54
|
+
total: 0,
|
55
|
+
logins: null,
|
56
|
+
regPcHave: '',
|
57
|
+
};
|
58
|
+
},
|
59
|
+
updated() {
|
60
|
+
this.gw = this.th("none");
|
61
|
+
},
|
62
|
+
computed: {
|
63
|
+
isLogin() {
|
64
|
+
let info = JSON.parse(sessionStorage.getItem('saas-user-ex')) || null;
|
65
|
+
this.logins = this.getUserCookie() && getToken(this.getUserCookie()) ? getToken(this.getUserCookie()) : info ?
|
66
|
+
info : false;
|
67
|
+
return this.getUserCookie() && getToken(this.getUserCookie()) ? getToken(this.getUserCookie()) : info ? info :
|
68
|
+
false;
|
69
|
+
},
|
70
|
+
userInfor() {
|
71
|
+
let info =
|
72
|
+
this.getUserCookie() && getToken(this.getUserCookie()) ?
|
73
|
+
JSON.parse(getToken(this.getUserCookie())) :
|
74
|
+
JSON.parse(sessionStorage.getItem('saas-user-ex')) ?
|
75
|
+
JSON.parse(sessionStorage.getItem('saas-user-ex')) : {};
|
76
|
+
return info;
|
77
|
+
}
|
78
|
+
},
|
79
|
+
watch: {
|
80
|
+
logins(newVal, oldVal) {
|
81
|
+
if (newVal) {
|
82
|
+
this.getCarNum()
|
83
|
+
}
|
84
|
+
},
|
85
|
+
'$route': 'getCarNum'
|
86
|
+
},
|
87
|
+
created() {
|
88
|
+
this.regPcHave = localStorage.getItem('tcode') ? localStorage.getItem('tcode') : localStorage.getItem(
|
89
|
+
'saas-tenantcode')
|
90
|
+
},
|
91
|
+
mounted() {
|
92
|
+
window.addEventListener("click", this.gwhide);
|
93
|
+
},
|
94
|
+
methods: {
|
95
|
+
th(key) {
|
96
|
+
return this.$th("common.pc.default.topModules.topDefault.", key);
|
97
|
+
},
|
98
|
+
getCarNum() {
|
99
|
+
if(!this.isLogin) return;//20210729 新增,
|
100
|
+
API.shoppingList().then(res => {
|
101
|
+
this.total = res && res.total
|
102
|
+
})
|
103
|
+
},
|
104
|
+
gwopen() {
|
105
|
+
API.getCustrelByEmployee().then(res => {
|
106
|
+
if (res) {
|
107
|
+
if (res.employeePhone) {
|
108
|
+
this.gw = res.employeePhone;
|
109
|
+
} else {
|
110
|
+
this.gw = this.th("none");
|
111
|
+
}
|
112
|
+
} else {
|
113
|
+
this.gw = this.th("none");
|
114
|
+
}
|
115
|
+
});
|
116
|
+
this.flaggw = true;
|
117
|
+
},
|
118
|
+
gwhide() {
|
119
|
+
this.flaggw = false;
|
120
|
+
},
|
121
|
+
enter() {
|
122
|
+
this.show = true;
|
123
|
+
},
|
124
|
+
leave() {
|
125
|
+
this.show = false;
|
126
|
+
},
|
127
|
+
login() {
|
128
|
+
location.href = "/paas/pc-mall/index.html#/loginPc";
|
129
|
+
},
|
130
|
+
register() {
|
131
|
+
location.href = "/paas/pc-mall/index.html#/regPc";
|
132
|
+
},
|
133
|
+
logout() {
|
134
|
+
// 退出
|
135
|
+
logout().then(() => {
|
136
|
+
let newDomain = document.domain
|
137
|
+
.split(".")
|
138
|
+
.splice(-2)
|
139
|
+
.join(".");
|
140
|
+
removeToken("LOGININFO", newDomain, "/");
|
141
|
+
sessionStorage.removeItem("saas-user-ex");
|
142
|
+
// removeToken("personalInfo", newDomain, "/");
|
143
|
+
// location.reload();
|
144
|
+
location.href = location.origin;
|
145
|
+
});
|
146
|
+
},
|
147
|
+
getUserCookie() {
|
148
|
+
let cookie = document.cookie;
|
149
|
+
let session = JSON.parse(sessionStorage.getItem('saas-user-ex'));
|
150
|
+
let start = cookie.indexOf("personalInfo"); //cookie.indexOf("saas-user-");
|
151
|
+
if (start > -1) {
|
152
|
+
let end = cookie.indexOf("=", start);
|
153
|
+
return cookie.substring(start, end);
|
154
|
+
} else if (session) {
|
155
|
+
return session || null;
|
156
|
+
} else {
|
157
|
+
return null;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
};
|
162
|
+
</script>
|
163
|
+
|
164
|
+
<style rel="stylesheet/scss" lang="scss" scoped>
|
165
|
+
.common-top-bar {
|
166
|
+
overflow: hidden;
|
167
|
+
position: relative;
|
168
|
+
|
169
|
+
.right {
|
170
|
+
.cars {
|
171
|
+
position: relative;
|
172
|
+
}
|
173
|
+
|
174
|
+
span {
|
175
|
+
display: inline-block;
|
176
|
+
color: #fff;
|
177
|
+
border-radius: 50%;
|
178
|
+
top: 5px;
|
179
|
+
right: -15px;
|
180
|
+
width: 18px;
|
181
|
+
height: 18px;
|
182
|
+
text-align: center;
|
183
|
+
line-height: 18px;
|
184
|
+
position: absolute;
|
185
|
+
font-size: 12px;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
|
189
|
+
}
|
190
|
+
|
191
|
+
.login-name {
|
192
|
+
float: left;
|
193
|
+
font-size: 14px;
|
194
|
+
color: #333;
|
195
|
+
|
196
|
+
span {
|
197
|
+
margin-right: 17px;
|
198
|
+
}
|
199
|
+
|
200
|
+
a {
|
201
|
+
color: #333;
|
202
|
+
margin: 0 7px;
|
203
|
+
}
|
204
|
+
}
|
205
|
+
|
206
|
+
.login-names {
|
207
|
+
color: #666;
|
208
|
+
|
209
|
+
span {
|
210
|
+
cursor: pointer;
|
211
|
+
}
|
212
|
+
|
213
|
+
a {
|
214
|
+
color: #666;
|
215
|
+
}
|
216
|
+
}
|
217
|
+
|
218
|
+
.common-top-bar {
|
219
|
+
.rignt-line {
|
220
|
+
color: #ccc;
|
221
|
+
}
|
222
|
+
|
223
|
+
color: #666;
|
224
|
+
font-size: 13px;
|
225
|
+
width: 100%;
|
226
|
+
height: 38px;
|
227
|
+
line-height: 38px;
|
228
|
+
background-color: #fafafa;
|
229
|
+
|
230
|
+
.inner {
|
231
|
+
.left {
|
232
|
+
float: left;
|
233
|
+
}
|
234
|
+
|
235
|
+
.right {
|
236
|
+
float: right;
|
237
|
+
position: relative;
|
238
|
+
|
239
|
+
ul {
|
240
|
+
margin-right: 1px;
|
241
|
+
}
|
242
|
+
|
243
|
+
ul li {
|
244
|
+
margin: 0 7px;
|
245
|
+
float: left;
|
246
|
+
|
247
|
+
a {
|
248
|
+
font-size: 14px
|
249
|
+
}
|
250
|
+
|
251
|
+
// &:hover a {
|
252
|
+
// color: #ff9e01;
|
253
|
+
// }
|
254
|
+
}
|
255
|
+
|
256
|
+
.line {
|
257
|
+
width: 1px;
|
258
|
+
height: 16px;
|
259
|
+
background: #ccc;
|
260
|
+
margin: 12px 28px;
|
261
|
+
}
|
262
|
+
|
263
|
+
.item {
|
264
|
+
vertical-align: top;
|
265
|
+
height: 20px;
|
266
|
+
margin-top: 12px;
|
267
|
+
line-height: 20px;
|
268
|
+
}
|
269
|
+
}
|
270
|
+
}
|
271
|
+
}
|
272
|
+
</style>
|