-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
342 lines (302 loc) · 14.3 KB
/
test.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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
<!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/page1_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="#1"><i class="fa-solid fa-user"></i></a> <li class="login-in-regist"><a href="#">Đă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="#">Trang chủ</a>
<a href="#">Giới thiệu</a>
<a href="#">Hướng dẫn
</a>
<a href="#">Sản phẩm</a>
<a href="#">Liên hệ</a>
</nav>
<div class="banner">
<div class="slide-container" >
<div id="slide" style=" display: flex;
transition: all 2s ease-in-out; "></div>
</div>
<div class="dieuhuong">
<i class="fa fa-chevron-circle-left" onclick="go(false)"></i>
<i class="fa fa-chevron-circle-right" onclick="go(true)"></i>
</div>
</div>
<div class="gallery-container">
<div class="gallery">
<div class="caption">
<div class="gallery-vi">Bộ sưu tập</div>
<div class="gallery-name">Nendoroid</div>
<p>Dòng chibi figure được yêu thích nhất,
nhiều gương mặt, thoả sức tạo dáng</p>
<button>Xem ngay</button>
</div>
<a href="#" class="img1">
<img src="images/contents/page1/pekora/categorybanner_1_img.webp" alt="">
</a>
</div>
<div class="gallery">
<div class="caption">
<div class="gallery-vi">Bộ sưu tập</div>
<div class="gallery-name">Pop Up Parade</div>
<p>Dòng chibi figure được yêu thích nhất,
nhiều gương mặt, thoả sức tạo dáng</p>
<button>Xem ngay</button>
</div>
<a href="#" class="img2">
<img src="images/contents/page1/pekora/categorybanner_2_img.webp" alt="">
</a>
</div>
</div>
</div>
<div class="products-container">
<div class="Collections-name">
<h2>Sản phẩm có sẵn</h2>
<p>Sản phẩm đang có sẵn, bạn có thể mua ngay</p>
</div>
<div class="products">
<div class="inner-products">
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/chainsawman_img1.webp" alt=""></a>
<div class="product-anem">Chainsaw man</div>
<div class="price">2.000.000đ</div>
</div>
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/eren_img2.webp" alt=""></a>
<div class="product-anem">Eren Yeager Nendoroid</div>
<div class="price">3.500.000đ</div>
</div>
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/rimuru_img2.webp" alt=""></a>
<div class="product-anem">Rimuru</div>
<div class="price">6.000.000đ</div>
</div>
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/chainsawman_img1.webp" alt=""></a>
<div class="product-anem">Chainsaw man</div>
<div class="price">2.000.000đ</div>
</div>
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/bishoujo_img2.webp" alt=""></a>
<div class="product-anem">Bishoujo</div>
<div class="price">1.450.000đ</div>
</div>
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/eren_img1.webp" alt=""></a>
<div class="product-anem">Eren Nendoroid</div>
<div class="price">3.000.000đ</div>
</div>
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/rimuru_img1.jpg" alt=""></a>
<div class="product-anem">Rimuru</div>
<div class="price">4.000.000đ</div>
</div>
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/toloveru_img1.webp" alt=""></a>
<div class="product-anem">To love ruu</div>
<div class="price">2.600.000đ</div>
</div>
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/bishoujo_img1.webp" alt=""></a>
<div class="product-anem">Bishoujo</div>
<div class="price">1.450.000đ</div>
</div>
</div>
<a href="#" class="product-banner">
<img src="images/contents/page1/products/home_collection_2_banner.webp" alt="">
</a>
</div>
</div>
<div class="products-container">
<div class="Collections-name">
<h2>Sản phẩm có sẵn</h2>
<p>Sản phẩm đang có sẵn, bạn có thể mua ngay</p>
</div>
<div class="products">
<div class="inner-products">
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/chainsawman_img1.webp" alt=""></a>
<div class="product-anem">Chainsaw man</div>
<div class="price">2.000.000đ</div>
</div>
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/eren_img2.webp" alt=""></a>
<div class="product-anem">Eren Yeager Nendoroid</div>
<div class="price">3.500.000đ</div>
</div>
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/rimuru_img2.webp" alt=""></a>
<div class="product-anem">Rimuru</div>
<div class="price">6.000.000đ</div>
</div>
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/chainsawman_img1.webp" alt=""></a>
<div class="product-anem">Chainsaw man</div>
<div class="price">2.000.000đ</div>
</div>
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/bishoujo_img2.webp" alt=""></a>
<div class="product-anem">Bishoujo</div>
<div class="price">1.450.000đ</div>
</div>
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/eren_img1.webp" alt=""></a>
<div class="product-anem">Eren Nendoroid</div>
<div class="price">3.000.000đ</div>
</div>
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/rimuru_img1.jpg" alt=""></a>
<div class="product-anem">Rimuru</div>
<div class="price">4.000.000đ</div>
</div>
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/toloveru_img1.webp" alt=""></a>
<div class="product-anem">To love ruu</div>
<div class="price">2.600.000đ</div>
</div>
<div class="product-detail">
<a href="#"><img src="images/contents/page1/products/bishoujo_img1.webp" alt=""></a>
<div class="product-anem">Bishoujo</div>
<div class="price">1.450.000đ</div>
</div>
</div>
<a href="#" class="product-banner">
<img src="images/contents/page1/products/home_collection_2_banner.webp" alt="">
</a>
</div>
</div>
<div class="benefits-line">
<div class="benefit">
<img src="images/contents/page1/benefit-icons/services_item_1_img.webp" alt="">
<h3>Sản phẩm chính hãng</h3>
<p>Nhập khẩu trực tiếp từ Nhật Bản</p>
<div class="details">Xem chi tiết > </div>
</div>
<div class="vertical-line"></div>
<div class="benefit">
<img src="images/contents/page1/benefit-icons/services_item_2_img.webp" alt="">
<h3>Sản phẩm chính hãng</h3>
<p>Nhập khẩu trực tiếp từ Nhật Bản</p>
<div class="details">Xem chi tiết > </div>
</div>
<div class="vertical-line"></div>
<div class="benefit">
<img src="images/contents/page1/benefit-icons/services_item_3_img.webp" alt="">
<h3>Sản phẩm chính hãng</h3>
<p>Nhập khẩu trực tiếp từ Nhật Bản</p>
<div class="details">Xem chi tiết > </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>@duy.rk</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>