-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathorder.html
56 lines (52 loc) · 1.55 KB
/
order.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>
<?!= include('order.css'); ?>
<script>drinkList = <?!= drinkList?></script>
</head>
<body>
<div class="main" id="main">
<div class="header">
<div class="logo"> <span>K</span><span>E</span><span>B</span><span>U</span><span>K</span><span>E</span></div>
</div>
<div class="container" id="app">
<table class="drinkList">
<tbody>
<tr>
<th class="name">姓 名</th>
<th class="drink">飲 品</th>
<th class="size">大小</th>
<th class="sugar">甜 度</th>
<th class="ice">冰 量</th>
<th class="add">配 料</th>
<th class="price">價 格</th>
<th class="extra-info">備 註</th>
</tr>
<tr v-for="drink in drinkList">
<td>{{drink.name}}</td>
<td>{{drink.drink}}</td>
<td>{{drink.size}}</td>
<td>{{drink.sugar}}</td>
<td>{{drink.ice}}</td>
<td>{{drink.add}}</td>
<td>{{drink.price}}</td>
<td>{{drink.extraInfo}}</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<th>合計</th>
<td>{{total}}</td>
<td><a href="<?!= url?>" target="_blank">回訂購單</a></td>
</tr>
</tbody>
</table>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.min.js"></script>
</body>
<?!= include('order.js'); ?>
</html>