|
@@ -38,8 +38,8 @@ export default { |
|
|
creatQrCode() { |
|
|
creatQrCode() { |
|
|
var qrcode = new QRCode(this.$refs.RqCode, { |
|
|
var qrcode = new QRCode(this.$refs.RqCode, { |
|
|
text: `{"END":"B","TYPE":"merchant","ID":"${this.merchant_id_scan}"}`, //需要转换为二维码的内容 |
|
|
text: `{"END":"B","TYPE":"merchant","ID":"${this.merchant_id_scan}"}`, //需要转换为二维码的内容 |
|
|
width: 175, |
|
|
|
|
|
height: 150, |
|
|
|
|
|
|
|
|
// width: 175, |
|
|
|
|
|
// height: 200, |
|
|
colorDark: "#000000", |
|
|
colorDark: "#000000", |
|
|
colorLight: "#ffffff", |
|
|
colorLight: "#ffffff", |
|
|
correctLevel: QRCode.CorrectLevel.H, |
|
|
correctLevel: QRCode.CorrectLevel.H, |
|
@@ -75,7 +75,7 @@ export default { |
|
|
} |
|
|
} |
|
|
.RqBox { |
|
|
.RqBox { |
|
|
width: 94%; |
|
|
width: 94%; |
|
|
height: 9rem; |
|
|
|
|
|
|
|
|
height: 10rem; |
|
|
margin: 0 3%; |
|
|
margin: 0 3%; |
|
|
background-color: #ffffff; |
|
|
background-color: #ffffff; |
|
|
border-radius: 0.3rem; |
|
|
border-radius: 0.3rem; |
|
@@ -89,8 +89,8 @@ export default { |
|
|
color: rgba(51, 51, 51, 1); |
|
|
color: rgba(51, 51, 51, 1); |
|
|
} |
|
|
} |
|
|
.Rq { |
|
|
.Rq { |
|
|
width: 4.7rem; |
|
|
|
|
|
height: 4rem; |
|
|
|
|
|
|
|
|
width: 6rem; |
|
|
|
|
|
height: 5rem; |
|
|
margin: auto; |
|
|
margin: auto; |
|
|
margin-top: 0.5rem; |
|
|
margin-top: 0.5rem; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|