...
|
...
|
@@ -7,13 +7,24 @@ export default class BottomButtons extends React.Component { |
|
|
}
|
|
|
|
|
|
render() {
|
|
|
const linkArr = this.props.links;
|
|
|
|
|
|
if (!linkArr || !linkArr.length) {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
return (
|
|
|
<div className="comp-bottom-btns-wrap">
|
|
|
<a href="" className="button-item">
|
|
|
<img className="btn-item-bg" src=""/>
|
|
|
</a>
|
|
|
<a href="" className="button-item"></a>
|
|
|
<a href="" className="button-item"></a>
|
|
|
{
|
|
|
linkArr.map(link => {
|
|
|
return (
|
|
|
<a href="" className="button-item">
|
|
|
<img className="btn-item-bg" src="https://cdn.yoho.cn/o_1cpeb6vql1nm9cvvls15n9184p24.png"/>
|
|
|
</a>
|
|
|
)
|
|
|
})
|
|
|
}
|
|
|
|
|
|
</div>
|
|
|
)
|
|
|
}
|
...
|
...
|
|