<!-- <audio src="{{srcmp3}}" id="myAudio" loop='true'></audio> -->
<answer id='answer'></answer>
<mp-toptips msg="{{errorToptips}}" delay="3000" type="error" show="{{errorToptips}}"></mp-toptips>
<mp-toptips msg="{{successToptips}}" delay="3000" type="info" show="{{successToptips}}"></mp-toptips>
<view class='{{foucus_a?"warp-a":"warp"}}'>
	<!-- 录音倒计时 -->
	<view wx:if='{{model}}' class='model'>
		<view style='font-size:80rpx;'>{{timers}}</view>
		<view style='margin-top:-10rpx;'>
			<text>开始录音</text>
		</view>
	</view>
	<view class="record-modal '{{isRecording?'':'modal-display'}}''">
		<view class="wrapper">
			<!-- <view class="modal-loading"></view> -->
			<span class="loader"></span>
		</view>
		<view class="modal-title">
			{{title}}
		</view>
	</view>

	<view class="nav" wx:if='{{nav}}'>
		<view>
			<image class='nav-img' src='{{doctorimage}}' mode="aspectFill" binderror="binderrorimg" data-type="0"></image>
		</view>
		<text>服务类型:{{serviceName}}</text>
		<text></text>
		<!-- <text>({{doctortitle}})</text> -->
		<text wx:if='{{end_time!=""&&end_time!=null&&!status}}'>结束时间:<text>{{end_time}}</text></text>
		<text wx:if='{{end_time!=""&&end_time!=null&&status}}'>服务状态:<text style="color:#2684ff">{{end_time}}</text></text>
		<text wx:if='{{end_time==""||end_time==null}}'>擅长:{{doctorgoodat}}</text>
		<view>
			<button bindtap="moreService" class='gdfwTap' hover-class="none">
				更多服务
			</button>
		</view>
	</view>
	<scroll-view scroll-y style='height:{{scrollHeight}};overflow-anchor:auto;' scroll-top='{{scrollTop}}'
		scroll-with-animation enhanced fast-deceleration scroll-anchoring='true' refresher-enabled="{{true}}"
		refresher-threshold="{{25}}" refresher-default-style="none" refresher-background="white"
		refresher-triggered="{{scrollloading}}" bindrefresherpulling="scrollPullDownRefresh" scroll-into-view="{{toView}}">
		<!-- 下拉加载 -->
		<view slot="refresher" class="scrollloading"><i class="weui-loading"></i></view>
		<view class='warp-info'>
			<!-- 消息列表 -->
			<block wx:for='{{messageList}}' wx:for-item="item" wx:for-index="index" wx:key='index'>
				<view class="showTime" wx:if='{{item.time}}'>{{item.time}}</view>
				<!-- 温馨提示 -->
				<!-- <block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="reminder"}}'>
					<view class="showText">温馨提示：{{item.payload.description}}</view>
				</block> -->
				<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="reminder2"}}'>
					<view class="showText">温馨提示：{{item.payload.description.wechat}}</view>
				</block>
				<!-- 新用户报道-->
				<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data.type=="prompt"}}'>
					<view class="showText">{{item.payload.data.content}}</view>
				</block>
				<!-- 结束服务请求 -->
				<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="InitiateEndService"}}'>
					<view class="showText">对方发起了一个结束当前服务的请求</view>
				</block>
				<!-- 拒绝服务请求 -->
				<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="NeverEndService"}}'>
					<view class="showText">您拒绝了对方的结束服务请求</view>
				</block>
				<!-- 同意服务请求 -->
				<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="EndOfService"}}'>
					<view class="showText">
						<!-- {{item.payload.description}} -->
						当前服务已结束，遇到任何问题请拨打客服电话：<text bindtap='dial' data-tel='4001199218' style="color:#2684ff;">4001199218</text>
						<!-- 若需要更多服务请再次购买，<text bindtap="moreService" style="color:#2684ff;">去购买服务</text> -->
					</view>
				</block>
				<block wx:if='{{item.type == "TIMTextElem"}}'>
					<!-- 白方消息 -->
					<view class='left' wx:if="{{item.flow=='in'}}" id='d{{index}}'>
						<image class='head' src='{{doctorimage || noSrc}}' binderror="binderrorimg" data-type="0"></image>
						<view class='msg' data-c="{{item.payload.text}}" bind:longpress='copy'>{{item.payload.text}}</view>
					</view>
					<!-- 蓝方消息 -->
					<view class='right' wx:if="{{item.flow=='out'}}" id='d{{index}}'>
						<image class='head' src='{{avatarUrl|| noSrc}}' binderror="binderrorimg" data-type="1"></image>
						<view class='msg' data-c="{{item.payload.text}}" bind:longpress='copy'>{{item.payload.text}}</view>
					</view>
				</block>
				<!-- 图片消息 -->
				<block wx:if='{{item.type == "TIMImageElem"}}'>
					<view class='left' wx:if="{{item.flow=='in'}}" id='d{{index}}'>
						<image class='head' src='{{doctorimage || noSrc}}' binderror="binderrorimg" data-type="0"></image>
						<block wx:for='{{item.payload.imageInfoArray}}' wx:for-item="_item" wx:key='key'>
							<view wx:if='{{_item.sizeType==1}}' class='info-img' bindtap='previewImage' data-src='{{_item.url}}'>
								<image src='{{_item.url}}' data-index="{{index}}" lazy-load="{{true}}" mode="widthFix"></image>
							</view>
						</block>
					</view>
					<view class='right' wx:if="{{item.flow=='out'}}" id='d{{index}}'>
						<image class='head' src='{{avatarUrl|| noSrc}}' binderror="binderrorimg" data-type="1"></image>
						<block wx:for='{{item.payload.imageInfoArray}}' wx:for-item="_item" wx:key='key'>
							<view wx:if='{{_item.sizeType==1}}' class='info-img' bindtap='previewImage' data-src='{{_item.url}}'>
								<image src='{{_item.url}}' data-index="{{index}}" lazy-load="{{true}}" mode="widthFix"></image>
							</view>
						</block>
					</view>

				</block>
				<!-- 语音消息 -->
				<block wx:if='{{item.type == "TIMSoundElem"}}'>
					<!-- 白方消息 -->
					<view class='left' wx:if="{{item.flow=='in'}}" id='d{{index}}'>
						<image class='head' src='{{doctorimage|| noSrc}}' binderror="binderrorimg" data-type="0"></image>
						<view class='msg' style='width:{{80+item.payload.second*6}}rpx;text-align: right;' bindtap='openAudio'
							data-payload='{{item.payload}}'>
							<image class="ico" wx:if="{{item.payload.uuid==audioSave}}" src="/images/yuyin-gif.gif"></image>
							<image class="ico" wx:else src="/images/yuyin-ico.png"></image>
							{{item.payload.second}}"
						</view>
					</view>
					<!-- 蓝方消息 -->
					<view class='right' wx:if="{{item.flow=='out'}}" id='d{{index}}'>
						<image class='head' src='{{avatarUrl || noSrc}}' binderror="binderrorimg" data-type="1"></image>
						<view class='msg' style='width:{{80+item.payload.second*6}}rpx;' bindtap='openAudio'
							data-payload='{{item.payload}}'>
							<image class="ico" wx:if="{{item.payload.uuid==audioSave}}" src="/images/yuyin-gif1.gif"></image>
							<image class="ico" wx:else src="/images/yuyin-ico1.png"></image>
							{{item.payload.second}}"
						</view>
					</view>
				</block>
				<!-- 报告 -->
				<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="report"}}'>
					<!-- 白方消息 -->
					<view class='systemReport left' wx:if="{{item.flow=='in'}}">
						<view class="systemReport-title">检测报告</view>
						<view class="systemReport-text">{{doctorname}}发送了一份{{item.payload.description.lbname}}的检测报告，可点击下方按钮查看</view>
						<view class="btn-view">
							<view class="msg_btn1" bindtap='lookReport' id='d{{index}}' data-src="{{item.payload.description.res_id}}"
								data-istype='{{item.payload.description.is_type}}'>查看报告</view>
						</view>
					</view>
					<!-- 蓝方消息 -->
					<view class='systemReport right' wx:else>
						<view class="systemReport-title">检测报告</view>
						<view class="systemReport-text">{{name}}发送了一份{{item.payload.description.lbname}}的检测报告，可点击下方按钮查看</view>
						<view class="btn-view">
							<view class="msg_btn1" bindtap='lookReport' id='d{{index}}' data-src="{{item.payload.description.res_id}}"
								data-istype='{{item.payload.description.is_type}}'>查看报告</view>
						</view>
					</view>
				</block>
				<!-- 预约消息 -->
				<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="followUp"}}'>
					<view class='reserveInfo'>
						<view class="reserveInfo-title">预约信息</view>
						<view class="reserve-time">预约时间 <text class="reserve-text">{{item.payload.description}}</text></view>
						<view class="reserve-server">预约服务 <text class="reserve-text">在线复诊/咨询</text></view>
						<view class="btn-view">
							<button class='msg_btn1' style="margin:0;line-height: 48rpx;" open-type='getPhoneNumber'
								bindgetphonenumber='goSetTel'>添加到提醒</button>
						</view>
					</view>
				</block>
				<!-- 心理体检 -->
				<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="Checkup"}}'>
					<view class='Report'>
						<view class="Report-doctor">
							<image class='head' src='{{doctorimage || noSrc}}' binderror="binderrorimg" data-type="1"></image>
							<view class="doctor-info">
								<view><text class="doctor-name">{{item.payload.description.nickname}}</text><text
										class="doctor-title">{{doctortitle}}</text></view>
								<view class="doctor-unit">{{item.payload.description.work_unit}}</view>
							</view>
						</view>
						<view wx:if="{{item.payload.description.status==0}}" class="Report-text">
							该检测可以帮助医生更全面的了解您的情况，需要另行收费。您可以根据自身情况自由选择是否使用该项检测。</view>
						<view wx:else class="Report-text">我已为您开具量表，请点击下方按钮或在我的-我的报告,开始检测</view>
						<view class="scale">
							<view class="scale-title">量表名称：</view>
							<view>
								<block wx:for='{{item.payload.description.Name_Arr}}' wx:for-item='scaleitem' wx:key="index">
									<view class="scale-item">{{scaleitem}}</view>
								</block>
							</view>
						</view>
						<view class="btn-view">
							<view class="msg_btn1" bindtap='getCheckup' data-id="{{item.payload.description.id}}"  data-status="{{item.payload.description.status}}">开始检测</view>
						</view>
					</view>
				</block>
				<!-- 医生推荐 -->
				<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="UserDrug"}}'>
					<view class='recipe'>
						<view class="recipe-doctor">
							<image class='head' src='{{doctorimage|| noSrc}}' binderror="binderrorimg" data-type="0"></image>
							<view class="doctor-info">
								<view><text class="doctor-name">{{item.payload.description.name}}</text><text
										class="doctor-title">{{doctortitle}}</text></view>
								<view class="doctor-unit">{{item.payload.description.work_unit}}</view>
							</view>
						</view>
						<view class="Report-text" wx:if='{{item.payload.description.diagnosis}}'>
							根据您的病情，诊断：{{item.payload.description.diagnosis}}</view>
						<view class="scale">
							<view class="scale-title">医生推荐：</view>
							<view>
								<block wx:for="{{item.payload.description.drug}}" wx:for-item="drugitem" wx:key='index'>
									<!-- <view class="scale-item"><view>{{drugitem}}</view><view wx:if="{{item.payload.description.norms[index]}}">{{item.payload.description.norms[index]}}</view> </view> -->
									<view class="scale-item">{{drugitem}}</view>
								</block>
							</view>
						</view>
						<view class="btn-view">
							<view class="msg_btn" bindtap="viewRecipe" data-item="{{item.payload.description}}">查看推荐</view>
							<view class="msg_btn1" bindtap="buyDrug" data-item="{{item.payload.description}}">购买药品</view>
						</view>
					</view>
				</block>
					<!-- 推荐产品 -->
					<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="RecommendedProducts"}}'>
					<view class='recipe'>
						<view class="recipe-doctor">
							<image class='head' src='{{doctorimage|| noSrc}}' binderror="binderrorimg" data-type="0"></image>
							<view class="doctor-info">
								<view><text class="doctor-name">{{item.payload.description.name}}</text><text
										class="doctor-title">{{doctortitle}}</text></view>
								<view class="doctor-unit">{{item.payload.description.work_unit}}</view>
							</view>
						</view>
						<view class="Report-text" >
							医生为您开具了一个推荐产品，您可根据自身情况自由选择是否购买。</view>
						<view class="scale">
							<view class="scale-title">推荐产品：</view>
							<view>
								<block wx:for="{{item.payload.description.drug}}" wx:for-item="drugitem" wx:key='index'>
									<!-- <view class="scale-item"><view>{{drugitem}}</view><view wx:if="{{item.payload.description.norms[index]}}">{{item.payload.description.norms[index]}}</view> </view> -->
									<view class="scale-item">{{drugitem}}</view>
								</block>
							</view>
						</view>
						<view class="btn-view">
							<!-- <view class="msg_btn" bindtap="viewRecipe" data-item="{{item.payload.description}}">查看推荐</view> -->
							<view class="msg_btn1" bindtap="buyProduct" data-item="{{item.payload.description}}">购买产品</view>
						</view>
					</view>
				</block>
				<!-- 处方 -->
				<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="Prescription"}}'>
					<view class='recipe'>
						<view class="recipe-doctor">
							<image class='head' src='{{doctorimage|| noSrc}}' binderror="binderrorimg" data-type="0"></image>
							<view class="doctor-info">
								<view><text class="doctor-name">{{item.payload.description.name}}</text><text
										class="doctor-title">{{doctortitle}}</text></view>
								<view class="doctor-unit">{{item.payload.description.work_unit}}</view>
							</view>
						</view>
						<view class="Report-text">根据您的病情，诊断：{{item.payload.description.diagnosis}}</view>
						<view class="scale">
							<view class="scale-title">建议用药：</view>
							<view>
								<block wx:for="{{item.payload.description.drug}}" wx:for-item="drugitem" wx:key='index'>
									<view class="scale-item">{{drugitem}}</view>
									<!-- <view class="scale-item"><view>{{drugitem}}</view><view wx:if="{{item.payload.description.norms[index]}}">{{item.payload.description.norms[index]}}</view> </view> -->
								</block>
							</view>
						</view>
						<view class="btn-view">
							<view class="msg_btn" bindtap="viewRecipe" data-item="{{item.payload.description}}">查看处方</view>
							<view class="msg_btn1" bindtap="buyDrug" data-item="{{item.payload.description}}">购买药品</view>
						</view>
					</view>
				</block>
				<!-- 视频消息 -->
				<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="LaunchVideo"}}'>
					<view class="{{item.flow=='in'?'left':'right'}}" id='d{{index}}'>
						<image class='head' src="{{doctorimage || noSrc}}" binderror="binderrorimg" data-type="0"></image>
						<view class='msg' data-c="{{item.payload.text}}">视频通话请求</view>
					</view>
					<!-- <view class="LaunchVideo">视频通话请求</view> -->
				</block>
				<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="closeVideo"}}'>
					<view class="{{item.flow=='in'?'left':'right'}}" id='d{{index}}'>
						<image class='head' src="{{item.flow=='in'?doctorimage:avatarUrl|| noSrc}}" binderror="binderrorimg"
							data-type="{{item.flow=='in'?'0':'1'}}"></image>
						<view class='msg' data-c="{{item.payload.text}}">已挂断</view>
					</view>
					<!-- <view class="LaunchVideo">已挂断</view> -->
				</block>
				<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="hangUpVideo"}}'>
					<view class="{{item.flow=='in'?'left':'right'}}" id='d{{index}}'>
						<image class='head' src="{{item.flow=='in'?doctorimage:avatarUrl|| noSrc}}" binderror="binderrorimg"
							data-type="{{item.flow=='in'?'0':'1'}}"></image>
						<view class='msg' data-c="{{item.payload.text}}">已拒接</view>
					</view>
					<!-- <view class="LaunchVideo">已挂断</view> -->
				</block>
				<!-- 用户信息 -->
				<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="UserInfo"&&introduction==1}}'>
					<view class='userInfo'>
						<view class="userInfo-title">患者信息</view>
						<view class="basicInfo">基本信息<text class="userInfo-text">{{item.payload.description.name}}</text></view>
						<view class="userInfo-GSGN">肝肾功能<text class="userInfo-text">{{item.payload.description.disease}}</text>
						</view>
						<view class="userInfo-BYQK">备孕情况<text class="userInfo-text">{{item.payload.description.beiyun}}</text>
						</view>
						<view class="userInfo-GWBS">
							<view>过往病史</view>
							<view class="gwbs-text">{{item.payload.description.past_desc}}</view>
						</view>
						<view class="userInfo-GMS">
							<view style="margin-right:58rpx">过敏史</view>
							<view class="gms-text">{{item.payload.description.allergy_desc}}</view>
						</view>
						<!-- <view class="btn-view">
							<view class="msg_btn1">完善信息</view>
						</view> -->
					</view>
				</block>
			</block>
			<block wx:for='{{unsentMessageList}}' wx:for-item="item" wx:for-index="index" wx:key='index'>
				<view class="showTime" wx:if='{{item.time}}'>{{item.time}}</view>
				<block wx:if='{{item.type == "TIMTextElem"}}'>
					<!-- 蓝方消息 -->
					<view class='right' id='d{{index}}'>
						<image class='head' src='{{avatarUrl || noSrc}}' binderror="binderrorimg" data-type="1"></image>
						<view class='msg' data-c="{{item.payload.text}}" bind:longpress='cope'>{{item.payload.text}}</view>
						<view class="unsentloading"><i class="weui-loading"></i></view>
					</view>
				</block>
				<block wx:if='{{item.type == "TIMImageElem"}}'>
					<!-- 图片消息 -->
					<view class='right' id='d{{index}}'>
						<image class='head' src='{{avatarUrl || noSrc}}' binderror="binderrorimg" data-type="1"></image>
						<view class='info-img' data-src='{{item.path}}'>
							<image src='{{item.path}}' data-index="{{index}}" mode="widthFix"></image>
						</view>
						<view class="unsentloading"><i class="weui-loading"></i></view>
					</view>
				</block>
				<block wx:if='{{item.type == "TIMSoundElem"}}'>
					<!-- 语音消息 -->
					<view class='right' id='d{{index}}'>
						<image class='head' src='{{avatarUrl|| noSrc}}' binderror="binderrorimg" data-type="1"></image>
						<view class='msg' style='width:{{item.payload.file.second*6+80}}rpx;'>
							<image class="ico" src="/images/yuyin-ico1.png"></image>
						</view>
						<view class="unsentloading"><i class="weui-loading"></i></view>
					</view>
				</block>
				<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="report"}}'>
					<!-- 报告消息 -->
					<view class='systemReport'>
						<view class="systemReport-title">检测报告</view>
						<view class="systemReport-text">{{name}}发送了一份{{item.payload.description.lbname}}的检测报告，可点击下方按钮查看</view>
						<view class="btn-view">
							<view><i class="weui-loading"></i></view>
							<view class="msg_btn1" bindtap='lookReport' id='d{{index}}' data-src="{{item.payload.description.id}}"
								data-istype='{{item.payload.description.is_type}}'>查看报告</view>
						</view>
					</view>
				</block>
			</block>
			<!-- 我的评价 -->
			<view class='myEvaluation' wx:if="{{false}}">
				<view class="myEvaluation-title">我的评价</view>
				<view class="myEvaluation-imgList">
					<text class="myEvaluation-on cuIcon-favorfill" wx:if="{{graded>=5}}"></text>
					<text class="myEvaluation-off cuIcon-favorfill" wx:else></text>
					<text class="myEvaluation-on cuIcon-favorfill" wx:if="{{graded>=4}}"></text>
					<text class="myEvaluation-off cuIcon-favorfill" wx:else></text>
					<text class="myEvaluation-on cuIcon-favorfill" wx:if="{{graded>=3}}"></text>
					<text class="myEvaluation-off cuIcon-favorfill" wx:else></text>
					<text class="myEvaluation-on cuIcon-favorfill" wx:if="{{graded>=2}}"></text>
					<text class="myEvaluation-off cuIcon-favorfill" wx:else></text>
					<text class="myEvaluation-on cuIcon-favorfill" wx:if="{{graded>=1}}"></text>
					<text class="myEvaluation-off cuIcon-favorfill" wx:else></text>
				</view>
				<view class="satisfaction">满意度 <text class="satisfaction-text" style="margin-left:28rpx">{{graded}}星</text>
				</view>
				<view class="satisfaction">评价内容 <text class="satisfaction-text" style="margin-left:28rpx">{{graded}}星</text>
				</view>
			</view>
		</view>
		<view wx:if="{{adjust}}" style='height:{{iPhoneX?267:217}}rpx;'></view>
		<!-- </view> -->
	</scroll-view>
