-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproductlist.html
More file actions
121 lines (98 loc) · 2.93 KB
/
productlist.html
File metadata and controls
121 lines (98 loc) · 2.93 KB
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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
<link rel="stylesheet" href="css/base.css"/>
<link rel="stylesheet" href="css/productlist.css"/>
</head>
<body>
<!--头部开始-->
<header class="page-header">
<div class="left">
<h1><a href=""><img src="images/header_logo.png" alt="liele"/></a></h1>
</div>
<a class="downLoad" href="#"></a>
</header>
<!--头部结束-->
<!--搜索区-->
<section class="page-searchBlock">
<form action="" id="form">
<input type="search" placeholder="请输入你想比较的商品"/>
<input type="button" value="搜索"/>
</form>
</section>
<!--导航区-->
<section class="byid-nav">
<!--标题模板引擎-->
<script type="text/template" id="getcategorybyid">
{{each result as v i }}
<span>
<a href="index.html">首页</a>
>
<a href="category.html">全部分类</a>
>
<a href="productlist.html?categoryid={{v.categoryId}}&category={{v.category}}&pageid=1">{{v.category}}</a>
>
</span>
<a href="javascript:;" class="choose">筛选</a>
{{/each}}
</script>
</section>
<!--导航区-->
<!--产品区-->
<section class="byid_pro">
<ul></ul>
<!--产品的模板引擎-->
<script type="text/template" id="getProductList">
{{each result as v i }}
<li>
<a productId="{{v.productId}}" href="bijia.html?productid={{v.productId}}&categoryid={{v.categoryId}}">
{{#v.productImg}}
<div class="fr">
<p>
{{v.productName}}
</p>
<span>{{v.productPrice}}</span>
<div>
<span>
{{v.productQuote}}
{{v.productCom}}
</span>
</div>
</div>
</a>
</li>
{{/each}}
</script>
</section>
<!--产品区-->
<!--按钮区开始-->
<section class="btn_area clearfix">
</section>
<!--按钮区结束-->
<!--尾部区域-->
<footer class="clearfix">
<ul class="clearfix">
<li><a href="#">登录</a></li>
<li><a href="#">注册</a></li>
<li><a href="#">返回顶部</a></li>
</ul>
<p><a href="#">手机APP下载</a>
<a href="">慢慢买手机版</a>
-- 掌上比价平台
</p>
<p>m.manmanbuy.com</p>
</footer>
<!--尾部区域-->
<!--产品的模板引擎-->
<script src="lib/jquery/jquery.min.js"></script>
<script src="lib/artTemplate/template.js"></script>
<script src="js/common.js"></script>
<script src="js/common/route.js"></script>
<script src="js/productlist.js"></script>
</body>
</html>