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,98 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="common-top common-theme">
|
3
|
+
<div class="w1200 m0a header-box clearfix">
|
4
|
+
<div class="logo-img">
|
5
|
+
<a href="/">
|
6
|
+
<img :src="proappEnvLogo && proappEnvLogo.proappEnvLogo" alt>
|
7
|
+
</a>
|
8
|
+
</div>
|
9
|
+
<div class="nav">
|
10
|
+
<v-nav v-if="navChildren" :navChildren="navChildren"></v-nav>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
</template>
|
15
|
+
|
16
|
+
<script>
|
17
|
+
import VNav from "../nav-modules/nav";
|
18
|
+
export default {
|
19
|
+
components: {
|
20
|
+
VNav
|
21
|
+
},
|
22
|
+
data() {
|
23
|
+
return {
|
24
|
+
logo: require("../assets/logo_ucc.png"),
|
25
|
+
keywords: "",
|
26
|
+
searchValue: this.$route.query.searchParam
|
27
|
+
? this.$route.query.searchParam
|
28
|
+
: "",
|
29
|
+
appList: window.sessionStorage.getItem("appList")
|
30
|
+
? JSON.parse(window.sessionStorage.getItem("appList"))
|
31
|
+
: []
|
32
|
+
};
|
33
|
+
},
|
34
|
+
created() {
|
35
|
+
localStorage.getItem("searchParam")
|
36
|
+
? (this.searchValue = localStorage.getItem("searchParam"))
|
37
|
+
: "";
|
38
|
+
},
|
39
|
+
mounted() {
|
40
|
+
//对nav导航进行操作
|
41
|
+
this.appList.forEach(el => {
|
42
|
+
if (el.menuDefaultClass === "nav") {
|
43
|
+
//表示是导航
|
44
|
+
this.navChildren = el.children;
|
45
|
+
}
|
46
|
+
});
|
47
|
+
},
|
48
|
+
computed: {
|
49
|
+
proappEnvLogo() {
|
50
|
+
let proappEnvLogo = sessionStorage.getItem("proappEnvLayout")
|
51
|
+
? JSON.parse(sessionStorage.getItem("proappEnvLayout"))
|
52
|
+
: null;
|
53
|
+
return proappEnvLogo;
|
54
|
+
},
|
55
|
+
carName() {
|
56
|
+
return sessionStorage.getItem("carName")
|
57
|
+
? sessionStorage.getItem("carName")
|
58
|
+
: "购物车";
|
59
|
+
}
|
60
|
+
},
|
61
|
+
methods: {
|
62
|
+
search() {
|
63
|
+
localStorage.removeItem("searchParam");
|
64
|
+
location.href =
|
65
|
+
"/paas/pc-mall/index.html#/searchResult?searchParam=" +
|
66
|
+
this.searchValue;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
};
|
70
|
+
</script>
|
71
|
+
|
72
|
+
|
73
|
+
<style rel="stylesheet/scss" lang="scss" scoped >
|
74
|
+
.common-top {
|
75
|
+
background: #fff;
|
76
|
+
.header-box {
|
77
|
+
height: inherit;
|
78
|
+
}
|
79
|
+
margin: 0 auto;
|
80
|
+
height: 160px;
|
81
|
+
line-height: 160px;
|
82
|
+
// border-bottom: 1px solid #f5f5f5;
|
83
|
+
.logo-img {
|
84
|
+
float: left;
|
85
|
+
width: 260px;
|
86
|
+
height: 100%;
|
87
|
+
overflow: hidden;
|
88
|
+
img {
|
89
|
+
max-width: 80%;
|
90
|
+
max-height: 60%;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
.nav {
|
94
|
+
float: left;
|
95
|
+
line-height: 160px;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
</style>
|
@@ -0,0 +1,142 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="bg">
|
3
|
+
<div class="nav">
|
4
|
+
<div class="left">
|
5
|
+
<a href="/"><img :src="logo" /></a>
|
6
|
+
</div>
|
7
|
+
<div class="right">
|
8
|
+
<div class="search">
|
9
|
+
<i class="iconfont icon-UCC-PC-sousuo"></i><input type="text" v-model="searchVal" :placeholder="placeholder" />
|
10
|
+
<button class="button" @click="searchs(searchVal)">搜索</button>
|
11
|
+
</div>
|
12
|
+
<div class="list">
|
13
|
+
<p v-for="(item9, index) in tginfoKey" :key="index" @click="searchs(item9)">{{ item9 }}</p>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
<div class="cart" @click="goCart">我的购物车 <i class="iconfont icon-caigou"></i></div>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</template>
|
20
|
+
|
21
|
+
<script>
|
22
|
+
import API from '#/api/common/index.js';
|
23
|
+
export default {
|
24
|
+
data() {
|
25
|
+
return {
|
26
|
+
logo: '',
|
27
|
+
searchVal: '',
|
28
|
+
tginfoKey: '',
|
29
|
+
placeholder: '输入内容',
|
30
|
+
};
|
31
|
+
},
|
32
|
+
created() {},
|
33
|
+
mounted() {
|
34
|
+
this.placeholder = this.$route.query.searchParam || '输入内容';
|
35
|
+
if (sessionStorage.getItem('proappEnvLayout')) {
|
36
|
+
this.logo = JSON.parse(sessionStorage.getItem('proappEnvLayout')).proappEnvLogo;
|
37
|
+
}
|
38
|
+
API.queryTginfoPage({ proappCode: '034' }).then((res) => {
|
39
|
+
console.log(res, '测试');
|
40
|
+
if (res && res.rows && Array.isArray(res.rows)) {
|
41
|
+
this.tginfoKey = res.rows[0] && res.rows[0].tginfoKey ? res.rows[0].tginfoKey.split('/') : [];
|
42
|
+
}
|
43
|
+
});
|
44
|
+
let href = window.location.href;
|
45
|
+
if (href.indexOf('#/searchResult?searchParam') > 0) {
|
46
|
+
this.searchVal = sessionStorage.getItem('searchVals');
|
47
|
+
}
|
48
|
+
},
|
49
|
+
methods: {
|
50
|
+
searchs(val) {
|
51
|
+
sessionStorage.setItem('searchVals', val || '');
|
52
|
+
location.href = '/paas/pc-mall/index.html#/searchResult?searchParam=' + val;
|
53
|
+
},
|
54
|
+
goCart() {
|
55
|
+
location.href = '/paas/pc-mall/index.html#/car';
|
56
|
+
},
|
57
|
+
},
|
58
|
+
};
|
59
|
+
</script>
|
60
|
+
|
61
|
+
<style lang="scss" scoped>
|
62
|
+
.bg {
|
63
|
+
background-color: #fff;
|
64
|
+
.nav {
|
65
|
+
margin: 0 auto;
|
66
|
+
width: 1200px;
|
67
|
+
height: 95px;
|
68
|
+
.left {
|
69
|
+
width: 170px;
|
70
|
+
height: 74px;
|
71
|
+
margin-top: 15px;
|
72
|
+
// margin-left: 20px;
|
73
|
+
float: left;
|
74
|
+
img {
|
75
|
+
width: 100%;
|
76
|
+
height: 100%;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
.right {
|
80
|
+
float: left;
|
81
|
+
margin-left: 137px;
|
82
|
+
.search {
|
83
|
+
margin-top: 30px;
|
84
|
+
position: relative;
|
85
|
+
width: 560px;
|
86
|
+
height: 34px;
|
87
|
+
border: 1px solid #607d8b;
|
88
|
+
i {
|
89
|
+
color: #bdbdbd;
|
90
|
+
/*font-size: 20px;*/
|
91
|
+
}
|
92
|
+
input {
|
93
|
+
width: 420px;
|
94
|
+
padding: 8px 0 8px 10px;
|
95
|
+
height: 16px;
|
96
|
+
}
|
97
|
+
.button {
|
98
|
+
position: absolute;
|
99
|
+
right: 0;
|
100
|
+
top: 0;
|
101
|
+
width: 80px;
|
102
|
+
height: 34px;
|
103
|
+
line-height: 34px;
|
104
|
+
text-align: center;
|
105
|
+
background-color: #607d8b;
|
106
|
+
color: #fff;
|
107
|
+
cursor: pointer;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
.list {
|
111
|
+
overflow: hidden;
|
112
|
+
p {
|
113
|
+
float: left;
|
114
|
+
font-size: 14px;
|
115
|
+
color: #bdbdbd;
|
116
|
+
margin: 10px 10px 0 10px;
|
117
|
+
cursor: pointer;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
.cart {
|
122
|
+
float: left;
|
123
|
+
margin-top: 30px;
|
124
|
+
margin-left: 20px;
|
125
|
+
width: 140px;
|
126
|
+
text-align: center;
|
127
|
+
border: 1px solid #bdbdbd;
|
128
|
+
color: #333;
|
129
|
+
height: 34px;
|
130
|
+
cursor: pointer;
|
131
|
+
line-height: 34px;
|
132
|
+
font-size: 14px;
|
133
|
+
i {
|
134
|
+
color: #607d8b;
|
135
|
+
font-size: 20px;
|
136
|
+
position: relative;
|
137
|
+
top: 2px;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
</style>
|
@@ -0,0 +1,157 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="bg">
|
3
|
+
<div class="nav">
|
4
|
+
<div class="left">
|
5
|
+
<a href="/"><img :src="logo" /></a>
|
6
|
+
</div>
|
7
|
+
<div class="right">
|
8
|
+
<div class="search">
|
9
|
+
<i class="iconfont icon-UCC-PC-sousuo"></i><input type="text" v-model="searchVal" :placeholder="placeholder" />
|
10
|
+
<button class="button" @click="searchs(searchVal)">搜索</button>
|
11
|
+
</div>
|
12
|
+
<div class="list">
|
13
|
+
<p v-for="(item9, index) in tginfoKey" :key="index" @click="searchs(item9)">{{ item9 }}</p>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
<div class="cart" @click="goCart">我的购物车 <i class="iconfont icon-caigou"></i></div>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</template>
|
20
|
+
|
21
|
+
<script>
|
22
|
+
import API from '#/api/common/index.js';
|
23
|
+
export default {
|
24
|
+
data() {
|
25
|
+
return {
|
26
|
+
logo: '',
|
27
|
+
searchVal: '',
|
28
|
+
tginfoKey: '',
|
29
|
+
placeholder: '输入内容',
|
30
|
+
};
|
31
|
+
},
|
32
|
+
created() {
|
33
|
+
setTimeout(()=> {
|
34
|
+
this.logo = sessionStorage.getItem('proappEnvLayout')
|
35
|
+
? JSON.parse(sessionStorage.getItem('proappEnvLayout')).proappEnvLogo
|
36
|
+
: null;
|
37
|
+
},800)
|
38
|
+
},
|
39
|
+
mounted() {
|
40
|
+
this.placeholder = this.$route.query.searchParam || '输入内容';
|
41
|
+
|
42
|
+
API.queryTginfoPage({ proappCode: '034' }).then((res) => {
|
43
|
+
console.log(res, '测试');
|
44
|
+
if (res && res.rows && Array.isArray(res.rows)) {
|
45
|
+
this.tginfoKey = res.rows[0] && res.rows[0].tginfoKey ? res.rows[0].tginfoKey.split('/') : [];
|
46
|
+
}
|
47
|
+
});
|
48
|
+
let href = window.location.href;
|
49
|
+
if (href.indexOf('#/searchResult?searchParam') > 0) {
|
50
|
+
this.searchVal = sessionStorage.getItem('searchVals');
|
51
|
+
}
|
52
|
+
},
|
53
|
+
methods: {
|
54
|
+
searchs(val) {
|
55
|
+
sessionStorage.setItem('searchVals', val || '');
|
56
|
+
window.location.href =
|
57
|
+
"/paas/welfare-cli-pc/index.html#/searchResult?searchParam=" + val;
|
58
|
+
// this.$router.push({
|
59
|
+
// path: "/searchResult",
|
60
|
+
// query: {
|
61
|
+
// searchParam: val
|
62
|
+
// }
|
63
|
+
// });
|
64
|
+
},
|
65
|
+
goCart() {
|
66
|
+
window.location.href =
|
67
|
+
"/paas/welfare-cli-pc/index.html#/car";
|
68
|
+
// this.$router.push({
|
69
|
+
// path: "/car"
|
70
|
+
// });
|
71
|
+
},
|
72
|
+
},
|
73
|
+
};
|
74
|
+
</script>
|
75
|
+
|
76
|
+
<style lang="scss" scoped>
|
77
|
+
.bg {
|
78
|
+
background-color: #fff;
|
79
|
+
.nav {
|
80
|
+
margin: 0 auto;
|
81
|
+
width: 1200px;
|
82
|
+
height: 95px;
|
83
|
+
.left {
|
84
|
+
width: 170px;
|
85
|
+
height: 74px;
|
86
|
+
margin-top: 15px;
|
87
|
+
// margin-left: 20px;
|
88
|
+
float: left;
|
89
|
+
img {
|
90
|
+
width: 100%;
|
91
|
+
height: 100%;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
.right {
|
95
|
+
float: left;
|
96
|
+
margin-left: 137px;
|
97
|
+
.search {
|
98
|
+
margin-top: 30px;
|
99
|
+
position: relative;
|
100
|
+
width: 560px;
|
101
|
+
height: 34px;
|
102
|
+
border: 1px solid #607d8b;
|
103
|
+
i {
|
104
|
+
color: #bdbdbd;
|
105
|
+
/*font-size: 20px;*/
|
106
|
+
}
|
107
|
+
input {
|
108
|
+
width: 420px;
|
109
|
+
padding: 8px 0 8px 10px;
|
110
|
+
height: 16px;
|
111
|
+
}
|
112
|
+
.button {
|
113
|
+
position: absolute;
|
114
|
+
right: 0;
|
115
|
+
top: 0;
|
116
|
+
width: 80px;
|
117
|
+
height: 34px;
|
118
|
+
line-height: 34px;
|
119
|
+
text-align: center;
|
120
|
+
background-color: #607d8b;
|
121
|
+
color: #fff;
|
122
|
+
cursor: pointer;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
.list {
|
126
|
+
overflow: hidden;
|
127
|
+
p {
|
128
|
+
float: left;
|
129
|
+
font-size: 14px;
|
130
|
+
color: #bdbdbd;
|
131
|
+
margin: 10px 10px 0 10px;
|
132
|
+
cursor: pointer;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
.cart {
|
137
|
+
float: left;
|
138
|
+
margin-top: 30px;
|
139
|
+
margin-left: 20px;
|
140
|
+
width: 140px;
|
141
|
+
text-align: center;
|
142
|
+
border: 1px solid #bdbdbd;
|
143
|
+
color: #333;
|
144
|
+
height: 34px;
|
145
|
+
cursor: pointer;
|
146
|
+
line-height: 34px;
|
147
|
+
font-size: 14px;
|
148
|
+
i {
|
149
|
+
color: #607d8b;
|
150
|
+
font-size: 20px;
|
151
|
+
position: relative;
|
152
|
+
top: 2px;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
157
|
+
</style>
|
@@ -0,0 +1,122 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="nav">
|
3
|
+
<div class="wrapper">
|
4
|
+
<div class="left">
|
5
|
+
<img :src="proappEnvLayout.proappEnvLogo" v-if="proappEnvLayout" alt="">
|
6
|
+
</div>
|
7
|
+
<div class="search">
|
8
|
+
<input type="text" placeholder="大家都在搜犬粮" v-model="searchParam" />
|
9
|
+
<div class="box" @click="search_goods" @keyup.13="search_goods">
|
10
|
+
<i class="iconfont icon-new-search-icon"></i>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
<div class="login">
|
14
|
+
<!--<span>{{username}}</span>
|
15
|
+
<button @click="back" v-if="this.username!='游客'">退出</button>-->
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</template>
|
20
|
+
|
21
|
+
<script>
|
22
|
+
import api from "#/api/common/index";
|
23
|
+
export default {
|
24
|
+
data() {
|
25
|
+
return {
|
26
|
+
footerData: [],
|
27
|
+
pathname:"",
|
28
|
+
proappEnvLayout: '',
|
29
|
+
searchParam:this.$route.query.searchParam
|
30
|
+
? this.$route.query.searchParam
|
31
|
+
: ""
|
32
|
+
};
|
33
|
+
},
|
34
|
+
updated() {},
|
35
|
+
created() {
|
36
|
+
localStorage.getItem("searchParam")
|
37
|
+
? (this.searchParam = localStorage.getItem("searchParam"))
|
38
|
+
: "";
|
39
|
+
},
|
40
|
+
mounted() {
|
41
|
+
this.proappEnvLayout = sessionStorage.getItem('proappEnvLayout') ? JSON.parse(sessionStorage.getItem('proappEnvLayout')) : ''
|
42
|
+
console.log(this.proappEnvLayout,'this.proappEnvLayout')
|
43
|
+
},
|
44
|
+
methods: {
|
45
|
+
search_goods(){
|
46
|
+
location.href = '/paas/pc-mall/index.html#/goodsItems?searchParam='+this.searchParam
|
47
|
+
},
|
48
|
+
}
|
49
|
+
};
|
50
|
+
</script>
|
51
|
+
|
52
|
+
<style lang="scss" scoped>
|
53
|
+
.nav {
|
54
|
+
background: #fff;
|
55
|
+
|
56
|
+
.wrapper {
|
57
|
+
height: 120px;
|
58
|
+
width: 1120px;
|
59
|
+
margin: 0 auto;
|
60
|
+
display: flex;
|
61
|
+
align-items: center;
|
62
|
+
// height: 50px;
|
63
|
+
justify-content: space-between;
|
64
|
+
.left {
|
65
|
+
display: inline-block;
|
66
|
+
background-color: #fff;
|
67
|
+
overflow: hidden;
|
68
|
+
img{
|
69
|
+
width: 120px;
|
70
|
+
height: auto;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
.search {
|
74
|
+
width: 600px;
|
75
|
+
background: rgba(243, 244, 248, 1);
|
76
|
+
border-radius: 25px;
|
77
|
+
display: flex;
|
78
|
+
align-items: center;
|
79
|
+
justify-content: space-between;
|
80
|
+
input {
|
81
|
+
padding: 0 29px;
|
82
|
+
box-sizing: border-box;
|
83
|
+
width: 549px;
|
84
|
+
height: 50px;
|
85
|
+
background: none;
|
86
|
+
}
|
87
|
+
.box {
|
88
|
+
width: 50px;
|
89
|
+
height: 50px;
|
90
|
+
background: rgba(236, 0, 26, 1);
|
91
|
+
border-radius: 25px;
|
92
|
+
cursor: pointer;
|
93
|
+
display: flex;
|
94
|
+
align-items: center;
|
95
|
+
justify-content: center;
|
96
|
+
i {
|
97
|
+
color: #fff;
|
98
|
+
font-size: 14px;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
.login {
|
103
|
+
span {
|
104
|
+
font-size: 16px;
|
105
|
+
font-weight: 500;
|
106
|
+
color: rgba(0, 0, 0, 1);
|
107
|
+
line-height: 36px;
|
108
|
+
opacity: 0.6;
|
109
|
+
}
|
110
|
+
button {
|
111
|
+
margin-left: 14px;
|
112
|
+
width: 48px;
|
113
|
+
height: 24px;
|
114
|
+
background: rgba(236, 0, 26, 1);
|
115
|
+
border-radius: 8px;
|
116
|
+
color: rgba(255, 255, 255, 1);
|
117
|
+
font-size: 14px;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
</style>
|