Commit 9680d36c by FE

param of barcode modify in bargain

parent 31dad9b9
......@@ -8,7 +8,8 @@ class FollowBarcode extends Component {
constructor(props) {
super(props);
this.state = {
url: ''
url: '',
codeUrl: ''
}
}
......@@ -38,7 +39,7 @@ class FollowBarcode extends Component {
}
render() {
const { codeSrc } = this.state;
const { codeUrl } = this.state;
const { firendBaigainPrice, userInfo: { avatar }, money } = this.props;
return (
<div className='bargain-popup__barcode'>
......@@ -48,7 +49,7 @@ class FollowBarcode extends Component {
<p className='bargain-popup__title'>谢谢你帮我砍了{money}元!</p>
}
<p className='bargain-popup__desc'>关注公众号,可以再砍一刀哦~</p>
<i className="bargain-popup__imgage" style={{backgroundImage: `url(${codeSrc})`}}></i>
<i className="bargain-popup__imgage" style={{backgroundImage: `url(${codeUrl})`}}></i>
</div>
);
}
......
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