Skip to content

Commit d53d452

Browse files
author
“azu”
committed
集成mars-ui
1 parent 1e9749b commit d53d452

File tree

5 files changed

+14
-165
lines changed

5 files changed

+14
-165
lines changed

build/generate/generateModifyVars.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ export function generateModifyVars(dark = false) {
2020
...modifyVars,
2121
// Used for global import to avoid the need to import each style file separately
2222
// reference: Avoid repeated references
23-
hack: `${modifyVars.hack} @import (reference) "${resolve('src/design/config.less')}";`,
23+
hack: `${modifyVars.hack} @import (reference) "${resolve(
24+
'src/design/config.less',
25+
)}"; @import (reference) "${resolve('src/marsgis/components/mars-ui/base.less')}"`,
2426
'primary-color': primary,
2527
...primaryColorObj,
2628
'info-color': primary,

src/design/index.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@ svg,
4242
span {
4343
outline: none !important;
4444
}
45+
46+
svg, img {
47+
display: inline-block;
48+
}

src/marsgis/components/mars-ui/index.less

Lines changed: 0 additions & 163 deletions
This file was deleted.

src/marsgis/components/mars-ui/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ import {
6161

6262
import "./mars-echarts"
6363

64-
import "./index.less"
6564
import "./function.less"
6665

6766
export const $alert = marsAlert

src/marsgis/widgets/basic/location-point/index.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,4 +215,11 @@ const submitCenter = () => {
215215
.lnglat-input {
216216
width: 200px;
217217
}
218+
219+
:deep(.ant-col) {
220+
width: auto;
221+
label {
222+
color: #fff;
223+
}
224+
}
218225
</style>

0 commit comments

Comments
 (0)