-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcategory.html
107 lines (88 loc) · 3.46 KB
/
category.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="./lib/mui/css/mui.min.css">
<link rel="stylesheet" href="./font/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="./css/common.css">
<!-- <link rel="stylesheet" href="./css/media.css"> -->
<link rel="stylesheet" href="./css/category.css">
</head>
<body>
<div class="view">
<div class="mui-scroll-wrapper">
<div class="mui-scroll">
<!-- 顶部 -->
<div class="header mui-clearfix">
<div class="mui-pull-left">
<a href="index.html">
<img class="h_logo" src="./images/header_logo.png" alt="">
</a>
</div>
<div class="mui-pull-right h_app">
<img src="./images/header_app.png" alt="">
</div>
</div>
<!-- 主体 -->
<div class="main">
<!-- 搜索 -->
<div class="search">
<input type="text" placeholder="请输入你想要比价的商品">
<button>搜索</button>
</div>
<!-- 分类页功能界面 -->
<div class="cate_search">
<ul class="mui-table-view">
<!-- 坑 -->
</ul>
</div>
</div>
<!-- 底部 -->
<div class="footer">
<div class="f_top">
<a href="login.html">登录</a>
<a href="register">注册</a>
<a href="#" class="back_top">
<span class="fa fa-arrow-up"></span>返回顶部</a>
</div>
<div class="f_middle">
<p>
<a href="#">手机app下载</a>
<a href="#" class="mai">慢慢买手机版</a>
<span>- - 掌上比价平台</span>
</p>
<p>m.manmanbuy.com</p>
</div>
</div>
</div>
</div>
</div>
<script src="./lib/zepto/zepto.min.js"></script>
<script src="./lib/mui/js/mui.min.js"></script>
<script src="./lib/artTemplate/template-web.js"></script>
<script src="./js/common.js"></script>
<script src="./js/category.js"></script>
<!-- more模板 -->
<script type="text/html" id="tpl">
{{each result v i}}
<li class="mui-table-view-cell mui-collapse li_title" data-id="{{v.titleId}}">
<a class="mui-navigate-right" href="#">{{v.title}}</a>
<div class="mui-collapse-content">
<ul class="mui-clearfix cs_second">
</ul>
</div>
</li>
{{/each}}
</script>
<script type="text/html" id="tpl2">
{{each result v i}}
<li>
<a href="productlist.html?categoryId={{v.categoryId}}&category={{v.category}}&pageId=1">{{v.category}}</a>
</li>
{{/each}}
</script>
</body>
</html>