</view>
<view class='send-btns' wx:if="{{sendBtns}}" style='height:auto;margin-bottom:{{keyHeight}}px;'>
	<view class='send-file'>
		<text class='send-report' wx:if='{{payFlag}}' data-src="123" bindtap='openReport'>发送报告</text>
		<text class='send-report' wx:if='{{!payFlag}}' data-src="123" style="  background:#e5e6e8;">发送报告</text>
		<text class='send-img' wx:if='{{payFlag}}' bindtap='createImageMessage'>发送图片</text>
		<text class='send-img' wx:if='{{!payFlag}}' style="  background:#e5e6e8;">发送图片</text>
		<text class='send-img' wx:if='{{orderId!=""&&orderId!=0}}' bindtap='chatLog'>聊天记录</text>
		<!-- <text class='send-img' wx:if="{{serviceEvaluation}}" bindtap="estimateShow" >服务评价</text> -->
	</view>
	<view class='line'></view>
	<view wx:if='{{payFlag1}}' class='payFlag'>已支付，等待医生接诊</view>
	<view wx:if='{{!payFlag&&!payFlag1}}' class='payFlag' bindtap='moreService'> 需购买服务后，才可问诊</view>
	<view class='form' wx:if='{{payFlag}}'>
		<view class='send-btn' bindtap="record">
			<image class='send-btn-img' src='{{isRecord?"/images/record.png":"/images/audio.png"}}'></image>
		</view>
		<block wx:if="{{isRecord}}">
			<view class="record" catchtouchstart="handleLongPress" catchtouchmove="handleTouchMove"
				catchtouchend="handleTouchEnd">
				<block wx:if="{{!isRecording}}">按住 说话</block>
				<block wx:if="{{isRecording}}">抬起 停止</block>
			</view>
		</block>
		<block wx:else>
			<input value='{{msgContent}}' placeholder="{{isSendText}}" placeholder-class="send-inp1" bindinput='inputMessage'
				class='send-inp' cursor-spacing="20" confirm-hold='{{true}}' confirm-type='send' bindconfirm='bindconfirm'
				adjust-position='{{false}}' bindfocus="inputFoucus" bindblur="inputBlur" type='text' maxlength="-1"></input>
			<button class='send-btn' bindtap="createTextMessage">发送</button>
		</block>
	</view>
	<view wx:if="{{adjust}}" style='height:{{iPhoneX?50:0}}rpx;'></view>
