|
@@ -360,6 +360,7 @@ class Achievement extends React.Component {
|
|
|
wrapperCol: { span: 12 }
|
|
|
};
|
|
|
return (
|
|
|
+ const url="https://api.qrserver.com/v1/create-qr-code/?data=http://"+window.location.host+"/open/achievementDetails?id="+this.state.id+"&size=100x100"
|
|
|
<div className="user-content">
|
|
|
<div className="content-title">
|
|
|
<span className="title">四川科技需求</span>
|
|
@@ -658,7 +659,7 @@ class Achievement extends React.Component {
|
|
|
</div>
|
|
|
<div className="clearfix">
|
|
|
<FormItem labelCol={{ span: 3 }} wrapperCol={{ span: 19 }} label="二维码">
|
|
|
- <img src="http://localhost:8080/open/achievementDetails?id=4c3f363e-fc5f-42b2-b7b8-71fa8659b468" style={{width:"100px",height:"100px"}}/>
|
|
|
+ <img src={url} style={{width:"100px",height:"100px"}}/>
|
|
|
</FormItem>
|
|
|
</div>
|
|
|
</div>
|