-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheckout.html
189 lines (175 loc) · 9.24 KB
/
checkout.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="UTF-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Thanh toán</title>
<link href="./assets/img/favicon.png" rel="shortcut icon" type="image/x-icon">
<link href="./assets/bootstrap.css" rel="stylesheet">
<link href="./assets/bootstrap-icons-1.10.4/font/bootstrap-icons.css" rel="stylesheet">
<script src="./assets/jquery-3.6.4.js"></script>
<!-- font awesome -->
<!-- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" integrity="sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm" crossorigin="anonymous"/> -->
<!-- <link rel="stylesheet" href="./assets/all.css"> -->
<script src="./assets/popper.min.js"></script>
<script src="./assets/bootstrap.js"></script>
<link href="./assets/font/stylesheet.css" rel="stylesheet">
<link href="./assets/styles.css" rel="stylesheet">
<script src="./assets/custom.js"></script>
<script src="./assets/thanhtoan.js"></script>
<style>
nav {
position: relative;
}
.navbar-brand {
position: absolute;
left: 50%;
top: 30px;
transform: translateX(-50%);
}
#qr-code {
width: 200px;
height: 200px;
margin: 0 auto;
}
#countdown {
font-size: 24px;
text-align: center;
margin-top: 20px;
}
</style>
</head>
<body>
<!-- navbar -->
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container">
<a class="navbar-brand" href="./index.html" style="width: 20%;">
<img alt="" src="./assets/img/symbolic logo.png" style="min-width: 150px;" width="100%">
</a>
<div class="container">
<div class="py-5 text-center">
</div>
<div class="row">
<div class="col-md-4 order-md-2 mb-4">
<h4 class="d-flex justify-content-between align-items-center mb-3">
<span class="text-muted">Giỏ hàng của bạn</span>
<span class="cartSize" style="vertical-align: inherit;"></span>
</h4>
<ul class="list-group mb-3 sticky-top checkoutInfo">
<!--//sp goes here-->
</ul>
</div>
<div class="col-md-8 order-md-1">
<h3 class="mb-3">Thông tin thanh toán</h3>
<form class="needs-validation" novalidate="">
<div class="row">
<div class="col-md-6 mb-3">
<label for="firstName">Tên</label>
<input class="form-control" id="firstName" placeholder="" required="" type="text"
value="">
<div class="invalid-feedback">Bắt buộc phải có tên hợp lệ.</div>
</div>
<div class="col-md-6 mb-3">
<label for="lastName">Họ</label>
<input class="form-control" id="lastName" placeholder="" required="" type="text"
value="">
<div class="invalid-feedback">Bắt buộc phải có họ hợp lệ.</div>
</div>
</div>
<div class="mb-3">
<label for="username">Tên tài khoản</label>
<div class="input-group">
<input class="form-control" id="username" required="" type="text">
<div class="invalid-feedback" style="width: 100%;"> Tên người dùng của bạn là bắt
buộc.
</div>
</div>
</div>
<div class="mb-3">
<label for="sdt">Số điện thoại</label>
<input class="form-control" id="sdt" type="email">
<div class="invalid-feedback"> Vui lòng nhập số điện thoại hợp lệ.</div>
</div>
<div class="mb-3">
<label for="email">Email</label>
<input class="form-control" id="email" type="email">
<div class="invalid-feedback"> Vui lòng nhập địa chỉ email hợp lệ để cập nhật thông tin vận
chuyển.
</div>
</div>
<div class="mb-3">
<label for="address">Địa chỉ</label>
<input class="form-control" id="address" required="" type="text">
<div class="invalid-feedback"> Vui lòng nhập địa chỉ vận chuyển của bạn.</div>
</div>
<div class="mb-4">
<label for="address2">Địa chỉ 2</label>
<input class="form-control" id="address2" type="text">
</div>
<div class="mb-4">
<textarea class="field__input" data-bind="note" id="note" name="note"
placeholder="Ghi chú" style="width: 100%; height: 130px;"></textarea>
</div>
<div class="row">
<div class="col-md-5 mb-4">
<label for="country">Quốc gia</label>
<select class="custom-select d-block w-100" id="country" required="">
<option value="">Chọn...</option>
<option>Viet Nam</option>
<option>Lao</option>
<option>Campuchia</option>
<option>Singapore</option>
<option>Malaysia</option>
<option>ThaiLand</option>
<option>Korea</option>
<option>Japan</option>
</select>
<div class="invalid-feedback"> Vui lòng chọn một quốc gia hợp lệ.</div>
</div>
<hr class="mb-4">
<div class="custom-control custom-checkbox">
<input class="custom-control-input" id="same-address" type="checkbox">
<label class="custom-control-label" for="same-address">Địa chỉ giao hàng giống với địa
chỉ thanh toán của tôi</label>
</div>
<div class="custom-control custom-checkbox">
<input class="custom-control-input" id="save-info" type="checkbox">
<label class="custom-control-label" for="save-info">Lưu thông tin này cho lần
sau</label>
</div>
<hr class="mb-5">
</div>
<section class="section">
<div class="section__header">
<div class="layout-flex">
<h2 class="section__title layout-flex__item layout-flex__item--stretch">
<i class="fa fa-credit-card fa-lg section__title--icon hide-on-desktop"></i>
Thanh toán trực tiếp
</h2>
</div>
</div>
</section>
<div class="payment-options">
<label for="payment-cod">
<input id="payment-cod" name="payment-method" type="radio" value="cod"> Thanh toán khi
giao hàng (COD)
</label>
<br>
<br>
<div class="payment-info payment-cod-info" style="display:none;">
Bạn chỉ cần thanh toán khi nhận được hàng
</div>
</div>
<a class="btn btn-primary btn-lg btn-block" href="index.html"
onclick="alert(`Thanh toán thành công. Cảm ơn bạn đã mua hàng tại Symbolic!`)">Thanh toán</a>
</form>
</div>
</div>
</div>
</div>
</nav>
<footer class="my-5 pt-5 text-muted text-center text-small">
</footer>
</body>
</html>