[mod] 人數擺上面

This commit is contained in:
建喵 2022-04-22 09:07:53 +08:00
parent 083860b97f
commit 2c9ec05c86
3 changed files with 8 additions and 6 deletions

File diff suppressed because one or more lines are too long

2
dist/index.html vendored
View File

@ -7,7 +7,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HTML5 QR Code with Vue js</title>
<script type="module" crossorigin src="./assets/index.2d623832.js"></script>
<script type="module" crossorigin src="./assets/index.26e8f481.js"></script>
<link rel="stylesheet" href="./assets/index.376fffd7.css">
</head>

View File

@ -28,6 +28,7 @@ function smsto1922(decodedText: string) {
smscontent.value = sms;
let Btn_Open = document.getElementById("Btn_Open")!;
Btn_Open.style.display = "inline";
OnclickOpen();
}
function OnclickOpen() {
@ -60,14 +61,15 @@ onLoad();
</script>
<template>
<div>
人數
<el-input-number v-model="count" :min="1" size="large" />
</div>
<div id="section" class="section" style="width: 70%; margin: auto;">
<QRCodeScanner :qrbox="200" :fps="10" @decodedCode="decodedCode">
</QRCodeScanner>
</div>
<div> {{ result }} </div>
<div>
<el-input-number v-model="count" :min="1" size="large" />
</div>
<el-button id="Btn_Open" type="success" @click.native="() => { OnclickOpen() }" size="large" round>按我傳送簡訊
</el-button>
</template>