my_collection.html 2.0 KB
<!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">
	<style>
		.post_url{
			cursor: pointer;
		}
		.post_url:hover{
			text-decoration: none;
		}
		.collection_item_title:hover{
			color:#09FF8E;
		}
	</style>
</head>

<body>
	<include file="public@header"/>
	<!--内容-->
	<main>
		<div class="container">
			<!--收藏-->
			<div class="collection">
				<div class="collection_list">
					<volist name="res" id="vo">
						<div class="collection_item">
							<a href="{$vo.post_url}" 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>
	</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>