Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend
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
Schedules
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
h5-communicate
frontend
Commits
76d1c057
Commit
76d1c057
authored
Jun 12, 2020
by
熊成伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
33ae3e78
Pipeline
#15329
passed with stages
in 59 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
index.jsx
src/components/AddressList/index.jsx
+1
-1
index.less
src/components/AddressList/index.less
+5
-2
No files found.
src/components/AddressList/index.jsx
View file @
76d1c057
...
@@ -9,7 +9,7 @@ const Index = (props) => {
...
@@ -9,7 +9,7 @@ const Index = (props) => {
<
div
className=
"address-box"
>
<
div
className=
"address-box"
>
{
data
&&
data
.
length
>
0
&&
data
.
map
((
item
,
index
)
=>
item
.
NAME
&&
(
{
data
&&
data
.
length
>
0
&&
data
.
map
((
item
,
index
)
=>
item
.
NAME
&&
(
<
div
key=
{
index
}
>
<
div
key=
{
index
}
>
<
div
onClick=
{
()
=>
onCLick
(
item
.
DEPTID
)
}
className=
"address-item"
>
<
div
onClick=
{
()
=>
onCLick
(
item
.
DEPTID
)
}
className=
"address-item
address-title
"
>
{
item
.
NAME
||
''
}
{
item
.
NAME
||
''
}
<
img
src=
"/img/rarrow.png"
alt=
""
className=
{
`icon18 ${item.checked ? 'icon-checked' : 'icon-unchecked'}`
}
/>
<
img
src=
"/img/rarrow.png"
alt=
""
className=
{
`icon18 ${item.checked ? 'icon-checked' : 'icon-unchecked'}`
}
/>
</
div
>
</
div
>
...
...
src/components/AddressList/index.less
View file @
76d1c057
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
display: flex;
display: flex;
justify-content: space-between;
justify-content: space-between;
padding: 15px;
padding: 15px;
margin-bottom: 1px
;
border-bottom: 1px solid rgba(239, 239, 239, 1)
;
background: #ffffff;
background: #ffffff;
}
}
.address-box > .address-item:first-child{
.address-box > .address-item:first-child{
...
@@ -42,6 +42,9 @@
...
@@ -42,6 +42,9 @@
display: flex;
display: flex;
justify-content: center;
justify-content: center;
padding: 15px;
padding: 15px;
margin-bottom: 1px
;
border-bottom: 1px solid rgba(239, 239, 239, 1)
;
background: #ffffff;
background: #ffffff;
}
}
.address-title{
font-weight: bold;
}
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