-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.html
40 lines (34 loc) · 909 Bytes
/
main.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
<!DOCTYPE html>
<html>
<head>
<title>Mahjong Points Test</title>
<script src="vue.js"></script>
</head>
<body>
<div id="winHand">
<hand-img
v-for="item in tileList"
v-bind:tile="item"
v-bind:key="item.id"
></hand-img>
</div>
<div id="changkuang">
<p>{{ roundwind }} {{ selfwind }} {{ tsumoron }} {{ richibang }} {{ honba }}</p>
</div>
<div id="pointsInput">
<input>
<button @click="checkAnswer">确认</button>
<p v-if="showAnswer">{{ totalPoint }}</p>
</div>
<div id="testResult">
<p></p>
</div>
<div id="nextQuestion">
<button @click="nextQuestion">下一题</button>
</div>
<script src='varible.js'></script>
<script src='yaku.js' ></script>
<script src='calculation.js' ></script>
<script src='component.js' ></script>
</body>
</html>