<import src="/common/common.wxml" />
<answer id='answer'></answer>
<view class="box" wx:if="{{showview}}">
	<view wx:if="{{rechargeList.length==0}}">
	 	<template is="noRecord" data="{{...noRecord}}" />
	</view>
	<view wx:if="{{rechargeList.length>=1}}">
		<!--内容  -->
		<block wx:for='{{rechargeList}}' wx:for-item='item' wx:for-index='index' wx:key='index'>
			<view class="touch-item {{item.isTouchMove ? 'touch-move-active' : ''}}" data-index="{{index}}" bindtouchstart="{{item.status!=1?'touchstart':''}}" bindtouchmove="{{item.status!=1?'touchmove':''}}" bindtouchend="touchE">
				<view style='position:relative;height:214rpx;' class="user">
					<view class='item' bindtap='checkDetails' data-id='{{item.id}}' data-n='{{item.image}}' data-p='{{item.name}}' data-item='{{item}}'>
						<view class='photo'>
							<image class='info-img' src='{{item.image || noSrc}}' binderror="binderrorimg" data-errorIndex="{{index}}"></image>
						</view>
						<view class='info' style="{{index == serviceList.length -1?'border-bottom: none':''}}">
							<view class='info-name'><text>{{item.name}}</text><text  style="margin-left:5px;color:rgba(51, 51, 51, 1);font-size:15px;font-weight:400;">{{item.title}}</text></view>
							<view class='chat-type'>{{item.work_unit}}</view>
							<view class='chat-type1'>服务类型：{{item.counselname}}</view>
							<view class='info-time'>{{item.create_time}}</view>
							<view class='info-desc'>
								<image wx:if="{{item.status==1}}" class="desc-img" src="/images/a.png"></image>
								<image wx:if="{{item.status==0}}" class="desc-img" src="/images/d.png"></image>
								<image wx:if="{{item.status==2}}" class="desc-img" src="/images/o.png"></image>
								<image wx:if="{{item.status==3}}" class="desc-img" src="/images/tuikuan.png"></image>
							</view>
						</view>
					</view>
				</view>
				<view class="del" catchtap="delBtn" data-id="{{item.id}}">删除</view>
			</view>
		</block>
	</view>
</view>
<block wx:if="{{!showview}}">
	<!-- loading动画 -->
	<template is="loading" data="{{...loading}}" />
</block>