-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/DarqPL/Web_ban_sach
- Loading branch information
Showing
7 changed files
with
184 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
function xemChiTiet(objSP){ | ||
var sp = JSON.parse(objSP); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Toko - Web bán sách chất lượng</title> | ||
<link rel="stylesheet" href="../CSS/bootstrap.min.css"> | ||
<script src="../JS/jquery-3.7.1.min.js"></script> | ||
<script src="../JS/bootstrap.bundle.min.js"></script> | ||
<link rel="stylesheet" href="../CSS/styleindex.css"> | ||
<link rel="stylesheet" href="../fontawesome/fontawesome-free-6.5.2-web/css/all.min.css"> | ||
<script src="../js/index.js"></script> | ||
<script src="../JS/chiTiet.js"></script> | ||
</head> | ||
<body> | ||
<div class="container-fluids"> | ||
<div class="container-fluid"> | ||
<div class="header"> | ||
<div class="row"> | ||
<div class="col-lg-2 text-center"><a href="../index.html"><img src="../IMG/logo.png" alt=""></a></div> | ||
<div class="col-lg-7 center"> | ||
<div class="timKiem tK mt-2"> | ||
<img class="icon-search" src="../IMG/6fef2e788f00a16dc7d5a1dfc5d0e97a.png" alt="icon-search"> | ||
<input type="text" data-view-id="main_search_form_input" value="" placeholder="Bạn tìm gì hôm nay" class="searchBar sB"> | ||
<button data-view-id="main_search_form_button" class="searchButton sBtn">Tìm kiếm</button> | ||
</div> | ||
</div> | ||
<div class="col-lg-3 mt-1"> | ||
<div class="row"> | ||
<div data-view-id="header_user_shortcut" class="Userstyle__RootRevamp-sc-6e6am-15 hkQlMw mt-2"> | ||
<a href="../index.html" style="text-decoration: none;"> | ||
<div class="Userstyle__MenuItemRevamp-sc-6e6am-19 fUChpf"> | ||
<img src="../IMG/home.png" alt="header_menu_item_home">Trang chủ | ||
</div> | ||
</a> | ||
<div data-view-id="header_header_account_container" class="Userstyle__MenuItemRevamp-sc-6e6am-19 fUChpf" data-bs-toggle="modal" data-bs-target="#myModal"> | ||
<img src="../IMG/smile.png" alt="header_header_account_img"> | ||
<span>Tài khoản</span> | ||
</div> | ||
<div class="Userstyle__CartItem-sc-6e6am-14 hfiWvr"> | ||
<a data-view-id="header_user_shortcut_cart" href="#" rel="nofollow" style="text-decoration: none;"> | ||
<div class="Userstyle__MenuItemRevamp-sc-6e6am-19 Userstyle__CartItemInnerRevamp-sc-6e6am-20 bhXqXQ iZYkSb"> | ||
<div class="cart-wrapper"> | ||
<img class="cart-icon" src="../IMG/cart.png" alt="header_header_img_Cart"> | ||
<div> | ||
<span id="cartSL">0</span> | ||
</div> | ||
</div> | ||
</div> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="modal" id="myModal"> | ||
<div class="modal-dialog"> | ||
<div class="modal-content"> | ||
<!-- Modal body --> | ||
<div class="modal-body"> | ||
<form action="" onsubmit="return formValidation()"> | ||
<div class="row"> | ||
<label for="username" class="form-label">Username | ||
<span style="color: red;" id="errName">(*)</span> | ||
</label> | ||
<input type="text" name="username" id="username" class="form-control"> | ||
</div> | ||
<div class="row"> | ||
<label for="email" class="form-label">Email | ||
<span style="color: red;" id="errEmail">(*)</span> | ||
</label> | ||
<input type="text" name="email" id="email" class="form-control"> | ||
</div> | ||
<div class="row"> | ||
<label for="phone" class="form-label">Phone number | ||
<span style="color: red;" id="errPhone">(*)</span> | ||
</label> | ||
<input type="text" name="phone" id="phone" class="form-control"> | ||
</div> | ||
<div class="row"> | ||
<label for="pwd" class="form-label">Password | ||
<span style="color: red;" id="errPwd">(*)</span> | ||
</label> | ||
<input type="password" name="pwd" id="pwd" class="form-control"> | ||
</div> | ||
<div class="row"> | ||
<label for="Repwd" class="form-label">Repassword | ||
<span style="color: red;" id="errRepwd">(*)</span> | ||
</label> | ||
<input type="password" name="Repwd" id="Repwd" class="form-control"> | ||
</div> | ||
<div class="row"> | ||
<input type="submit" value="Submit" class="btn btn-success mt-3"> | ||
<input type="reset" value="Reset" class="btn mt-3"> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- navbar --> | ||
<nav class="navbar navbar-expand-sm bg-info"> | ||
<div class="container-fluid"> | ||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#collapseNav"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse " id="collapseNav"> | ||
<ul class="navbar-nav"> | ||
<li class="nav-item"><a href="#product" class="nav-link">Danh sách sản phẩm</a></li> | ||
<li class="nav-item dropdown"> | ||
<a href="" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">Danh Mục</a> | ||
<ul class="dropdown-menu bg-info"> | ||
<li><a href="" class="dropdown-item">Sách Kinh Tế</a></li> | ||
<li><a href="danhmucSachGiaoKhoa.html" class="dropdown-item">Sách Giáo Khoa</a></li> | ||
<li><a href="danhmucVanHoc.html" class="dropdown-item">Sách Văn Học</a></li> | ||
</ul> | ||
</li> | ||
<li class="nav-item"><a href="aboutus.html" class="nav-link">About us</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> | ||
<div class="product p-5"> | ||
<div class="row"> | ||
<div class="col-lg-4 text-center hinhSach"> | ||
|
||
</div> | ||
<div class="col-lg-8"> | ||
<div class="row"> | ||
<div class="col text-center sach"> | ||
<h2 class="text-center">Sách Kinh Tế</h2> | ||
<p class="text-center">Giá: 100.000đ</p> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col text-center"> | ||
<label for="soluong">Số lượng</label> | ||
<input type="number" name="soluong" id="soluong" class="form-control mt-2 mb-2" style="width: 10%;margin-left: 45%;"> | ||
<button class="btn btn-success">Mua ngay</button> | ||
<button class="btn btn-primary">Thêm vào giỏ hàng</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="bot_product"> | ||
<hr> | ||
<h3>Mô tả:</h3> | ||
<div class="moTa"> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</body> |