-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
30 lines (30 loc) · 1.42 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<html>
<head>
<meta charset="UTF-8" lang="JA">
<script src="https://cdn.jsdelivr.net/npm/vue@2"></script>
<script src="https://unpkg.com/dexie@latest/dist/dexie.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="./VueQrcodeReader.umd.min.js"></script>
<link rel="stylesheet" href="./style.css">
<link rel="manifest" href="manifest.json"/>
<title>Final</title>
</head>
<body>
<div id="app">
<p class="error" style="color: red;font-weight: bold;">{{error}}</p>
<div v-if="!FullscreenChange">
<p class="decode-result">最後の読み取り結果: <b>{{result}}</b><br>
Last answer: <b id="LA"></b></p>
<button style="position: fixed;bottom:20px;right: 20px;z-index: 1000;" type="button" @click="onFullChange">全画面に変更</button>
</div>
<div v-if="FullscreenChange">
<button style="position:fixed;bottom:20px;right:20px;z-index:1000;" type="button" @click="onDefaultChange">全画面を終了</button>
</div>
<qrcode-stream :camera="camera" @decode="onDecode" @init="onInit" class="fullscreen" id="Change"/>
<img src="./OK.png" alt="OKサイン" v-if="JTFPause">
<img src="./NG.png" alt="NGサイン" v-if="DPause">
<button style="position: fixed;bottom:20px;left:20px;z-index:1000;" type="button" @click="onFrontChange">前面カメラ</button>
</div>
<script src="./script.js"></script>
</body>
</html>