@gx-design-vue/create-gx-cli 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +4 -2
- package/src/cli.js +23 -24
- package/src/main.js +86 -29
- package/{template-mobile-ts → template-design-pro}/.editorconfig +0 -0
- package/template-design-pro/.env +2 -0
- package/template-design-pro/.env.development +18 -0
- package/template-design-pro/.env.pro +32 -0
- package/template-design-pro/.env.production +32 -0
- package/template-design-pro/.env.test +20 -0
- package/{template-mobile-ts → template-design-pro}/.eslintignore +0 -0
- package/{template-mobile-ts → template-design-pro}/.eslintrc.js +0 -0
- package/template-design-pro/.gitpod.yml +6 -0
- package/template-design-pro/.husky/pre-commit +4 -0
- package/{template-mobile-ts → template-design-pro}/.prettierignore +0 -0
- package/{template-mobile-ts → template-design-pro}/.stylelintignore +0 -0
- package/template-design-pro/.yarnclean +48 -0
- package/template-design-pro/LICENSE +21 -0
- package/template-design-pro/README.md +111 -0
- package/template-design-pro/build/constant.ts +6 -0
- package/template-design-pro/build/generate/generateModifyVars.ts +18 -0
- package/template-design-pro/build/getConfigFileName.ts +13 -0
- package/template-design-pro/build/script/buildConf.ts +44 -0
- package/template-design-pro/build/script/postBuild.ts +25 -0
- package/template-design-pro/build/script/reSetRootHtml.ts +20 -0
- package/template-design-pro/build/utils.ts +85 -0
- package/template-design-pro/build/vite/cdn.ts +7 -0
- package/template-design-pro/build/vite/optimizer.ts +22 -0
- package/template-design-pro/build/vite/plugin/autoImport.ts +18 -0
- package/template-design-pro/build/vite/plugin/compress.ts +35 -0
- package/template-design-pro/build/vite/plugin/hmr.ts +25 -0
- package/template-design-pro/build/vite/plugin/html.ts +47 -0
- package/template-design-pro/build/vite/plugin/index.ts +89 -0
- package/template-design-pro/build/vite/plugin/mock.ts +20 -0
- package/template-design-pro/build/vite/plugin/pwa.ts +37 -0
- package/template-design-pro/build/vite/plugin/styleImport.ts +129 -0
- package/template-design-pro/build/vite/plugin/visualizer.ts +17 -0
- package/template-design-pro/build/vite/plugin/vite-plugin-antd-theme/index.ts +24 -0
- package/template-design-pro/build/vite/plugin/vite-plugin-mock/createMockServer.ts +303 -0
- package/template-design-pro/build/vite/plugin/vite-plugin-mock/createProdMockServer.ts +93 -0
- package/template-design-pro/build/vite/plugin/vite-plugin-mock/index.ts +68 -0
- package/template-design-pro/build/vite/plugin/vite-plugin-mock/types.ts +30 -0
- package/template-design-pro/build/vite/plugin/vite-plugin-mock/utils.ts +26 -0
- package/template-design-pro/commitlint.config.js +32 -0
- package/template-design-pro/config/config.ts +14 -0
- package/template-design-pro/config/default/animate.ts +30 -0
- package/template-design-pro/config/default/defaultSettings.ts +75 -0
- package/template-design-pro/config/default/network.ts +16 -0
- package/template-design-pro/config/default/proxy.ts +26 -0
- package/template-design-pro/config/default/theme.ts +43 -0
- package/template-design-pro/config/default/themeColor.ts +62 -0
- package/template-design-pro/index.html +45 -0
- package/template-design-pro/jest.config.mjs +36 -0
- package/template-design-pro/mock/_createProductionServer.ts +19 -0
- package/template-design-pro/mock/_util.ts +55 -0
- package/template-design-pro/mock/controller/menu.ts +85 -0
- package/template-design-pro/mock/controller/notices.ts +114 -0
- package/template-design-pro/mock/system/dict.ts +60 -0
- package/template-design-pro/mock/system/user.ts +218 -0
- package/template-design-pro/package.json +151 -0
- package/template-design-pro/pnpm-lock.yaml +9913 -0
- package/template-design-pro/postcss.config.js +5 -0
- package/{template-mobile-ts → template-design-pro}/prettier.config.js +0 -0
- package/template-design-pro/public/resource/css/index.css +171 -0
- package/{template-mobile-ts/public → template-design-pro/public/resource/img}/favicon.ico +0 -0
- package/template-design-pro/public/resource/img/logo.png +0 -0
- package/template-design-pro/public/resource/img/pro_icon.svg +5 -0
- package/template-design-pro/public/resource/img/pwa-192x192.png +0 -0
- package/template-design-pro/public/resource/img/pwa-512x512.png +0 -0
- package/template-design-pro/src/App.vue +47 -0
- package/template-design-pro/src/assets/error_images/403.png +0 -0
- package/template-design-pro/src/assets/error_images/404.png +0 -0
- package/template-design-pro/src/assets/error_images/cloud.png +0 -0
- package/template-design-pro/src/assets/login_images/login_background.svg +69 -0
- package/template-design-pro/src/assets/logo.png +0 -0
- package/template-design-pro/src/assets/menu_font/iconfont.css +94 -0
- package/template-design-pro/src/assets/menu_font/iconfont.eot +0 -0
- package/template-design-pro/src/assets/menu_font/iconfont.js +1 -0
- package/template-design-pro/src/assets/menu_font/iconfont.json +142 -0
- package/template-design-pro/src/assets/menu_font/iconfont.svg +57 -0
- package/template-design-pro/src/assets/menu_font/iconfont.ttf +0 -0
- package/template-design-pro/src/assets/menu_font/iconfont.woff +0 -0
- package/template-design-pro/src/assets/menu_font/iconfont.woff2 +0 -0
- package/template-design-pro/src/assets/menu_font/index.less +94 -0
- package/template-design-pro/src/common/global.ts +1 -0
- package/template-design-pro/src/components/GDesign/ProLayout/BasicLayout.less +80 -0
- package/template-design-pro/src/components/GDesign/ProLayout/BasicLayout.tsx +342 -0
- package/template-design-pro/src/components/GDesign/ProLayout/PageLoading.tsx +20 -0
- package/template-design-pro/src/components/GDesign/ProLayout/RenderTypings.ts +31 -0
- package/template-design-pro/src/components/GDesign/ProLayout/RouteContext.tsx +82 -0
- package/template-design-pro/src/components/GDesign/ProLayout/WrapContent.tsx +69 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/GlobalFooter/index.tsx +88 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/GlobalHeader/DefaultHeader.tsx +189 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/GlobalHeader/Header.less +8 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/GlobalHeader/index.tsx +105 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/GlobalHeader/props.ts +69 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/GlobalHeader/style.less +144 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/LogoContent/index.tsx +81 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/LogoContent/props.ts +29 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/MultiTab/index.tsx +384 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/MultiTab/props.ts +15 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/MultiTab/style.less +79 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/NoticeIcon/NoticeIcon.tsx +148 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/NoticeIcon/NoticeList.module.less +115 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/NoticeIcon/NoticeList.tsx +154 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/NoticeIcon/index.less +39 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/NoticeIcon/index.tsx +133 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/PageContainer/index.tsx +190 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/PageContainer/props.ts +48 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/PageContainer/style.less +128 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/PageContainer/typings.ts +0 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/RightContent/AvatarDropdown.tsx +63 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/RightContent/HeaderSearch.tsx +122 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/RightContent/headerSearch.less +30 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/RightContent/index.tsx +95 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/RightContent/style.less +90 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/SettingDrawer/BlockCheckbox.tsx +70 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/SettingDrawer/LayoutSetting.tsx +107 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/SettingDrawer/ThemeColor.tsx +68 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/SettingDrawer/index.tsx +346 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/SiderMenu/BaseMenu.tsx +224 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/SiderMenu/SiderMenu.tsx +224 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/SiderMenu/index.tsx +43 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/SiderMenu/props.ts +112 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/SiderMenu/style.less +262 -0
- package/template-design-pro/src/components/GDesign/ProLayout/components/SiderMenu/typings.ts +44 -0
- package/template-design-pro/src/components/GDesign/ProLayout/default.less +2 -0
- package/template-design-pro/src/components/GDesign/ProLayout/defaultSettings.ts +121 -0
- package/template-design-pro/src/components/GDesign/ProLayout/hooks/context/index.ts +45 -0
- package/template-design-pro/src/components/GDesign/ProLayout/index.ts +43 -0
- package/template-design-pro/src/components/GDesign/ProLayout/props.ts +57 -0
- package/template-design-pro/src/components/GDesign/ProLayout/style.less +272 -0
- package/template-design-pro/src/components/GDesign/ProLayout/typings.ts +1 -0
- package/template-design-pro/src/components/GDesign/ProLayout/utils/getMenuData.ts +31 -0
- package/template-design-pro/src/components/GDesign/ProLayout/utils/index.ts +94 -0
- package/template-design-pro/src/components/GDesign/ProLayout/utils/isImg/index.ts +6 -0
- package/template-design-pro/src/components/GDesign/ProLayout/utils/isUrl/index.ts +5 -0
- package/template-design-pro/src/components/GDesign/Result/index.tsx +142 -0
- package/template-design-pro/src/components/GDesign/Result/style.less +140 -0
- package/template-design-pro/src/components/GDesign/Scrollbars/components/Bar/index.tsx +56 -0
- package/template-design-pro/src/components/GDesign/Scrollbars/components/Bar/props.ts +23 -0
- package/template-design-pro/src/components/GDesign/Scrollbars/components/Thumb/index.tsx +164 -0
- package/template-design-pro/src/components/GDesign/Scrollbars/components/Thumb/props.ts +11 -0
- package/template-design-pro/src/components/GDesign/Scrollbars/context.ts +10 -0
- package/template-design-pro/src/components/GDesign/Scrollbars/index.tsx +200 -0
- package/template-design-pro/src/components/GDesign/Scrollbars/props.ts +65 -0
- package/template-design-pro/src/components/GDesign/Scrollbars/style.less +85 -0
- package/template-design-pro/src/components/GDesign/Scrollbars/util.ts +40 -0
- package/template-design-pro/src/components/GDesign/utils/index.ts +7 -0
- package/template-design-pro/src/components/PageLoading/index.tsx +44 -0
- package/template-design-pro/src/components/PageTransition/index.vue +98 -0
- package/template-design-pro/src/components/index.ts +6 -0
- package/template-design-pro/src/core/ant-design/index.ts +14 -0
- package/template-design-pro/src/core/gx-admin-design/index.ts +7 -0
- package/template-design-pro/src/core/gx-admin-directives/index.ts +8 -0
- package/template-design-pro/src/core/gx-admin-directives/permission.ts +28 -0
- package/template-design-pro/src/core/gx-design/index.ts +7 -0
- package/template-design-pro/src/core/gx-pro-design/index.ts +10 -0
- package/template-design-pro/src/core/index.ts +27 -0
- package/template-design-pro/src/design/ant-design/index.less +4 -0
- package/template-design-pro/src/design/ant-design/layout.less +29 -0
- package/template-design-pro/src/design/ant-design/menu.less +55 -0
- package/template-design-pro/src/design/ant-design/table.less +67 -0
- package/template-design-pro/src/design/ant-design/tooltip.less +13 -0
- package/template-design-pro/src/design/color.less +1 -0
- package/template-design-pro/src/design/config.less +5 -0
- package/template-design-pro/src/design/index.less +41 -0
- package/template-design-pro/src/design/mixin.less +66 -0
- package/template-design-pro/src/design/normalize.less +390 -0
- package/template-design-pro/src/global.less +15 -0
- package/template-design-pro/src/hooks/core/index.ts +3 -0
- package/template-design-pro/src/hooks/core/useRequest/index.ts +70 -0
- package/template-design-pro/src/hooks/core/useRequest/typings.ts +0 -0
- package/template-design-pro/src/hooks/event/index.ts +3 -0
- package/template-design-pro/src/hooks/event/useClipboard.ts +14 -0
- package/template-design-pro/src/hooks/system/index.ts +5 -0
- package/template-design-pro/src/hooks/system/useDict.ts +62 -0
- package/template-design-pro/src/hooks/system/usePermissions.ts +39 -0
- package/template-design-pro/src/hooks/typings.ts +17 -0
- package/template-design-pro/src/layout/BasicLayout.vue +104 -0
- package/template-design-pro/src/layout/BlankLayout.vue +5 -0
- package/template-design-pro/src/layout/ContentView.vue +76 -0
- package/template-design-pro/src/layout/IframeView.vue +1 -0
- package/template-design-pro/src/layout/UserLayout.vue +7 -0
- package/template-design-pro/src/main.ts +34 -0
- package/template-design-pro/src/plugins/index.ts +3 -0
- package/template-design-pro/src/router/guard/index.ts +84 -0
- package/template-design-pro/src/router/guard/permissions.ts +73 -0
- package/template-design-pro/src/router/guard/stateGuard.ts +11 -0
- package/template-design-pro/src/router/helper/routeHelper.ts +244 -0
- package/template-design-pro/src/router/helper/utils.ts +19 -0
- package/template-design-pro/src/router/index.ts +30 -0
- package/template-design-pro/src/router/routes/index.ts +85 -0
- package/template-design-pro/src/router/routes/modules/workplace.ts +19 -0
- package/template-design-pro/src/services/common/index.ts +11 -0
- package/template-design-pro/src/services/controller/router.ts +10 -0
- package/template-design-pro/src/services/controller/user.ts +35 -0
- package/template-design-pro/src/services/system/dictData.ts +10 -0
- package/template-design-pro/src/services/system/notices.ts +9 -0
- package/template-design-pro/src/store/index.ts +32 -0
- package/template-design-pro/src/store/modules/dict.ts +27 -0
- package/template-design-pro/src/store/modules/permission.ts +19 -0
- package/template-design-pro/src/store/modules/routes.ts +110 -0
- package/template-design-pro/src/store/modules/settings.ts +102 -0
- package/template-design-pro/src/store/modules/tabsRouter.ts +73 -0
- package/template-design-pro/src/store/modules/user.ts +153 -0
- package/template-design-pro/src/utils/accessToken.ts +93 -0
- package/{template-mobile-ts/src/utils/cryptoJS.ts → template-design-pro/src/utils/crypto.ts} +0 -0
- package/{template-mobile-ts → template-design-pro}/src/utils/env.ts +0 -0
- package/template-design-pro/src/utils/fetchFile.ts +79 -0
- package/template-design-pro/src/utils/index.ts +127 -0
- package/template-design-pro/src/utils/pageTitle.ts +17 -0
- package/template-design-pro/src/utils/request/XHR.ts +131 -0
- package/{template-mobile-ts → template-design-pro}/src/utils/request/axiosCancel.ts +0 -0
- package/template-design-pro/src/utils/request/checkStatus.ts +26 -0
- package/template-design-pro/src/utils/request/index.ts +145 -0
- package/template-design-pro/src/utils/request/typings.ts +114 -0
- package/template-design-pro/src/utils/storage.ts +194 -0
- package/template-design-pro/src/utils/uploadFile.ts +26 -0
- package/template-design-pro/src/utils/util.ts +278 -0
- package/template-design-pro/src/utils/validate.ts +221 -0
- package/template-design-pro/src/views/Iframe/index.vue +76 -0
- package/template-design-pro/src/views/MenuOne/index.vue +15 -0
- package/template-design-pro/src/views/MenuTwo/index.vue +13 -0
- package/template-design-pro/src/views/exception/403/index.vue +9 -0
- package/template-design-pro/src/views/exception/404/index.vue +9 -0
- package/template-design-pro/src/views/user/login/index.vue +110 -0
- package/template-design-pro/src/views/user/login/style.less +38 -0
- package/template-design-pro/stylelint.config.js +106 -0
- package/template-design-pro/tests/__mocks__/fileMock.ts +1 -0
- package/template-design-pro/tests/__mocks__/styleMock.ts +1 -0
- package/template-design-pro/tests/__mocks__/workerMock.ts +5 -0
- package/template-design-pro/tests/server/README.md +15 -0
- package/template-design-pro/tests/server/controller/FileController.ts +18 -0
- package/template-design-pro/tests/server/controller/UserController.ts +15 -0
- package/template-design-pro/tests/server/ecosystem.config.js +18 -0
- package/template-design-pro/tests/server/index.ts +63 -0
- package/template-design-pro/tests/server/nodemon.json +8 -0
- package/template-design-pro/tests/server/package.json +36 -0
- package/template-design-pro/tests/server/routes.ts +23 -0
- package/template-design-pro/tests/server/service/FileService.ts +54 -0
- package/template-design-pro/tests/server/service/UserService.ts +25 -0
- package/template-design-pro/tests/server/tsconfig.json +15 -0
- package/template-design-pro/tests/server/utils.ts +9 -0
- package/template-design-pro/tests/server/yarn.lock +2955 -0
- package/template-design-pro/tests/test.spec.ts +16 -0
- package/template-design-pro/tsconfig.json +47 -0
- package/{template-mobile-ts → template-design-pro}/types/auto-imports.d.ts +0 -0
- package/template-design-pro/types/config.d.ts +100 -0
- package/template-design-pro/types/global.d.ts +103 -0
- package/template-design-pro/types/gx-components.d.ts +24 -0
- package/template-design-pro/types/index.d.ts +13 -0
- package/template-design-pro/types/mock.d.ts +23 -0
- package/template-design-pro/types/module.d.ts +16 -0
- package/template-design-pro/types/response.d.ts +15 -0
- package/template-design-pro/types/route.d.ts +89 -0
- package/template-design-pro/vite.config.ts +136 -0
- package/template-design-pro/yarn.lock +9697 -0
- package/template-mobile-vant-cli/.editorconfig +19 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/.env.development +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/.env.pro +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/.env.production +0 -0
- package/template-mobile-vant-cli/.eslintignore +16 -0
- package/template-mobile-vant-cli/.eslintrc.js +64 -0
- package/template-mobile-vant-cli/.prettierignore +9 -0
- package/template-mobile-vant-cli/.stylelintignore +3 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/README.md +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/build/cdn.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/build/optimizer.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/build/plugin/autoImport.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/build/plugin/html.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/build/plugin/index.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/build/plugin/mock.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/build/script/postBuild.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/index.html +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/mock/_createProductionServer.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/mock/api/index.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/mock/utils.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/package.json +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/postcss.config.js +0 -0
- package/template-mobile-vant-cli/prettier.config.js +18 -0
- package/template-mobile-vant-cli/public/favicon.ico +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/public/js/flexible.js +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/App.vue +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/components/PageContainer/ProSkeleton.tsx +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/components/PageContainer/index.tsx +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/components/PageContainer/style.module.less +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/core/gx-design/index.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/core/index.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/core/vant-design/index.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/design/index.less +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/design/reset.less +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/design/root.less +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/design/vant.less +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/global.less +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/hooks/web/index.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/hooks/web/usePageLoading.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/layout/BasicLayout.vue +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/layout/basicLayout.less +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/main.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/pages/home.vue +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/router/index.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/router/routes.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/router/typings.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/services/index.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/settings/index.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/store/index.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/store/modules/global.ts +0 -0
- package/template-mobile-vant-cli/src/utils/cryptoJS.ts +39 -0
- package/template-mobile-vant-cli/src/utils/env.ts +52 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/utils/pageTitle.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/utils/request/XHR.ts +0 -0
- package/template-mobile-vant-cli/src/utils/request/axiosCancel.ts +60 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/utils/request/checkStatus.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/utils/request/index.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/utils/request/typings.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/utils/storage.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/utils/util.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/src/utils/validate.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/stylelint.config.js +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/tsconfig.json +0 -0
- package/template-mobile-vant-cli/types/auto-imports.d.ts +61 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/types/components.d.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/types/global.d.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/types/gx-components.d.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/types/module.d.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/types/response.d.ts +0 -0
- package/{template-mobile-ts → template-mobile-vant-cli}/vite.config.ts +0 -0
- package/template-mobile-vant-html/README.md +4 -0
- package/template-mobile-vant-html/css/global.css +293 -0
- package/template-mobile-vant-html/css/global.css.map +1 -0
- package/template-mobile-vant-html/css/global.less +293 -0
- package/template-mobile-vant-html/css/index.css +20 -0
- package/template-mobile-vant-html/css/index.css.map +1 -0
- package/template-mobile-vant-html/css/index.less +21 -0
- package/template-mobile-vant-html/image/disconnected.svg +60 -0
- package/template-mobile-vant-html/image/empty.svg +52 -0
- package/template-mobile-vant-html/image/error.svg +53 -0
- package/template-mobile-vant-html/image/loading.svg +1 -0
- package/template-mobile-vant-html/index.html +91 -0
- package/template-mobile-vant-html/js/index.js +29 -0
- package/template-mobile-vant-html/js/plugin/day.min.js +1 -0
- package/template-mobile-vant-html/js/plugin/fastclick.js +730 -0
- package/template-mobile-vant-html/js/plugin/jquery.min.js +2 -0
- package/template-mobile-vant-html/js/plugin/rem.js +28 -0
- package/template-mobile-vant-html/js/utils/appUtil.js +70 -0
- package/template-mobile-vant-html/js/utils/config.js +3 -0
- package/template-mobile-vant-html/js/utils/request.js +61 -0
- package/template-mobile-vant-html/js/utils/utils.js +65 -0
- package/template-mobile-vant-html/js/utils/validate.js +292 -0
@@ -0,0 +1,57 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg">
|
4
|
+
<metadata>Created by iconfont</metadata>
|
5
|
+
<defs>
|
6
|
+
<font id="iconfont" horiz-adv-x="1024">
|
7
|
+
<font-face
|
8
|
+
font-family="iconfont"
|
9
|
+
font-weight="400"
|
10
|
+
font-stretch="normal"
|
11
|
+
units-per-em="1024"
|
12
|
+
ascent="896"
|
13
|
+
descent="-128"
|
14
|
+
/>
|
15
|
+
<missing-glyph />
|
16
|
+
|
17
|
+
<glyph glyph-name="gongjuxiang" unicode="" d="M904 636H736v56c0 30.9-25.1 56-56 56H344c-30.9 0-56-25.1-56-56v-56H120c-30.9 0-56-25.1-56-56v-504c0-30.9 25.1-56 56-56h784c30.9 0 56 25.1 56 56V580c0 30.9-25.1 56-56 56z m-560 56h336v-56H344v56z m560-616H120V300h308v-28c0-30.9 25.1-56 56-56h56c30.9 0 56 25.1 56 56v28h308v-224zM484 272V384h56v-112h-56z m112 84v28c0 30.9-25.1 56-56 56h-56c-30.9 0-56-25.1-56-56v-28H120V580h784v-224H596z" horiz-adv-x="1024" />
|
18
|
+
|
19
|
+
<glyph glyph-name="fuwuqingqiu" unicode="" d="M876 366.6c-15.9 0-28-12.1-28-28v-249.2c0-38.3-34.5-69.1-76.5-69.1h-575c-42 0-76.5 30.8-76.5 69.1V623.2c0 38.3 34.5 69.1 76.5 69.1h270.7c15.9 0 28 12.1 28 28s-12.1 28-28 28H196.5c-72.8 0-132.5-56-132.5-125.1v-533.9c0-69.1 59.7-125.1 132.5-125.1h574.9c72.8 0 132.5 56 132.5 125.1V338.6c0.1 15.8-12 28-27.9 28z m0 0M932 804.3H642.7c-15.9 0-28-12.1-28-28s12.1-28 28-28h222.1L389.7 273.2c-9.3-10.3-9.3-27.1 0-38.3 5.6-5.6 13.1-9.3 20.5-9.3 6.5 0 13.1 2.8 18.7 7.5l475.1 476V487c0-15.9 12.1-28 28-28s28 12.1 28 28V776.3c0 15.9-12.1 28-28 28z m0 0" horiz-adv-x="1024" />
|
20
|
+
|
21
|
+
<glyph glyph-name="gengduo-tongyong" unicode="" d="M896.70657848 621.20742638H127.29342152C110.94885503 621.20742638 97.69935804 634.48129402 97.69935804 650.85835467S110.94885503 680.50928298 127.29342152 680.50928298h769.41315696c16.3445665 0 29.5940635-13.27386763 29.59406348-29.65092831s-13.249497-29.65092829-29.59406348-29.65092829zM896.70657848 354.34907171H127.29342152C110.94885503 354.34907171 97.69935804 367.62293935 97.69935804 384s13.249497 29.65092829 29.59406348 29.65092829h769.41315696c16.3445665 0 29.5940635-13.27386763 29.59406348-29.65092829s-13.249497-29.65092829-29.59406348-29.65092829zM896.70657848 87.49071702000003H127.29342152C110.94885503 87.49071702000003 97.69935804 100.76458462999994 97.69935804 117.14164532999996S110.94885503 146.79257361999998 127.29342152 146.79257361999998h769.41315696c16.3445665 0 29.5940635-13.27386763 29.59406348-29.65092829s-13.249497-29.65092829-29.59406348-29.65092831z" horiz-adv-x="1024" />
|
22
|
+
|
23
|
+
<glyph glyph-name="wannengbiaodan" unicode="" d="M773.485714-74.474057h-522.971428c-46.782171 0-84.845714 35.796114-84.845715 79.813486V623.7184c0 44.002743 38.063543 79.813486 84.845715 79.813486h26.8288v-52.662857h-26.8288c-17.744457 0-32.182857-12.1856-32.182857-27.150629v-618.364343c0-14.965029 14.4384-27.150629 32.182857-27.150628h522.971428c17.744457 0 32.168229 12.1856 32.168229 27.150628V623.7184c0 14.965029-14.423771 27.150629-32.168229 27.150629h-32.914285v52.662857h32.914285c46.767543 0 84.831086-35.796114 84.831086-79.813486v-618.364343c0-44.032-38.063543-79.828114-84.831086-79.828114zM303.235657 489.603657H720.749714v-52.662857H303.235657zM334.101943 701.279086H689.883429v-52.662857H334.101943zM303.235657 339.192686H720.749714v-52.662857H303.235657zM303.235657 188.767086H720.749714v-52.662857H303.235657zM655.023543 699.421257h-52.662857a90.477714 90.477714 0 0 1-90.375315 90.389943 90.492343 90.492343 0 0 1-90.389942-90.389943h-52.662858c0 78.877257 64.175543 143.0528 143.0528 143.0528s143.038171-64.175543 143.038172-143.0528z" horiz-adv-x="1024" />
|
24
|
+
|
25
|
+
<glyph glyph-name="gerenzhongxin2" unicode="" d="M981.333333 53.333333c1.322667-175.509333-170.666667-170.666667-170.666667-170.666667s-1.173333 68.842667 0 64c46.677333 0.810667 98.325333-11.050667 106.666667 106.666667 6.421333 152.96-147.050667 279.210667-209.045333 323.818667C664.298667 347.84 611.498667 330.666667 554.666667 330.666667s-109.632 17.173333-153.621333 46.485333C339.050667 332.544 185.578667 206.293333 192 53.333333c8.341333-117.717333 60.010667-105.856 106.666667-106.666667 1.152 4.842667 0-64 0-64s-171.989333-4.842667-170.666667 170.666667c0.96 127.146667 126.421333 305.045333 234.922667 354.602667C310.272 458.410667 277.333333 529.301333 277.333333 608 277.333333 761.173333 401.493333 885.333333 554.666667 885.333333c153.173333 0 277.333333-124.16 277.333333-277.333333 0-78.698667-32.938667-149.589333-85.589333-200.064C854.912 358.378667 980.373333 180.48 981.333333 53.333333zM554.666667 821.333333c-117.824 0-213.333333-95.509333-213.333333-213.333333s95.509333-213.333333 213.333333-213.333333c117.824 0 213.333333 95.509333 213.333333 213.333333S672.490667 821.333333 554.666667 821.333333z" horiz-adv-x="1110" />
|
26
|
+
|
27
|
+
<glyph glyph-name="gerenshezhi" unicode="" d="M952.888346-45.102712h-374.982011a32.026674 32.026674 0 0 1 0-64.199255h374.982011a31.95372 31.95372 0 0 1 31.95372 32.099627 31.95372 31.95372 0 0 1-31.95372 32.099628m0 147.220564h-374.982011a32.026674 32.026674 0 0 1 0-64.199255h374.982011a31.95372 31.95372 0 0 1 31.95372 32.099627 31.95372 31.95372 0 0 1-31.95372 32.099628M545.879661 201.188974c0-17.727749 14.371879-32.099627 32.026674-32.099627h374.982011a32.026674 32.026674 0 0 1 0 64.199255h-374.982011a32.026674 32.026674 0 0 1-32.026674-32.099628m-61.281107 167.6476a231.409132 231.409132 0 0 0-230.898456 231.482085c0 127.668973 103.594252 231.482086 230.825502 231.482086a231.409132 231.409132 0 0 0 230.898457-231.482086c0-127.668973-103.594252-231.482086-230.898457-231.482085m294.87885 231.482085A295.608387 295.608387 0 0 1 484.452647 896a295.608387 295.608387 0 0 1-142.551527-554.229248A462.818264 462.818264 0 0 1 36.516937-93.252153a32.026674 32.026674 0 1 1 63.980394 0c0 219.444725 178.007025 397.962426 396.86812 397.962426a31.37009 31.37009 0 0 1 7.660139 1.021351 295.462479 295.462479 0 0 1 274.305907 294.587035" horiz-adv-x="1024" />
|
28
|
+
|
29
|
+
<glyph glyph-name="a-zu5" unicode="" d="M192 736a32 32 0 0 1-32-32v-192a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32V704a32 32 0 0 1-32 32H192m0 64h192a96 96 0 0 0 96-96v-192a96 96 0 0 0-96-96H192a96 96 0 0 0-96 96V704a96 96 0 0 0 96 96zM192 272a32 32 0 0 1-32-32v-192a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32V240a32 32 0 0 1-32 32H192m0 64h192a96 96 0 0 0 96-96v-192a96 96 0 0 0-96-96H192a96 96 0 0 0-96 96V240a96 96 0 0 0 96 96zM656 736a32 32 0 0 1-32-32v-192a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32V704a32 32 0 0 1-32 32H656m0 64h192a96 96 0 0 0 96-96v-192a96 96 0 0 0-96-96H656a96 96 0 0 0-96 96V704a96 96 0 0 0 96 96zM560-48.831999999999994a32 32 0 0 0-32 32v180.16a32 32 0 0 0 64 0v-180.16a32 32 0 0 0-32-32zM672-48.831999999999994a32 32 0 0 0-32 32v180.16a32 32 0 0 0 64 0v-180.16a32 32 0 0 0-32-32zM784-48.81600000000003a32 32 0 0 0-32 32V312a32 32 0 0 0 64 0v-328.832a32 32 0 0 0-32-31.984zM896-48.81600000000003a32 32 0 0 0-32 32V312a32 32 0 0 0 64 0v-328.832a32 32 0 0 0-32-31.984z" horiz-adv-x="1024" />
|
30
|
+
|
31
|
+
<glyph glyph-name="waibushuju" unicode="" d="M899.807467 771.977335c-37.365003 37.337373-87.119173 57.898665-140.086526 57.898665-52.956096 0-102.676497-20.543895-140.008754-57.853639L448.986851 601.512942c13.507642 3.479241 27.52489 5.27412 41.509393 5.27412 23.735587 0 47.493687-5.135974 68.99028-14.893198l120.362298 120.16787c21.342074 21.319561 49.720402 33.059953 79.894632 33.059953 30.173207 0 58.56279-11.740392 79.982636-33.115211 21.35333-21.325701 33.110095-49.67026 33.110095-79.821977 0-30.156834-11.756765-58.502415-33.110095-79.828117L634.594129 347.41271c-21.264303-21.209044-49.476855-32.888038-79.440283-32.888038-30.195719 0-58.629305 11.80179-80.159668 33.293267-3.113921 3.125177-11.490705 11.501962-15.956414 15.236006l-3.51301 1.90028c-6.172583 3.341095-13.175067 5.103228-20.256346 5.103228-11.368932 0-22.062482-4.40431-30.073946-12.399401-13.087063-13.087063-16.178471-33.625842-7.52437-49.936319l0.543375-0.997724a43.505863 43.505863 0 0 1 6.969739-9.130961c1.007957-1.007957 2.00568-1.916653 3.678786-3.391237a181.650153 181.650153 0 0 1 6.061042-6.349615c37.365003-37.321 87.107917-57.864896 140.075269-57.864895 52.944839 0 102.655008 20.532639 139.974985 57.809637l207.192899 206.938096c35.836183 37.004799 55.526641 85.667102 55.526641 137.421836 0.002047 52.879348-20.553105 102.533234-57.885361 139.820465zM461.863113 175.036781L341.556073 54.875051c-21.342074-21.319561-49.731658-33.066093-79.916121-33.066093s-58.574047 11.745509-79.916121 33.066093l-0.587378 0.620123c-21.020756 21.264303-32.577976 49.387827-32.577976 79.284741 0 30.140461 11.756765 58.496276 33.110096 79.849606l205.13196 204.877157c21.242813 21.225417 49.454342 32.91669 79.440284 32.916691 30.184463 0 58.629305-11.812023 80.159667-33.30964 3.136433-3.14155 11.590989-11.596106 16.034185-15.297404l3.391237-1.833765a42.733267 42.733267 0 0 1 20.256346-5.108345c11.368932 0 22.051225 4.421706 30.085202 12.45466 13.319353 13.269211 16.355503 33.337269 7.557117 49.931203l-0.532119 0.931208c-2.038426 3.540639-4.332678 6.537903-7.024998 9.202593a59.98007 59.98007 0 0 1-3.623527 3.329838c-1.971911 2.116197-3.944845 4.233418-6.072299 6.360872-37.365003 37.337373-87.13043 57.903781-140.108015 57.903781-52.944839 0-102.655008-20.527522-139.986241-57.804521L121.587196 274.589125c-37.321-37.298488-57.876152-86.963631-57.876152-139.842979s20.555152-102.543468 57.876152-139.842978c37.343513-37.321 87.075171-57.864896 140.0415-57.864896 52.956096 0 102.676497 20.532639 140.052756 57.864896L572.418045 165.417703c-13.574157-3.501754-27.625174-5.307889-41.631167-5.307889-23.701818 0.001023-47.426149 5.154393-68.923765 14.926967z" horiz-adv-x="1024" />
|
32
|
+
|
33
|
+
<glyph glyph-name="tuxingbianji" unicode="" d="M512-115.2l-435.2 249.6V633.6L512 883.2l435.2-249.6V128L512-115.2z m-371.2 288L512-44.8l371.2 211.2V595.2L512 812.8 140.8 595.2v-422.4z m371.2-32c-121.6 0-224 102.4-224 224S390.4 588.8 512 588.8s224-102.4 224-224-102.4-224-224-224z m0 384c-89.6 0-160-70.4-160-160s70.4-160 160-160 160 70.4 160 160S601.6 524.8 512 524.8zM512 140.8c-121.6 0-224 102.4-224 224S390.4 588.8 512 588.8s224-102.4 224-224-102.4-224-224-224z m0 384c-89.6 0-160-70.4-160-160s70.4-160 160-160 160 70.4 160 160S601.6 524.8 512 524.8z" horiz-adv-x="1024" />
|
34
|
+
|
35
|
+
<glyph glyph-name="yichangguanli" unicode="" d="M513 662.9l340.3-631.1H172.6L513 662.9m0 134.9l-447.6-830h895.1L513 797.8zM542.9 492.4h-63.1v-287.9h63.1V492.4zM519 167.6h-15.3c-13.2 0-23.9-10.7-23.9-23.9v-15.3c0-13.2 10.7-23.9 23.9-23.9H519c13.2 0 23.9 10.7 23.9 23.9v15.3c0 13.2-10.7 23.9-23.9 23.9z" horiz-adv-x="1024" />
|
36
|
+
|
37
|
+
<glyph glyph-name="jieguoye" unicode="" d="M522.24 891.904C245.76 891.904 24.576 668.672 24.576 394.24s223.232-497.664 497.664-497.664 497.664 223.232 497.664 497.664C1017.856 668.672 796.672 891.904 522.24 891.904z m0-925.696C286.72-33.792 94.208 158.72 94.208 394.24 94.208 629.76 284.672 822.272 522.24 822.272 757.76 822.272 950.272 629.76 950.272 394.24c0-237.568-192.512-428.032-428.032-428.032z m225.28 618.496L471.04 277.504l-153.6 135.168c-16.384 14.336-40.96 14.336-55.296-2.048-14.336-16.384-14.336-40.96 2.048-55.296l184.32-161.792c16.384-14.336 40.96-14.336 55.296 2.048l303.104 335.872c14.336 16.384 14.336 40.96-2.048 55.296-18.432 16.384-43.008 14.336-57.344-2.048z m0 0" horiz-adv-x="1024" />
|
38
|
+
|
39
|
+
<glyph glyph-name="xiangqing" unicode="" d="M780.8 808.96h-629.76c-33.792 0-61.44-27.648-61.44-61.44v-727.04c0-33.792 27.648-61.44 61.44-61.44h629.76c30.5664 0 56.1664 22.6304 60.7232 52.0192H880.64c33.792 0 61.44 27.648 61.44 61.44V695.5008c0 33.792-27.648 61.44-61.44 61.44h-39.1168C836.9664 786.3296 811.3664 808.96 780.8 808.96z m-629.76-808.96c-11.1104 0-20.48 9.3696-20.48 20.48V747.52c0 11.1104 9.3696 20.48 20.48 20.48h629.76c7.7312 0 14.592-4.5056 18.0736-11.0592 1.536-2.816 2.4064-6.0416 2.4064-9.4208v-727.04c0-3.3792-0.8704-6.6048-2.4064-9.4208-3.4816-6.5536-10.3424-11.0592-18.0736-11.0592h-629.76z m691.2 52.0192V715.9808h38.4c11.1104 0 20.48-9.4208 20.48-20.48v-623.0016c0-11.0592-9.3696-20.48-20.48-20.48h-38.4zM240.64 701.44h-35.84c-11.264 0-20.48-9.216-20.48-20.48s9.216-20.48 20.48-20.48h35.84c11.264 0 20.48 9.216 20.48 20.48s-9.216 20.48-20.48 20.48zM727.04 701.44H337.92c-11.264 0-20.48-9.216-20.48-20.48s9.216-20.48 20.48-20.48h389.12c11.264 0 20.48 9.216 20.48 20.48s-9.216 20.48-20.48 20.48zM240.64 552.96h-35.84c-11.264 0-20.48-9.216-20.48-20.48s9.216-20.48 20.48-20.48h35.84c11.264 0 20.48 9.216 20.48 20.48s-9.216 20.48-20.48 20.48zM727.04 552.96H337.92c-11.264 0-20.48-9.216-20.48-20.48s9.216-20.48 20.48-20.48h389.12c11.264 0 20.48 9.216 20.48 20.48s-9.216 20.48-20.48 20.48zM240.64 404.48h-35.84c-11.264 0-20.48-9.216-20.48-20.48s9.216-20.48 20.48-20.48h35.84c11.264 0 20.48 9.216 20.48 20.48s-9.216 20.48-20.48 20.48zM727.04 404.48H337.92c-11.264 0-20.48-9.216-20.48-20.48s9.216-20.48 20.48-20.48h389.12c11.264 0 20.48 9.216 20.48 20.48s-9.216 20.48-20.48 20.48zM240.64 256h-35.84c-11.264 0-20.48-9.216-20.48-20.48s9.216-20.48 20.48-20.48h35.84c11.264 0 20.48 9.216 20.48 20.48s-9.216 20.48-20.48 20.48zM727.04 256H337.92c-11.264 0-20.48-9.216-20.48-20.48s9.216-20.48 20.48-20.48h389.12c11.264 0 20.48 9.216 20.48 20.48s-9.216 20.48-20.48 20.48zM240.64 107.52h-35.84c-11.264 0-20.48-9.216-20.48-20.48s9.216-20.48 20.48-20.48h35.84c11.264 0 20.48 9.216 20.48 20.48s-9.216 20.48-20.48 20.48zM727.04 107.52H337.92c-11.264 0-20.48-9.216-20.48-20.48s9.216-20.48 20.48-20.48h389.12c11.264 0 20.48 9.216 20.48 20.48s-9.216 20.48-20.48 20.48z" horiz-adv-x="1024" />
|
40
|
+
|
41
|
+
<glyph glyph-name="biaoge" unicode="" d="M959.825022 511.997742V704.060283C959.825022 774.7521 902.517291 832.059831 831.825474 832.059831H191.939717C121.2479 832.059831 63.940169 774.7521 63.940169 704.060283v-639.885757C63.940169-6.517291 121.2479-63.825022 191.939717-63.825022h639.885757c70.691817 0 127.999548 57.307731 127.999548 127.999548V511.997742zM146.66502 749.33498a63.737872 63.737872 0 0 0 45.336109 18.784682h639.997742A63.961844 63.961844 0 0 0 895.884854 703.998871V575.937911H127.880338V703.998871A63.737872 63.737872 0 0 0 146.66502 749.33498z m269.1267-461.308451v223.971213h192.181751v-223.971213h-192.181751z m192.181751-63.940169v-223.971214h-192.181751v223.971214h192.181751z m-256.12192 63.940169H127.880338v223.971213h223.971213v-223.971213z m-205.186531-269.235073a63.466939 63.466939 0 0 0-18.784682 45.209673V224.08636h223.971213v-223.971214H192.001129a63.625887 63.625887 0 0 0-45.336109 18.67631z m749.219834 45.209673A63.763159 63.763159 0 0 0 831.998871 0.115146H671.91364v223.971214h223.971214v-160.085231z m0 224.0254h-223.971214v223.971213h223.971214v-223.971213z" horiz-adv-x="1024" />
|
42
|
+
|
43
|
+
<glyph glyph-name="iconset0335" unicode="" d="M234.666667 597.333333c-12.8 0-21.333333-8.533333-21.333333-21.333333 0-12.8 8.533333-21.333333 21.333333-21.333333 12.8 0 21.333333 8.533333 21.333333 21.333333C256 588.8 247.466667 597.333333 234.666667 597.333333zM149.333333 597.333333c-12.8 0-21.333333-8.533333-21.333333-21.333333 0-12.8 8.533333-21.333333 21.333333-21.333333 12.8 0 21.333333 8.533333 21.333333 21.333333C170.666667 588.8 162.133333 597.333333 149.333333 597.333333zM704 597.333333 405.333333 597.333333c-12.8 0-21.333333-8.533333-21.333333-21.333333 0-12.8 8.533333-21.333333 21.333333-21.333333l298.666667 0c12.8 0 21.333333 8.533333 21.333333 21.333333C725.333333 588.8 716.8 597.333333 704 597.333333zM896 853.333333 298.666667 853.333333c-46.933333 0-85.333333-38.4-85.333333-85.333333l0-21.333333c0-12.8 8.533333-21.333333 21.333333-21.333333 12.8 0 21.333333 8.533333 21.333333 21.333333L256 768c0 23.466667 19.2 42.666667 42.666667 42.666667l597.333333 0c23.466667 0 42.666667-19.2 42.666667-42.666667l0-597.333333c0-23.466667-19.2-42.666667-42.666667-42.666667l-21.333333 0c-12.8 0-21.333333-8.533333-21.333333-21.333333s8.533333-21.333333 21.333333-21.333333l21.333333 0c46.933333 0 85.333333 38.4 85.333333 85.333333L981.333333 768C981.333333 814.933333 942.933333 853.333333 896 853.333333zM320 597.333333c-12.8 0-21.333333-8.533333-21.333333-21.333333 0-12.8 8.533333-21.333333 21.333333-21.333333 12.8 0 21.333333 8.533333 21.333333 21.333333C341.333333 588.8 332.8 597.333333 320 597.333333zM725.333333 682.666667 128 682.666667c-46.933333 0-85.333333-38.4-85.333333-85.333333l0-597.333333c0-46.933333 38.4-85.333333 85.333333-85.333333l597.333333 0c46.933333 0 85.333333 38.4 85.333333 85.333333L810.666667 597.333333C810.666667 644.266667 772.266667 682.666667 725.333333 682.666667zM768 0c0-23.466667-19.2-42.666667-42.666667-42.666667L128-42.666667c-23.466667 0-42.666667 19.2-42.666667 42.666667L85.333333 469.333333l682.666667 0L768 0zM768 512 85.333333 512l0 85.333333c0 23.466667 19.2 42.666667 42.666667 42.666667l597.333333 0c23.466667 0 42.666667-19.2 42.666667-42.666667L768 512z" horiz-adv-x="1024" />
|
44
|
+
|
45
|
+
<glyph glyph-name="shuju" unicode="" d="M464.9-90.4c-57.8 0-113.8 11.3-166.6 33.6-51 21.6-96.7 52.4-136 91.7C123 74.3 92.1 120 70.6 171 48.3 223.8 37 279.8 37 337.6s11.3 113.8 33.6 166.6c21.6 51 52.4 96.7 91.7 136 39.3 39.3 85.1 70.2 136 91.7 52.8 22.3 108.8 33.6 166.6 33.6h29v-400.2H893v-28c0-57.7-11.4-113.8-33.7-166.5-21.6-50.9-52.4-96.7-91.7-136-39.3-39.3-85.1-70.1-136-91.6-52.9-22.3-108.9-33.6-166.7-33.6z m-27 799.1c-89.2-6.4-172.1-44.1-236-108-70.3-70.3-109-163.7-109-263 0-99.4 38.7-192.8 109-263s163.7-109 263-109c99.3 0 192.7 38.7 263 108.9 63.6 63.6 101.4 146.1 108 234.9h-398V708.7zM987.1 422.3l-28 0.1h-408v436l28.1-0.1c55.1-0.1 108.5-11 158.8-32.3 48.6-20.6 92.2-50 129.7-87.4 37.5-37.4 66.9-81 87.4-129.5 21.3-50.2 32.1-103.6 32.1-158.5v-28.3z m-380 56.1H930c-6.5 83.3-42.1 160.9-102 220.7-59.8 59.8-137.4 95.5-220.9 102.2v-322.9z" horiz-adv-x="1024" />
|
46
|
+
|
47
|
+
<glyph glyph-name="layout" unicode="" d="M831.20303681 1.484229379999988H193.09686619c-35.09529159 0-63.65247632 28.55165146-63.65247632 63.64694306v638.12941034c0 35.09529159 28.55718473 63.65247632 63.65247632 63.65247632h638.10727727c35.09529159 0 63.6458364-28.55718473 63.64583641-63.65247632v-638.1349436c0.00553327-35.09086498-28.54501155-63.6414098-63.64694306-63.6414098zM193.09686619 709.09596487a5.83648876 5.83648876 0 0 1-5.82984883-5.82984883v-638.1349436a5.83648876 5.83648876 0 0 1 5.82984883-5.82542221h638.10727727a5.82984884 5.82984884 0 0 1 5.82431558 5.82542221v638.12941034a5.83648876 5.83648876 0 0 1-5.82542223 5.82984883H193.09686619zM165.26564593 558.60552191H865.94087943v-57.82262748h-700.67744681zM377.95220966 550.58781978h57.82262749v-500.41527807h-57.82262749z" horiz-adv-x="1024" />
|
48
|
+
|
49
|
+
<glyph glyph-name="zujian" unicode="" d="M422.495 669.593l-97.74 37.845-25.11-101.070-135.585 36.382v-126.653h-96.435v-520.222h833.332c0 0 0 91.035 0 180.923v13.162h66.667v129.352h-66.667v11.318c0 100.935 0 185.468 0 185.468h-29.768v61.965l-385.717 194.063M346.58 665.925l363.892-149.85h-74.407l-306.292 82.192 16.807 67.657zM196.19 601.8l319.343-85.702h-319.343v85.702zM838.745 60.562h-706.838v387.877h706.86c0 0 0-58.073 0-129.127h-224.685v-129.352h224.685c-0.023-65.183-0.023-129.398-0.023-129.398zM839.060 222.27h-192.87v64.687h192.87v-64.687zM839.060 516.097h-96.435v20.183l-281.408 118.35 40.118 60.57 337.725-160.043v-39.060z" horiz-adv-x="1031" />
|
50
|
+
|
51
|
+
<glyph glyph-name="gerenziliao" unicode="" d="M918.84347 130.297109h-255.234298c-14.293121 0-25.52343 11.230309-25.523429 25.523429s11.230309 25.52343 25.523429 25.52343h255.234298c13.782652 0 25.52343 8.677966 25.523429 19.397807V825.555334c0 10.71984-11.740778 19.397807-25.523429 19.397807H408.374875c-13.782652 0-25.52343-8.677966-25.523429-19.397807v-169.986042c0-14.293121-11.230309-25.52343-25.52343-25.52343s-25.52343 11.230309-25.52343 25.52343V825.555334C331.804586 864.350947 366.005982 896 408.374875 896h510.468595c42.368893 0 76.570289-31.649053 76.570289-70.444666v-625.324028c0-38.285145-34.201396-69.934197-76.570289-69.934197zM852.993021 640.765703H485.966102c-14.293121 0-25.52343 11.230309-25.52343 25.52343s11.230309 25.52343 25.52343 25.523429h367.026919c14.293121 0 25.52343-11.230309 25.52343-25.523429s-11.230309-25.52343-25.52343-25.52343zM852.993021 487.625125H587.038883c-14.293121 0-25.52343 11.230309-25.523429 25.523429s11.230309 25.52343 25.523429 25.52343h265.954138c14.293121 0 25.52343-11.230309 25.52343-25.52343s-11.230309-25.52343-25.52343-25.523429zM852.993021 334.484546h-183.258225c-14.293121 0-25.52343 11.230309-25.52343 25.52343s11.230309 25.52343 25.52343 25.52343h183.258225c14.293121 0 25.52343-11.230309 25.52343-25.52343s-11.230309-25.52343-25.52343-25.52343zM331.804586 155.820538c-112.813559 0-204.187438 91.373878-204.187437 204.187438s91.373878 204.187438 204.187437 204.187438 204.187438-91.373878 204.187438-204.187438-91.373878-204.187438-204.187438-204.187438z m0 357.328016c-84.227318 0-153.140578-68.91326-153.140578-153.140578s68.91326-153.140578 153.140578-153.140578 153.140578 68.91326 153.140579 153.140578-68.91326 153.140578-153.140579 153.140578zM638.085743-128l-27.565304 3.062812c-23.481555 1.020937-477.798604 1.020937-558.963111 0l-26.033898-0.510469v26.033898c0 168.965105 137.316052 306.281157 306.281156 306.281157s306.281157-137.316052 306.281157-306.281157v-28.586241z m-306.281157 283.820538c-132.211366 0-240.941176-100.562313-254.21336-229.710867 100.051844 0.510469 409.906281 1.020937 507.916252 0a254.928016 254.928016 0 0 1-253.702892 229.710867z" horiz-adv-x="1024" />
|
52
|
+
|
53
|
+
<glyph glyph-name="xitongpeizhi" unicode="" d="M512.1-86.8H404.4c-38.7 0-67.8 29.2-67.8 67.8v77c-6 3.1-12 6.2-17.7 9.4L250.8 25c-32.5-16.2-69.5-6.1-90 24.7l-1.5 2.4L52.4 239.2c-11.7 18.3-14.7 39.4-8.2 58.2 5.8 16.8 18.5 30.2 35.5 37.5l63.5 39.7v19.1l-63.5 39.7c-17 7.3-29.7 20.7-35.5 37.6-6.4 18.8-3.4 39.9 8.2 58.2l106.5 186.4c7.9 14.9 22 25.9 38.8 30.4 19.2 5.1 39.7 1.4 57.5-10.6l62.5-39.1c5.9 3.8 12.2 7.5 18.9 11v80c0 38.7 29.2 67.8 67.8 67.8h214.9c38.7 0 67.8-29.2 67.8-67.8v-76.9c6-3.1 11.9-6.2 17.7-9.4l68.1 42.4c32.5 16.2 69.5 6.1 90-24.7l1.5-2.4 106.9-187.1c11.7-18.3 14.7-39.4 8.2-58.2-5.8-16.8-18.5-30.2-35.5-37.5l-63.5-39.7v-10c0-22.6-18.3-41-41-41s-41 18.3-41 41v55.4l95.6 59.8-94.2 165-95.5-59.7-22 14.7c-14 9.3-34.7 19.7-54.7 29.7L605.3 660V773.3H418.5v-125.4l-31-7.8c-11.4-2.9-26.7-13.3-39-21.7l-29.3-19.6-97.7 61.2-92-161 95.6-59.8v-109.9l-95.6-59.8 94.2-165 95.5 59.7 22-14.7c14-9.3 34.7-19.7 54.7-29.7l22.6-11.3v-113.4H512c22.6 0 41-18.3 41-41s-18.3-40.9-40.9-40.9zM511.9 466.1c45.2 0 81.9-36.7 81.9-81.9s-36.7-81.9-81.9-81.9S430 339 430 384.2s36.7 81.9 81.9 81.9m0 82c-90.5 0-163.8-73.4-163.8-163.8s73.4-163.8 163.8-163.8c90.5 0 163.8 73.4 163.8 163.8s-73.3 163.8-163.8 163.8zM696.4-5.3h245.8c22.5 0 41-18.4 41-41 0-22.5-18.4-41-41-41H696.4c-22.5 0-41 18.4-41 41 0 22.5 18.5 41 41 41zM696.4 138h245.8c22.5 0 41-18.4 41-41 0-22.5-18.4-41-41-41H696.4c-22.5 0-41 18.4-41 41s18.5 41 41 41zM696.4 281.4h245.8c22.5 0 41-18.4 41-41 0-22.5-18.4-41-41-41H696.4c-22.5 0-41 18.4-41 41 0 22.5 18.5 41 41 41z" horiz-adv-x="1024" />
|
54
|
+
|
55
|
+
</font>
|
56
|
+
</defs>
|
57
|
+
</svg>
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,94 @@
|
|
1
|
+
@font-face {
|
2
|
+
font-family: "iconfont"; /* Project id 2718382 */
|
3
|
+
src: url('iconfont.eot?t=1673164991925'); /* IE9 */
|
4
|
+
src: url('iconfont.eot?t=1673164991925#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
5
|
+
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAA3kAAsAAAAAGtwAAA2WAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACFdAqjeJ4AATYCJANQCyoABCAFhGcHgh8b9xYzozaLtJIh+z8kcCoDjGW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qXhSG5JZd9vv7AuU1t5LkT9rM0sm5M2sLKwnyaZHUGntiz3K14YiUzAVLmhLmsWWA3jQYJuWrGMQpuxApqPRiaW9JylqL9kOJ8VuY3Vpv18+qJZWmG6b1Z+XNbcf1fC9evXn3EWNlSMW+RE5qLH3h/5HUcvLPCkiF3sxdGVRQs4ITFa8WIDchp5kCC1RH3IYSaTNO330WQR1hl89rvx8VHAOfRT72E6fbULJRjNMKRdSQXXlOGgcxPjWVpoJh63rDZk97RsHYWJbKwK222323Dqee5pXxrlf7eO9tTdaoJTOTErsoU8CmY40GAA==') format('woff2'),
|
6
|
+
url('iconfont.woff?t=1673164991925') format('woff'),
|
7
|
+
url('iconfont.ttf?t=1673164991925') format('truetype'),
|
8
|
+
url('iconfont.svg?t=1673164991925#iconfont') format('svg');
|
9
|
+
}
|
10
|
+
|
11
|
+
.iconfont {
|
12
|
+
font-family: "iconfont" !important;
|
13
|
+
font-size: 16px;
|
14
|
+
font-style: normal;
|
15
|
+
-webkit-font-smoothing: antialiased;
|
16
|
+
-moz-osx-font-smoothing: grayscale;
|
17
|
+
}
|
18
|
+
|
19
|
+
.gx-gongjuxiang:before {
|
20
|
+
content: "\e649";
|
21
|
+
}
|
22
|
+
|
23
|
+
.gx-fuwuqingqiu:before {
|
24
|
+
content: "\e68d";
|
25
|
+
}
|
26
|
+
|
27
|
+
.gx-gengduo-tongyong:before {
|
28
|
+
content: "\e60e";
|
29
|
+
}
|
30
|
+
|
31
|
+
.gx-wannengbiaodan:before {
|
32
|
+
content: "\e6c3";
|
33
|
+
}
|
34
|
+
|
35
|
+
.gx-gerenzhongxin2:before {
|
36
|
+
content: "\e608";
|
37
|
+
}
|
38
|
+
|
39
|
+
.gx-gerenshezhi:before {
|
40
|
+
content: "\e618";
|
41
|
+
}
|
42
|
+
|
43
|
+
.gx-a-zu5:before {
|
44
|
+
content: "\e62a";
|
45
|
+
}
|
46
|
+
|
47
|
+
.gx-waibushuju:before {
|
48
|
+
content: "\e60b";
|
49
|
+
}
|
50
|
+
|
51
|
+
.gx-tuxingbianji:before {
|
52
|
+
content: "\e626";
|
53
|
+
}
|
54
|
+
|
55
|
+
.gx-yichangguanli:before {
|
56
|
+
content: "\e682";
|
57
|
+
}
|
58
|
+
|
59
|
+
.gx-jieguoye:before {
|
60
|
+
content: "\e612";
|
61
|
+
}
|
62
|
+
|
63
|
+
.gx-xiangqing:before {
|
64
|
+
content: "\e739";
|
65
|
+
}
|
66
|
+
|
67
|
+
.gx-biaoge:before {
|
68
|
+
content: "\e63e";
|
69
|
+
}
|
70
|
+
|
71
|
+
.gx-iconset0335:before {
|
72
|
+
content: "\e6ea";
|
73
|
+
}
|
74
|
+
|
75
|
+
.gx-shuju:before {
|
76
|
+
content: "\e61d";
|
77
|
+
}
|
78
|
+
|
79
|
+
.gx-layout:before {
|
80
|
+
content: "\e627";
|
81
|
+
}
|
82
|
+
|
83
|
+
.gx-zujian:before {
|
84
|
+
content: "\e657";
|
85
|
+
}
|
86
|
+
|
87
|
+
.gx-gerenziliao:before {
|
88
|
+
content: "\e603";
|
89
|
+
}
|
90
|
+
|
91
|
+
.gx-xitongpeizhi:before {
|
92
|
+
content: "\e6a9";
|
93
|
+
}
|
94
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
export default {}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
@import './default.less';
|
2
|
+
|
3
|
+
@layoutWide-prefix-cls: ~'@{gx-prefix-pro}-layout-wide';
|
4
|
+
|
5
|
+
.@{basicLayout-prefix-cls} {
|
6
|
+
display: flex;
|
7
|
+
flex-direction: column;
|
8
|
+
width: 100%;
|
9
|
+
min-height: 100vh;
|
10
|
+
|
11
|
+
&.wide {
|
12
|
+
background: #f0f2f5;
|
13
|
+
|
14
|
+
.@{layoutWide-prefix-cls} {
|
15
|
+
position: relative;
|
16
|
+
margin: 0 auto;
|
17
|
+
}
|
18
|
+
|
19
|
+
.@{basicLayout-prefix-cls} {
|
20
|
+
&-content {
|
21
|
+
margin: 0 0 0 20px;
|
22
|
+
background: #fff;
|
23
|
+
flex: unset;
|
24
|
+
border-radius: 8px;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
.@{ant-prefix}-layout-header {
|
30
|
+
&.@{gx-prefix-pro}-fixed-header {
|
31
|
+
position: fixed;
|
32
|
+
top: 0;
|
33
|
+
|
34
|
+
&.@{ant-prefix}-side-opened {
|
35
|
+
width: 100%;
|
36
|
+
}
|
37
|
+
|
38
|
+
&.@{ant-prefix}-side-closed {
|
39
|
+
width: 100%;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
.@{gx-prefix-pro}-header-loading {
|
44
|
+
position: absolute;
|
45
|
+
top: 0;
|
46
|
+
right: 0;
|
47
|
+
bottom: 0;
|
48
|
+
left: 0;
|
49
|
+
z-index: 10;
|
50
|
+
background: rgba(255, 255, 255, 0.5);
|
51
|
+
|
52
|
+
.@{ant-prefix}-spin-spinning {
|
53
|
+
position: absolute;
|
54
|
+
top: 50%;
|
55
|
+
left: 50%;
|
56
|
+
transform: translate(-50%, -50%);
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
&-content {
|
62
|
+
position: relative;
|
63
|
+
margin: 24px;
|
64
|
+
|
65
|
+
.@{gx-prefix-pro}-page-container {
|
66
|
+
margin: -24px -24px 0;
|
67
|
+
}
|
68
|
+
|
69
|
+
&-disable-margin {
|
70
|
+
margin: 0;
|
71
|
+
|
72
|
+
.@{gx-prefix-pro}-pro-page-container {
|
73
|
+
margin: 0;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
> .@{ant-prefix}-layout {
|
77
|
+
max-height: 100%;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
@@ -0,0 +1,342 @@
|
|
1
|
+
import type { CSSProperties, ExtractPropTypes } from 'vue'
|
2
|
+
import {
|
3
|
+
defineComponent,
|
4
|
+
ref,
|
5
|
+
reactive,
|
6
|
+
computed,
|
7
|
+
onBeforeUnmount,
|
8
|
+
toRefs,
|
9
|
+
onMounted,
|
10
|
+
unref
|
11
|
+
} from 'vue'
|
12
|
+
import { Layout } from 'ant-design-vue'
|
13
|
+
import { useMediaQuery } from '@gx-design-vue/pro-hooks'
|
14
|
+
import { getSlot, getPrefixCls } from '@gx-design-vue/pro-utils'
|
15
|
+
import { basicLayoutProps } from './props'
|
16
|
+
import type {
|
17
|
+
BreadcrumbRender,
|
18
|
+
MenuContentRender,
|
19
|
+
MenuFooterRender,
|
20
|
+
MenuExtraRender,
|
21
|
+
CopyrightRender,
|
22
|
+
HeaderContentRender,
|
23
|
+
HeaderRender,
|
24
|
+
LinksRender,
|
25
|
+
FooterRender,
|
26
|
+
RightContentRender,
|
27
|
+
HeaderLogoRender,
|
28
|
+
MenuItemRender,
|
29
|
+
SubMenuItemRender,
|
30
|
+
CollapsedButtonRender,
|
31
|
+
ExtraRightDropdownRender
|
32
|
+
} from './RenderTypings'
|
33
|
+
import type { RouteContextProps, BreadcrumbProps } from './RouteContext'
|
34
|
+
import { provideRouteContext, defaultRouteContext } from './RouteContext'
|
35
|
+
import { WrapContent } from './WrapContent'
|
36
|
+
import GlobalHeader from './components/GlobalHeader'
|
37
|
+
import GlobalFooter from './components/GlobalFooter'
|
38
|
+
import SiderMenuWrapper from './components/SiderMenu'
|
39
|
+
import { getMenuFirstChildren, pick } from './utils'
|
40
|
+
import './style.less'
|
41
|
+
|
42
|
+
export type BasicLayoutProps = Partial<ExtractPropTypes<typeof basicLayoutProps>>
|
43
|
+
|
44
|
+
export default defineComponent({
|
45
|
+
name: 'GProLayout',
|
46
|
+
inheritAttrs: false,
|
47
|
+
components: {
|
48
|
+
GlobalHeader,
|
49
|
+
GlobalFooter,
|
50
|
+
SiderMenuWrapper
|
51
|
+
},
|
52
|
+
props: basicLayoutProps,
|
53
|
+
emits: [
|
54
|
+
'update:collapsed',
|
55
|
+
'update:open-keys',
|
56
|
+
'update:selected-keys',
|
57
|
+
'collapse',
|
58
|
+
'openKeys',
|
59
|
+
'reloadPage',
|
60
|
+
'select',
|
61
|
+
'menuHeaderClick',
|
62
|
+
'menuClick'
|
63
|
+
],
|
64
|
+
setup(props, { emit, slots }) {
|
65
|
+
const baseClassName = getPrefixCls({
|
66
|
+
suffixCls: 'basic-layout',
|
67
|
+
isPor: true
|
68
|
+
})
|
69
|
+
|
70
|
+
const layoutClassName = getPrefixCls({
|
71
|
+
suffixCls: 'layout',
|
72
|
+
isPor: true
|
73
|
+
})
|
74
|
+
const colSize = useMediaQuery()
|
75
|
+
const width = ref(document.body.getBoundingClientRect().width)
|
76
|
+
|
77
|
+
const hasSide = computed(
|
78
|
+
() => props.layout === 'mix' || props.layout === 'side' || props.layout === 'wide' || false
|
79
|
+
)
|
80
|
+
const hasContentWide = computed(() => props.layout === 'wide')
|
81
|
+
const hasFlatMenu = computed(() => hasSide.value)
|
82
|
+
|
83
|
+
const siderWidth = computed(() => (props.collapsed ? props.collapsedWidth : props.siderWidth))
|
84
|
+
|
85
|
+
onMounted(() => {
|
86
|
+
window.addEventListener('resize', handleLayouts)
|
87
|
+
handleLayouts()
|
88
|
+
})
|
89
|
+
|
90
|
+
onBeforeUnmount(() => {
|
91
|
+
window.removeEventListener('resize', handleLayouts)
|
92
|
+
})
|
93
|
+
|
94
|
+
const isMobile = computed(
|
95
|
+
() =>
|
96
|
+
(colSize.value === 'sm' || colSize.value === 'xs') &&
|
97
|
+
!props.disableMobile &&
|
98
|
+
!hasContentWide.value
|
99
|
+
)
|
100
|
+
|
101
|
+
const genLayoutStyle = reactive<CSSProperties>({
|
102
|
+
position: 'relative'
|
103
|
+
})
|
104
|
+
|
105
|
+
// if is some layout children, don't need min height
|
106
|
+
if (props.isChildrenLayout || (props.contentStyle && props.contentStyle.minHeight)) {
|
107
|
+
genLayoutStyle.minHeight = 0
|
108
|
+
}
|
109
|
+
|
110
|
+
const handleLayouts = () => {
|
111
|
+
const clientWidth = document.body.getBoundingClientRect().width
|
112
|
+
if (width.value !== clientWidth) {
|
113
|
+
colSize.value = useMediaQuery().value
|
114
|
+
width.value = clientWidth
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
const headerRender = (
|
119
|
+
p: BasicLayoutProps & {
|
120
|
+
hasSiderMenu: boolean
|
121
|
+
headerRender: HeaderRender
|
122
|
+
rightContentRender: RightContentRender
|
123
|
+
},
|
124
|
+
matchMenuKeys?: string[]
|
125
|
+
): CustomRender | null => {
|
126
|
+
if (p.headerRender === false || p.pure) {
|
127
|
+
return null
|
128
|
+
}
|
129
|
+
return <GlobalHeader {...p} matchMenuKeys={matchMenuKeys || []} />
|
130
|
+
}
|
131
|
+
|
132
|
+
const breadcrumb = computed<BreadcrumbProps>(() => ({
|
133
|
+
...props.breadcrumb,
|
134
|
+
itemRender: getSlot<BreadcrumbRender>(slots, props, 'breadcrumbRender') as BreadcrumbRender
|
135
|
+
}))
|
136
|
+
|
137
|
+
const flatMenuData = computed(
|
138
|
+
() =>
|
139
|
+
(hasFlatMenu.value &&
|
140
|
+
props.selectedKeys &&
|
141
|
+
getMenuFirstChildren(props.menuData, props.selectedKeys[0])) ||
|
142
|
+
[]
|
143
|
+
)
|
144
|
+
|
145
|
+
const onCollapse = (collapsed: boolean) => {
|
146
|
+
emit('update:collapsed', collapsed)
|
147
|
+
emit('collapse', collapsed)
|
148
|
+
}
|
149
|
+
const onOpenKeys = (openKeys: string[] | false) => {
|
150
|
+
emit('update:open-keys', openKeys)
|
151
|
+
emit('openKeys', openKeys)
|
152
|
+
}
|
153
|
+
const onSelect = (selectedKeys: string[] | false) => {
|
154
|
+
emit('update:selected-keys', selectedKeys)
|
155
|
+
emit('select', selectedKeys)
|
156
|
+
}
|
157
|
+
const onMenuHeaderClick = (e: MouseEvent) => {
|
158
|
+
emit('menuHeaderClick', e)
|
159
|
+
}
|
160
|
+
const onMenuClick = (args: any) => {
|
161
|
+
emit('menuClick', args)
|
162
|
+
}
|
163
|
+
|
164
|
+
const onReloadPage = () => {
|
165
|
+
emit('reloadPage')
|
166
|
+
}
|
167
|
+
|
168
|
+
const routeContext = reactive<RouteContextProps>({
|
169
|
+
...defaultRouteContext,
|
170
|
+
...(pick(toRefs(props), [
|
171
|
+
'menuData',
|
172
|
+
'openKeys',
|
173
|
+
'selectedKeys',
|
174
|
+
'disableMobile',
|
175
|
+
'fixSiderbar',
|
176
|
+
'fixedHeader'
|
177
|
+
// 'hasSideMenu',
|
178
|
+
// 'hasHeader',
|
179
|
+
// 'hasFooter',
|
180
|
+
// 'hasFooterToolbar',
|
181
|
+
// 'setHasFooterToolbar',
|
182
|
+
]) as any),
|
183
|
+
hasContentWide,
|
184
|
+
isMobile,
|
185
|
+
siderWidth,
|
186
|
+
breadcrumb,
|
187
|
+
flatMenuData,
|
188
|
+
hasSide,
|
189
|
+
flatMenu: hasFlatMenu
|
190
|
+
})
|
191
|
+
provideRouteContext(routeContext)
|
192
|
+
|
193
|
+
return () => {
|
194
|
+
const { pure, ...restProps } = props
|
195
|
+
|
196
|
+
const collapsedButtonRender = getSlot<CollapsedButtonRender>(
|
197
|
+
slots,
|
198
|
+
props,
|
199
|
+
'collapsedButtonRender'
|
200
|
+
)
|
201
|
+
const headerContentRender = getSlot<HeaderContentRender>(slots, props, 'headerContentRender')
|
202
|
+
const rightContentRender = getSlot<RightContentRender>(slots, props, 'rightContentRender')
|
203
|
+
const customHeaderRender = getSlot<HeaderRender>(slots, props, 'headerRender')
|
204
|
+
const footerRender = getSlot<FooterRender>(slots, props, 'footerRender')
|
205
|
+
const linksRender = getSlot<LinksRender>(slots, props, 'links')
|
206
|
+
const copyrightRender = getSlot<CopyrightRender>(slots, props, 'copyrightRender')
|
207
|
+
const extraRightDropdownRender = getSlot<ExtraRightDropdownRender>(
|
208
|
+
slots,
|
209
|
+
props,
|
210
|
+
'extraRightDropdownRender'
|
211
|
+
)
|
212
|
+
|
213
|
+
// menu
|
214
|
+
const menuHeaderRender = getSlot<HeaderLogoRender>(slots, props, 'menuHeaderRender')
|
215
|
+
const menuExtraRender = getSlot<MenuExtraRender>(slots, props, 'menuExtraRender')
|
216
|
+
const menuContentRender = getSlot<MenuContentRender>(slots, props, 'menuContentRender')
|
217
|
+
const menuFooterRender = getSlot<MenuFooterRender>(slots, props, 'menuFooterRender')
|
218
|
+
const menuItemRender = getSlot<MenuItemRender>(slots, props, 'menuItemRender')
|
219
|
+
const subMenuItemRender = getSlot<SubMenuItemRender>(slots, props, 'subMenuItemRender')
|
220
|
+
|
221
|
+
const menuRenders = {
|
222
|
+
menuItemRender,
|
223
|
+
subMenuItemRender
|
224
|
+
}
|
225
|
+
|
226
|
+
const headerDom = computed(() =>
|
227
|
+
headerRender(
|
228
|
+
{
|
229
|
+
...props,
|
230
|
+
...menuRenders,
|
231
|
+
hasSiderMenu: hasSide.value,
|
232
|
+
menuData: props.menuData,
|
233
|
+
isMobile: unref(isMobile),
|
234
|
+
onCollapse,
|
235
|
+
onOpenKeys,
|
236
|
+
onSelect,
|
237
|
+
onMenuHeaderClick,
|
238
|
+
rightContentRender,
|
239
|
+
extraRightDropdownRender,
|
240
|
+
headerTitleRender: menuHeaderRender,
|
241
|
+
headerContentRender,
|
242
|
+
headerRender: customHeaderRender,
|
243
|
+
theme: (props.theme || 'dark').toLocaleLowerCase().includes('dark') ? 'dark' : 'light'
|
244
|
+
},
|
245
|
+
props.matchMenuKeys
|
246
|
+
)
|
247
|
+
)
|
248
|
+
|
249
|
+
const layoutBaseClassName = computed(() => {
|
250
|
+
return {
|
251
|
+
[`${baseClassName}`]: true,
|
252
|
+
['wide']: hasContentWide.value,
|
253
|
+
['empty']: !props.menuData.length
|
254
|
+
}
|
255
|
+
})
|
256
|
+
|
257
|
+
const layoutBaseStyle = computed(() => {
|
258
|
+
return hasContentWide.value
|
259
|
+
? {
|
260
|
+
minWidth: `${props.wideWidth}px`
|
261
|
+
}
|
262
|
+
: undefined
|
263
|
+
})
|
264
|
+
|
265
|
+
const layoutWideStyle = computed(() => {
|
266
|
+
return hasContentWide.value
|
267
|
+
? {
|
268
|
+
width: props.menuData.length
|
269
|
+
? `${props.wideWidth}px`
|
270
|
+
: `${props.wideWidth - props.siderWidth - 20}px`,
|
271
|
+
paddingTop: `${props.headerHeight + 20}px`
|
272
|
+
}
|
273
|
+
: undefined
|
274
|
+
})
|
275
|
+
|
276
|
+
const wrapContentStyle = computed(() => {
|
277
|
+
return hasContentWide.value
|
278
|
+
? {
|
279
|
+
minHeight: '835px'
|
280
|
+
}
|
281
|
+
: {}
|
282
|
+
})
|
283
|
+
|
284
|
+
return (
|
285
|
+
<>
|
286
|
+
{pure ? (
|
287
|
+
slots.default?.()
|
288
|
+
) : (
|
289
|
+
<div class={layoutBaseClassName.value} style={layoutBaseStyle.value}>
|
290
|
+
<Layout
|
291
|
+
class={{
|
292
|
+
[`${layoutClassName}-wide`]: hasContentWide.value
|
293
|
+
}}
|
294
|
+
style={layoutWideStyle.value}
|
295
|
+
>
|
296
|
+
<SiderMenuWrapper
|
297
|
+
{...restProps}
|
298
|
+
links={linksRender}
|
299
|
+
isMobile={isMobile.value}
|
300
|
+
menuHeaderRender={menuHeaderRender}
|
301
|
+
menuContentRender={menuContentRender}
|
302
|
+
menuExtraRender={menuExtraRender}
|
303
|
+
menuFooterRender={menuFooterRender}
|
304
|
+
collapsedButtonRender={collapsedButtonRender}
|
305
|
+
onCollapse={onCollapse}
|
306
|
+
onSelect={onSelect}
|
307
|
+
onOpenKeys={onOpenKeys}
|
308
|
+
onMenuClick={onMenuClick}
|
309
|
+
/>
|
310
|
+
<Layout style={genLayoutStyle}>
|
311
|
+
{headerDom.value}
|
312
|
+
<WrapContent
|
313
|
+
isMobile={isMobile.value}
|
314
|
+
isChildrenLayout={props.isChildrenLayout}
|
315
|
+
loading={props.loading}
|
316
|
+
isShowTabsBar={props.showTabsBar}
|
317
|
+
isFixedMultiTab={props.fixedMultiTab}
|
318
|
+
siderWidth={props.siderWidth}
|
319
|
+
collapsed={props.collapsed}
|
320
|
+
style={
|
321
|
+
props.disableContentMargin
|
322
|
+
? wrapContentStyle.value
|
323
|
+
: { ...props.contentStyle, ...wrapContentStyle.value }
|
324
|
+
}
|
325
|
+
onReloadPage={onReloadPage}
|
326
|
+
>
|
327
|
+
{slots.default?.()}
|
328
|
+
</WrapContent>
|
329
|
+
{footerRender === false ? null : footerRender ? (
|
330
|
+
footerRender(props)
|
331
|
+
) : (
|
332
|
+
<GlobalFooter copyright={copyrightRender} />
|
333
|
+
)}
|
334
|
+
</Layout>
|
335
|
+
</Layout>
|
336
|
+
</div>
|
337
|
+
)}
|
338
|
+
</>
|
339
|
+
)
|
340
|
+
}
|
341
|
+
}
|
342
|
+
})
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { defineComponent, h } from 'vue'
|
2
|
+
import { Spin, SpinProps } from 'ant-design-vue'
|
3
|
+
|
4
|
+
export type PageLoadingProps = SpinProps
|
5
|
+
|
6
|
+
const PageLoading = defineComponent({
|
7
|
+
name: 'PageLoading',
|
8
|
+
props: {
|
9
|
+
...Spin.props
|
10
|
+
},
|
11
|
+
render() {
|
12
|
+
return h(
|
13
|
+
'div',
|
14
|
+
{ style: { paddingTop: '100px', textAlign: 'center' } },
|
15
|
+
h(Spin, { ...this.$props })
|
16
|
+
)
|
17
|
+
}
|
18
|
+
})
|
19
|
+
|
20
|
+
export default PageLoading
|