-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproductList.html
99 lines (97 loc) · 3.72 KB
/
productList.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="lib/bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="./css/productList.css">
<title>电视</title>
</head>
<body>
<!--头部-->
<header id="header">
<a href="index.html" class="logo pull-left">
<img src="images/header_logo.png" alt="">
</a>
<a href="index.html" class="download_app pull-right">
<img src="images/header_app.png" alt="">
</a>
</header>
<!--搜索-->
<section id="search">
<form action="" id="search_product">
<div class="s_input">
<input type="text" placeholder="请输入你想要输入的商品">
</div>
<a href="#">搜索</a>
</form>
</section>
<!--导航条-->
<section id="product_search">
<ol class="breadcrumb">
<li><a href="index.html">首页</a></li>
<li><a href="category.html">全部分类</a></li>
<li class="active">电视 <!--需要js动态渲染--></li>
</ol>
<a href="#">筛选</a>
</section>
<!--商品列表-->
<section id="videoview">
<!--js动态渲染-->
</section>
<!--分页-->
<section id="pagination">
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="true">
<!--js动态渲染-->
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
<!--js动态渲染-->
</ul>
</div>
<a href="#" class="btn btn-default prev">上一页</a>
<a href="#" class="btn btn-default next">下一页</a>
</section>
<!--页脚-->
<footer id="footer">
<div class="row">
<div class="col-xs-4"><a href="">登录</a></div>
<div class="col-xs-4"><a href="">注册</a></div>
<div class="col-xs-4"><img class="arrows" src="http://www.zuyushop.com/wap/images/top.jpg" alt="">返回顶部</div>
</div>
<div class="">
<a href="#">手机APP下载</a>
<span>慢慢买手机版</span>
<span> -- 掌上比价平台</span>
<p> m.manmanbuy.com</p>
</div>
</footer>
<!--菜单模板-->
<script type="text/template" id="low_price_data">
{{each result as item index}}
<a href="productDetails.html?categoryid={{item.categoryId}}&productid={{item.productId}}&productListid={{item.productListId}}&productCom={{item.productCom}} ">
<div class="media">
<div class="media-left">
{{#item.productImg}}
</div>
<div class="media-body">
<h5 class="media-heading">{{item.productName}}</h5>
<p class="price">{{item.productPrice}}</p>
<div class="other">
<span>{{item.productQuote}}</span>
<span>{{item.productCom}}</span>
</div>
</div>
</div>
</a>
{{/each}}
</script>
<script src="lib/jquery/jquery.min.js"></script>
<script src="lib/bootstrap/js/bootstrap.js"></script>
<script src="js/productList.js"></script>
<script src="lib/artTemplate/template.js"></script>
</body>
</html>