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,119 @@
|
|
1
|
+
/**
|
2
|
+
* Permission Code Optimization by Joenix - 2021.05.28
|
3
|
+
* ========== ========== ==========
|
4
|
+
* # is Preset of `common/src`
|
5
|
+
* ========== ========== ==========
|
6
|
+
*/
|
7
|
+
|
8
|
+
// Based on Vue
|
9
|
+
import Vue from 'vue';
|
10
|
+
|
11
|
+
// Use Route Config of Proj
|
12
|
+
import router from '@/router';
|
13
|
+
// Use Store Config of Proj
|
14
|
+
import store from '@/store';
|
15
|
+
|
16
|
+
/**
|
17
|
+
* Third-Party
|
18
|
+
* ========== ========== ==========
|
19
|
+
*/
|
20
|
+
|
21
|
+
// Use NProgress
|
22
|
+
import NProgress from 'nprogress';
|
23
|
+
import 'nprogress/nprogress.css';
|
24
|
+
|
25
|
+
// Use Icon Fonts
|
26
|
+
import '#/iconfont/iconfont.css';
|
27
|
+
import '#/iconShop/iconfont.css';
|
28
|
+
|
29
|
+
// Use Normalize Reset Modern
|
30
|
+
import 'normalize.css/normalize.css';
|
31
|
+
|
32
|
+
// Use Element Chalk
|
33
|
+
import 'element-ui/lib/theme-chalk/index.css';
|
34
|
+
import '#/views/pc/default/assets/flex.scss';
|
35
|
+
|
36
|
+
// Use Lazy Load
|
37
|
+
import VueLazyload from 'vue-lazyload';
|
38
|
+
|
39
|
+
// Use Image Swipe
|
40
|
+
import VueImageSwipe from 'vue-image-swipe';
|
41
|
+
import 'vue-image-swipe/dist/vue-image-swipe.css';
|
42
|
+
|
43
|
+
// Use Message
|
44
|
+
import { Message } from 'element-ui';
|
45
|
+
|
46
|
+
// Use Cookie
|
47
|
+
import Cookies from 'js-cookie';
|
48
|
+
|
49
|
+
/**
|
50
|
+
* Environment
|
51
|
+
* ========== ========== ==========
|
52
|
+
*/
|
53
|
+
|
54
|
+
// Use Import
|
55
|
+
import { _import, _import_common } from '#/utils/import';
|
56
|
+
|
57
|
+
// Use Pro App
|
58
|
+
import proApp from '#/utils/proapp';
|
59
|
+
|
60
|
+
/**
|
61
|
+
* Encapsulation
|
62
|
+
* ========== ========== ==========
|
63
|
+
*/
|
64
|
+
|
65
|
+
// Use Utils
|
66
|
+
import '#/utils/utils.js';
|
67
|
+
|
68
|
+
// Use Get Token
|
69
|
+
import { getToken } from '#/utils/auth';
|
70
|
+
|
71
|
+
// Use Query
|
72
|
+
import queryParams from '#/utils/query';
|
73
|
+
|
74
|
+
// Use Dom
|
75
|
+
import { domCreate } from '#/utils/dom';
|
76
|
+
|
77
|
+
// Use Interceptor
|
78
|
+
import interceptor from '#/utils/interceptor';
|
79
|
+
|
80
|
+
// Use Deep Traversal
|
81
|
+
import { deepTraversal } from '#/utils/index';
|
82
|
+
|
83
|
+
// Use Menu
|
84
|
+
import { getActiveMenu, generateRoutesFromMenu } from '#/utils/menu';
|
85
|
+
|
86
|
+
// Use Error Page
|
87
|
+
import PageNotFound from '#/views/404.vue';
|
88
|
+
|
89
|
+
/**
|
90
|
+
* Export for Usage
|
91
|
+
* ========== ========== ==========
|
92
|
+
*/
|
93
|
+
|
94
|
+
export {
|
95
|
+
// Default
|
96
|
+
Vue,
|
97
|
+
// Configure
|
98
|
+
router,
|
99
|
+
store,
|
100
|
+
// Import
|
101
|
+
_import,
|
102
|
+
_import_common,
|
103
|
+
// Third-Party
|
104
|
+
NProgress,
|
105
|
+
VueLazyload,
|
106
|
+
VueImageSwipe,
|
107
|
+
Message,
|
108
|
+
Cookies,
|
109
|
+
// Encapsulation
|
110
|
+
proApp,
|
111
|
+
getToken,
|
112
|
+
queryParams,
|
113
|
+
domCreate,
|
114
|
+
interceptor,
|
115
|
+
deepTraversal,
|
116
|
+
getActiveMenu,
|
117
|
+
generateRoutesFromMenu,
|
118
|
+
PageNotFound,
|
119
|
+
};
|
@@ -0,0 +1,539 @@
|
|
1
|
+
/* Logo 字体 */
|
2
|
+
@font-face {
|
3
|
+
font-family: "iconfont logo";
|
4
|
+
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
|
5
|
+
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
|
6
|
+
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
|
7
|
+
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
|
8
|
+
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
|
9
|
+
}
|
10
|
+
|
11
|
+
.logo {
|
12
|
+
font-family: "iconfont logo";
|
13
|
+
font-size: 160px;
|
14
|
+
font-style: normal;
|
15
|
+
-webkit-font-smoothing: antialiased;
|
16
|
+
-moz-osx-font-smoothing: grayscale;
|
17
|
+
}
|
18
|
+
|
19
|
+
/* tabs */
|
20
|
+
.nav-tabs {
|
21
|
+
position: relative;
|
22
|
+
}
|
23
|
+
|
24
|
+
.nav-tabs .nav-more {
|
25
|
+
position: absolute;
|
26
|
+
right: 0;
|
27
|
+
bottom: 0;
|
28
|
+
height: 42px;
|
29
|
+
line-height: 42px;
|
30
|
+
color: #666;
|
31
|
+
}
|
32
|
+
|
33
|
+
#tabs {
|
34
|
+
border-bottom: 1px solid #eee;
|
35
|
+
}
|
36
|
+
|
37
|
+
#tabs li {
|
38
|
+
cursor: pointer;
|
39
|
+
width: 100px;
|
40
|
+
height: 40px;
|
41
|
+
line-height: 40px;
|
42
|
+
text-align: center;
|
43
|
+
font-size: 16px;
|
44
|
+
border-bottom: 2px solid transparent;
|
45
|
+
position: relative;
|
46
|
+
z-index: 1;
|
47
|
+
margin-bottom: -1px;
|
48
|
+
color: #666;
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
#tabs .active {
|
53
|
+
border-bottom-color: #f00;
|
54
|
+
color: #222;
|
55
|
+
}
|
56
|
+
|
57
|
+
.tab-container .content {
|
58
|
+
display: none;
|
59
|
+
}
|
60
|
+
|
61
|
+
/* 页面布局 */
|
62
|
+
.main {
|
63
|
+
padding: 30px 100px;
|
64
|
+
width: 960px;
|
65
|
+
margin: 0 auto;
|
66
|
+
}
|
67
|
+
|
68
|
+
.main .logo {
|
69
|
+
color: #333;
|
70
|
+
text-align: left;
|
71
|
+
margin-bottom: 30px;
|
72
|
+
line-height: 1;
|
73
|
+
height: 110px;
|
74
|
+
margin-top: -50px;
|
75
|
+
overflow: hidden;
|
76
|
+
*zoom: 1;
|
77
|
+
}
|
78
|
+
|
79
|
+
.main .logo a {
|
80
|
+
font-size: 160px;
|
81
|
+
color: #333;
|
82
|
+
}
|
83
|
+
|
84
|
+
.helps {
|
85
|
+
margin-top: 40px;
|
86
|
+
}
|
87
|
+
|
88
|
+
.helps pre {
|
89
|
+
padding: 20px;
|
90
|
+
margin: 10px 0;
|
91
|
+
border: solid 1px #e7e1cd;
|
92
|
+
background-color: #fffdef;
|
93
|
+
overflow: auto;
|
94
|
+
}
|
95
|
+
|
96
|
+
.icon_lists {
|
97
|
+
width: 100% !important;
|
98
|
+
overflow: hidden;
|
99
|
+
*zoom: 1;
|
100
|
+
}
|
101
|
+
|
102
|
+
.icon_lists li {
|
103
|
+
width: 100px;
|
104
|
+
margin-bottom: 10px;
|
105
|
+
margin-right: 20px;
|
106
|
+
text-align: center;
|
107
|
+
list-style: none !important;
|
108
|
+
cursor: default;
|
109
|
+
}
|
110
|
+
|
111
|
+
.icon_lists li .code-name {
|
112
|
+
line-height: 1.2;
|
113
|
+
}
|
114
|
+
|
115
|
+
.icon_lists .icon {
|
116
|
+
display: block;
|
117
|
+
height: 100px;
|
118
|
+
line-height: 100px;
|
119
|
+
font-size: 42px;
|
120
|
+
margin: 10px auto;
|
121
|
+
color: #333;
|
122
|
+
-webkit-transition: font-size 0.25s linear, width 0.25s linear;
|
123
|
+
-moz-transition: font-size 0.25s linear, width 0.25s linear;
|
124
|
+
transition: font-size 0.25s linear, width 0.25s linear;
|
125
|
+
}
|
126
|
+
|
127
|
+
.icon_lists .icon:hover {
|
128
|
+
font-size: 100px;
|
129
|
+
}
|
130
|
+
|
131
|
+
.icon_lists .svg-icon {
|
132
|
+
/* 通过设置 font-size 来改变图标大小 */
|
133
|
+
width: 1em;
|
134
|
+
/* 图标和文字相邻时,垂直对齐 */
|
135
|
+
vertical-align: -0.15em;
|
136
|
+
/* 通过设置 color 来改变 SVG 的颜色/fill */
|
137
|
+
fill: currentColor;
|
138
|
+
/* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
|
139
|
+
normalize.css 中也包含这行 */
|
140
|
+
overflow: hidden;
|
141
|
+
}
|
142
|
+
|
143
|
+
.icon_lists li .name,
|
144
|
+
.icon_lists li .code-name {
|
145
|
+
color: #666;
|
146
|
+
}
|
147
|
+
|
148
|
+
/* markdown 样式 */
|
149
|
+
.markdown {
|
150
|
+
color: #666;
|
151
|
+
font-size: 14px;
|
152
|
+
line-height: 1.8;
|
153
|
+
}
|
154
|
+
|
155
|
+
.highlight {
|
156
|
+
line-height: 1.5;
|
157
|
+
}
|
158
|
+
|
159
|
+
.markdown img {
|
160
|
+
vertical-align: middle;
|
161
|
+
max-width: 100%;
|
162
|
+
}
|
163
|
+
|
164
|
+
.markdown h1 {
|
165
|
+
color: #404040;
|
166
|
+
font-weight: 500;
|
167
|
+
line-height: 40px;
|
168
|
+
margin-bottom: 24px;
|
169
|
+
}
|
170
|
+
|
171
|
+
.markdown h2,
|
172
|
+
.markdown h3,
|
173
|
+
.markdown h4,
|
174
|
+
.markdown h5,
|
175
|
+
.markdown h6 {
|
176
|
+
color: #404040;
|
177
|
+
margin: 1.6em 0 0.6em 0;
|
178
|
+
font-weight: 500;
|
179
|
+
clear: both;
|
180
|
+
}
|
181
|
+
|
182
|
+
.markdown h1 {
|
183
|
+
font-size: 28px;
|
184
|
+
}
|
185
|
+
|
186
|
+
.markdown h2 {
|
187
|
+
font-size: 22px;
|
188
|
+
}
|
189
|
+
|
190
|
+
.markdown h3 {
|
191
|
+
font-size: 16px;
|
192
|
+
}
|
193
|
+
|
194
|
+
.markdown h4 {
|
195
|
+
font-size: 14px;
|
196
|
+
}
|
197
|
+
|
198
|
+
.markdown h5 {
|
199
|
+
font-size: 12px;
|
200
|
+
}
|
201
|
+
|
202
|
+
.markdown h6 {
|
203
|
+
font-size: 12px;
|
204
|
+
}
|
205
|
+
|
206
|
+
.markdown hr {
|
207
|
+
height: 1px;
|
208
|
+
border: 0;
|
209
|
+
background: #e9e9e9;
|
210
|
+
margin: 16px 0;
|
211
|
+
clear: both;
|
212
|
+
}
|
213
|
+
|
214
|
+
.markdown p {
|
215
|
+
margin: 1em 0;
|
216
|
+
}
|
217
|
+
|
218
|
+
.markdown>p,
|
219
|
+
.markdown>blockquote,
|
220
|
+
.markdown>.highlight,
|
221
|
+
.markdown>ol,
|
222
|
+
.markdown>ul {
|
223
|
+
width: 80%;
|
224
|
+
}
|
225
|
+
|
226
|
+
.markdown ul>li {
|
227
|
+
list-style: circle;
|
228
|
+
}
|
229
|
+
|
230
|
+
.markdown>ul li,
|
231
|
+
.markdown blockquote ul>li {
|
232
|
+
margin-left: 20px;
|
233
|
+
padding-left: 4px;
|
234
|
+
}
|
235
|
+
|
236
|
+
.markdown>ul li p,
|
237
|
+
.markdown>ol li p {
|
238
|
+
margin: 0.6em 0;
|
239
|
+
}
|
240
|
+
|
241
|
+
.markdown ol>li {
|
242
|
+
list-style: decimal;
|
243
|
+
}
|
244
|
+
|
245
|
+
.markdown>ol li,
|
246
|
+
.markdown blockquote ol>li {
|
247
|
+
margin-left: 20px;
|
248
|
+
padding-left: 4px;
|
249
|
+
}
|
250
|
+
|
251
|
+
.markdown code {
|
252
|
+
margin: 0 3px;
|
253
|
+
padding: 0 5px;
|
254
|
+
background: #eee;
|
255
|
+
border-radius: 3px;
|
256
|
+
}
|
257
|
+
|
258
|
+
.markdown strong,
|
259
|
+
.markdown b {
|
260
|
+
font-weight: 600;
|
261
|
+
}
|
262
|
+
|
263
|
+
.markdown>table {
|
264
|
+
border-collapse: collapse;
|
265
|
+
border-spacing: 0px;
|
266
|
+
empty-cells: show;
|
267
|
+
border: 1px solid #e9e9e9;
|
268
|
+
width: 95%;
|
269
|
+
margin-bottom: 24px;
|
270
|
+
}
|
271
|
+
|
272
|
+
.markdown>table th {
|
273
|
+
white-space: nowrap;
|
274
|
+
color: #333;
|
275
|
+
font-weight: 600;
|
276
|
+
}
|
277
|
+
|
278
|
+
.markdown>table th,
|
279
|
+
.markdown>table td {
|
280
|
+
border: 1px solid #e9e9e9;
|
281
|
+
padding: 8px 16px;
|
282
|
+
text-align: left;
|
283
|
+
}
|
284
|
+
|
285
|
+
.markdown>table th {
|
286
|
+
background: #F7F7F7;
|
287
|
+
}
|
288
|
+
|
289
|
+
.markdown blockquote {
|
290
|
+
font-size: 90%;
|
291
|
+
color: #999;
|
292
|
+
border-left: 4px solid #e9e9e9;
|
293
|
+
padding-left: 0.8em;
|
294
|
+
margin: 1em 0;
|
295
|
+
}
|
296
|
+
|
297
|
+
.markdown blockquote p {
|
298
|
+
margin: 0;
|
299
|
+
}
|
300
|
+
|
301
|
+
.markdown .anchor {
|
302
|
+
opacity: 0;
|
303
|
+
transition: opacity 0.3s ease;
|
304
|
+
margin-left: 8px;
|
305
|
+
}
|
306
|
+
|
307
|
+
.markdown .waiting {
|
308
|
+
color: #ccc;
|
309
|
+
}
|
310
|
+
|
311
|
+
.markdown h1:hover .anchor,
|
312
|
+
.markdown h2:hover .anchor,
|
313
|
+
.markdown h3:hover .anchor,
|
314
|
+
.markdown h4:hover .anchor,
|
315
|
+
.markdown h5:hover .anchor,
|
316
|
+
.markdown h6:hover .anchor {
|
317
|
+
opacity: 1;
|
318
|
+
display: inline-block;
|
319
|
+
}
|
320
|
+
|
321
|
+
.markdown>br,
|
322
|
+
.markdown>p>br {
|
323
|
+
clear: both;
|
324
|
+
}
|
325
|
+
|
326
|
+
|
327
|
+
.hljs {
|
328
|
+
display: block;
|
329
|
+
background: white;
|
330
|
+
padding: 0.5em;
|
331
|
+
color: #333333;
|
332
|
+
overflow-x: auto;
|
333
|
+
}
|
334
|
+
|
335
|
+
.hljs-comment,
|
336
|
+
.hljs-meta {
|
337
|
+
color: #969896;
|
338
|
+
}
|
339
|
+
|
340
|
+
.hljs-string,
|
341
|
+
.hljs-variable,
|
342
|
+
.hljs-template-variable,
|
343
|
+
.hljs-strong,
|
344
|
+
.hljs-emphasis,
|
345
|
+
.hljs-quote {
|
346
|
+
color: #df5000;
|
347
|
+
}
|
348
|
+
|
349
|
+
.hljs-keyword,
|
350
|
+
.hljs-selector-tag,
|
351
|
+
.hljs-type {
|
352
|
+
color: #a71d5d;
|
353
|
+
}
|
354
|
+
|
355
|
+
.hljs-literal,
|
356
|
+
.hljs-symbol,
|
357
|
+
.hljs-bullet,
|
358
|
+
.hljs-attribute {
|
359
|
+
color: #0086b3;
|
360
|
+
}
|
361
|
+
|
362
|
+
.hljs-section,
|
363
|
+
.hljs-name {
|
364
|
+
color: #63a35c;
|
365
|
+
}
|
366
|
+
|
367
|
+
.hljs-tag {
|
368
|
+
color: #333333;
|
369
|
+
}
|
370
|
+
|
371
|
+
.hljs-title,
|
372
|
+
.hljs-attr,
|
373
|
+
.hljs-selector-id,
|
374
|
+
.hljs-selector-class,
|
375
|
+
.hljs-selector-attr,
|
376
|
+
.hljs-selector-pseudo {
|
377
|
+
color: #795da3;
|
378
|
+
}
|
379
|
+
|
380
|
+
.hljs-addition {
|
381
|
+
color: #55a532;
|
382
|
+
background-color: #eaffea;
|
383
|
+
}
|
384
|
+
|
385
|
+
.hljs-deletion {
|
386
|
+
color: #bd2c00;
|
387
|
+
background-color: #ffecec;
|
388
|
+
}
|
389
|
+
|
390
|
+
.hljs-link {
|
391
|
+
text-decoration: underline;
|
392
|
+
}
|
393
|
+
|
394
|
+
/* 代码高亮 */
|
395
|
+
/* PrismJS 1.15.0
|
396
|
+
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
|
397
|
+
/**
|
398
|
+
* prism.js default theme for JavaScript, CSS and HTML
|
399
|
+
* Based on dabblet (http://dabblet.com)
|
400
|
+
* @author Lea Verou
|
401
|
+
*/
|
402
|
+
code[class*="language-"],
|
403
|
+
pre[class*="language-"] {
|
404
|
+
color: black;
|
405
|
+
background: none;
|
406
|
+
text-shadow: 0 1px white;
|
407
|
+
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
408
|
+
text-align: left;
|
409
|
+
white-space: pre;
|
410
|
+
word-spacing: normal;
|
411
|
+
word-break: normal;
|
412
|
+
word-wrap: normal;
|
413
|
+
line-height: 1.5;
|
414
|
+
|
415
|
+
-moz-tab-size: 4;
|
416
|
+
-o-tab-size: 4;
|
417
|
+
tab-size: 4;
|
418
|
+
|
419
|
+
-webkit-hyphens: none;
|
420
|
+
-moz-hyphens: none;
|
421
|
+
-ms-hyphens: none;
|
422
|
+
hyphens: none;
|
423
|
+
}
|
424
|
+
|
425
|
+
pre[class*="language-"]::-moz-selection,
|
426
|
+
pre[class*="language-"] ::-moz-selection,
|
427
|
+
code[class*="language-"]::-moz-selection,
|
428
|
+
code[class*="language-"] ::-moz-selection {
|
429
|
+
text-shadow: none;
|
430
|
+
background: #b3d4fc;
|
431
|
+
}
|
432
|
+
|
433
|
+
pre[class*="language-"]::selection,
|
434
|
+
pre[class*="language-"] ::selection,
|
435
|
+
code[class*="language-"]::selection,
|
436
|
+
code[class*="language-"] ::selection {
|
437
|
+
text-shadow: none;
|
438
|
+
background: #b3d4fc;
|
439
|
+
}
|
440
|
+
|
441
|
+
@media print {
|
442
|
+
|
443
|
+
code[class*="language-"],
|
444
|
+
pre[class*="language-"] {
|
445
|
+
text-shadow: none;
|
446
|
+
}
|
447
|
+
}
|
448
|
+
|
449
|
+
/* Code blocks */
|
450
|
+
pre[class*="language-"] {
|
451
|
+
padding: 1em;
|
452
|
+
margin: .5em 0;
|
453
|
+
overflow: auto;
|
454
|
+
}
|
455
|
+
|
456
|
+
:not(pre)>code[class*="language-"],
|
457
|
+
pre[class*="language-"] {
|
458
|
+
background: #f5f2f0;
|
459
|
+
}
|
460
|
+
|
461
|
+
/* Inline code */
|
462
|
+
:not(pre)>code[class*="language-"] {
|
463
|
+
padding: .1em;
|
464
|
+
border-radius: .3em;
|
465
|
+
white-space: normal;
|
466
|
+
}
|
467
|
+
|
468
|
+
.token.comment,
|
469
|
+
.token.prolog,
|
470
|
+
.token.doctype,
|
471
|
+
.token.cdata {
|
472
|
+
color: slategray;
|
473
|
+
}
|
474
|
+
|
475
|
+
.token.punctuation {
|
476
|
+
color: #999;
|
477
|
+
}
|
478
|
+
|
479
|
+
.namespace {
|
480
|
+
opacity: .7;
|
481
|
+
}
|
482
|
+
|
483
|
+
.token.property,
|
484
|
+
.token.tag,
|
485
|
+
.token.boolean,
|
486
|
+
.token.number,
|
487
|
+
.token.constant,
|
488
|
+
.token.symbol,
|
489
|
+
.token.deleted {
|
490
|
+
color: #905;
|
491
|
+
}
|
492
|
+
|
493
|
+
.token.selector,
|
494
|
+
.token.attr-name,
|
495
|
+
.token.string,
|
496
|
+
.token.char,
|
497
|
+
.token.builtin,
|
498
|
+
.token.inserted {
|
499
|
+
color: #690;
|
500
|
+
}
|
501
|
+
|
502
|
+
.token.operator,
|
503
|
+
.token.entity,
|
504
|
+
.token.url,
|
505
|
+
.language-css .token.string,
|
506
|
+
.style .token.string {
|
507
|
+
color: #9a6e3a;
|
508
|
+
background: hsla(0, 0%, 100%, .5);
|
509
|
+
}
|
510
|
+
|
511
|
+
.token.atrule,
|
512
|
+
.token.attr-value,
|
513
|
+
.token.keyword {
|
514
|
+
color: #07a;
|
515
|
+
}
|
516
|
+
|
517
|
+
.token.function,
|
518
|
+
.token.class-name {
|
519
|
+
color: #DD4A68;
|
520
|
+
}
|
521
|
+
|
522
|
+
.token.regex,
|
523
|
+
.token.important,
|
524
|
+
.token.variable {
|
525
|
+
color: #e90;
|
526
|
+
}
|
527
|
+
|
528
|
+
.token.important,
|
529
|
+
.token.bold {
|
530
|
+
font-weight: bold;
|
531
|
+
}
|
532
|
+
|
533
|
+
.token.italic {
|
534
|
+
font-style: italic;
|
535
|
+
}
|
536
|
+
|
537
|
+
.token.entity {
|
538
|
+
cursor: help;
|
539
|
+
}
|