@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.
- package/bin/create-gx-cli +3 -2
- package/package.json +4 -4
- package/src/cli.js +10 -7
- package/src/git.js +8 -5
- package/src/main.js +29 -16
- package/template-mobile-vant-cli/package.json +5 -5
- package/template-gx-design-thin/.editorconfig +0 -19
- package/template-gx-design-thin/.env +0 -4
- package/template-gx-design-thin/.env.development +0 -15
- package/template-gx-design-thin/.env.production +0 -28
- package/template-gx-design-thin/.eslintignore +0 -16
- package/template-gx-design-thin/.prettierignore +0 -9
- package/template-gx-design-thin/LICENSE +0 -21
- package/template-gx-design-thin/README.md +0 -112
- package/template-gx-design-thin/build/constant.ts +0 -1
- package/template-gx-design-thin/build/generate/generateModifyVars.ts +0 -14
- package/template-gx-design-thin/build/rollupOptions/index.ts +0 -22
- package/template-gx-design-thin/build/util/hash.ts +0 -17
- package/template-gx-design-thin/build/util/index.ts +0 -131
- package/template-gx-design-thin/build/vite/cdn.ts +0 -63
- package/template-gx-design-thin/build/vite/optimizer.ts +0 -26
- package/template-gx-design-thin/build/vite/plugin/appConfig.ts +0 -91
- package/template-gx-design-thin/build/vite/plugin/autoImport.ts +0 -26
- package/template-gx-design-thin/build/vite/plugin/compress.ts +0 -31
- package/template-gx-design-thin/build/vite/plugin/html.ts +0 -39
- package/template-gx-design-thin/build/vite/plugin/index.ts +0 -75
- package/template-gx-design-thin/build/vite/plugin/mock.ts +0 -14
- package/template-gx-design-thin/build/vite/plugin/pwa.ts +0 -31
- package/template-gx-design-thin/build/vite/plugin/visualizer.ts +0 -14
- package/template-gx-design-thin/build/vite/plugin/viteMock/client.ts +0 -88
- package/template-gx-design-thin/build/vite/plugin/viteMock/createMockServer.ts +0 -271
- package/template-gx-design-thin/build/vite/plugin/viteMock/index.ts +0 -69
- package/template-gx-design-thin/build/vite/plugin/viteMock/types.ts +0 -48
- package/template-gx-design-thin/build/vite/plugin/viteMock/utils.ts +0 -48
- package/template-gx-design-thin/build/vite/plugin/viteNotice.ts +0 -40
- package/template-gx-design-thin/commitlint.config.cjs +0 -32
- package/template-gx-design-thin/config/default/defaultSettings.ts +0 -78
- package/template-gx-design-thin/config/default/network.ts +0 -10
- package/template-gx-design-thin/config/default/proxy.ts +0 -47
- package/template-gx-design-thin/config/default/theme.ts +0 -3
- package/template-gx-design-thin/config/index.ts +0 -11
- package/template-gx-design-thin/eslint.config.js +0 -51
- package/template-gx-design-thin/index.html +0 -42
- package/template-gx-design-thin/mock/_createProductionServer.ts +0 -19
- package/template-gx-design-thin/mock/_util.ts +0 -33
- package/template-gx-design-thin/mock/config/menu.ts +0 -21
- package/template-gx-design-thin/mock/config/user.ts +0 -123
- package/template-gx-design-thin/mock/datasSource/system/menu.ts +0 -10
- package/template-gx-design-thin/mock/datasSource/user/account.ts +0 -30
- package/template-gx-design-thin/mock/datasSource/user/index.ts +0 -47
- package/template-gx-design-thin/mock/util/crypto.ts +0 -23
- package/template-gx-design-thin/mock/util/table.ts +0 -92
- package/template-gx-design-thin/mock/util/utils.ts +0 -73
- package/template-gx-design-thin/package.json +0 -129
- package/template-gx-design-thin/pnpm-lock.yaml +0 -12575
- package/template-gx-design-thin/prettier.config.cjs +0 -18
- package/template-gx-design-thin/public/resource/css/index.css +0 -119
- package/template-gx-design-thin/public/resource/css/normalize.css +0 -396
- 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 +0 -1
- 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 +0 -42
- 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 +0 -1
- package/template-gx-design-thin/src/assets/logo.png +0 -0
- package/template-gx-design-thin/src/assets/menu_font/iconfont.css +0 -94
- package/template-gx-design-thin/src/assets/menu_font/iconfont.eot +0 -0
- package/template-gx-design-thin/src/assets/menu_font/iconfont.js +0 -1
- package/template-gx-design-thin/src/assets/menu_font/iconfont.json +0 -142
- package/template-gx-design-thin/src/assets/menu_font/iconfont.svg +0 -1
- 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 +0 -94
- package/template-gx-design-thin/src/assets/public_icon/iconfont.css +0 -42
- package/template-gx-design-thin/src/assets/public_icon/iconfont.eot +0 -0
- package/template-gx-design-thin/src/assets/public_icon/iconfont.js +0 -1
- package/template-gx-design-thin/src/assets/public_icon/iconfont.json +0 -51
- package/template-gx-design-thin/src/assets/public_icon/iconfont.svg +0 -1
- 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 +0 -42
- package/template-gx-design-thin/src/assets/public_images/nodata.svg +0 -1
- package/template-gx-design-thin/src/common/global.ts +0 -4
- package/template-gx-design-thin/src/components/GDesign/Result/index.tsx +0 -144
- package/template-gx-design-thin/src/components/GDesign/Result/style.less +0 -140
- package/template-gx-design-thin/src/components/GDesign/utils/index.ts +0 -7
- package/template-gx-design-thin/src/components/GlobalLayout/Confirm/index.ts +0 -21
- package/template-gx-design-thin/src/components/GlobalLayout/Empty/index.vue +0 -18
- package/template-gx-design-thin/src/components/GlobalLayout/RightContent/index.tsx +0 -126
- package/template-gx-design-thin/src/components/GlobalLayout/RightContent/style.ts +0 -77
- package/template-gx-design-thin/src/components/GlobalLayout/Spin/index.tsx +0 -30
- package/template-gx-design-thin/src/components/PageLoading/index.tsx +0 -51
- package/template-gx-design-thin/src/components/index.ts +0 -6
- package/template-gx-design-thin/src/core/ant-design/index.ts +0 -10
- package/template-gx-design-thin/src/core/gx-admin-design/index.ts +0 -6
- package/template-gx-design-thin/src/core/gx-design/index.ts +0 -6
- package/template-gx-design-thin/src/core/gx-pro-design/index.ts +0 -8
- package/template-gx-design-thin/src/core/index.ts +0 -84
- package/template-gx-design-thin/src/design/ant-design/index.less +0 -4
- package/template-gx-design-thin/src/design/ant-design/layout.less +0 -22
- package/template-gx-design-thin/src/design/ant-design/menu.less +0 -48
- package/template-gx-design-thin/src/design/ant-design/spin.less +0 -23
- package/template-gx-design-thin/src/design/ant-design/tooltip.less +0 -7
- package/template-gx-design-thin/src/design/color.less +0 -1
- package/template-gx-design-thin/src/design/config.less +0 -5
- package/template-gx-design-thin/src/design/imageEditor.less +0 -180
- package/template-gx-design-thin/src/design/index.less +0 -95
- package/template-gx-design-thin/src/design/mixin.less +0 -65
- package/template-gx-design-thin/src/design/normalize.less +0 -391
- package/template-gx-design-thin/src/design/root.less +0 -3
- package/template-gx-design-thin/src/hooks/core/index.ts +0 -3
- package/template-gx-design-thin/src/hooks/core/useRequest/index.ts +0 -118
- package/template-gx-design-thin/src/hooks/event/index.ts +0 -3
- package/template-gx-design-thin/src/hooks/event/useClipboard.ts +0 -15
- package/template-gx-design-thin/src/hooks/web/index.ts +0 -5
- package/template-gx-design-thin/src/hooks/web/useThemeStyle.ts +0 -16
- package/template-gx-design-thin/src/layout/BasicLayout.vue +0 -123
- package/template-gx-design-thin/src/layout/BlankLayout.vue +0 -5
- package/template-gx-design-thin/src/layout/ContentView.vue +0 -50
- package/template-gx-design-thin/src/layout/IframeView.vue +0 -1
- package/template-gx-design-thin/src/layout/UserLayout.vue +0 -7
- package/template-gx-design-thin/src/main.ts +0 -34
- package/template-gx-design-thin/src/plugins/index.ts +0 -2
- package/template-gx-design-thin/src/router/guard/index.ts +0 -83
- package/template-gx-design-thin/src/router/guard/permissions.ts +0 -70
- package/template-gx-design-thin/src/router/guard/stateGuard.ts +0 -10
- package/template-gx-design-thin/src/router/helper/routeHelper.ts +0 -231
- package/template-gx-design-thin/src/router/helper/utils.ts +0 -19
- package/template-gx-design-thin/src/router/index.ts +0 -31
- package/template-gx-design-thin/src/router/routes/index.ts +0 -86
- package/template-gx-design-thin/src/router/routes/modules/dataSource.ts +0 -12
- package/template-gx-design-thin/src/services/common/index.ts +0 -11
- package/template-gx-design-thin/src/services/systemCenter/index.ts +0 -1
- package/template-gx-design-thin/src/services/systemCenter/menu.ts +0 -9
- package/template-gx-design-thin/src/services/userCenter/account.ts +0 -42
- package/template-gx-design-thin/src/services/userCenter/index.ts +0 -28
- package/template-gx-design-thin/src/store/index.ts +0 -32
- package/template-gx-design-thin/src/store/modules/dict.ts +0 -28
- package/template-gx-design-thin/src/store/modules/global.ts +0 -42
- package/template-gx-design-thin/src/store/modules/permission.ts +0 -19
- package/template-gx-design-thin/src/store/modules/routes.ts +0 -113
- package/template-gx-design-thin/src/store/modules/tabsRouter.ts +0 -76
- package/template-gx-design-thin/src/store/modules/user.ts +0 -136
- package/template-gx-design-thin/src/utils/accessToken.ts +0 -80
- package/template-gx-design-thin/src/utils/crypto/base64.ts +0 -101
- package/template-gx-design-thin/src/utils/crypto/index.ts +0 -57
- package/template-gx-design-thin/src/utils/env.ts +0 -50
- package/template-gx-design-thin/src/utils/fetchFile.ts +0 -81
- package/template-gx-design-thin/src/utils/index.ts +0 -123
- package/template-gx-design-thin/src/utils/pageTitle.ts +0 -20
- package/template-gx-design-thin/src/utils/request/XHR.ts +0 -139
- package/template-gx-design-thin/src/utils/request/axiosCancel.ts +0 -69
- package/template-gx-design-thin/src/utils/request/checkStatus.ts +0 -25
- package/template-gx-design-thin/src/utils/request/index.ts +0 -144
- package/template-gx-design-thin/src/utils/request/typings.ts +0 -171
- package/template-gx-design-thin/src/utils/storage.ts +0 -199
- package/template-gx-design-thin/src/utils/uploadFile.ts +0 -27
- package/template-gx-design-thin/src/utils/util.ts +0 -198
- package/template-gx-design-thin/src/utils/validate.ts +0 -216
- package/template-gx-design-thin/src/views/Iframe/index.vue +0 -76
- package/template-gx-design-thin/src/views/Page/one.vue +0 -13
- package/template-gx-design-thin/src/views/Page/two.vue +0 -13
- package/template-gx-design-thin/src/views/exception/403/index.vue +0 -7
- package/template-gx-design-thin/src/views/exception/404/index.vue +0 -9
- package/template-gx-design-thin/src/views/user/login/index.vue +0 -109
- package/template-gx-design-thin/src/views/user/login/style.less +0 -38
- package/template-gx-design-thin/tsconfig.json +0 -46
- package/template-gx-design-thin/types/ant-design-import.d.ts +0 -99
- package/template-gx-design-thin/types/auto-imports.d.ts +0 -81
- package/template-gx-design-thin/types/components.d.ts +0 -24
- package/template-gx-design-thin/types/config.d.ts +0 -44
- package/template-gx-design-thin/types/global.d.ts +0 -97
- package/template-gx-design-thin/types/mock.d.ts +0 -16
- package/template-gx-design-thin/types/module.d.ts +0 -20
- package/template-gx-design-thin/types/response.d.ts +0 -15
- package/template-gx-design-thin/unocss.config.ts +0 -101
- package/template-gx-design-thin/vite.config.ts +0 -120
- package/template-gx-design-thin/yarn.lock +0 -9492
@@ -1,84 +0,0 @@
|
|
1
|
-
import dayjs from 'dayjs'
|
2
|
-
import relativeTime from 'dayjs/plugin/relativeTime'
|
3
|
-
import weekOfYear from 'dayjs/plugin/weekOfYear'
|
4
|
-
import advancedFormat from 'dayjs/plugin/advancedFormat'
|
5
|
-
|
6
|
-
import antDesign from './ant-design'
|
7
|
-
import gxDesign from './gx-design'
|
8
|
-
import gxProDesign from './gx-pro-design'
|
9
|
-
|
10
|
-
import gxAdminDesign from './gx-admin-design'
|
11
|
-
|
12
|
-
dayjs.locale({
|
13
|
-
name: 'zh-cn',
|
14
|
-
weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
|
15
|
-
weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),
|
16
|
-
weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
|
17
|
-
months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
|
18
|
-
monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
|
19
|
-
// @ts-ignore
|
20
|
-
ordinal: (number, period) => {
|
21
|
-
switch (period) {
|
22
|
-
case 'W':
|
23
|
-
return `${number}周`
|
24
|
-
default:
|
25
|
-
return `${number}日`
|
26
|
-
}
|
27
|
-
},
|
28
|
-
weekStart: 1,
|
29
|
-
yearStart: 4,
|
30
|
-
formats: {
|
31
|
-
LT: 'HH:mm',
|
32
|
-
LTS: 'HH:mm:ss',
|
33
|
-
L: 'YYYY/MM/DD',
|
34
|
-
LL: 'YYYY年M月D日',
|
35
|
-
LLL: 'YYYY年M月D日Ah点mm分',
|
36
|
-
LLLL: 'YYYY年M月D日ddddAh点mm分',
|
37
|
-
l: 'YYYY/M/D',
|
38
|
-
ll: 'YYYY年M月D日',
|
39
|
-
lll: 'YYYY年M月D日 HH:mm',
|
40
|
-
llll: 'YYYY年M月D日dddd HH:mm'
|
41
|
-
} as any,
|
42
|
-
relativeTime: {
|
43
|
-
future: '%s内',
|
44
|
-
past: '%s前',
|
45
|
-
s: '几秒',
|
46
|
-
m: '1 分钟',
|
47
|
-
mm: '%d 分钟',
|
48
|
-
h: '1 小时',
|
49
|
-
hh: '%d 小时',
|
50
|
-
d: '1 天',
|
51
|
-
dd: '%d 天',
|
52
|
-
M: '1 个月',
|
53
|
-
MM: '%d 个月',
|
54
|
-
y: '1 年',
|
55
|
-
yy: '%d 年'
|
56
|
-
},
|
57
|
-
meridiem: (hour, minute) => {
|
58
|
-
const hm = (hour * 100) + minute
|
59
|
-
if (hm < 600) {
|
60
|
-
return '凌晨'
|
61
|
-
} else if (hm < 900) {
|
62
|
-
return '早上'
|
63
|
-
} else if (hm < 1100) {
|
64
|
-
return '上午'
|
65
|
-
} else if (hm < 1300) {
|
66
|
-
return '中午'
|
67
|
-
} else if (hm < 1800) {
|
68
|
-
return '下午'
|
69
|
-
}
|
70
|
-
return '晚上'
|
71
|
-
}
|
72
|
-
})
|
73
|
-
dayjs.extend(relativeTime)
|
74
|
-
dayjs.extend(weekOfYear)
|
75
|
-
dayjs.extend(advancedFormat)
|
76
|
-
|
77
|
-
export function setupGlobCommon(app) {
|
78
|
-
// design
|
79
|
-
antDesign()
|
80
|
-
// gx-design
|
81
|
-
gxDesign(app)
|
82
|
-
gxProDesign(app)
|
83
|
-
gxAdminDesign(app)
|
84
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
html {
|
2
|
-
body {
|
3
|
-
.ant-layout-sider {
|
4
|
-
.ant-layout-sider-children {
|
5
|
-
&::-webkit-scrollbar {
|
6
|
-
width: 6px;
|
7
|
-
height: 6px;
|
8
|
-
}
|
9
|
-
|
10
|
-
&::-webkit-scrollbar-thumb {
|
11
|
-
border-radius: 3px;
|
12
|
-
background: rgba(0, 0, 0, 0.12);
|
13
|
-
}
|
14
|
-
|
15
|
-
&::-webkit-scrollbar-track {
|
16
|
-
border-radius: 3px;
|
17
|
-
background: hsla(0, 0%, 100%, 0.15);
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
@@ -1,48 +0,0 @@
|
|
1
|
-
html {
|
2
|
-
body {
|
3
|
-
.ant-menu-item .anticon,
|
4
|
-
.ant-menu-submenu-title .anticon {
|
5
|
-
margin-right: 10px !important;
|
6
|
-
}
|
7
|
-
|
8
|
-
.ant-menu-item .customimg,
|
9
|
-
.ant-menu-submenu-title .customimg {
|
10
|
-
width: 14px;
|
11
|
-
min-width: 14px;
|
12
|
-
margin-right: 8px !important;
|
13
|
-
transition: margin 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
14
|
-
}
|
15
|
-
|
16
|
-
.ant-menu-submenu-title {
|
17
|
-
[class*='ri'] {
|
18
|
-
min-width: 16px;
|
19
|
-
margin-right: 8px !important;
|
20
|
-
transition: font-size 0.15s cubic-bezier(0.215, 0.61, 0.355, 1),
|
21
|
-
margin 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
22
|
-
font-size: 16px;
|
23
|
-
vertical-align: bottom;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
.ant-menu-inline-collapsed {
|
28
|
-
.ant-menu-submenu-title {
|
29
|
-
[class*='ri'] {
|
30
|
-
margin-right: 16px !important;
|
31
|
-
}
|
32
|
-
|
33
|
-
[class*='iconfont'] {
|
34
|
-
margin-right: 18px !important;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
.ant-menu .ant-menu-item .ant-menu-item-icon.customicon {
|
40
|
-
min-width: 14px;
|
41
|
-
margin-right: 8px !important;
|
42
|
-
transition: font-size 0.15s cubic-bezier(0.215, 0.61, 0.355, 1),
|
43
|
-
margin 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
44
|
-
font-size: 14px;
|
45
|
-
vertical-align: unset;
|
46
|
-
}
|
47
|
-
}
|
48
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
.gx-admin-spin.gx-jiazaizhong {
|
2
|
-
display: inline-block;
|
3
|
-
width: auto;
|
4
|
-
height: auto;
|
5
|
-
animation: loading-circle 1s infinite linear;
|
6
|
-
color: inherit;
|
7
|
-
line-height: 0;
|
8
|
-
text-align: center;
|
9
|
-
text-rendering: optimizelegibility;
|
10
|
-
text-transform: none;
|
11
|
-
vertical-align: -0.125em;
|
12
|
-
--at-apply: text-30px;
|
13
|
-
}
|
14
|
-
|
15
|
-
.ant-spin-spinning .ant-spin-text {
|
16
|
-
margin-top: 10px;
|
17
|
-
}
|
18
|
-
|
19
|
-
@keyframes loading-circle {
|
20
|
-
100% {
|
21
|
-
transform: rotate(360deg);
|
22
|
-
}
|
23
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
/* 文字颜色相关 */
|
@@ -1,180 +0,0 @@
|
|
1
|
-
body {
|
2
|
-
.SfxPopper-wrapper {
|
3
|
-
z-index: 2001;
|
4
|
-
}
|
5
|
-
|
6
|
-
.FIE_topbar-reset-button {
|
7
|
-
display: none !important;
|
8
|
-
}
|
9
|
-
|
10
|
-
.FIE_tools-bar-wrapper {
|
11
|
-
display: flex !important;
|
12
|
-
flex-direction: column !important;
|
13
|
-
align-items: center !important;
|
14
|
-
justify-content: center !important;
|
15
|
-
}
|
16
|
-
|
17
|
-
.FIE_image-tool-options {
|
18
|
-
gap: unset !important;
|
19
|
-
}
|
20
|
-
|
21
|
-
.FIE_text-tool-options svg {
|
22
|
-
width: 14px !important;
|
23
|
-
height: 14px !important;
|
24
|
-
}
|
25
|
-
|
26
|
-
.FIE_text-font-family-option, .FIE_text-size-option {
|
27
|
-
height: 28px !important;
|
28
|
-
}
|
29
|
-
|
30
|
-
.FIE_text-size-option {
|
31
|
-
padding: 6px 12px !important;
|
32
|
-
}
|
33
|
-
|
34
|
-
.FIE_color-picker-triggerer {
|
35
|
-
width: 28px !important;
|
36
|
-
height: 28px !important;
|
37
|
-
}
|
38
|
-
|
39
|
-
.FIE_canvas-container {
|
40
|
-
padding-top: 0 !important;
|
41
|
-
padding-bottom: 0 !important;
|
42
|
-
}
|
43
|
-
|
44
|
-
.FIE_topbar {
|
45
|
-
padding: 0 !important;
|
46
|
-
border-bottom: unset !important;
|
47
|
-
}
|
48
|
-
|
49
|
-
.FIE_canvas-node {
|
50
|
-
background: unset !important;
|
51
|
-
}
|
52
|
-
|
53
|
-
.FIE_tabs {
|
54
|
-
padding-left: 0;
|
55
|
-
padding-right: 0;
|
56
|
-
padding-bottom: 0;
|
57
|
-
box-shadow: unset !important;
|
58
|
-
}
|
59
|
-
|
60
|
-
.FIE_tools-bar {
|
61
|
-
padding-top: 0;
|
62
|
-
padding-bottom: 0;
|
63
|
-
}
|
64
|
-
|
65
|
-
.FIE_text-tool-options {
|
66
|
-
margin-top: 0;
|
67
|
-
padding: 0;
|
68
|
-
}
|
69
|
-
|
70
|
-
.FIE_image-tool-options .FIE_image-tool-add-option-wrapper {
|
71
|
-
margin-right: 8px;
|
72
|
-
}
|
73
|
-
|
74
|
-
.FIE_topbar-buttons-wrapper, .FIE_topbar-save-wrapper, .FIE_rect-tool-button, .FIE_ellipse-tool-button, .FIE_polygon-tool-button, .FIE_pen-tool-button, .FIE_line-tool-button, .FIE_arrow-tool-button {
|
75
|
-
display: none !important;
|
76
|
-
}
|
77
|
-
|
78
|
-
.FIE_tools-wrapper {
|
79
|
-
min-width: unset !important;
|
80
|
-
}
|
81
|
-
|
82
|
-
.FIE_text-tool-button[aria-selected="true"], .FIE_text-tool-button:hover, .FIE_image-tool-button:hover, .FIE_tab:hover, .FIE_image-tool-button[aria-selected="true"], .FIE_tab[aria-selected="true"], .FIE_crop-tool[aria-selected="true"], .FIE_crop-tool:hover, .FIE_rotate-tool-button[aria-selected="true"], .FIE_rotate-tool-button:hover, .FIE_flip-x-tool-button[aria-selected="true"], .FIE_flip-x-tool-button:hover, .FIE_flip-y-tool-button[aria-selected="true"], .FIE_flip-y-tool-button:hover, .FIE_rotate_button_left:hover, .FIE_rotate_button_right:hover {
|
83
|
-
//background: var(--gx-primary-color) !important;
|
84
|
-
//opacity: .2;
|
85
|
-
}
|
86
|
-
|
87
|
-
.FIE_crop-tool[aria-selected="true"] {
|
88
|
-
gap: unset !important;
|
89
|
-
}
|
90
|
-
|
91
|
-
.FIE_crop-tool[aria-selected="true"] svg {
|
92
|
-
margin-right: 6px !important;
|
93
|
-
}
|
94
|
-
|
95
|
-
.public_crop_poper_menu>div>div.SfxMenuItem-wrapper:nth-child(2) {
|
96
|
-
display: none !important;
|
97
|
-
}
|
98
|
-
.video_crop_poper_menu>div>div.SfxMenuItem-wrapper:nth-child(1) {
|
99
|
-
display: none !important;
|
100
|
-
}
|
101
|
-
.video_crop_poper_menu>div>div.SfxMenuItem-wrapper:nth-child(2) {
|
102
|
-
display: none !important;
|
103
|
-
}
|
104
|
-
|
105
|
-
.FIE_crop-presets-menu div:nth-child(4) {
|
106
|
-
display: none !important;
|
107
|
-
}
|
108
|
-
.FIE_crop-presets-menu div:nth-child(5) {
|
109
|
-
display: none !important;
|
110
|
-
}
|
111
|
-
|
112
|
-
.FIE_tab:hover *, .FIE_text-tool-button:hover *, .FIE_image-tool-button:hover *, .FIE_flip-y-tool-button:hover *, .FIE_crop-tool:hover *, .FIE_flip-x-tool-button:hover *, .FIE_rotate-tool-button:hover *, .FIE_rotate_button_left:hover *, .FIE_rotate_button_right:hover * {
|
113
|
-
color: var(--gx-primary-color) !important;
|
114
|
-
}
|
115
|
-
|
116
|
-
.FIE_text-tool-button[aria-selected="true"] *, .FIE_image-tool-button[aria-selected="true"] *, .FIE_tab[aria-selected="true"] *, .FIE_crop-tool[aria-selected="true"] *, .FIE_flip-y-tool-button[aria-selected="true"] *, .FIE_flip-x-tool-button[aria-selected="true"] *, .FIE_rotate-tool-button[aria-selected="true"] * {
|
117
|
-
color: var(--gx-primary-color) !important;
|
118
|
-
}
|
119
|
-
|
120
|
-
.FIE_image-tool-add-option-button {
|
121
|
-
color: var(--gx-primary-color) !important;
|
122
|
-
border-color: var(--gx-primary-color) !important;
|
123
|
-
|
124
|
-
&:hover {
|
125
|
-
color: #fff !important;
|
126
|
-
border-color: #fff !important;
|
127
|
-
background: var(--gx-primary-color) !important;
|
128
|
-
}
|
129
|
-
|
130
|
-
&:focus {
|
131
|
-
color: var(--gx-primary-color) !important;
|
132
|
-
border-color: var(--gx-primary-color) !important;
|
133
|
-
background: transparent !important;
|
134
|
-
}
|
135
|
-
}
|
136
|
-
|
137
|
-
.SfxModal-Wrapper {
|
138
|
-
z-index: 2001 !important;
|
139
|
-
|
140
|
-
.SfxButton-root:last-child {
|
141
|
-
background: var(--gx-primary-color) !important;
|
142
|
-
}
|
143
|
-
}
|
144
|
-
|
145
|
-
.FIE_spin {
|
146
|
-
background: rgb(255, 255, 255);
|
147
|
-
display: flex;
|
148
|
-
-webkit-box-align: center;
|
149
|
-
align-items: center;
|
150
|
-
-webkit-box-pack: center;
|
151
|
-
justify-content: center;
|
152
|
-
position: absolute;
|
153
|
-
z-index: 11111;
|
154
|
-
inset: 0px;
|
155
|
-
flex-direction: column;
|
156
|
-
user-select: none;
|
157
|
-
}
|
158
|
-
|
159
|
-
.FIE_spin svg {
|
160
|
-
-webkit-transform: rotate(45deg);
|
161
|
-
-ms-transform: rotate(45deg);
|
162
|
-
transform: rotate(45deg);
|
163
|
-
-webkit-animation: antrotates 1.2s infinite linear;
|
164
|
-
animation: antrotates 1.2s infinite linear;
|
165
|
-
}
|
166
|
-
}
|
167
|
-
|
168
|
-
@-webkit-keyframes antrotates {
|
169
|
-
to {
|
170
|
-
-webkit-transform: rotate(405deg);
|
171
|
-
transform: rotate(405deg);
|
172
|
-
}
|
173
|
-
}
|
174
|
-
|
175
|
-
@keyframes antrotates {
|
176
|
-
to {
|
177
|
-
-webkit-transform: rotate(405deg);
|
178
|
-
transform: rotate(405deg);
|
179
|
-
}
|
180
|
-
}
|
@@ -1,95 +0,0 @@
|
|
1
|
-
@import './config';
|
2
|
-
@import './mixin';
|
3
|
-
@import './color';
|
4
|
-
@import './imageEditor';
|
5
|
-
@import './ant-design/index';
|
6
|
-
@import '../assets/public_icon/index.less';
|
7
|
-
@import '../assets/menu_font/index.less';
|
8
|
-
|
9
|
-
html,
|
10
|
-
body,
|
11
|
-
#app {
|
12
|
-
height: 100%;
|
13
|
-
.reset();
|
14
|
-
|
15
|
-
* {
|
16
|
-
box-sizing: border-box;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
|
20
|
-
#@{gx-prefix-pro}-admin {
|
21
|
-
height: 100%;
|
22
|
-
}
|
23
|
-
|
24
|
-
.@{gx-prefix}-admin-page-loading {
|
25
|
-
.gx-admin-spin {
|
26
|
-
font-size: 40px;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
.@{gx-prefix-pro}-page-container-row {
|
31
|
-
display: flex;
|
32
|
-
flex-wrap: wrap;
|
33
|
-
width: 100%;
|
34
|
-
}
|
35
|
-
|
36
|
-
.@{gx-prefix-pro}-page-container-content {
|
37
|
-
display: flex;
|
38
|
-
flex: auto;
|
39
|
-
}
|
40
|
-
|
41
|
-
.@{gx-prefix-pro}-page-container-extraContent {
|
42
|
-
display: flex;
|
43
|
-
flex: 0 1 auto;
|
44
|
-
justify-content: flex-end;
|
45
|
-
text-align: right;
|
46
|
-
}
|
47
|
-
|
48
|
-
.@{gx-prefix-pro}-iframe-page-main {
|
49
|
-
box-sizing: border-box;
|
50
|
-
width: 100%;
|
51
|
-
height: 100%;
|
52
|
-
overflow: hidden;
|
53
|
-
border: 0;
|
54
|
-
background-color: #fff;
|
55
|
-
}
|
56
|
-
|
57
|
-
.@{gx-prefix-pro}-scroll {
|
58
|
-
overflow: auto;
|
59
|
-
.scrollbar();
|
60
|
-
}
|
61
|
-
|
62
|
-
.@{gx-prefix}-image-slot {
|
63
|
-
display: flex;
|
64
|
-
align-items: center;
|
65
|
-
justify-content: center;
|
66
|
-
width: 100%;
|
67
|
-
height: 100%;
|
68
|
-
background: #fafafa;
|
69
|
-
color: #909399;
|
70
|
-
|
71
|
-
.iconfont {
|
72
|
-
font-size: 24px;
|
73
|
-
}
|
74
|
-
|
75
|
-
.anticon {
|
76
|
-
font-size: 24px;
|
77
|
-
}
|
78
|
-
}
|
79
|
-
|
80
|
-
.@{gx-prefix}-admin-a {
|
81
|
-
transition: color 0.3s;
|
82
|
-
cursor: pointer;
|
83
|
-
|
84
|
-
&:hover {
|
85
|
-
--at-apply: text-hex-main;
|
86
|
-
}
|
87
|
-
}
|
88
|
-
|
89
|
-
#nprogress .bar {
|
90
|
-
--at-apply: bg-hex-main;
|
91
|
-
}
|
92
|
-
|
93
|
-
.clearfix {
|
94
|
-
.clearfix();
|
95
|
-
}
|
@@ -1,65 +0,0 @@
|
|
1
|
-
//一些less函数
|
2
|
-
|
3
|
-
.scrollbar() {
|
4
|
-
&::-webkit-scrollbar {
|
5
|
-
width: 6px;
|
6
|
-
height: 6px;
|
7
|
-
}
|
8
|
-
|
9
|
-
&::-webkit-scrollbar-thumb {
|
10
|
-
background-color: rgba(50, 50, 50, 30%);
|
11
|
-
border-radius: 1em;
|
12
|
-
}
|
13
|
-
|
14
|
-
&::-webkit-scrollbar-track {
|
15
|
-
background-color: rgba(50, 50, 50, 10%);
|
16
|
-
border-radius: 1em;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
|
20
|
-
.textOverflow() {
|
21
|
-
overflow: hidden;
|
22
|
-
text-overflow: ellipsis;
|
23
|
-
word-break: break-all;
|
24
|
-
white-space: nowrap;
|
25
|
-
}
|
26
|
-
|
27
|
-
.reset() {
|
28
|
-
box-sizing: border-box;
|
29
|
-
padding: 0;
|
30
|
-
margin: 0;
|
31
|
-
font-size: 100%;
|
32
|
-
vertical-align: baseline;
|
33
|
-
border: 0;
|
34
|
-
outline: 0;
|
35
|
-
}
|
36
|
-
|
37
|
-
.clearfix() {
|
38
|
-
&::before,
|
39
|
-
&::after {
|
40
|
-
display: table;
|
41
|
-
content: '';
|
42
|
-
height: 0;
|
43
|
-
clear: both;
|
44
|
-
font-size: 0;
|
45
|
-
visibility: hidden;
|
46
|
-
}
|
47
|
-
}
|
48
|
-
|
49
|
-
.centerContent() {
|
50
|
-
position: absolute;
|
51
|
-
top: 50%;
|
52
|
-
left: 50%;
|
53
|
-
z-index: 999;
|
54
|
-
transform: translate(-50%, -50%);
|
55
|
-
}
|
56
|
-
|
57
|
-
.relative() {
|
58
|
-
position: relative;
|
59
|
-
}
|
60
|
-
|
61
|
-
.overHidden() {
|
62
|
-
overflow: hidden;
|
63
|
-
text-overflow: ellipsis;
|
64
|
-
white-space: nowrap;
|
65
|
-
}
|