searchResult.html
1.9 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>搜索</title>
<link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_859074_afg7uk9zst.css"/>
<link href="__TMPL__/public/assets/css/init.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/search.css">
</head>
<body style="background-color: #fff;">
<div class="warp">
<div class="serach_box" style="border-bottom: 1px solid #EBEBEB;">
<div class="search_item">
<div class="iconfont icon-sousuo"></div>
<div class="input_box">
<input type="text" value="{$keyword}" placeholder="输入搜索相关内容">
<!--<div class="iconfont icon-cha"></div>-->
</div>
</div>
<a href="{:url('portal/search/index')}"> <div style="color: #000;">取消</div></a>
</div>
<!-- begin:搜索结果 -->
<div class="search_result">
<ul class="reco_public">
<volist name="result" id="vo">
<a href="{:url('portal/article/index',['id'=>$vo.id])}">
<li>
<div class="mmend_right">
<p class="mmend_title">{$vo.post_title}</p>
<p class="mmend_name"> {:getDescirpe($vo.post_content)}...</p>
<p class="mmend_num">{:date('Y.m.d',$vo.create_time)}</p>
</div>
<div class="mmend_left"><img src="__TMPL__/public/assets/images/apic01@2x.png"></div>
</li>
</a>
</volist>
</ul>
</div>
</div>
<script type="text/javascript" src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
<script type="text/javascript" src="__TMPL__/public/assets/js/fontsize.js"></script>
<script>
</script>
</body>
</html>