@gx-design-vue/create-gx-cli 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -1
- package/template-gx-design-thin/.editorconfig +19 -0
- package/template-gx-design-thin/.env +4 -0
- package/template-gx-design-thin/.env.development +15 -0
- package/template-gx-design-thin/.env.production +28 -0
- package/template-gx-design-thin/.eslintignore +16 -0
- package/template-gx-design-thin/.prettierignore +9 -0
- package/template-gx-design-thin/LICENSE +21 -0
- package/template-gx-design-thin/README.md +112 -0
- package/template-gx-design-thin/build/constant.ts +1 -0
- package/template-gx-design-thin/build/generate/generateModifyVars.ts +14 -0
- package/template-gx-design-thin/build/rollupOptions/index.ts +22 -0
- package/template-gx-design-thin/build/util/hash.ts +17 -0
- package/template-gx-design-thin/build/util/index.ts +131 -0
- package/template-gx-design-thin/build/vite/cdn.ts +63 -0
- package/template-gx-design-thin/build/vite/optimizer.ts +26 -0
- package/template-gx-design-thin/build/vite/plugin/appConfig.ts +91 -0
- package/template-gx-design-thin/build/vite/plugin/autoImport.ts +26 -0
- package/template-gx-design-thin/build/vite/plugin/compress.ts +31 -0
- package/template-gx-design-thin/build/vite/plugin/html.ts +39 -0
- package/template-gx-design-thin/build/vite/plugin/index.ts +75 -0
- package/template-gx-design-thin/build/vite/plugin/mock.ts +14 -0
- package/template-gx-design-thin/build/vite/plugin/pwa.ts +31 -0
- package/template-gx-design-thin/build/vite/plugin/visualizer.ts +14 -0
- package/template-gx-design-thin/build/vite/plugin/viteMock/client.ts +88 -0
- package/template-gx-design-thin/build/vite/plugin/viteMock/createMockServer.ts +271 -0
- package/template-gx-design-thin/build/vite/plugin/viteMock/index.ts +69 -0
- package/template-gx-design-thin/build/vite/plugin/viteMock/types.ts +48 -0
- package/template-gx-design-thin/build/vite/plugin/viteMock/utils.ts +48 -0
- package/template-gx-design-thin/build/vite/plugin/viteNotice.ts +40 -0
- package/template-gx-design-thin/commitlint.config.cjs +32 -0
- package/template-gx-design-thin/config/default/defaultSettings.ts +78 -0
- package/template-gx-design-thin/config/default/network.ts +10 -0
- package/template-gx-design-thin/config/default/proxy.ts +47 -0
- package/template-gx-design-thin/config/default/theme.ts +3 -0
- package/template-gx-design-thin/config/index.ts +11 -0
- package/template-gx-design-thin/eslint.config.js +51 -0
- package/template-gx-design-thin/index.html +42 -0
- package/template-gx-design-thin/mock/_createProductionServer.ts +19 -0
- package/template-gx-design-thin/mock/_util.ts +33 -0
- package/template-gx-design-thin/mock/config/menu.ts +21 -0
- package/template-gx-design-thin/mock/config/user.ts +123 -0
- package/template-gx-design-thin/mock/datasSource/system/menu.ts +10 -0
- package/template-gx-design-thin/mock/datasSource/user/account.ts +30 -0
- package/template-gx-design-thin/mock/datasSource/user/index.ts +47 -0
- package/template-gx-design-thin/mock/util/crypto.ts +23 -0
- package/template-gx-design-thin/mock/util/table.ts +92 -0
- package/template-gx-design-thin/mock/util/utils.ts +73 -0
- package/template-gx-design-thin/package.json +129 -0
- package/template-gx-design-thin/pnpm-lock.yaml +12575 -0
- package/template-gx-design-thin/prettier.config.cjs +18 -0
- package/template-gx-design-thin/public/resource/css/index.css +119 -0
- package/template-gx-design-thin/public/resource/css/normalize.css +396 -0
- package/template-gx-design-thin/public/resource/img/favicon.ico +0 -0
- package/template-gx-design-thin/public/resource/img/logo.png +0 -0
- package/template-gx-design-thin/public/resource/img/pro_icon.svg +1 -0
- package/template-gx-design-thin/public/resource/img/pwa-192x192.png +0 -0
- package/template-gx-design-thin/public/resource/img/pwa-512x512.png +0 -0
- package/template-gx-design-thin/src/App.vue +42 -0
- package/template-gx-design-thin/src/assets/error_images/403.png +0 -0
- package/template-gx-design-thin/src/assets/error_images/404.png +0 -0
- package/template-gx-design-thin/src/assets/error_images/cloud.png +0 -0
- package/template-gx-design-thin/src/assets/login_images/login_background.svg +1 -0
- package/template-gx-design-thin/src/assets/logo.png +0 -0
- package/template-gx-design-thin/src/assets/menu_font/iconfont.css +94 -0
- package/template-gx-design-thin/src/assets/menu_font/iconfont.eot +0 -0
- package/template-gx-design-thin/src/assets/menu_font/iconfont.js +1 -0
- package/template-gx-design-thin/src/assets/menu_font/iconfont.json +142 -0
- package/template-gx-design-thin/src/assets/menu_font/iconfont.svg +1 -0
- package/template-gx-design-thin/src/assets/menu_font/iconfont.ttf +0 -0
- package/template-gx-design-thin/src/assets/menu_font/iconfont.woff +0 -0
- package/template-gx-design-thin/src/assets/menu_font/iconfont.woff2 +0 -0
- package/template-gx-design-thin/src/assets/menu_font/index.less +94 -0
- package/template-gx-design-thin/src/assets/public_icon/iconfont.css +42 -0
- package/template-gx-design-thin/src/assets/public_icon/iconfont.eot +0 -0
- package/template-gx-design-thin/src/assets/public_icon/iconfont.js +1 -0
- package/template-gx-design-thin/src/assets/public_icon/iconfont.json +51 -0
- package/template-gx-design-thin/src/assets/public_icon/iconfont.svg +1 -0
- package/template-gx-design-thin/src/assets/public_icon/iconfont.ttf +0 -0
- package/template-gx-design-thin/src/assets/public_icon/iconfont.woff +0 -0
- package/template-gx-design-thin/src/assets/public_icon/iconfont.woff2 +0 -0
- package/template-gx-design-thin/src/assets/public_icon/index.less +42 -0
- package/template-gx-design-thin/src/assets/public_images/nodata.svg +1 -0
- package/template-gx-design-thin/src/common/global.ts +4 -0
- package/template-gx-design-thin/src/components/GDesign/Result/index.tsx +144 -0
- package/template-gx-design-thin/src/components/GDesign/Result/style.less +140 -0
- package/template-gx-design-thin/src/components/GDesign/utils/index.ts +7 -0
- package/template-gx-design-thin/src/components/GlobalLayout/Confirm/index.ts +21 -0
- package/template-gx-design-thin/src/components/GlobalLayout/Empty/index.vue +18 -0
- package/template-gx-design-thin/src/components/GlobalLayout/RightContent/index.tsx +126 -0
- package/template-gx-design-thin/src/components/GlobalLayout/RightContent/style.ts +77 -0
- package/template-gx-design-thin/src/components/GlobalLayout/Spin/index.tsx +30 -0
- package/template-gx-design-thin/src/components/PageLoading/index.tsx +51 -0
- package/template-gx-design-thin/src/components/index.ts +6 -0
- package/template-gx-design-thin/src/core/ant-design/index.ts +10 -0
- package/template-gx-design-thin/src/core/gx-admin-design/index.ts +6 -0
- package/template-gx-design-thin/src/core/gx-design/index.ts +6 -0
- package/template-gx-design-thin/src/core/gx-pro-design/index.ts +8 -0
- package/template-gx-design-thin/src/core/index.ts +84 -0
- package/template-gx-design-thin/src/design/ant-design/index.less +4 -0
- package/template-gx-design-thin/src/design/ant-design/layout.less +22 -0
- package/template-gx-design-thin/src/design/ant-design/menu.less +48 -0
- package/template-gx-design-thin/src/design/ant-design/spin.less +23 -0
- package/template-gx-design-thin/src/design/ant-design/tooltip.less +7 -0
- package/template-gx-design-thin/src/design/color.less +1 -0
- package/template-gx-design-thin/src/design/config.less +5 -0
- package/template-gx-design-thin/src/design/imageEditor.less +180 -0
- package/template-gx-design-thin/src/design/index.less +95 -0
- package/template-gx-design-thin/src/design/mixin.less +65 -0
- package/template-gx-design-thin/src/design/normalize.less +391 -0
- package/template-gx-design-thin/src/design/root.less +3 -0
- package/template-gx-design-thin/src/hooks/core/index.ts +3 -0
- package/template-gx-design-thin/src/hooks/core/useRequest/index.ts +118 -0
- package/template-gx-design-thin/src/hooks/event/index.ts +3 -0
- package/template-gx-design-thin/src/hooks/event/useClipboard.ts +15 -0
- package/template-gx-design-thin/src/hooks/web/index.ts +5 -0
- package/template-gx-design-thin/src/hooks/web/useThemeStyle.ts +16 -0
- package/template-gx-design-thin/src/layout/BasicLayout.vue +123 -0
- package/template-gx-design-thin/src/layout/BlankLayout.vue +5 -0
- package/template-gx-design-thin/src/layout/ContentView.vue +50 -0
- package/template-gx-design-thin/src/layout/IframeView.vue +1 -0
- package/template-gx-design-thin/src/layout/UserLayout.vue +7 -0
- package/template-gx-design-thin/src/main.ts +34 -0
- package/template-gx-design-thin/src/plugins/index.ts +2 -0
- package/template-gx-design-thin/src/router/guard/index.ts +83 -0
- package/template-gx-design-thin/src/router/guard/permissions.ts +70 -0
- package/template-gx-design-thin/src/router/guard/stateGuard.ts +10 -0
- package/template-gx-design-thin/src/router/helper/routeHelper.ts +231 -0
- package/template-gx-design-thin/src/router/helper/utils.ts +19 -0
- package/template-gx-design-thin/src/router/index.ts +31 -0
- package/template-gx-design-thin/src/router/routes/index.ts +86 -0
- package/template-gx-design-thin/src/router/routes/modules/dataSource.ts +12 -0
- package/template-gx-design-thin/src/services/common/index.ts +11 -0
- package/template-gx-design-thin/src/services/systemCenter/index.ts +1 -0
- package/template-gx-design-thin/src/services/systemCenter/menu.ts +9 -0
- package/template-gx-design-thin/src/services/userCenter/account.ts +42 -0
- package/template-gx-design-thin/src/services/userCenter/index.ts +28 -0
- package/template-gx-design-thin/src/store/index.ts +32 -0
- package/template-gx-design-thin/src/store/modules/dict.ts +28 -0
- package/template-gx-design-thin/src/store/modules/global.ts +42 -0
- package/template-gx-design-thin/src/store/modules/permission.ts +19 -0
- package/template-gx-design-thin/src/store/modules/routes.ts +113 -0
- package/template-gx-design-thin/src/store/modules/tabsRouter.ts +76 -0
- package/template-gx-design-thin/src/store/modules/user.ts +136 -0
- package/template-gx-design-thin/src/utils/accessToken.ts +80 -0
- package/template-gx-design-thin/src/utils/crypto/base64.ts +101 -0
- package/template-gx-design-thin/src/utils/crypto/index.ts +57 -0
- package/template-gx-design-thin/src/utils/env.ts +50 -0
- package/template-gx-design-thin/src/utils/fetchFile.ts +81 -0
- package/template-gx-design-thin/src/utils/index.ts +123 -0
- package/template-gx-design-thin/src/utils/pageTitle.ts +20 -0
- package/template-gx-design-thin/src/utils/request/XHR.ts +139 -0
- package/template-gx-design-thin/src/utils/request/axiosCancel.ts +69 -0
- package/template-gx-design-thin/src/utils/request/checkStatus.ts +25 -0
- package/template-gx-design-thin/src/utils/request/index.ts +144 -0
- package/template-gx-design-thin/src/utils/request/typings.ts +171 -0
- package/template-gx-design-thin/src/utils/storage.ts +199 -0
- package/template-gx-design-thin/src/utils/uploadFile.ts +27 -0
- package/template-gx-design-thin/src/utils/util.ts +198 -0
- package/template-gx-design-thin/src/utils/validate.ts +216 -0
- package/template-gx-design-thin/src/views/Iframe/index.vue +76 -0
- package/template-gx-design-thin/src/views/Page/one.vue +13 -0
- package/template-gx-design-thin/src/views/Page/two.vue +13 -0
- package/template-gx-design-thin/src/views/exception/403/index.vue +7 -0
- package/template-gx-design-thin/src/views/exception/404/index.vue +9 -0
- package/template-gx-design-thin/src/views/user/login/index.vue +109 -0
- package/template-gx-design-thin/src/views/user/login/style.less +38 -0
- package/template-gx-design-thin/tsconfig.json +46 -0
- package/template-gx-design-thin/types/ant-design-import.d.ts +99 -0
- package/template-gx-design-thin/types/auto-imports.d.ts +81 -0
- package/template-gx-design-thin/types/components.d.ts +24 -0
- package/template-gx-design-thin/types/config.d.ts +44 -0
- package/template-gx-design-thin/types/global.d.ts +97 -0
- package/template-gx-design-thin/types/mock.d.ts +16 -0
- package/template-gx-design-thin/types/module.d.ts +20 -0
- package/template-gx-design-thin/types/response.d.ts +15 -0
- package/template-gx-design-thin/unocss.config.ts +101 -0
- package/template-gx-design-thin/vite.config.ts +120 -0
- package/template-gx-design-thin/yarn.lock +9492 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
module.exports = {
|
2
|
+
printWidth: 100,
|
3
|
+
useTabs: false,
|
4
|
+
semi: false,
|
5
|
+
singleQuote: true,
|
6
|
+
quoteProps: 'as-needed',
|
7
|
+
bracketSpacing: true,
|
8
|
+
trailingComma: 'none',
|
9
|
+
jsxBracketSameLine: false,
|
10
|
+
jsxSingleQuote: false,
|
11
|
+
arrowParens: 'always',
|
12
|
+
insertPragma: false,
|
13
|
+
requirePragma: false,
|
14
|
+
proseWrap: 'never',
|
15
|
+
htmlWhitespaceSensitivity: 'strict',
|
16
|
+
endOfLine: 'auto',
|
17
|
+
rangeStart: 0,
|
18
|
+
};
|
@@ -0,0 +1,119 @@
|
|
1
|
+
html,
|
2
|
+
body,
|
3
|
+
#app {
|
4
|
+
height: 100%;
|
5
|
+
margin: 0;
|
6
|
+
padding: 0;
|
7
|
+
}
|
8
|
+
#app {
|
9
|
+
background-repeat: no-repeat;
|
10
|
+
background-size: 100% auto;
|
11
|
+
}
|
12
|
+
.gx-app-loading {
|
13
|
+
display: flex;
|
14
|
+
align-items: center;
|
15
|
+
justify-content: center;
|
16
|
+
flex-direction: column;
|
17
|
+
height: 100%;
|
18
|
+
min-height: 420px;
|
19
|
+
}
|
20
|
+
.gx-app-title {
|
21
|
+
display: flex;
|
22
|
+
align-items: center;
|
23
|
+
font-size: 45px;
|
24
|
+
font-weight: 600;
|
25
|
+
}
|
26
|
+
.gx-app-title img {
|
27
|
+
width: 100px;
|
28
|
+
}
|
29
|
+
.page-loading-warp {
|
30
|
+
display: flex;
|
31
|
+
align-items: center;
|
32
|
+
justify-content: center;
|
33
|
+
flex-direction: column;
|
34
|
+
padding: 98px;
|
35
|
+
}
|
36
|
+
.page-loading-warp .page-loading-warp_mseeage {
|
37
|
+
display: flex;
|
38
|
+
align-items: center;
|
39
|
+
justify-content: center;
|
40
|
+
flex-direction: column;
|
41
|
+
gap: 15px;
|
42
|
+
margin-top: 80px;
|
43
|
+
}
|
44
|
+
.page-loading-warp .page-loading-warp_mseeage .page-loading_title {
|
45
|
+
font-size: 20px;
|
46
|
+
}
|
47
|
+
.page-loading-warp .page-loading-warp_mseeage .page-loading_sub_title {
|
48
|
+
color: #666;
|
49
|
+
font-size: 16px;
|
50
|
+
}
|
51
|
+
.gx-spin {
|
52
|
+
position: absolute;
|
53
|
+
display: none;
|
54
|
+
-webkit-box-sizing: border-box;
|
55
|
+
box-sizing: border-box;
|
56
|
+
margin: 0;
|
57
|
+
padding: 0;
|
58
|
+
color: rgba(0, 0, 0, 0.65);
|
59
|
+
font-size: 14px;
|
60
|
+
font-variant: tabular-nums;
|
61
|
+
line-height: 1.5;
|
62
|
+
text-align: center;
|
63
|
+
list-style: none;
|
64
|
+
opacity: 0;
|
65
|
+
-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
66
|
+
transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
67
|
+
transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
68
|
+
transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86),
|
69
|
+
-webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
70
|
+
-webkit-font-feature-settings: 'tnum';
|
71
|
+
font-feature-settings: 'tnum';
|
72
|
+
}
|
73
|
+
|
74
|
+
.gx-spin-spinning {
|
75
|
+
position: static;
|
76
|
+
display: inline-block;
|
77
|
+
opacity: 1;
|
78
|
+
}
|
79
|
+
|
80
|
+
.gx-spin-dot {
|
81
|
+
position: relative;
|
82
|
+
display: inline-block;
|
83
|
+
width: 40px;
|
84
|
+
height: 40px;
|
85
|
+
}
|
86
|
+
|
87
|
+
.gx-spin-dot-spin {
|
88
|
+
-webkit-transform: rotate(45deg);
|
89
|
+
-ms-transform: rotate(45deg);
|
90
|
+
transform: rotate(45deg);
|
91
|
+
-webkit-animation: gxRotate 1.2s infinite linear;
|
92
|
+
animation: gxRotate 1.2s infinite linear;
|
93
|
+
}
|
94
|
+
|
95
|
+
@-webkit-keyframes gxSpinMove {
|
96
|
+
to {
|
97
|
+
opacity: 1;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
@keyframes gxSpinMove {
|
102
|
+
to {
|
103
|
+
opacity: 1;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
@-webkit-keyframes gxRotate {
|
108
|
+
to {
|
109
|
+
-webkit-transform: rotate(405deg);
|
110
|
+
transform: rotate(405deg);
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
@keyframes gxRotate {
|
115
|
+
to {
|
116
|
+
-webkit-transform: rotate(405deg);
|
117
|
+
transform: rotate(405deg);
|
118
|
+
}
|
119
|
+
}
|
@@ -0,0 +1,396 @@
|
|
1
|
+
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
2
|
+
|
3
|
+
/* Document
|
4
|
+
========================================================================== */
|
5
|
+
|
6
|
+
/**
|
7
|
+
* 1. Correct the line height in all browsers.
|
8
|
+
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
9
|
+
*/
|
10
|
+
|
11
|
+
html {
|
12
|
+
line-height: 1.15;
|
13
|
+
/* 1 */
|
14
|
+
-webkit-text-size-adjust: 100%;
|
15
|
+
/* 2 */
|
16
|
+
}
|
17
|
+
|
18
|
+
/* Sections
|
19
|
+
========================================================================== */
|
20
|
+
|
21
|
+
/**
|
22
|
+
* Remove the margin in all browsers.
|
23
|
+
*/
|
24
|
+
|
25
|
+
body {
|
26
|
+
margin: 0;
|
27
|
+
text-rendering: optimizeLegibility;
|
28
|
+
-webkit-font-smoothing: antialiased;
|
29
|
+
-moz-osx-font-smoothing: grayscale;
|
30
|
+
font-size: 100%;
|
31
|
+
}
|
32
|
+
|
33
|
+
h1,
|
34
|
+
h2,
|
35
|
+
h3,
|
36
|
+
h4,
|
37
|
+
h5,
|
38
|
+
h6,
|
39
|
+
p {
|
40
|
+
box-sizing: border-box;
|
41
|
+
padding: 0;
|
42
|
+
margin: 0;
|
43
|
+
vertical-align: baseline;
|
44
|
+
border: 0;
|
45
|
+
outline: 0;
|
46
|
+
}
|
47
|
+
|
48
|
+
body * {
|
49
|
+
box-sizing: border-box;
|
50
|
+
}
|
51
|
+
|
52
|
+
/**
|
53
|
+
* Render the `main` element consistently in IE.
|
54
|
+
*/
|
55
|
+
|
56
|
+
main {
|
57
|
+
display: block;
|
58
|
+
}
|
59
|
+
|
60
|
+
canvas {
|
61
|
+
display: block;
|
62
|
+
}
|
63
|
+
|
64
|
+
/* Grouping content
|
65
|
+
========================================================================== */
|
66
|
+
|
67
|
+
/**
|
68
|
+
* 1. Add the correct box sizing in Firefox.
|
69
|
+
* 2. Show the overflow in Edge and IE.
|
70
|
+
*/
|
71
|
+
|
72
|
+
hr {
|
73
|
+
box-sizing: content-box;
|
74
|
+
/* 1 */
|
75
|
+
height: 0;
|
76
|
+
/* 1 */
|
77
|
+
overflow: visible;
|
78
|
+
/* 2 */
|
79
|
+
}
|
80
|
+
|
81
|
+
/**
|
82
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
83
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
84
|
+
*/
|
85
|
+
|
86
|
+
pre {
|
87
|
+
font-family: monospace;
|
88
|
+
/* 1 */
|
89
|
+
font-size: 1em;
|
90
|
+
/* 2 */
|
91
|
+
}
|
92
|
+
|
93
|
+
/* Text-level semantics
|
94
|
+
========================================================================== */
|
95
|
+
|
96
|
+
/**
|
97
|
+
* Remove the gray background on active links in IE 10.
|
98
|
+
*/
|
99
|
+
|
100
|
+
a {
|
101
|
+
background-color: transparent;
|
102
|
+
}
|
103
|
+
|
104
|
+
/**
|
105
|
+
* 1. Remove the bottom border in Chrome 57-
|
106
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
107
|
+
*/
|
108
|
+
|
109
|
+
abbr[title] {
|
110
|
+
text-decoration: underline;
|
111
|
+
/* 2 */
|
112
|
+
text-decoration: underline dotted;
|
113
|
+
/* 2 */
|
114
|
+
border-bottom: none;
|
115
|
+
/* 1 */
|
116
|
+
}
|
117
|
+
|
118
|
+
/**
|
119
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
120
|
+
*/
|
121
|
+
|
122
|
+
b,
|
123
|
+
strong {
|
124
|
+
font-weight: bolder;
|
125
|
+
}
|
126
|
+
|
127
|
+
/**
|
128
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
129
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
130
|
+
*/
|
131
|
+
|
132
|
+
code,
|
133
|
+
kbd,
|
134
|
+
samp {
|
135
|
+
font-family: monospace;
|
136
|
+
/* 1 */
|
137
|
+
font-size: 1em;
|
138
|
+
/* 2 */
|
139
|
+
}
|
140
|
+
|
141
|
+
/**
|
142
|
+
* Add the correct font size in all browsers.
|
143
|
+
*/
|
144
|
+
|
145
|
+
small {
|
146
|
+
font-size: 80%;
|
147
|
+
}
|
148
|
+
|
149
|
+
/**
|
150
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
151
|
+
* all browsers.
|
152
|
+
*/
|
153
|
+
|
154
|
+
sub,
|
155
|
+
sup {
|
156
|
+
position: relative;
|
157
|
+
font-size: 75%;
|
158
|
+
line-height: 0;
|
159
|
+
vertical-align: baseline;
|
160
|
+
}
|
161
|
+
|
162
|
+
sub {
|
163
|
+
bottom: -0.25em;
|
164
|
+
}
|
165
|
+
|
166
|
+
sup {
|
167
|
+
top: -0.5em;
|
168
|
+
}
|
169
|
+
|
170
|
+
/* Embedded content
|
171
|
+
========================================================================== */
|
172
|
+
|
173
|
+
/**
|
174
|
+
* Remove the border on images inside links in IE 10.
|
175
|
+
*/
|
176
|
+
|
177
|
+
img {
|
178
|
+
border-style: none;
|
179
|
+
}
|
180
|
+
|
181
|
+
/* Forms
|
182
|
+
========================================================================== */
|
183
|
+
|
184
|
+
/**
|
185
|
+
* 1. Change the font styles in all browsers.
|
186
|
+
* 2. Remove the margin in Firefox and Safari.
|
187
|
+
*/
|
188
|
+
|
189
|
+
button,
|
190
|
+
input,
|
191
|
+
optgroup,
|
192
|
+
select,
|
193
|
+
textarea {
|
194
|
+
margin: 0;
|
195
|
+
/* 2 */
|
196
|
+
font-family: inherit;
|
197
|
+
/* 1 */
|
198
|
+
font-size: 100%;
|
199
|
+
/* 1 */
|
200
|
+
line-height: 1.15;
|
201
|
+
/* 1 */
|
202
|
+
}
|
203
|
+
|
204
|
+
/**
|
205
|
+
* Show the overflow in IE.
|
206
|
+
* 1. Show the overflow in Edge.
|
207
|
+
*/
|
208
|
+
|
209
|
+
button,
|
210
|
+
input {
|
211
|
+
/* 1 */
|
212
|
+
overflow: visible;
|
213
|
+
}
|
214
|
+
|
215
|
+
/**
|
216
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
217
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
218
|
+
*/
|
219
|
+
|
220
|
+
button,
|
221
|
+
select {
|
222
|
+
/* 1 */
|
223
|
+
text-transform: none;
|
224
|
+
}
|
225
|
+
|
226
|
+
/**
|
227
|
+
* Correct the inability to style clickable types in iOS and Safari.
|
228
|
+
*/
|
229
|
+
|
230
|
+
button,
|
231
|
+
[type='button'],
|
232
|
+
[type='reset'],
|
233
|
+
[type='submit'] {
|
234
|
+
-webkit-appearance: button;
|
235
|
+
}
|
236
|
+
|
237
|
+
/**
|
238
|
+
* Remove the inner border and padding in Firefox.
|
239
|
+
*/
|
240
|
+
|
241
|
+
button::-moz-focus-inner,
|
242
|
+
[type='button']::-moz-focus-inner,
|
243
|
+
[type='reset']::-moz-focus-inner,
|
244
|
+
[type='submit']::-moz-focus-inner {
|
245
|
+
padding: 0;
|
246
|
+
border-style: none;
|
247
|
+
}
|
248
|
+
|
249
|
+
/**
|
250
|
+
* Restore the focus styles unset by the previous rule.
|
251
|
+
*/
|
252
|
+
|
253
|
+
button:-moz-focusring,
|
254
|
+
[type='button']:-moz-focusring,
|
255
|
+
[type='reset']:-moz-focusring,
|
256
|
+
[type='submit']:-moz-focusring {
|
257
|
+
outline: 1px dotted ButtonText;
|
258
|
+
}
|
259
|
+
|
260
|
+
/**
|
261
|
+
* Correct the padding in Firefox.
|
262
|
+
*/
|
263
|
+
|
264
|
+
fieldset {
|
265
|
+
padding: 0.35em 0.75em 0.625em;
|
266
|
+
}
|
267
|
+
|
268
|
+
/**
|
269
|
+
* 1. Correct the text wrapping in Edge and IE.
|
270
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
271
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
272
|
+
* `fieldset` elements in all browsers.
|
273
|
+
*/
|
274
|
+
|
275
|
+
legend {
|
276
|
+
box-sizing: border-box;
|
277
|
+
/* 1 */
|
278
|
+
display: table;
|
279
|
+
/* 1 */
|
280
|
+
max-width: 100%;
|
281
|
+
/* 1 */
|
282
|
+
padding: 0;
|
283
|
+
/* 3 */
|
284
|
+
color: inherit;
|
285
|
+
/* 2 */
|
286
|
+
white-space: normal;
|
287
|
+
/* 1 */
|
288
|
+
}
|
289
|
+
|
290
|
+
/**
|
291
|
+
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
292
|
+
*/
|
293
|
+
|
294
|
+
progress {
|
295
|
+
vertical-align: baseline;
|
296
|
+
}
|
297
|
+
|
298
|
+
/**
|
299
|
+
* Remove the default vertical scrollbar in IE 10+.
|
300
|
+
*/
|
301
|
+
|
302
|
+
textarea {
|
303
|
+
overflow: auto;
|
304
|
+
}
|
305
|
+
|
306
|
+
/**
|
307
|
+
* 1. Add the correct box sizing in IE 10.
|
308
|
+
* 2. Remove the padding in IE 10.
|
309
|
+
*/
|
310
|
+
|
311
|
+
[type='checkbox'],
|
312
|
+
[type='radio'] {
|
313
|
+
box-sizing: border-box;
|
314
|
+
/* 1 */
|
315
|
+
padding: 0;
|
316
|
+
/* 2 */
|
317
|
+
}
|
318
|
+
|
319
|
+
/**
|
320
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
321
|
+
*/
|
322
|
+
|
323
|
+
[type='number']::-webkit-inner-spin-button,
|
324
|
+
[type='number']::-webkit-outer-spin-button {
|
325
|
+
height: auto;
|
326
|
+
}
|
327
|
+
|
328
|
+
/**
|
329
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
330
|
+
* 2. Correct the outline style in Safari.
|
331
|
+
*/
|
332
|
+
|
333
|
+
[type='search'] {
|
334
|
+
-webkit-appearance: textfield;
|
335
|
+
/* 1 */
|
336
|
+
outline-offset: -2px;
|
337
|
+
/* 2 */
|
338
|
+
}
|
339
|
+
|
340
|
+
/**
|
341
|
+
* Remove the inner padding in Chrome and Safari on macOS.
|
342
|
+
*/
|
343
|
+
|
344
|
+
[type='search']::-webkit-search-decoration {
|
345
|
+
-webkit-appearance: none;
|
346
|
+
}
|
347
|
+
|
348
|
+
/**
|
349
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
350
|
+
* 2. Change font properties to `inherit` in Safari.
|
351
|
+
*/
|
352
|
+
|
353
|
+
::-webkit-file-upload-button {
|
354
|
+
-webkit-appearance: button;
|
355
|
+
/* 1 */
|
356
|
+
font: inherit;
|
357
|
+
/* 2 */
|
358
|
+
}
|
359
|
+
|
360
|
+
/* Interactive
|
361
|
+
========================================================================== */
|
362
|
+
|
363
|
+
/*
|
364
|
+
* Add the correct display in Edge, IE 10+, and Firefox.
|
365
|
+
*/
|
366
|
+
|
367
|
+
details {
|
368
|
+
display: block;
|
369
|
+
}
|
370
|
+
|
371
|
+
/*
|
372
|
+
* Add the correct display in all browsers.
|
373
|
+
*/
|
374
|
+
|
375
|
+
summary {
|
376
|
+
display: list-item;
|
377
|
+
}
|
378
|
+
|
379
|
+
/* Misc
|
380
|
+
========================================================================== */
|
381
|
+
|
382
|
+
/**
|
383
|
+
* Add the correct display in IE 10+.
|
384
|
+
*/
|
385
|
+
|
386
|
+
template {
|
387
|
+
display: none;
|
388
|
+
}
|
389
|
+
|
390
|
+
/**
|
391
|
+
* Add the correct display in IE 10.
|
392
|
+
*/
|
393
|
+
|
394
|
+
[hidden] {
|
395
|
+
display: none;
|
396
|
+
}
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="42" height="42"><g><path id="Ant-Design-Pro" fill="#070707" d="m6.717392,13.773912l5.6,0c2.8,0 4.7,1.9 4.7,4.7c0,2.8 -2,4.7 -4.9,4.7l-2.5,0l0,4.3l-2.9,0l0,-13.7zm2.9,2.2l0,4.9l1.9,0c1.6,0 2.6,-0.9 2.6,-2.4c0,-1.6 -0.9,-2.4 -2.6,-2.4l-1.9,0l0,-0.1zm8.9,11.5l2.7,0l0,-5.7c0,-1.4 0.8,-2.3 2.2,-2.3c0.4,0 0.8,0.1 1,0.2l0,-2.4c-0.2,-0.1 -0.5,-0.1 -0.8,-0.1c-1.2,0 -2.1,0.7 -2.4,2l-0.1,0l0,-1.9l-2.7,0l0,10.2l0.1,0zm11.7,0.1c-3.1,0 -5,-2 -5,-5.3c0,-3.3 2,-5.3 5,-5.3s5,2 5,5.3c0,3.4 -1.9,5.3 -5,5.3zm0,-2.1c1.4,0 2.2,-1.1 2.2,-3.2c0,-2 -0.8,-3.2 -2.2,-3.2c-1.4,0 -2.2,1.2 -2.2,3.2c0,2.1 0.8,3.2 2.2,3.2z" class="st0"/></g></svg>
|
Binary file
|
Binary file
|
@@ -0,0 +1,42 @@
|
|
1
|
+
<script setup lang="ts">
|
2
|
+
import ProConfigProvider from '@gx-design-vue/pro-provider'
|
3
|
+
import zhCN from 'ant-design-vue/es/locale/zh_CN'
|
4
|
+
import { GProApp } from '@gx-design-vue/pro-app'
|
5
|
+
import PageLoading from '@/components/PageLoading'
|
6
|
+
import Empty from '@/components/GlobalLayout/Empty/index.vue'
|
7
|
+
|
8
|
+
const indicator = h('i', {
|
9
|
+
class: 'iconfont gx-jiazaizhong gx-admin-spin',
|
10
|
+
spin: true
|
11
|
+
})
|
12
|
+
|
13
|
+
const { global, routes } = useStore()
|
14
|
+
const route = useRoute()
|
15
|
+
const router = useRouter()
|
16
|
+
|
17
|
+
const loading = computed(() => routes.routerLoading)
|
18
|
+
|
19
|
+
|
20
|
+
watchEffect(() => {
|
21
|
+
console.log(router.getRoutes())
|
22
|
+
})
|
23
|
+
</script>
|
24
|
+
|
25
|
+
<template>
|
26
|
+
<ProConfigProvider :locale="zhCN" :token="{ colorPrimary: global.globalLayout.primaryColor }">
|
27
|
+
<template #renderEmpty>
|
28
|
+
<Empty :text="false" />
|
29
|
+
</template>
|
30
|
+
<GProApp :indicator="indicator" class="h-full">
|
31
|
+
<template #emptyText>
|
32
|
+
<Empty />
|
33
|
+
</template>
|
34
|
+
<div id="gx-pro-admin">
|
35
|
+
<g-scrollbars :bar-style="{ zIndex: 110 }">
|
36
|
+
<router-view />
|
37
|
+
</g-scrollbars>
|
38
|
+
<PageLoading :loading="loading && route.fullPath === '/'" />
|
39
|
+
</div>
|
40
|
+
</GProApp>
|
41
|
+
</ProConfigProvider>
|
42
|
+
</template>
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1361" height="609" version="1.1" viewBox="0 0 1361 609"><title>Group 21</title><desc>Created with Sketch.</desc><g id="Ant-Design-Pro-3.0" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="账户密码登录-校验" transform="translate(-79.000000, -82.000000)"><g id="Group-21" transform="translate(77.000000, 73.000000)"><g id="Group-18" opacity=".8" transform="translate(74.901416, 569.699158) rotate(-7.000000) translate(-74.901416, -569.699158) translate(4.901416, 525.199158)"><ellipse id="Oval-11" cx="63.575" cy="32.468" fill="#CFDAE6" opacity=".25" rx="21.783" ry="21.766"/><ellipse id="Oval-3" cx="5.987" cy="13.867" fill="#CFDAE6" opacity=".6" rx="5.217" ry="5.213"/><path id="Oval-3-Copy" fill="#CFDAE6" d="M38.1354514,88.3520215 C43.8984227,88.3520215 48.570234,83.6838647 48.570234,77.9254015 C48.570234,72.1669383 43.8984227,67.4987816 38.1354514,67.4987816 C32.3724801,67.4987816 27.7006688,72.1669383 27.7006688,77.9254015 C27.7006688,83.6838647 32.3724801,88.3520215 38.1354514,88.3520215 Z" opacity=".45"/><path id="Path-12" stroke="#CFDAE6" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.739" d="M64.2775582,33.1704963 L119.185836,16.5654915"/><path id="Path-16" stroke="#E0B4B7" stroke-dasharray="1.405 2.108" stroke-linecap="round" stroke-linejoin="round" stroke-width=".703" d="M42.1431708,26.5002681 L7.71190162,14.5640702" opacity=".7"/><path id="Path-15" stroke="#BACAD9" stroke-dasharray="1.405 2.108" stroke-linecap="round" stroke-linejoin="round" stroke-width=".703" d="M63.9262187,33.521561 L43.6721326,69.3250951"/><g id="Group-17" fill="#CFDAE6" transform="translate(126.850922, 13.543654) rotate(30.000000) translate(-126.850922, -13.543654) translate(117.285705, 4.381889)"><ellipse id="Oval-4" cx="9.135" cy="9.128" opacity=".45" rx="9.135" ry="9.128"/><path id="Oval-4" d="M18.2696531,18.2553615 C18.2696531,13.2142826 14.1798519,9.12768076 9.13482653,9.12768076 C4.08980114,9.12768076 0,13.2142826 0,18.2553615 L18.2696531,18.2553615 Z" transform="translate(9.134827, 13.691521) scale(-1, -1) translate(-9.134827, -13.691521)"/></g></g><g id="Group-14" transform="translate(216.294700, 123.725600) rotate(-5.000000) translate(-216.294700, -123.725600) translate(106.294700, 35.225600)"><ellipse id="Oval-2" cx="29.118" cy="29.14" fill="#CFDAE6" opacity=".25" rx="29.118" ry="29.14"/><ellipse id="Oval-2" cx="29.118" cy="29.14" fill="#CFDAE6" opacity=".3" rx="21.569" ry="21.585"/><ellipse id="Oval-2-Copy" cx="179.02" cy="138.146" stroke="#CFDAE6" opacity=".4" rx="23.725" ry="23.744"/><ellipse id="Oval-2" cx="29.118" cy="29.14" fill="#BACAD9" opacity=".5" rx="10.784" ry="10.793"/><path id="Oval-2" fill="#BACAD9" d="M29.1176471,39.9329268 L29.1176471,18.347561 C23.1616351,18.347561 18.3333333,23.1796097 18.3333333,29.1402439 C18.3333333,35.1008781 23.1616351,39.9329268 29.1176471,39.9329268 Z"/><g id="Group-9" fill="#E6A1A6" opacity=".45" transform="translate(172.000000, 131.000000)"><ellipse id="Oval-2-Copy-2" cx="7.02" cy="7.146" rx="6.471" ry="6.476"/><path id="Oval-2-Copy-2" d="M0.549019608,13.6219512 C4.12262681,13.6219512 7.01960784,10.722722 7.01960784,7.14634146 C7.01960784,3.56996095 4.12262681,0.670731707 0.549019608,0.670731707 L0.549019608,13.6219512 Z" transform="translate(3.784314, 7.146341) scale(-1, 1) translate(-3.784314, -7.146341)"/></g><ellipse id="Oval-10" cx="218.382" cy="138.686" fill="#CFDAE6" rx="1.618" ry="1.619"/><ellipse id="Oval-10-Copy-2" cx="179.559" cy="175.381" fill="#E0B4B7" opacity=".35" rx="1.618" ry="1.619"/><ellipse id="Oval-10-Copy" cx="180.098" cy="102.53" fill="#E0B4B7" opacity=".35" rx="2.157" ry="2.159"/><path id="Path-11" stroke="#CFDAE6" d="M28.9985381,29.9671598 L171.151018,132.876024" opacity=".8"/></g><g id="Group-10" opacity=".8" transform="translate(1054.100635, 36.659317) rotate(-11.000000) translate(-1054.100635, -36.659317) translate(1026.600635, 4.659317)"><ellipse id="Oval-7" cx="43.814" cy="32" stroke="#CFDAE6" stroke-width=".941" rx="11.186" ry="11.294"/><g id="Group-12" fill="#BACAD9" transform="translate(34.596774, 23.111111)"><ellipse id="Oval-7" cx="9.185" cy="8.889" opacity=".45" rx="8.475" ry="8.556"/><path id="Oval-7" d="M9.18534718,17.4450386 C13.8657264,17.4450386 17.6599235,13.6143199 17.6599235,8.88888889 C17.6599235,4.16345787 13.8657264,0.332739156 9.18534718,0.332739156 L9.18534718,17.4450386 Z"/></g><path id="Path-2" stroke="#CFDAE6" stroke-width=".941" d="M34.6597385,24.809694 L5.71666084,4.76878945"/><ellipse id="Oval" cx="3.263" cy="3.294" stroke="#CFDAE6" stroke-width=".941" rx="3.263" ry="3.294"/><ellipse id="Oval-Copy" cx="2.797" cy="61.176" fill="#F7E1AD" rx="2.797" ry="2.824"/><path id="Path-10" stroke="#CFDAE6" stroke-width=".941" d="M34.6312443,39.2922712 L5.06366663,59.785082"/></g><g id="Group-19" opacity=".33" transform="translate(1282.537219, 446.502867) rotate(-10.000000) translate(-1282.537219, -446.502867) translate(1142.537219, 327.502867)"><g id="Group-17" fill="#BACAD9" transform="translate(141.333539, 104.502742) rotate(275.000000) translate(-141.333539, -104.502742) translate(129.333539, 92.502742)"><circle id="Oval-4" cx="11.667" cy="11.667" r="11.667" opacity=".45"/><path id="Oval-4" d="M23.3333333,23.3333333 C23.3333333,16.8900113 18.1099887,11.6666667 11.6666667,11.6666667 C5.22334459,11.6666667 0,16.8900113 0,23.3333333 L23.3333333,23.3333333 Z" transform="translate(11.666667, 17.500000) scale(-1, -1) translate(-11.666667, -17.500000)"/></g><circle id="Oval-5-Copy-6" cx="201.833" cy="87.5" r="5.833" fill="#CFDAE6"/><path id="Path-17" stroke="#BACAD9" stroke-width="1.167" d="M143.5,88.8126685 L155.070501,17.6038544"/><path id="Path-18" stroke="#BACAD9" stroke-width="1.167" d="M17.5,37.3333333 L127.466252,97.6449735"/><polyline id="Path-19" stroke="#CFDAE6" stroke-width="1.167" points="143.903 120.302 174.935 231.571 38.5 147.511 126.367 110.833"/><path id="Path-20" stroke="#E0B4B7" stroke-width="1.167" d="M159.833333,99.7453842 L195.416667,89.25" opacity=".6"/><path id="Path-24" stroke="#BACAD9" stroke-width="1.167" d="M205.333333,82.1372105 L238.719406,36.1666667"/><path id="Path-25" stroke="#CFDAE6" stroke-width="1.167" d="M266.723424,132.231988 L207.083333,90.4166667"/><circle id="Oval-5" cx="156.917" cy="8.75" r="8.75" fill="#C1D1E0"/><circle id="Oval-5-Copy-3" cx="39.083" cy="148.75" r="5.25" fill="#C1D1E0"/><circle id="Oval-5-Copy-2" cx="8.75" cy="33.25" r="8.75" fill="#D1DEED" fill-opacity=".6"/><circle id="Oval-5-Copy-4" cx="243.833" cy="30.333" r="5.833" fill="#D1DEED" fill-opacity=".6"/><circle id="Oval-5-Copy-5" cx="175.583" cy="232.75" r="5.25" fill="#E0B4B7"/></g></g></g></g></svg>
|
Binary file
|