@gx-design-vue/create-gx-cli 0.1.11 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (184) hide show
  1. package/bin/create-gx-cli +3 -2
  2. package/package.json +4 -4
  3. package/src/cli.js +10 -7
  4. package/src/git.js +8 -5
  5. package/src/main.js +29 -16
  6. package/template-mobile-vant-cli/package.json +5 -5
  7. package/template-gx-design-thin/.editorconfig +0 -19
  8. package/template-gx-design-thin/.env +0 -4
  9. package/template-gx-design-thin/.env.development +0 -15
  10. package/template-gx-design-thin/.env.production +0 -28
  11. package/template-gx-design-thin/.eslintignore +0 -16
  12. package/template-gx-design-thin/.prettierignore +0 -9
  13. package/template-gx-design-thin/LICENSE +0 -21
  14. package/template-gx-design-thin/README.md +0 -112
  15. package/template-gx-design-thin/build/constant.ts +0 -1
  16. package/template-gx-design-thin/build/generate/generateModifyVars.ts +0 -14
  17. package/template-gx-design-thin/build/rollupOptions/index.ts +0 -22
  18. package/template-gx-design-thin/build/util/hash.ts +0 -17
  19. package/template-gx-design-thin/build/util/index.ts +0 -131
  20. package/template-gx-design-thin/build/vite/cdn.ts +0 -63
  21. package/template-gx-design-thin/build/vite/optimizer.ts +0 -26
  22. package/template-gx-design-thin/build/vite/plugin/appConfig.ts +0 -91
  23. package/template-gx-design-thin/build/vite/plugin/autoImport.ts +0 -26
  24. package/template-gx-design-thin/build/vite/plugin/compress.ts +0 -31
  25. package/template-gx-design-thin/build/vite/plugin/html.ts +0 -39
  26. package/template-gx-design-thin/build/vite/plugin/index.ts +0 -75
  27. package/template-gx-design-thin/build/vite/plugin/mock.ts +0 -14
  28. package/template-gx-design-thin/build/vite/plugin/pwa.ts +0 -31
  29. package/template-gx-design-thin/build/vite/plugin/visualizer.ts +0 -14
  30. package/template-gx-design-thin/build/vite/plugin/viteMock/client.ts +0 -88
  31. package/template-gx-design-thin/build/vite/plugin/viteMock/createMockServer.ts +0 -271
  32. package/template-gx-design-thin/build/vite/plugin/viteMock/index.ts +0 -69
  33. package/template-gx-design-thin/build/vite/plugin/viteMock/types.ts +0 -48
  34. package/template-gx-design-thin/build/vite/plugin/viteMock/utils.ts +0 -48
  35. package/template-gx-design-thin/build/vite/plugin/viteNotice.ts +0 -40
  36. package/template-gx-design-thin/commitlint.config.cjs +0 -32
  37. package/template-gx-design-thin/config/default/defaultSettings.ts +0 -78
  38. package/template-gx-design-thin/config/default/network.ts +0 -10
  39. package/template-gx-design-thin/config/default/proxy.ts +0 -47
  40. package/template-gx-design-thin/config/default/theme.ts +0 -3
  41. package/template-gx-design-thin/config/index.ts +0 -11
  42. package/template-gx-design-thin/eslint.config.js +0 -51
  43. package/template-gx-design-thin/index.html +0 -42
  44. package/template-gx-design-thin/mock/_createProductionServer.ts +0 -19
  45. package/template-gx-design-thin/mock/_util.ts +0 -33
  46. package/template-gx-design-thin/mock/config/menu.ts +0 -21
  47. package/template-gx-design-thin/mock/config/user.ts +0 -123
  48. package/template-gx-design-thin/mock/datasSource/system/menu.ts +0 -10
  49. package/template-gx-design-thin/mock/datasSource/user/account.ts +0 -30
  50. package/template-gx-design-thin/mock/datasSource/user/index.ts +0 -47
  51. package/template-gx-design-thin/mock/util/crypto.ts +0 -23
  52. package/template-gx-design-thin/mock/util/table.ts +0 -92
  53. package/template-gx-design-thin/mock/util/utils.ts +0 -73
  54. package/template-gx-design-thin/package.json +0 -129
  55. package/template-gx-design-thin/pnpm-lock.yaml +0 -12575
  56. package/template-gx-design-thin/prettier.config.cjs +0 -18
  57. package/template-gx-design-thin/public/resource/css/index.css +0 -119
  58. package/template-gx-design-thin/public/resource/css/normalize.css +0 -396
  59. package/template-gx-design-thin/public/resource/img/favicon.ico +0 -0
  60. package/template-gx-design-thin/public/resource/img/logo.png +0 -0
  61. package/template-gx-design-thin/public/resource/img/pro_icon.svg +0 -1
  62. package/template-gx-design-thin/public/resource/img/pwa-192x192.png +0 -0
  63. package/template-gx-design-thin/public/resource/img/pwa-512x512.png +0 -0
  64. package/template-gx-design-thin/src/App.vue +0 -42
  65. package/template-gx-design-thin/src/assets/error_images/403.png +0 -0
  66. package/template-gx-design-thin/src/assets/error_images/404.png +0 -0
  67. package/template-gx-design-thin/src/assets/error_images/cloud.png +0 -0
  68. package/template-gx-design-thin/src/assets/login_images/login_background.svg +0 -1
  69. package/template-gx-design-thin/src/assets/logo.png +0 -0
  70. package/template-gx-design-thin/src/assets/menu_font/iconfont.css +0 -94
  71. package/template-gx-design-thin/src/assets/menu_font/iconfont.eot +0 -0
  72. package/template-gx-design-thin/src/assets/menu_font/iconfont.js +0 -1
  73. package/template-gx-design-thin/src/assets/menu_font/iconfont.json +0 -142
  74. package/template-gx-design-thin/src/assets/menu_font/iconfont.svg +0 -1
  75. package/template-gx-design-thin/src/assets/menu_font/iconfont.ttf +0 -0
  76. package/template-gx-design-thin/src/assets/menu_font/iconfont.woff +0 -0
  77. package/template-gx-design-thin/src/assets/menu_font/iconfont.woff2 +0 -0
  78. package/template-gx-design-thin/src/assets/menu_font/index.less +0 -94
  79. package/template-gx-design-thin/src/assets/public_icon/iconfont.css +0 -42
  80. package/template-gx-design-thin/src/assets/public_icon/iconfont.eot +0 -0
  81. package/template-gx-design-thin/src/assets/public_icon/iconfont.js +0 -1
  82. package/template-gx-design-thin/src/assets/public_icon/iconfont.json +0 -51
  83. package/template-gx-design-thin/src/assets/public_icon/iconfont.svg +0 -1
  84. package/template-gx-design-thin/src/assets/public_icon/iconfont.ttf +0 -0
  85. package/template-gx-design-thin/src/assets/public_icon/iconfont.woff +0 -0
  86. package/template-gx-design-thin/src/assets/public_icon/iconfont.woff2 +0 -0
  87. package/template-gx-design-thin/src/assets/public_icon/index.less +0 -42
  88. package/template-gx-design-thin/src/assets/public_images/nodata.svg +0 -1
  89. package/template-gx-design-thin/src/common/global.ts +0 -4
  90. package/template-gx-design-thin/src/components/GDesign/Result/index.tsx +0 -144
  91. package/template-gx-design-thin/src/components/GDesign/Result/style.less +0 -140
  92. package/template-gx-design-thin/src/components/GDesign/utils/index.ts +0 -7
  93. package/template-gx-design-thin/src/components/GlobalLayout/Confirm/index.ts +0 -21
  94. package/template-gx-design-thin/src/components/GlobalLayout/Empty/index.vue +0 -18
  95. package/template-gx-design-thin/src/components/GlobalLayout/RightContent/index.tsx +0 -126
  96. package/template-gx-design-thin/src/components/GlobalLayout/RightContent/style.ts +0 -77
  97. package/template-gx-design-thin/src/components/GlobalLayout/Spin/index.tsx +0 -30
  98. package/template-gx-design-thin/src/components/PageLoading/index.tsx +0 -51
  99. package/template-gx-design-thin/src/components/index.ts +0 -6
  100. package/template-gx-design-thin/src/core/ant-design/index.ts +0 -10
  101. package/template-gx-design-thin/src/core/gx-admin-design/index.ts +0 -6
  102. package/template-gx-design-thin/src/core/gx-design/index.ts +0 -6
  103. package/template-gx-design-thin/src/core/gx-pro-design/index.ts +0 -8
  104. package/template-gx-design-thin/src/core/index.ts +0 -84
  105. package/template-gx-design-thin/src/design/ant-design/index.less +0 -4
  106. package/template-gx-design-thin/src/design/ant-design/layout.less +0 -22
  107. package/template-gx-design-thin/src/design/ant-design/menu.less +0 -48
  108. package/template-gx-design-thin/src/design/ant-design/spin.less +0 -23
  109. package/template-gx-design-thin/src/design/ant-design/tooltip.less +0 -7
  110. package/template-gx-design-thin/src/design/color.less +0 -1
  111. package/template-gx-design-thin/src/design/config.less +0 -5
  112. package/template-gx-design-thin/src/design/imageEditor.less +0 -180
  113. package/template-gx-design-thin/src/design/index.less +0 -95
  114. package/template-gx-design-thin/src/design/mixin.less +0 -65
  115. package/template-gx-design-thin/src/design/normalize.less +0 -391
  116. package/template-gx-design-thin/src/design/root.less +0 -3
  117. package/template-gx-design-thin/src/hooks/core/index.ts +0 -3
  118. package/template-gx-design-thin/src/hooks/core/useRequest/index.ts +0 -118
  119. package/template-gx-design-thin/src/hooks/event/index.ts +0 -3
  120. package/template-gx-design-thin/src/hooks/event/useClipboard.ts +0 -15
  121. package/template-gx-design-thin/src/hooks/web/index.ts +0 -5
  122. package/template-gx-design-thin/src/hooks/web/useThemeStyle.ts +0 -16
  123. package/template-gx-design-thin/src/layout/BasicLayout.vue +0 -123
  124. package/template-gx-design-thin/src/layout/BlankLayout.vue +0 -5
  125. package/template-gx-design-thin/src/layout/ContentView.vue +0 -50
  126. package/template-gx-design-thin/src/layout/IframeView.vue +0 -1
  127. package/template-gx-design-thin/src/layout/UserLayout.vue +0 -7
  128. package/template-gx-design-thin/src/main.ts +0 -34
  129. package/template-gx-design-thin/src/plugins/index.ts +0 -2
  130. package/template-gx-design-thin/src/router/guard/index.ts +0 -83
  131. package/template-gx-design-thin/src/router/guard/permissions.ts +0 -70
  132. package/template-gx-design-thin/src/router/guard/stateGuard.ts +0 -10
  133. package/template-gx-design-thin/src/router/helper/routeHelper.ts +0 -231
  134. package/template-gx-design-thin/src/router/helper/utils.ts +0 -19
  135. package/template-gx-design-thin/src/router/index.ts +0 -31
  136. package/template-gx-design-thin/src/router/routes/index.ts +0 -86
  137. package/template-gx-design-thin/src/router/routes/modules/dataSource.ts +0 -12
  138. package/template-gx-design-thin/src/services/common/index.ts +0 -11
  139. package/template-gx-design-thin/src/services/systemCenter/index.ts +0 -1
  140. package/template-gx-design-thin/src/services/systemCenter/menu.ts +0 -9
  141. package/template-gx-design-thin/src/services/userCenter/account.ts +0 -42
  142. package/template-gx-design-thin/src/services/userCenter/index.ts +0 -28
  143. package/template-gx-design-thin/src/store/index.ts +0 -32
  144. package/template-gx-design-thin/src/store/modules/dict.ts +0 -28
  145. package/template-gx-design-thin/src/store/modules/global.ts +0 -42
  146. package/template-gx-design-thin/src/store/modules/permission.ts +0 -19
  147. package/template-gx-design-thin/src/store/modules/routes.ts +0 -113
  148. package/template-gx-design-thin/src/store/modules/tabsRouter.ts +0 -76
  149. package/template-gx-design-thin/src/store/modules/user.ts +0 -136
  150. package/template-gx-design-thin/src/utils/accessToken.ts +0 -80
  151. package/template-gx-design-thin/src/utils/crypto/base64.ts +0 -101
  152. package/template-gx-design-thin/src/utils/crypto/index.ts +0 -57
  153. package/template-gx-design-thin/src/utils/env.ts +0 -50
  154. package/template-gx-design-thin/src/utils/fetchFile.ts +0 -81
  155. package/template-gx-design-thin/src/utils/index.ts +0 -123
  156. package/template-gx-design-thin/src/utils/pageTitle.ts +0 -20
  157. package/template-gx-design-thin/src/utils/request/XHR.ts +0 -139
  158. package/template-gx-design-thin/src/utils/request/axiosCancel.ts +0 -69
  159. package/template-gx-design-thin/src/utils/request/checkStatus.ts +0 -25
  160. package/template-gx-design-thin/src/utils/request/index.ts +0 -144
  161. package/template-gx-design-thin/src/utils/request/typings.ts +0 -171
  162. package/template-gx-design-thin/src/utils/storage.ts +0 -199
  163. package/template-gx-design-thin/src/utils/uploadFile.ts +0 -27
  164. package/template-gx-design-thin/src/utils/util.ts +0 -198
  165. package/template-gx-design-thin/src/utils/validate.ts +0 -216
  166. package/template-gx-design-thin/src/views/Iframe/index.vue +0 -76
  167. package/template-gx-design-thin/src/views/Page/one.vue +0 -13
  168. package/template-gx-design-thin/src/views/Page/two.vue +0 -13
  169. package/template-gx-design-thin/src/views/exception/403/index.vue +0 -7
  170. package/template-gx-design-thin/src/views/exception/404/index.vue +0 -9
  171. package/template-gx-design-thin/src/views/user/login/index.vue +0 -109
  172. package/template-gx-design-thin/src/views/user/login/style.less +0 -38
  173. package/template-gx-design-thin/tsconfig.json +0 -46
  174. package/template-gx-design-thin/types/ant-design-import.d.ts +0 -99
  175. package/template-gx-design-thin/types/auto-imports.d.ts +0 -81
  176. package/template-gx-design-thin/types/components.d.ts +0 -24
  177. package/template-gx-design-thin/types/config.d.ts +0 -44
  178. package/template-gx-design-thin/types/global.d.ts +0 -97
  179. package/template-gx-design-thin/types/mock.d.ts +0 -16
  180. package/template-gx-design-thin/types/module.d.ts +0 -20
  181. package/template-gx-design-thin/types/response.d.ts +0 -15
  182. package/template-gx-design-thin/unocss.config.ts +0 -101
  183. package/template-gx-design-thin/vite.config.ts +0 -120
  184. package/template-gx-design-thin/yarn.lock +0 -9492
@@ -1,18 +0,0 @@
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
- };
@@ -1,119 +0,0 @@
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
- }
@@ -1,396 +0,0 @@
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
- }
@@ -1 +0,0 @@
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>
@@ -1,42 +0,0 @@
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>
@@ -1 +0,0 @@
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>