<!--packageE/member/component/founder/collageItem_3/collageItem_3.wxml-->
<view>
	<view class="LatelyProjectItem">
		<view class="face">
			<image wx:if="{{datas.release_avatar}}" src="{{datas.release_avatar}}" alt=""></image>
			<image wx:if="{{datas.shell_avatar}}" src="{{datas.shell_avatar}}" alt=""></image>
		</view>
		<view class="leftc">
			<view class="c1">
				<view class="span" wx:if="{{datas.spell_type == 2}}">拼单中</view>
				<view class="span" wx:if="{{datas.spell_type == 1}}">审核中</view>
				<!-- <view class="see" data-id="{{datas.id}}" catchtap="examine">查看</view> -->
				<view class="ope" catchtap="alertOpe" wx:if="{{false}}">
					<view class="opeConSeat" class="{{opeConShow ? 'selected' : ''}}">
						<view class="opeCon" ref="opeCon" class="{{opeConShow ? 'selected' : ''}}">
							<view class="dianzan" catchtap="editProject">编辑</view>
							<view class="pinglun" catchtap="delProject">删除</view>
						</view>
					</view>

				</view>

			</view>
			<block wx:if="{{datas.project_shell_type == 1}}">
				<view class="c2 cc">客户姓名 | {{datas.project_full_name}}</view>
				<view class="c3 cc">预约项目：{{datas.has_many_project_category[0].has_one_category.name || '没有预约项目'}}</view>
				<view class="c4 cc">发布时间：{{datas.created_at}}</view>
				<view class="c5 cc1">实际消费：<view class='span' class="price">￥{{datas.actual_amount}}</view>
				</view>
				<view class="c5 cc1" wx:if="{{datas.next_amount}}">下个阶梯：<view class='span' class="price">￥{{datas.next_amount}}
					</view>
				</view>

				<view class="btnContainer" wx:if="{{datas.spell_type==2 && power==1}}">
					<view class="btn status_2" wx:if="{{datas.is_collage==1}}">已加入</view>
					<block wx:else>
						<view class="btn status_1" catchtap="joinCart" data-item="{{datas}}" wx:if="{{datas.locking_type==1}}">加入拼单车
						</view>
						<view class="btn status_3" wx:if="{{datas.locking_type==0}}">加入拼单车</view>
					</block>
				</view>
			</block>
			<block wx:if="{{datas.project_shell_type == 2}}">
				<view class="c2 cc">发布者昵称：{{datas.release_nickname}}</view>
				<view class="c2 cc">客户姓名 | {{datas.project_full_name}}</view>
				<view class="c3 cc">预约项目：{{datas.has_many_project_category[0].has_one_category.name || '没有预约项目'}}</view>
				<view class="c4 cc">发布时间：{{datas.created_at}}</view>
				<view class="c5 cc1">实际消费：<view class='span' class="price">￥{{datas.actual_amount}}</view>
				</view>
				<view class="c5 cc1" wx:if="{{datas.next_amount}}">下个阶梯：<view class='span' class="price">￥{{datas.next_amount}}
					</view>
				</view>

				<view class="btnContainer" wx:if="{{datas.spell_type==2 && power==1}}">
					<view class="btn status_2" wx:if="{{datas.is_collage==1}}">已加入</view>
					<block wx:else>
						<view class="btn status_1" catchtap="joinCart" data-item="{{datas}}" wx:if="{{datas.locking_type==1}}">加入拼单车
						</view>
						<view class="btn status_3" wx:if="{{datas.locking_type==0}}">加入拼单车</view>
					</block>
				</view>
			</block>
			<block wx:if="{{datas.project_shell_type == 3}}">
				<view class="c5 cc1">拼单金额：<view class='span' class="price">￥{{datas.shell_amount}}</view>
				</view>
				<view class="c5 cc1" wx:if="{{datas.next_amount}}">下个阶梯：<view class='span' class="price">￥{{datas.next_amount}}
					</view>
				</view>
				<view class="c2 cc">拼单次数 | {{datas.collage_num}}</view>

				<block>
					<view class="c3 cc" wx:if="{{lastTime}}">释放时间：{{lastTime}}</view>
					<view class="c3 cc" wx:else>释放时间：已释放</view>
				</block>

				<view class="c3 cc">解锁时间：{{nowtime}}</view>
				<view class="btnContainer" wx:if="{{datas.spell_type==2 && power==1}}">
					<view class="btn status_2" wx:if="{{datas.is_collage == 1}}">已加入</view>
					<block wx:if='{{datas.is_collage == 0}}'>
						<view class="btn status_1" catchtap="joinCart" data-item="{{datas}}" wx:if="{{datas.locking_type == 1}}">加入拼单车
						</view>
						<view class="btn status_3" wx:if="{{datas.locking_type != 1}}">加入拼单车</view>
					</block>
				</view>
			</block>
			<!-- <view class="c2 cc" wx:if="{{name == 'founder_collage'}}">单号 254854 | 第1次拼单</view>
			<view class="c2 cc" wx:if="{{datas.project_shell_type == 2}}">客户名称 | {{datas.project_full_name}}</view>
			<view class="c3 cc">预约项目：{{datas.has_one_project_category.has_one_category.name || '没有预约项目'}}</view>
			<view class="c4 cc" wx:if="{{datas.project_shell_type == 2}}">发布时间：{{datas.created_at}}</view>
			<view class="c2 cc" wx:if="{{datas.project_shell_type == 3}}">拼单金额：{{datas.shell_amount}}</view>
			<view class="c3 cc" wx:if="{{datas.project_shell_type == 3}}">释放时间：{{lastTime}}</view>
			<view class="c3 cc" wx:if="{{datas.project_shell_type == 3}}">解锁时间：{{nowtime}}</view>
			<view class="c5 cc1">实际金额：<view class="price span">￥{{datas.project_amount}}</view>
			</view>
			<view class="c5 cc1" wx:if="{{datas.next_amount}}">下个阶梯：<view class="price span">￥{{datas.next_amount}}
				</view>
			</view>

			<view class="c3 cc" wx:if="{{datas.is_collage == 1 && datas.spell_type == 2 && power == 1}}" style="">
				<view class="shellTypeIn">已加入</view>
			</view>
			<view class="c3 cc" wx:if="{{datas.is_collage == 0 && datas.spell_type == 2 && power == 1}}" catchtap="joinCart"
				data-item="{{datas}}">
				<view class="shellType">加入拼单车</view>
			</view> -->

		</view>
	</view>

</view>