|
@@ -34,6 +34,10 @@ function makeQrcode() {
|
|
|
};
|
|
|
QRCode.toCanvas(canvas, detailData.value.qrcode, opts);
|
|
|
}
|
|
|
+
|
|
|
+function handleSign() {
|
|
|
+ window.open(detailData.value.qrcode, '_blank')
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
<template>
|
|
@@ -84,7 +88,11 @@ function makeQrcode() {
|
|
|
<tr v-show="detailData.hysyd_ewm_option_k == '1'">
|
|
|
<td>请扫描二维码进行签到</td>
|
|
|
<td>
|
|
|
- <canvas ref="canvas"></canvas>
|
|
|
+ <div class="flex items-center justify-between">
|
|
|
+ <canvas ref="canvas"></canvas>
|
|
|
+ <button class="border-1 border-hex-60a5fa text-hex-60a5fa h-30px px-10px rounded-10px"
|
|
|
+ @click="handleSign">点击签到</button>
|
|
|
+ </div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|