
<template>
	<view>
		<u-navbar title="收藏简历"></u-navbar>
		<view class="jp-search">
			<u-search placeholder="查询收藏的简历" v-model="keyword"  @search="getList(true)" :show-action="false"></u-search>
		</view>
		 
		<view class="jp-work">
			<view class="jp-quantity">
				<p>数量</p><span>{{recordsTotal}}</span>
			</view>
			<view class="jp-work-list">
				 <ResumeItem v-for="(item ,index) in list" :key="item.id" :item="item"
				  obj="eduName=education"
				  mode="2" @mode2="del"
				  ></ResumeItem>
				  
				 <u-loadmore @loadmore="myLoadmore" :status="list.length<recordsTotal?'loadmore':'nomore'" ></u-loadmore>
				 
			</view>
			 
		</view>
	</view>
</template>

<script>
	import api from './index.js'
	export default api;
</script>

<style>
	page{
		background-color: #F7F7F7;
	}
</style>
<style scoped lang="scss">
	.jp-quantity{
		background-color: #fff;
		height: 80rpx;
		display: flex;
		align-items: center;
		font-size: 32rpx;
		padding-left: 30rpx;
		margin-top: 20rpx;
		border-bottom: 1px solid #f7f7f7;
		p{
			color:#666;
		}
		span{
			color:#1A91EA;
			margin-left: 10rpx;
		}
	}
	.jp-search{
		background-color: #fff;
		padding: 20rpx;
	}
	.jp-work-item{
		padding:30rpx;
		background-color: #fff;
		margin-bottom: 20rpx;
		&:last-child{
			border-bottom:none;
		}
		.jp-work-name{
			display: flex;
			justify-content: space-between;
			align-items: center;
			h3{
				font-size: 36rpx;
			}
			span{
				font-size: 32rpx;
				color:#FF1700
			}
		}
		.jp-work-tag{
			display: flex;
			align-items: center;
			margin-top: 10rpx;
			*{
				margin-right: 10rpx;
			}
		}
		.jp-work-info{
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin-top: 10rpx;
			
			p{
				color:#999;
				font-size: 24rpx;
				margin-left: 10rpx;
			}
		}
	}
	.jp-work-line{
		display: flex;
		align-items: center;
		margin-top:10rpx;
	}
</style>