</view>
<view class='warp-up1' wx:if="{{remind}}">
	<view class='remind'>
		<view class="remind-title">请允许接收订阅消息</view>
		<view class="remind-text">为了及时的告知您医生已回复问题，请允许接收消息。</view>
		<button class="remind-btn" bindtap="remind">我知道了</button>
	</view>
</view>
<view class="cu-modal  bottom-modal {{estimate?'show':''}}">
	<view class='cu-dialog estimate'>
		<text class="cuIcon-close estimate-close" bindtap="estimateShow"></text>
		<view class="estimate-title" wx:if="{{graded==0}}">服务评价</view>
		<view class="estimate-title1" wx:if="{{graded!=0}}">服务评价,帮助医生做的更好</view>
		<view class="estimate-select">
			<view></view>
			<text class="cuIcon-favorfill estimate-On" wx:if="{{graded>=1}}" bindtap="graded" data-graded="1"></text>
			<text class="cuIcon-favorfill estimate-Off" wx:else bindtap="graded" data-graded="1"></text>
			<text class="cuIcon-favorfill estimate-On" wx:if="{{graded>=2}}" bindtap="graded" data-graded="2"></text>
			<text class="cuIcon-favorfill estimate-Off" wx:else bindtap="graded" data-graded="2"></text>
			<text class="cuIcon-favorfill estimate-On" wx:if="{{graded>=3}}" bindtap="graded" data-graded="3"></text>
			<text class="cuIcon-favorfill estimate-Off" wx:else bindtap="graded" data-graded="3"></text>
			<text class="cuIcon-favorfill estimate-On" wx:if="{{graded>=4}}" bindtap="graded" data-graded="4"></text>
			<text class="cuIcon-favorfill estimate-Off" wx:else bindtap="graded" data-graded="4"></text>
			<text class="cuIcon-favorfill estimate-On" wx:if="{{graded>=5}}" bindtap="graded" data-graded="5"></text>
			<text class="cuIcon-favorfill estimate-Off" wx:else bindtap="graded" data-graded="5"></text>
		</view>
		<view class="estimate-text" wx:if="{{graded==0}}">服务评价，帮助医生做的更好</view>
		<view class="estimate-text1" wx:if="{{graded>=1}}">{{graded_text}}</view>
		<view wx:if="{{graded>=1&&graded<4}}">
			<view class="estimate-issue">
				<view class="{{estimateIssue.issue1?'issue-active':''}}" bindtap="issue" data-issue="1">问题未解决</view>
				<view class="{{estimateIssue.issue2?'issue-active':''}}" bindtap="issue" data-issue="2">态度不好</view>
			</view>
			<view class="estimate-issue">
				<view class="{{estimateIssue.issue3?'issue-active':''}}" bindtap="issue" data-issue="3">等待时间过长</view>
				<view class="{{estimateIssue.issue4?'issue-active':''}}" bindtap="issue" data-issue="4">服务价格太高</view>
			</view>
		</view>
		<textarea fixed='true' class="estimate-textarea" cursor-spacing='{{cursor}}' maxlength="200" wx:if="{{graded>0}}"
			bindlinechange='textareaChange' placeholder="补充评价，帮助医生改善服务" placeholder-style="color:#b7b7b7">
		</textarea>
		<button class="estimate-btn" wx:if="{{graded>0}}">匿名提交</button>
	</view>
