-
Notifications
You must be signed in to change notification settings - Fork 0
/
products.html
310 lines (271 loc) · 11 KB
/
products.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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Japan Figure</title>
<link rel="stylesheet" href="styles/page5_style.css">
<link rel="stylesheet" href="styles/fontawesome-free-6.1.1-web/css/all.css">
<link rel="icon" href="images/logo/favicon.webp">
</head>
<body>
<div class="container">
<header class="header" >
<!-- 3 gach menu -->
<a class="toggle-button" onclick="myFunction(this), ok()">
<div class="bar1"></div>
<div class="bar2"></div>
<div class="bar3"></div>
</a>
<a href="index.html" class="logo"><img src="https://theme.hstatic.net/1000160337/1000885200/14/logo.png?v=269" alt=""></a>
<input type="text" class="search-bar" placeholder="Nhập tên sản phẩm bạn muốn tìm...?">
<button class="search"><i class="fa-solid fa-magnifying-glass"></i></button>
<ul class="login-n-buy">
<a href="login.html"><i class="fa-solid fa-user"></i></a> <li class="login-in-regist"><a href="login.html">Đăng nhập / Đăng ký</a></li>
<i class="fa-solid fa-cart-shopping"></i><li class="buy">Giỏ hàng</li>
</ul>
</header>
<div class="search-mobile-container">
<input type="text" class="search-bar-mobile" placeholder="Nhập tên sản phẩm bạn muốn tìm...?">
</div>
<nav class="navigation" >
<a href="index.html">Trang chủ</a>
<a href="introduction.html">Giới thiệu</a>
<a href="instruction.html">Hướng dẫn</a>
<a href="products.html">Sản phẩm</a>
<a href="contact.html">Liên hệ</a>
</nav>
</div>
<div class="banner-container">
<img src="images/banners/blogs_banner_paralax.webp" alt="">
</div>
<div class="product-showcase-container">
<p><div class="prod-label">Tất cả sản phẩm</div></p>
<div class="filter-container">
<div class="filter-label">Phân loại</div>
<div class="filter-wrapper">
<div class="filter">
Thương hiệu</div>
<div class="dropdown-container">
<ul>
<li>
<input type="checkbox" name="" id="">Max Factory
</li>
<li>
<input type="checkbox" name="" id="">Max Factory
</li>
<li>
<input type="checkbox" name="" id="">Max Factory
</li>
<li>
<input type="checkbox" name="" id="">Max Factory
</li>
<li>
<input type="checkbox" name="" id="">Max Factory
</li>
</ul>
</div>
</div>
<div class="filter-wrapper">
<div class="filter">
Lọc giá</div>
<div class="dropdown-container">
<ul>
<li>
<input type="checkbox" name="" id="">Max Factory
</li>
<li>
<input type="checkbox" name="" id="">Max Factory
</li>
<li>
<input type="checkbox" name="" id="">Max Factory
</li>
<li>
<input type="checkbox" name="" id="">Max Factory
</li>
<li>
<input type="checkbox" name="" id="">Max Factory
</li>
</ul>
</div>
</div>
<div class="filter-wrapper">
<div class="filter">
Tỉ lệ</div>
<div class="dropdown-container">
<ul>
<li>
<input type="checkbox" name="" id="">Max Factory
</li>
<li>
<input type="checkbox" name="" id="">Max Factory
</li>
<li>
<input type="checkbox" name="" id="">Max Factory
</li>
<li>
<input type="checkbox" name="" id="">Max Factory
</li>
<li>
<input type="checkbox" name="" id="">Max Factory
</li>
</ul>
</div>
</div>
</div>
<div class="products-showcase">
<div>
<a href="#"><img src="images/products/__feat.webp" alt=""></a>
<div class="prod-details">
<div class="name">Hatsune Miku</div>
<div class="price">2.000.000đ</div>
<button class="buy-button" >Mua ngay</button>
</div>
</div>
<div>
<a href="buy-page.html"><img src="images/products/figure-054757_01_9bbefd7ebff144938dfcf0cbd53f5da5_large.webp" alt=""></a>
<div class="prod-details">
<div class="name">Shrine Maiden Hakurei Hakurei</div>
<div class="price">2.000.000đ</div>
<button class="buy-button" >Mua ngay</button>
</div>
</div>
<div>
<a href="#"><img src="images/products/figure-049665_01_308602fd95a345b7bef8d8ce7394bdfb_large.webp" alt=""></a>
<div class="prod-details">
<div class="name">Homajou Remilia: Sakuya</div>
<div class="price">2.000.000đ</div>
<button class="buy-button" >Mua ngay</button>
</div>
</div>
<div>
<a href="#"><img src="images/products/ect_the_expressive_poker_face_kokoro_hatano__light_arms_edition__1__1__4acdbecfc09b4bb2bf624bd9e7e1c5f9_large.webp" alt=""></a>
<div class="prod-details">
<div class="name">Hata no Kokoro</div>
<div class="price">2.000.000đ</div>
<button class="buy-button" >Mua ngay</button>
</div>
</div>
<div>
<a href="#"><img src="images/products/flan.webp" alt=""></a>
<div class="prod-details">
<div class="name">Flandre Scarlet Devil</div>
<div class="price">2.000.000đ</div>
<button class="buy-button" >Mua ngay</button>
</div>
</div>
<div>
<a href="#"><img src="images/products/b-style_touhou_project_marisa_kirisame_1__1__15de78db73d44df7a2c10d1b41dddd40_large.webp" alt=""></a>
<div class="prod-details">
<div class="name">Magic Caster God Marisad</div>
<div class="price">2.000.000đ</div>
<button class="buy-button" >Mua ngay</button>
</div>
</div>
<div>
<a href="#"><img src="images/products/umamusume_pretty_derby_daiwa_scarlet_1__1__c3aeaa5bd5cc4937a60d5d3f069e5a80_large.jpg" alt=""></a>
<div class="prod-details">
<div class="name">Lmaao Horse</div>
<div class="price">2.000.000đ</div>
<button class="buy-button" >Mua ngay</button>
</div>
</div>
<div>
<a href="#"><img src="images/products/figma_black_rock_shooter_dawn_fall_empress___black_rock_shooter____1__6783bd91b42d48a2a5768738a13157ba_large.webp" alt=""></a>
<div class="prod-details">
<div class="name">Miku lookalike</div>
<div class="price">2.000.000đ</div>
<button class="buy-button" >Mua ngay</button>
</div>
</div>
</div>
</div>
<div class="showcase-container">
<div class="follow-us">
<h1>Follow tác giả làm web này ngay :3</h1>
<p style="text-align:center;"><span>@duy.rk</span></p>
</div>
<div class="showcase">
<a href=""><img src="images/contents/page1/showcase/gallery_item_1_img.webp" alt=""></a>
<a href=""><img src="images/contents/page1/showcase/gallery_item_2_img.webp" alt=""></a>
<a href=""><img src="images/contents/page1/showcase/gallery_item_3_img.webp" alt=""></a>
<a href=""><img src="images/contents/page1/showcase/gallery_item_4_img.jpg" alt=""></a>
<a href=""><img src="images/contents/page1/showcase/gallery_item_5_img.jpg" alt=""></a>
<a href=""><img src="images/contents/page1/showcase/gallery_item_6_img.jpg" alt=""></a>
</div>
</div>
<footer>
<div class="introduce-container">
<h3>Giới thiệu Japan Figure</h3>
<p> Giúp các bạn trẻ Việt Nam dễ dàng tiếp cận với mô hình figure Nhật Bản</p>
</div>
<div class="address">
<p>Địa chỉ: Quận 10, Tp. Hồ Chí Minh. <br>
Japan Figure chưa có không gian trưng bày, bạn vui lòng hẹn trước khi đến <br>
Điện thoại: 090 8268 007 <br>
Email: [email protected]</p>
</div>
<div class="support">
<h3>Hỗ trợ khách hàng</h3>
<ul>
<li>Tìm kiếm</li>
<li>Giới thiệu </li>
</ul>
</div>
<div class="care-customers">
<h3>Chăm sóc khách hàng</h3>
<i class="fa-solid fa-phone"></i><span>012345678</span>
<div>[email protected]</div>
</div>
</footer>
<div class="footer-line"></div>
<div class="Copyright-line">Copyright © 2022 Japan Figure. Powered by raikoSUS</div>
</body>
<script>
function myFunction(x) {
x.classList.toggle("change");
}
function ok(){
if(document.getElementsByTagName('nav')[0].getAttribute('id') === 'navappear'){
document.getElementsByTagName('nav')[0].setAttribute('id','navhide');
}else{
document.getElementsByTagName('nav')[0].setAttribute('id','navappear');
}
}
function checkWidth(){
var element = document.getElementsByTagName('body')[0];
var positionInfo = element.getBoundingClientRect();
var width = positionInfo.width;
var flag =0;
if(document.getElementsByTagName('nav')[0].getAttribute('id')=== 'navappear'){
flag =1;
} else{
flag=0;
}
if(width > 992){
document.getElementsByTagName('nav')[0].setAttribute('id','');
}
if(flag==1){
document.getElementsByTagName('nav')[0].setAttribute('id','navappear');
}
}
// }
// function check(){
// var element = document.getElementsByTagName('body')[0];
// var positionInfo = element.getBoundingClientRect();
// var width = positionInfo.width;
// if(document.getElementsByTagName('nav')[0].getAttribute('name') === 'close'){
// document.getElementsByTagName('nav')[0].setAttribute('name','open')
// document.getElementsByTagName('nav')[0].style.display = "flex";
// }else if(document.getElementsByTagName('nav')[0].getAttribute('name') === 'open'){
// document.getElementsByTagName('nav')[0].setAttribute('name','close')
// document.getElementsByTagName('nav')[0].style.display = "none";
// }
// }
setInterval(checkWidth,1);
function open(){
}
</script>
<script src="Js/js-page1.js"></script>
</html>