<!--components/jianli/experience.wxml-->
<view class='list' wx:if="{{list.length}}" wx:for="{{list}}" wx:key="hpUserResumeId">
	<!-- 左侧竖条开始 -->
	<view class="list-left">
		<view class="up" wx:if='{{index !==0}}'></view>
		<!-- length大于1时  最后一个下半部分不出现 -->
		<block wx:if='{{list.length !== 1}}'>
			<view class="down" wx:if='{{index !== list.length - 1}}'></view>
		</block>
		<!-- 当length等于1时 出现但长度缩小-->
		<block wx:if='{{list.length === 1}}'>
			<view class="down length"></view>
		</block>

		<image class="middle" src="{{imgServerUrl}}/images/happyjob/jianli_point.png"></image>
	</view>
	<!-- 左侧竖条结束 -->
	<view class="list-right">
		<!-- 工作时间 -->
		<view class='cell'>
			<image src="{{imgServerUrl}}/images/happyjob/jianli_time.png" class="cell-image"></image>
			<text class="detail">{{item.workStartDate}} {{item.workEndDate === '至今'?'':'至'}} {{item.workEndDate}}</text>
			<view class="cell-edit" wx:if='{{edit}}' data-index="{{index}}" bindtap="edit">
				<text class="edit">编辑</text>
			</view>
		</view>
		<!-- 工作单位 -->
		<view class='cell'>
			<image src="{{imgServerUrl}}/images/happyjob/jianli_address.png" class="cell-image"></image>
			<text class="detail">{{item.workCompany}}</text>
		</view>
		<!-- 工作岗位 -->
		<view class='cell'>
			<image src="{{imgServerUrl}}/images/happyjob/jianli_name.png" class="cell-image"></image>
			<text class="detail">{{item.workPosition}}</text>
		</view>

	</view>
</view>