|
|
@@ -87,7 +87,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="html2canvasBox" v-if="false">
|
|
|
+ <div class="html2canvasBox">
|
|
|
<div class="closeShare" @click="closeShare"><van-icon name="close" /></div>
|
|
|
<div id="html2canvas" ref="html2canvas">
|
|
|
<div class="scroll-container">
|
|
|
@@ -132,14 +132,14 @@ export default {
|
|
|
this.canvasImageUrl = '';
|
|
|
},
|
|
|
mounted() {
|
|
|
- // this.toastLoading(0, '生成中...', true);
|
|
|
+ this.toastLoading(0, '生成中...', true);
|
|
|
// 二维码
|
|
|
this.creatQrCode();
|
|
|
getReportImg({ reportId: this.reportId }).then((res) => {
|
|
|
if (res.data) {
|
|
|
this.photosData = res.data;
|
|
|
this.$nextTick(async () => {
|
|
|
- // await this.htmlToCanvas();
|
|
|
+ await this.htmlToCanvas();
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
@@ -268,7 +268,7 @@ export default {
|
|
|
position: absolute;
|
|
|
padding-bottom: vw(190);
|
|
|
top: 0;
|
|
|
- // z-index: -10;
|
|
|
+ z-index: -10;
|
|
|
}
|
|
|
|
|
|
.header {
|