Commit 6284deb8 by FE

bg to img

parent 1bcc1453
......@@ -49,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(${codeUrl})`}}></i>
<img className="bargain-popup__imgage" src={codeUrl} alt="" />
</div>
);
}
......
......@@ -34,9 +34,7 @@
}
.bargain-popup__imgage {
display: inline-block;
display: block;
width: 106px;
height: 106px;
margin-top: 15px;
background-size: cover;
margin: 15px auto 0;
}
\ No newline at end of file
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