Commit 76d1c057 authored by 熊成伟's avatar 熊成伟

debug

parent 33ae3e78
Pipeline #15329 passed with stages
in 59 seconds
...@@ -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>
......
...@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment