PCqiandao
杨树林 5 years ago
parent e7ea7524fa
commit 2c59f320b9

@ -1,6 +1,7 @@
import React,{ Component } from "react"; import React,{ Component } from "react";
import '../css/signincdi.css'; import '../css/signincdi.css';
import { Progress,message } from 'antd'; import { Progress,message } from 'antd';
import QRCode from 'qrcode.react';
import axios from 'axios'; import axios from 'axios';
function clearSlct() { function clearSlct() {
if("getSelection" in window){ if("getSelection" in window){
@ -119,7 +120,23 @@ class Detailss extends Component{
{/* color:"#909399"*/} {/* color:"#909399"*/}
{/*}}>签到码:</p>*/} {/*}}>签到码:</p>*/}
<div style={{
position: "absolute",
bottom:"-11px",
}}>
<QRCode
value={111111111} //value参数为生成二维码的链接
size={84} //二维码的宽高尺寸
fgColor="#000000" //二维码的颜色
/>
<div className="font-14" style={{
width:"84px",
textAlign: "center",
color:"#333333"
}}>
扫码签到
</div>
</div>
</div> </div>
</div> </div>
</div> </div>

@ -347,4 +347,5 @@
font-family:Microsoft YaHei; font-family:Microsoft YaHei;
font-weight:400; font-weight:400;
color:rgba(153,153,153,1); color:rgba(153,153,153,1);
} }

Loading…
Cancel
Save