</view>
<view class="cu-modal  bottom-modal {{reportShow?'':'show'}} warp-up" bindtap="openReport">
	<!-- style='height:{{winH - 100}}px;bottom:-{{winH}}px;' -->
	<!-- <view class='cu-dialog' catchtap style='margin-bottom:{{iPhoneX?267:217}}rpx;width:710rpx!important;border-radius:20rpx 20rpx 0rpx 0rpx !important;'> -->
	<view class='cu-dialog' catchtap
		style='margin-bottom:{{0}}rpx;width:710rpx!important;border-radius:20rpx 20rpx 0rpx 0rpx !important;'>
		<view class='list-title'>发送报告</view>
		<text class="cuIcon-close close" catchtap="openReport"></text>
		<view class="animate" style='height:{{winH - 168}}px;'>
			<block wx:for="{{result}}" wx:for-item="item" wx:for-index="index" wx:key="index">
				<view class='item-up' bindtap='createReportMessage' data-id="{{item.res_id}}"
					data-lbname="{{item.measure_name}}" data-time='{{item.createtime}}' data-istype='{{item.is_type}}'>
					<view class='pho'>
						<image src="{{item.headimgurl?item.headimgurl:noSrc}}"></image>
					</view>
					<view class='re_con'>
						<text class='uname'>{{item.name}}</text>
						<text class='baogao'>{{item.measure_name}}</text>
						<text class='time'>{{item.createtime}}</text>
					</view>
					<view class='bottom-line-up'></view>
				</view>
			</block>
			<block wx:if="{{result.length < 1}}">
				<view class='noUser'>暂无测试报告</view>
			</block>
		</view>
	</view>
</view>