forked from fouber/lottery
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·44 lines (40 loc) · 1.94 KB
/
index.html
File metadata and controls
executable file
·44 lines (40 loc) · 1.94 KB
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
<!DOCTYPE html>
<html>
<head>
<meta name="screen-orientation" content="portrait">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" />
<title>年会抽奖小程序</title>
<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
</head>
<body>
<div id="container">
<div id="main" class="wall">
<div class="result-btn">
<span class="anouncement">美团黄Java技术支持</span>
<button class="pure-button" @click="showWinnerRecords">中奖记录</button>
</div>
<canvas id="memberCanvas"></canvas>
</div>
<div id="result" class="result">
</div>
<div id="winnerRecords" class="winnerRecords" @click="hideWinnerRecords">
</div>
<div id="tools" class="tools">
<!-- <button v-for="btn in btns" @click="onClick(btn.value)" class="pure-button"
:class="{ 'button-error': selected == btn.value}">{{btn.name}}</button> -->
<input type="number" name="winnerNumber" id="winnerNumber" placeholder="3" v-model="selected" />
<button class="pure-button" @click="toggle" :class="{'button-secondary': !running,
'button-success': running}">{{running?'停!':'开始'}}</button>
<button class="pure-button button-warning" @click="reset">清空抽奖记录</button>
<button class="pure-button" @click="loadStorageInfo">读取记录</button>
</div>
</div>
<script type="text/javascript" src="js/vue.min.js"></script>
<script type="text/javascript" src="js/tagcanvas.min.js"></script>
<script type="text/javascript" src="js/allMembers.js"></script>
<script type="text/javascript" src="js/index.js"></script>
</body>
</html>