|
@@ -165,11 +165,13 @@
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
position: fixed;
|
|
position: fixed;
|
|
|
bottom: 40px;
|
|
bottom: 40px;
|
|
|
- left: 30px;
|
|
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ padding: 0 30px;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.save_btn {
|
|
.save_btn {
|
|
|
- width: 152px;
|
|
|
|
|
|
|
+ width: 100%;
|
|
|
height: 52px;
|
|
height: 52px;
|
|
|
line-height: 52px;
|
|
line-height: 52px;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
@@ -181,18 +183,6 @@
|
|
|
color: #222222;
|
|
color: #222222;
|
|
|
margin-right: 11px;
|
|
margin-right: 11px;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- .data_btn {
|
|
|
|
|
- width: 152px;
|
|
|
|
|
- height: 52px;
|
|
|
|
|
- line-height: 52px;
|
|
|
|
|
- text-align: center;
|
|
|
|
|
- background: #222222;
|
|
|
|
|
- border-radius: 20px;
|
|
|
|
|
- font-weight: 500;
|
|
|
|
|
- font-size: 16px;
|
|
|
|
|
- color: #FFFFFF;
|
|
|
|
|
- }
|
|
|
|
|
</style>
|
|
</style>
|
|
|
|
|
|
|
|
<body>
|
|
<body>
|
|
@@ -246,8 +236,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="foot_btn">
|
|
<div class="foot_btn">
|
|
|
- <div class="save_btn" @click="saveImage">保存二维码</div>
|
|
|
|
|
- <div class="data_btn" @click="showData">数据查看</div>
|
|
|
|
|
|
|
+ <div class="save_btn">长按保存二维码</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -262,7 +251,7 @@
|
|
|
env: '',
|
|
env: '',
|
|
|
memberId: null,
|
|
memberId: null,
|
|
|
corpId: null,
|
|
corpId: null,
|
|
|
- step: null,
|
|
|
|
|
|
|
+ step: 3,
|
|
|
qrCode: '',
|
|
qrCode: '',
|
|
|
salesMan: '',
|
|
salesMan: '',
|
|
|
form: {
|
|
form: {
|
|
@@ -361,19 +350,6 @@
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
- // 保存二维码
|
|
|
|
|
- saveImage () {
|
|
|
|
|
- const link = document.createElement('a')
|
|
|
|
|
- link.href = this.qrCode
|
|
|
|
|
- link.download = 'qrCode.jpg'
|
|
|
|
|
- document.body.appendChild(link);
|
|
|
|
|
- link.click();
|
|
|
|
|
- document.body.removeChild(link);
|
|
|
|
|
- },
|
|
|
|
|
- // 查看数据
|
|
|
|
|
- showData () {
|
|
|
|
|
- window.location.href = `prize.html?httpUrl=${this.httpUrl}&corpId=${this.corpId}&memberId=${this.memberId}`;
|
|
|
|
|
- },
|
|
|
|
|
// 截取url中的数据
|
|
// 截取url中的数据
|
|
|
getQueryParam (paramName) {
|
|
getQueryParam (paramName) {
|
|
|
// 获取当前URL的查询字符串部分
|
|
// 获取当前URL的查询字符串部分
|