-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchitietsp.html
178 lines (163 loc) · 6.02 KB
/
chitietsp.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
<!DOCTYPE html>
<html>
<head>
<title>Chi tiết sản phẩm</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="fontawesome-free-5.3.1-web/css/all.min.css">
<link rel="stylesheet" type="text/css" href="fontawesome-free-5.3.1-web/css/brands.min.css">
<link rel="stylesheet" type="text/css" href="fontawesome-free-5.3.1-web/css/fontawesome.min.css">
<link rel="stylesheet" type="text/css" href="fontawesome-free-5.3.1-web/css/regular.min.css">
<link rel="stylesheet" type="text/css" href="css/aside.css">
<link rel="stylesheet" type="text/css" href="css/footer.css">
<link rel="stylesheet" type="text/css" href="css/mobile.css">
<link rel="stylesheet" type="text/css" href="css/chitietsp.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<header id="header1">
<div class="container-header">
<div class="branding">
<a href="index.html">
<img src="img/logo/Capture.PNG" height="100">
</a>
</div> <!-- nhan hieu va logo -->
<div class="search">
<input id="txttimkiem1" type="text" name="" placeholder="Tìm kiếm...">
<button onclick="timkiemthuong()"><i class="fas fa-search"></i></button>
</div><!-- thanh tim kiem -->
<div class="topnav" id="navbar">
<nav>
<ul>
<li>
<a href="index.html">
<!-- <i style="color: red" class="fas fa-heart"></i> -->
<img src="./img/iconnav/iconfinder_box1_53249.png" width="36px" height="36px" style="float: left;">
<label>Khuyến mãi</label>
</a>
</li>
<li>
<a href="index.html?giohang">
<!-- <i style="color:yellow" class="fas fa-shopping-cart"></i> -->
<img src="./img/iconnav/iconfinder_sale_lineal_color_cnvrt-17_3827705.png" width="36px" height="36px" style="float: left;">
<label>Giỏ hàng</label>
</a>
</li>
<li>
<a href="index.html">
<!-- <i style="color:yellow" class="fas fa-truck"></i> -->
<img src="./img/iconnav/iconfinder_sale_lineal_color_cnvrt-06_3827713.png" width="36px" height="36px" style="float: left;">
<label>Đơn hàng</label>
</a>
</li>
<li>
<a href="index.html?dangnhap">
<!-- <i style="color:yellow" class="fas fa-user-alt"></i> -->
<img src="./img/iconnav/iconfinder_marty-mcfly_748990.png" width="36px" height="36px" style="float: left;">
<label>Tài khoản</label>
</a>
</li>
<li class="clickButton"><a href="javascript:void(0)" onclick="clickFunction()"><i class="fas fa-align-justify"></i></a></li>
</ul>
</nav>
</div> <!-- khung navbar ben thanh header -->
</div>
</header>
<article class="chitietsp">
<div class="container">
<div class="row">
<div class="col-4">
<img src="img/product/samsung9.png" id="anhsp" class="anhsp">
</div>
<div class="col-3 cot2"> <!-- chỗ sai -->
<div class="title" id="title">
Samsung Galaxy S20 FE
</div>
<!-- <p class="tacgia">Tác giả:</p>
<div class="author" id="author">
Rosie Nguyễn
</div> -->
<br>
<p class="giaca">Giá:</p>
<div class="price">
<span id="price" style="color: red">15990000</span><span style="color: red">đ </span><del style="color: #777">16990000</del>
</div>
<br>
<div class="dieuchinhsl"> <!-- cái khung điều chỉnh số lượng -->
<div class="SL">Số lượng: </div>
<div class="pre">
<input type="button" name="" value="-" onclick="preclick()">
<!-- <button onclick="preclick()"><i class="fas fa-minus"></i></button> -->
</div>
<div class="text">
<input type="text" name="" id="slsp" value="0" class="text">
</div>
<div class="next">
<input type="button" name="" value="+" onclick="nextclick()">
<!-- <button onclick="nextclick()"><i class="fas fa-plus"></i></button> -->
</div>
</div>
<div>
<!-- tổng số tiền của cuốn sách đó -->
<div id = "tongtien"></div>
</div>
<div class="addgio">
<!-- <input type="button" name="" onclick="mua();"><i class="fas fa-cart-plus"></i><p>THÊM VÀO GIỎ</p> -->
<button onclick="mua()"><i class="fas fa-cart-plus"></i><p>THÊM VÀO GIỎ</p></button>
<!-- <input type="button" name="" value="Mua ngay" > -->
</div><!-- cái khung điều chỉnh số lượng -->
</div> <!-- hết cột 2 trong chi tiết sp -->
<form class="col-5 cot3">
<fieldset class="mota">
<legend class="motta"><h3>MÔ TẢ SẢN PHẨM</h3></legend>
<div class="chitiet">
<table class="bang" >
<th colspan="10">Thông số kỹ thuật</th>
<tr class="tr1">
<td>Màn hình:</td>
<td>Super AMOLED, 6.5", Full HD+</td>
</tr>
<tr class="tr2">
<td>Hệ điều hành:</td>
<td>Android 10</td>
</tr>
<tr class="tr3">
<td>Camera sau:</td>
<td>Chính 12 MP & Phụ 12 MP, 8 MP</td>
</tr>
<tr class="tr4">
<td>Camera trước:</td>
<td>32 MP</td>
</tr>
<tr class="tr5">
<td>CPU:</td>
<td>Exynos 990 8 nhân</td>
</tr>
<tr class="tr6">
<td>RAM:</td>
<td>8 GB</td>
</tr>
<tr class="tr6">
<td>Bộ nhớ trong:</td>
<td>128 GB</td>
</tr>
<tr class="tr7">
<td>Thẻ nhớ:</td>
<td>MicroSD, hỗ trợ tối đa 1 TB</td>
</tr>
<tr class="tr8">
<td>Dung lượng pin:</td>
<td>4500 mAh, có sạc nhanh</td>
</tr>
</table>
</div>
</fieldset>
</form>
</div>
</article>
<script type="text/javascript" src="js/chitietsp.js"></script>
<script type="text/javascript" src="js/windownonloadsp.js"></script>
<script type="text/javascript" src="js/clickButton.js"></script>
</body>
</html>