<template>
	<view>
		<u-navbar title="投递记录"></u-navbar>
		<view class="jp-work">
			<view class="jp-work-tab">
				<u-tabs :list="list" :is-scroll="false" :current="current" @change="change"></u-tabs>
			</view>
			<view class="jp-work-list">
				 	 
				 	 <ResumeItem v-for="(item ,index) in list[current].list" :key="item.id" :item="item" 
					 obj="workName=positionCategoryName,name=realName,dreamAdd=address"
					 ></ResumeItem>
				 	 
				 	<u-loadmore @loadmore="myLoadmore" :status="list[current].list.length<list[current].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-work-tab{
		margin-bottom: 20rpx;
	}
	.jp-work-item{
		padding:30rpx;
		background-color: #fff;
		border-bottom: 1px solid #f7f7f7;
		&: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;
			}
		}
	} 
</style>
