<view class="custom_wrap {{isMine?'':'your-custom'}}">
  <!-- <view wx:if="{{renderDom[0].type ==='order'}}" class="custom-message {{isMine?'my-custom':''}}">
    <image class="custom-image" src="{{renderDom[0].imageUrl}}" />
    <view class="custom-content">
      <view class="custom-content-title">{{renderDom[0].title}}</view>
      <view class="custom-content-description">{{renderDom[0].description}}</view>
      <view class="custom-content-price">{{renderDom[0].price}}</view>
    </view>
  </view>
  <view wx:if="{{renderDom[0].type ==='consultion'}}" class="custom-message {{isMine?'my-custom':''}}">
    <view class="custom-content">
      <view>
        <text class="custom-content-title">{{renderDom[0].title}}</text>
        <text class="custom-content-hyperlinks" bindtap="openLink" data-value="{{renderDom[0].hyperlinks_text}}">{{renderDom[0].hyperlinks_text.key}}</text>
        <view class="custom-content-description" wx:for="{{renderDom[0].item}}" wx:key="index" id="{{item.key}}">{{item.key}}
        </view>
      </view>
      <text class="custom-content-description">{{renderDom[0].description}}</text>
    </view>
  </view>
  <view wx:if="{{renderDom[0].type ==='evaluation'}}" class="custom-message {{isMine?'my-custom':''}}">
    <view class="custom-content">
      <view class="custom-content-title">{{renderDom[0].title}}</view>
      <view class="custom-content-score">
        <image class="score-star" wx:for="{{renderDom[0].score}}" wx:key="*this" src="../../../../../static/images/star.png" />
      </view>
      <view class="custom-content-description">{{renderDom[0].description}}</view>
    </view>
  </view>
  <view wx:if="{{renderDom[0].type === 'text_link'}}" class="message-body-span text-message">
    <view class="message-body-span-text">{{renderDom[0].text}}</view>
    <text class="message-body-span-link">查看详情>></text>
  </view> -->
  <view wx:if="{{renderDom[0].type ==='group_create'}}" class="custom-message {{isMine?'my-custom':''}}">
    <view class="custom-content-text">{{renderDom[0].text}}</view>
  </view>
  <view wx:if="{{renderDom[0].type ==='c2cCalling' || renderDom[0].type ==='groupCalling'}}" class="call-message {{isMine?'my-text':'your-text'}}">
    <image src="{{isMine?'../../../../../static/images/video-right.png':'../../../../../static/images/video-left.png'}}" mode="" class="{{isMine?'classImgright':'classImgleft'}}"/>
    <view class="custom-content-text">{{renderDom[0].text}}</view>
  
  </view>
  <view wx:if="{{renderDom[0].type ==='notSupport'}}" class="message-body-span text-message">
    <view class="message-body-span-text">{{renderDom[0].text}}</view>
  </view>
  <view wx:if="{{renderDom[0].type ==='msg_tip'}}" class="message-body-span text-message custom-tip-message">
    <view class="message-body-span-text">{{renderDom[0].text}}</view>
    <view class="message-body-span-desc">{{renderDom[0].desc}}</view>
  </view>
  <view wx:if="{{renderDom[0].type=='wenzhen_form'}}"  class="wenzhen_form {{isMine?'my-custom':'your-custom'}}" 
  bindtap="goList" data-ismine="{{isMine}}" data-params="{{!isMine?renderDom[0].case_not_fill_fields:renderDom[0].case_filled_fields}}" data-id="{{ renderDom[0].order_inquiry_id}}">
    <view class="title" >
      <image src="../../../../../static/assets/wenzhenform.png" mode="" class="wzicon" />
     <view class="name">{{renderDom[0].case_not_fill_fields?'问诊表':'问诊表-已填写'}}</view>
    </view>
    <view class="descform">
    {{renderDom[0].case_not_fill_fields?'等待填写':'点击查看'}}
    </view>
   
  </view>
  <view wx:if="{{renderDom[0].type=='msg_comment'}}" class="message-body-span text-message custom-tip-message" >
    <view class="commentbox" bindtap="showPop" data-id="{{renderDom[0].order_inquiry_id}}">
      <view class="title">请您对本次问诊服务进行评价</view>
      <view class="ratebox">
        <van-rate value="{{renderDom[0].score}}" size="{{ 22 }}" color="#ed9c00" void-icon="star" void-color="#e7e7e7" readonly gutter="20" />
      </view>
   
      <view class="button" wx:if="{{!(renderDom[0].is_evaluation)}}">点击评价</view>
      <view class="button" wx:else>查看评价</view>
    </view>
  </view>
  <view wx:if="{{renderDom[0].type==='msg_prescribe'}}" 
  class="gdxz_custom_order_prescribe_message" 
  data-url="/patient/pages/prescriptDetail/prescriptDetail?order_prescription_id={{renderDom[0].order_prescription_id}}"
  bindtap="goPrescriptDetail">
    <view class="prescribe_title">
      处方已开具
    </view>
   <view class="content_prescribe">
    <view class="left">
      <image src="{{img_host+'/chufang.png'}}" class="prescribeImg"></image>
     </view>
    <view class="prescribe_box">
      <view class="prescribe_box_top">
        <view class="prescribe_box_top_product_name"><text style="color: #999;"> RP：</text>{{renderDom[0].product_name}}</view>
        <view class="prescribe_box_top_pharmacist_verify_time"><text style="color: #999;">开方日期：</text> {{renderDom[0].pharmacist_verify_time}}</view>
      </view>
      <view class="prescribe_box_bottom" data-order_prescription_id="{{renderDom[0].order_prescription_id}}">
        <view class="prescribe_box_buy">去购买</view>
      </view>
    </view>
   </view>
  </view>
  <view wx:if="{{renderDom[0].type=='msg_checksugar'}}" class="sugarbox">
    <view class="sugarcon">
      <view class="title">
        {{renderDom[0].title}}报告
      </view>
      <view class="patient_info">
        <view class="name">就诊人：{{patient_data.patient_name}}（<text wx:if="{{patient_data.patient_sex==1}}">男</text><text wx:elif="{{patient_data.patient_sex==2}}">女</text><text wx:else>未知</text>｜{{patient_data.patient_age}}岁）</view>
        <view class="sick"> 所患疾病：{{renderDom[0].disease_class_names}}</view>
      </view>
    </view>
    <view class="detail" bindtap="goReport" data-url="{{renderDom[0].message_path}}" data-id="{{renderDom[0].order_no}}">
       <view class="left">查看报告</view>
       <image src="../../../../../static/images/back.png" class="back" mode=""/>
    </view>
  </view>
  <view class="videotime video_time_16"  wx:if="{{renderDom[0].type==='video_time_16'}}" >

  </view>
  <view class="videotime"  wx:if="{{renderDom[0].type==='video_time'}}" >
    <rich-text nodes="{{renderDom[0].desc}}"></rich-text>
  </view>
  <view class="videotime"  wx:if="{{renderDom[0].type==='send_talk'}}" >
    <rich-text nodes="{{renderDom[0].desc}}"></rich-text>
  </view>
</view>