<wxs src="../../../utils/format.wxs" module="format" />
<view>
  <!-- <view class="box-wrapper" wx:if="{{workerNotice.length>0}}">
  <image  src="https://jzmall.lifejingzhi.com/file/wx-servant/course-tips.png" mode="aspectFit"></image>
  <view class="msg-box">
    <swiper class="swiper-container"  autoplay="true" circular="true" interval="3000">
   <block wx:for="{{workerNotice}}" wx:key="index"> <swiper-item>        <view class="msg-item">
  <view class="content-wrapper">
      <view class="msg-content">{{item}}
      </view>
      </view>
           </view>
   </swiper-item>
</block>
 </swiper>
 
  </view>
</view> -->
   <!-- 服务工单 -->
	 <view class="backMini" bindtap="backMini" wx:if="{{mini==1}}">返回</view>
 <view class="service-order">
     <view class="service-title">
       <view class="ser-title-left">
          <image mode="aspectFit" src="/static/images/upgrade/order@selected.png"></image>
          <view>服务工单</view>
       </view>
       <view class="ser-title-right" >
        <image mode="aspectFit" src="/static/images/upgrade/jzlife-logo.png"></image>
          <!-- <view>{{bookOrderInfo.channel}}</view> -->
       </view>
     </view>
     <view class="related-info">
       <view class="column" style="margin-bottom:40rpx;" >
         <view class="title" >相关信息</view>
         <!-- <view>客户剩余总服务次数：{{bookOrderInfo.cusRemain}}次</view> -->
       </view>
       <!-- 消息 -->
       <!-- <view class="notice" wx:if="{{bookOrderInfo.rebuySpeach!=''}}">
       <image mode="aspectFit" src="/static/images/upgrade/icon-alert.png"></image>
       <view>
       {{bookOrderInfo.rebuySpeach}}
       </view>
       
       </view> -->
       <view class="row">服务内容：{{bookOrderInfo.itemName}} </view>
       <!-- <view class="row">客户信息：{{bookOrderInfo.syncTag}} {{bookOrderInfo.cusStatus}} </view> -->
       <!-- <view class="column">
         <view>订单类型：{{bookOrderInfo.itemType}}</view>
         <view>此次服务进度：{{bookOrderInfo.serviceProcess}}</view>
       </view> -->
       <view class="row">商品简称：{{bookOrderInfo.orderType}}</view>
      

     </view>
     <view class="service-info">
      <view class="order-num">
        <view>服务单号：{{bookOrderInfo.serviceId}}</view>
        <image src="/static/images/upgrade/icon-copy.png" mode="aspectFit" class="copy-img" bindtap="copyNum" data-bookno="{{bookOrderInfo.serviceId}}"></image>
      </view>
      <view class="row service-status">
        <view>当前状态：{{bookOrderInfo.statusVal}}</view>
        <!-- <view class="invite-comment" wx:if="{{bookOrderInfo.canEval}}">可邀评</view> -->
        <!-- <view class="hp-wrapper" wx:if="{{bookOrderInfo.evalType=='好评'}}">
          <image src="/static/images/upgrade/icon-hp.png" mode="aspectFit" class="hp-img" ></image>
        <text>好评</text>
        </view> -->
       
     
        </view>
      <view class="row">预约时间：{{bookOrderInfo.bookTime}} </view>
      <view class="column">
        <view>客户手机：{{bookOrderInfo.customerPhone}}</view> 
      </view>
      <view class="address">
        <view>服务小区：</view>
        <view class="detail">{{bookOrderInfo.addressName}}</view> 
      </view>
      <view class="address">
        <view>服务地址：</view>
        <view class="detail">{{bookOrderInfo.address}}</view> 
      </view>
      <view class="row">客户备注：{{bookOrderInfo.message}}</view>
      
     </view>
    

 </view>

 <view wx:if="{{bookOrderInfo.status==7}}" class="finish-btn" bindtap="receiveOrder" >立即接单</view>
 <view wx:else class="finish-btn disable-btn" >
	立即接单
 </view>

<!-- 接单提示 -->
<van-overlay show="{{receiveShow}}">
	<view class="overlay-wrapper">
		<view class="tips-wrapper">
			<view class="tips-top">
		身份验证</view>
			<view class="tips-content">
		
		     <view class="mobile-wrapper">
        <input class="input-block"  	placeholder-style="font-size:24rpx;color:#999" bindinput="bindMobile" value="{{mobile}}" type="number"  maxlength="11" placeholder="请输入手机号码" placeholder-class="placeholder"/>
				<view class="send-code" bindtap="sendCode">{{sendCodeText}}</view>
			</view>
			<view class="mobile-tips">请输入在公司注册的手机号</view>
			<view class="code-wrapper">
			  <input 
				placeholder-style="font-size:24rpx;color:#999"
				class="code-block" bindinput="bindCode" value="{{code}}" type="number"  maxlength="6" placeholder="请输入验证码" placeholder-class="placeholder"/>
			</view>
			<view class="code-tips" wx-if="{{failShow}}">验证失败，请联系家政老师进行注册！</view>
      
		</view>
			<view class="tips-bottom">
				<view class="cancel-btn" bindtap="cancelReceive">取消</view>
				<view class="btn-devide"></view>
				<view class="repay-btn" bindtap="confReceive">确定</view>
			</view>
		</view>
	</view>
</van-overlay>

 

</view>
