<!--pages/prescriptDetail/prescriptDetail.wxml-->
<nav navName="处方详情"></nav>
<view class="page {{prescript.prescription_status==2?'active':''}}">
  <!-- <view class="ui-navigatorbar" style="background: #FFFFFF;border-bottom: 1rpx solid #E3E4E5;">
    <image class="ui-navigatorbar-back" bindtap="goBack" src="{{img_host+'/back.png'}}" />
    <view class="ui-title">处方详情</view>
  </view> -->
  <view class="form">
    <view class="imgbox">
      <image src="{{prescript.prescription_img_oss_path}}" class="prescription" ></image>
      <image src="{{prescript.doctor_sign_image}}"  mode="aspectFill"   class="doctorSign" ></image>
      <image src="{{prescript.pharmacist_sign_image}}" class="pharmacistSign"  mode="aspectFill"></image>
      <image src="{{prescript.hospital_sign_image}}" class="hospitalSign"></image>
    </view>
   
   
    <!-- 处方状态（1:待审核 2:待使用 3:已失效 4:已使用） -->
    <image src="{{img_host+'/unuse.png'}}" class="zhang" wx:if="{{prescript.prescription_status==1}}"></image>
    <image src="{{img_host+'/unuse.png'}}"  class="zhang"  wx:elif="{{prescript.prescription_status==2}}"></image>
    <image  src="{{img_host+'/nowork.png'}}" class="zhang"  wx:elif="{{prescript.prescription_status==3}}"></image>
    <image src="{{img_host+'/hasuse.png'}}"  class="zhang" wx:else></image>
    <view class="tips">
    <view class="tip">1）处方有效期为3天，请及时结算；</view>
    <view class="tip">2）本处方限于成都金牛欣欣相照互联网医院使用，自行下载配药不具有处方效力；</view>
    <view class="tip">3）根据《医疗机构药事管理规定》第二十八条,为保障患者用药安全,药品一经发出,不得退换；</view>
    <view class="tip">4）按照"网订店送"规定，处方由药店药师复核，确认用药无误签字后方可生效。</view>
  </view> 
  </view>
 
  <view class="pay" bindtap="goPayInfo" wx:if="{{prescript.prescription_status==2}}">去结算</view>
</view>
<van-dialog id="van-dialog" confirm-button-color="#3CC7C0"  />