<!--packageA/logistics/logistics.wxml-->
<answer id='answer'></answer>
<view class="pre" wx:if="{{orderid!='null' && list.length>1}}">
	<view space='ensp'>因货品存放于不同仓库，您的订单拆分为{{list.length}}个包裹发货，运单号为:
		<text bindtap="getSf" data-num="{{item}}" wx:for="{{list}}" wx:key="index">{{item}}{{list.length>index+1?'、':''}}</text>{{list.length>index+1?'':'，'}}
		点击单号可查看物流状态。</view>
</view>
<view class="header">
	<view class="title">
		<view class="img">
			<image src="{{img}}"></image>
		</view> 
		<view class="marl">
			<view class="dfh mt" wx:if="{{status==2}}">待发货</view>
			<view class="dfh" wx:if="{{status==3}}">待收货</view>
			<view class="dfh" wx:if="{{status==4}}">已完成</view>
			<view class="dh" wx:if="{{orderid!='null' && orderid}}">
				<text wx:if="{{com=='shunfeng'}}">顺丰速运</text>
				<text wx:if="{{com=='jd'}}">京东物流</text>
				<text wx:if="{{com=='yuantong'}}">圆通速递</text>
				<text wx:if="{{com=='shentong'}}">申通快递</text>
				<text wx:if="{{com=='zhongtong'}}">中通快递</text>
				<text wx:if="{{com=='yundakuaiyun'}}">韵达快运</text>
				：{{orderid}}
				<view class="btn" wx:if='{{orderid}}' bindtap="getNum" wx:if="{{orderid!='null' && orderid}}">复制</view>
			</view>
			<view class="mt" wx:if="{{orderid!='null' && orderid}}">
				<!-- <text class="wuliuzx">物流咨询：</text>
				<text class="wuliutel" bindtap="ddh">95338</text> -->
			</view>
			<view class="mt" wx:if="{{status==2}}">
				<text class="wuliuzx02">暂无运单信息</text>
			</view>
		</view>
	</view>

</view>
<view class="addressInfo">
	<view class="address-icon">
		<text class="cuIcon-location"></text>
	</view>
	<view><view class=""><text class="address_name">{{address.name}}</text><text class="address_call">{{address.phone}}</text></view><view class="address_text">{{address.take_over+address.detail_address}}</view></view>
</view>
<block>
	<view class="ddgz">
		<text>订单跟踪</text>
	</view>
	<view class="steps" wx:if="{{logistics}}">
		<block wx:for="{{arr}}" wx:key="index">
			<view class="list {{active==0?'active':''}}">
				<view class="list-zi ">
					<view class="name">{{item.remark}}</view>
					<view class="date">{{item.accept_time}}</view>
				</view>
			</view>
		</block>
		<view class="list" wx:if="{{orderid!='null' && orderid}}">
			<image src="{{arr==''?'/images/yfh.png':'/images/yfh2.png'}}"></image>
			<view class="list-zi">
				<view class="ztsize" style="font-size:32rpx;">已发货</view>
				<view class="name">已发货，等待快递揽收</view>
				<view class="date">{{time4}}</view>
			</view>
		</view>
		<view class="list">
			<image src="{{arr==''&&orderid==''?'/images/yfh.png':'/images/yfh2.png'}}"></image>
			<view class="list-zi">
				<view class="ztsize" style="font-size:32rpx;">药房发货中</view>
				<view class="name">药房正在分拣药品打包。隐私包装，箱外不会出现药品信息</view>
				<view class="date">{{time3}}</view>
			</view>
		</view>
		<view class="list">
			<image src="/images/yzf2.png"></image>
			<view class="list-zi">
				<view class="ztsize" style="font-size:32rpx;">已下单</view>
				<view class="name">订单已支付，待发货</view>
				<view class="date">{{time}}</view>
			</view>
		</view>
		<view class="list">
			<image src="/images/yishi.png"></image>
			<view class="list-zi">
				<view class="ztsize" style="font-size:32rpx;">药师审核</view>
				<view class="name">药师审核通过，用药才放心</view>
				<view class="date">{{time2}}</view>
			</view>
		</view>
		<view class="list">
			<view class="list-zi">
				<view class="name">药师审核中</view>
				<view class="date">{{time2}}</view>
			</view>
		</view>
	</view>
</block>
<view class="hight"></view>