-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdemo.html
54 lines (50 loc) · 1.33 KB
/
demo.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="white" />
<meta name="viewport" content="width=640,user-scalable=no, target-densitydpi=device-dpi, minimal-ui, viewport-fit=cover">
<title>vue-input-keyboard</title>
<style type="text/css">
body {
color: #2c3e50;
background-color: #f1f4f8;
width: 640px;
font-size: 36px;
margin: 0 auto!important;
/*padding-bottom: 103px;*/
text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
font-family: PingFangSC-Light,'Avenir', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
</style>
<body>
<div id="app">
<div>[HOME]</div>
<center>
number:<inputkeyboard v-model="number" :decimals="2" placeholder="click to enter"/>
</center>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script src="./dist/index.min.js"></script>
<script>
new Vue({
el: '#app',
data() {
return {
number: -12345,
}
},
methods: {
}
})
</script>
</body>
</html>