feature/2.9.42311.02-我的薪资福利移动端列表查看
This commit is contained in:
parent
1d110fe25d
commit
f51de57661
|
|
@ -19,7 +19,10 @@ class Index extends Component {
|
|||
{
|
||||
_.map(dataSource, it => {
|
||||
return <li className="item">
|
||||
<div className="salaryMonth"><span>{moment(it.salaryYearMonth).format("YYYY-MM")}</span></div>
|
||||
<div className="salaryMonth">
|
||||
<span>{moment(it.salaryYearMonth).format("YYYY-MM")}</span>
|
||||
<span>{`${getLabel(15323, "第")}${it.acctTimes}${getLabel(18929, "次")}`}</span>
|
||||
</div>
|
||||
<div className="sendTime">
|
||||
<span>{getLabel(111, "发放时间")}</span>
|
||||
<span>{moment(it.sendTime).format("YYYY-MM")}</span>
|
||||
|
|
|
|||
|
|
@ -74,12 +74,23 @@
|
|||
.salaryMonth {
|
||||
display: flex;
|
||||
padding: 10px;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
|
||||
& > span:first-child {
|
||||
color: #2db7f5;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
& > span:last-child {
|
||||
background: rgba(45, 183, 245, .1);
|
||||
color: #2db7f5;
|
||||
font-size: 12px;
|
||||
display: inline-block;
|
||||
padding: 4px;
|
||||
transform: scale(.8);
|
||||
}
|
||||
}
|
||||
|
||||
.sendTime {
|
||||
|
|
|
|||
Loading…
Reference in New Issue