Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
0cc1006b
Commit
0cc1006b
authored
2 years ago
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化范围设置边界颜色选择样式
parent
bb9b912c
master
dev-database
dev-达梦
styleEditBranch
No related merge requests found
Pipeline
#59985
passed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
11 deletions
+34
-11
index.jsx
src/pages/platformCenter/gis/schemeConfig/ScopeMap/index.jsx
+20
-11
index.less
...pages/platformCenter/gis/schemeConfig/ScopeMap/index.less
+14
-0
No files found.
src/pages/platformCenter/gis/schemeConfig/ScopeMap/index.jsx
View file @
0cc1006b
...
...
@@ -559,16 +559,6 @@ const Map = props => {
<
Slider
min=
{
0
}
max=
{
100
}
/>
</
Form
.
Item
>
<
Form
.
Item
label=
"边界颜色"
name=
"boundColor"
style=
{
{
marginBottom
:
'19px'
}
}
>
<
div
style=
{
{
background
:
colorList
,
display
:
'inline-block'
,
width
:
'15px'
,
height
:
'15px'
,
border
:
'1px solid #ccc'
,
marginTop
:
'10px'
,
}
}
/>
<
Popconfirm
placement=
"topLeft"
icon=
{
false
}
...
...
@@ -586,7 +576,26 @@ const Map = props => {
setColorList
(
keepColor
);
}
}
>
<
Button
style=
{
{
marginLeft
:
'15px'
}
}
>
更改边界颜色
</
Button
>
<
div
className=
{
styles
.
borderColor
}
// style={{
// width: '22px',
// height: '20px',
// border: '1px solid #ccc',
// borderRadius: '2px',
// }}
>
<
div
style=
{
{
background
:
colorList
,
width
:
'18px'
,
height
:
'10px'
,
marginLeft
:
'1px'
,
marginTop
:
'4px'
,
}
}
/>
</
div
>
{
/* <Button style={{ marginLeft: '15px' }}>更改边界颜色</Button> */
}
</
Popconfirm
>
</
Form
.
Item
>
<
Form
.
Item
label=
"边界宽度"
name=
"boundWidth"
style=
{
{
marginBottom
:
'19px'
}
}
>
...
...
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/gis/schemeConfig/ScopeMap/index.less
View file @
0cc1006b
...
...
@@ -43,7 +43,20 @@
height: 100%;
}
}
}
.ant-cascader-menu {
height: 530px;
}
.borderColor{
width: 22px;
height: 20px;
border: 1px solid #ccc;
border-radius: 2px;
}
.borderColor hover{
width: 22px;
height: 20px;
border: 1px solid rgb(241, 228, 32);
border-radius: 2px;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment