search_list.html
2.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>搜索列表</title>
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="__TMPL__/public/assets/css/bootstrap4.0.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/header1.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/collection.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/show.css">
<style>
.post_url{
cursor: pointer;
}
.post_url:hover{
text-decoration: none;
}
.collection_item_title:hover{
color:#09FF8E;
}
.index_search_con {
padding: 0 30px 0 30px;
}
</style>
</head>
<body>
<include file="public@header"/>
<!--内容-->
<main>
<div class="index_search">
<div class="index_search_tit clearfix">
<img src="__TMPL__/public/assets/starImg/bicon_45.png" alt="">
<h1>{$keyword}</h1>
<div class="index_search_tit2">
<p>共搜到 {$count} 个结果</p>
</div>
</div>
<div class="index_search_con">
<!--收藏-->
<div class="collection">
<div class="collection_list">
<volist name="res" id="vo">
<div class="collection_item">
<a href="{$vo.post_url}?id={$vo.id}" class="post_url">
<div class="collection_item_title">
{$vo.post_title}
</div>
</a>
<div class="collection_item_main">
{$vo.post_excerpt}
</div>
<div class="collection_item_bottom clearfix">
<div class="collection_item_bottom_left clearfix">
<div class="collection_bottom_left_item">{$vo.category_name}</div>
<notempty name="vo.city_name">
<div class="collection_bottom_left_item">{$vo.city_name}</div>
</notempty>
</div>
<div class="collection_item_bottom_right clearfix">
<div class="collection_bottom_right_img">
<img src="__TMPL__/public/assets/starImg/bicon_13.png" alt="">
</div>
<div class="collection_bottom_right_num">{$vo.post_favorites}</div>
</div>
</div>
</div>
</volist>
</div>
<!--分页-->
<div class="pagination">
{$page|default=''}
</div>
</div>
</div>
</div>
</main>
<!-- 底部 -->
<include file="public@footer"/>
<script src="__TMPL__/public/assets/js/jquery-3.2.1.min.js"></script>
<script src="__TMPL__/public/assets/js/public.js"></script>
</body>
</html>