<import src="../../common/common.wxml" />
<!-- <official-account class="account"></official-account> -->
<block wx:if="{{showview}}">
	<scroll-view scroll-y style='height:{{winH}}px;' wx:if='{{nickname!=""}}' scroll-top='{{scrollTop}}' scroll-with-animation bindscroll="scroll">
		<!--内容  -->
		<view class='record' style='margin-bottom:{{type==1?98:0}}rpx;'>
	<!-- 左滑删除 -->
			<view  class="touch-item {{item.isTouchMove ? 'touch-move-active' : ''}}"  data-index="{{num}}"  bindtouchstart="touchstart" bindtouchmove="touchmove" bindtouchend="touchE"  wx:if='{{itemList.length>0}}' wx:for='{{itemList}}' wx:for-item='item' wx:for-index='num' wx:key='index'>
				<view class="flex user"   bindtap='next' data-item="{{item}}" data-index="{{num}}" data-one="{{index}}">
					<view class="flex"  data-index="{{num}}" >
						<view class="user-img" >
							<image src="{{item.image}}" mode="aspectFill"  binderror="binderrorimg" data-errorIndex="{{num}}"></image>
							<view class="xixui" wx:if="{{item.is_rest==1}}">休息中</view>
						</view>
						<view>
							<view>
								<text class="user-name {{item.is_aptitude==0 ? 'name' :''}}">{{item.name}}</text>
								<text class="user-zc">{{item.desc}}</text>
							</view>
							<view class="user-dz">{{item.work_unit}}</view>
							<view class="user-tc" wx:if="{{item.is_aptitude==1}}">擅长：{{item.goodat}}</view>
							<view class="flex user-jg" wx:if="{{item.title<5}}">
								<view wx:if="{{item.single}}">
									<text>单次问诊</text>
									<text> ￥{{item.single}}</text>
								</view>
								<view class="xlzx" wx:if="{{item.fzky}}">
									<text>复诊开药</text>
									<text> ￥{{item.fzky}}</text>
								</view>
							</view>
							<view class="flex user-jg" wx:if="{{item.title>4}}">
								<view wx:if="{{item.xlzx}}">
									<text>心理咨询</text>
									<text> ￥{{item.xlzx}}</text>
								</view>
									<view class="xlzx" wx:if="{{item.xltj}}">
									<text>心理体检</text>
									<text> ￥{{item.xltj}}</text>
								</view>
							</view>
						</view>
					</view>
				</view>
				<view class="del" data-id="{{item.consultant_unionid}}" catchtap="delBtn" data-index="{{num}}">删除</view>
			</view>
			<view class='noFriend' wx:if='{{itemList.length==0}}'>
			<template is="noRecord" data="{{...noRecord}}" />
			</view>
		</view>
	</scroll-view>
</block>
<block wx:else>
	<!-- loading动画 -->
	<template is="loading" data="{{...loading}}" />
</block>
<modal id='modal' showCancel='false' modalTitle='{{showModal.title}}' modalMsg='{{showModal.msg}}' bind:cancelEvent="_cancelEvent" bind:confirmEvent="_confirmEvent">
</modal>
<login id='login' loginTitle='{{loginModal.title}}' loginMsg='{{loginModal.msg}}' loginBtn='{{loginModal.btn}}' bind:refreshEvent="_refreshEvent" >
</login>
<answer id='answer'>
</answer>