<!--packageA/drugOrderDetail/drugOrderDetail.wxml-->
<answer id='answer'></answer>
<view class="top">
	<view class="top-title">
		<image src="/images/yifukuan.png"></image>
		<view>已付款</view>
	</view>
	<view class="top-text">预计1-3天送达，偏远地区除外</view>
</view>
<view class="logistics" wx:if="{{item.status==2}}">

		<view class="logistics-title">等待发货</view>
		<view class="logistics-text">
			<view class="addressInfo">
				<view class="address-icon">
					<text class="cuIcon-location"></text>
				</view>
				<view>
					<view class=""><text class="address_name">{{item.name}}</text><text
							class="address_call">{{item.phone}}</text></view>
					<view class="address_text">{{item.take_over+item.detail_address}}</view>
				</view>
			</view>
		</view>

	<!-- <view>
		<text class="cuIcon-right lg text-gray logistics-right"></text>
	</view> -->
</view>
<view class="logistics" wx:if="{{item.status==3}}">

		<view class="logistics-title">已发货</view>
		<view class="logistics-text">
			<view class="addressInfo">
				<view class="address-icon">
					<text class="cuIcon-location"></text>
				</view>
				<view>
					<view class=""><text class="address_name">{{item.name}}</text><text
							class="address_call">{{item.phone}}</text></view>
					<view class="address_text">{{item.take_over+item.detail_address}}</view>
				</view>
			</view>
		</view>

	<!-- <view>
		<text class="cuIcon-right lg text-gray logistics-right"></text>
	</view> -->
</view>
<view class="logistics" wx:if="{{item.status==4}}">

		<view class="logistics-title">已签收</view>
		<view class="logistics-text">
			<view class="addressInfo">
				<view class="address-icon">
					<text class="cuIcon-location"></text>
				</view>
				<view>
					<view class=""><text class="address_name">{{item.name}}</text><text
							class="address_call">{{item.phone}}</text></view>
					<view class="address_text">{{item.take_over+item.detail_address}}</view>
				</view>
			</view>
		</view>

	<!-- <view>
		<text class="cuIcon-right lg text-gray logistics-right"></text>
	</view> -->
</view>
<view class="br"></view>
<block wx:for="{{list}}" wx:key="index">
	<view class="list">
		<view class="list-item">
			<view class="image">
				<image src="{{item.picture}}"></image>
			</view>
			<view class="item-name">
				<view class="name">{{item.name}}</view>
				<view class="firm">{{item.firm}}</view>
				<view class="norms">{{item.norms}}</view>
				<view class="pirce">
					<text>￥</text>
					<text>{{item.price}}</text>
				</view>
			</view>
			<view class="number">x {{item.num}}</view>
		</view>
	</view>
</block>
<view class="br"></view>
<view class="order">
	<view class="row order-price">
		<view>订单价格：</view>
		<view>￥ {{item.drug_money}}</view>
	</view>
	<view class="row order-price">
		<view>服务诊金：</view>
		<view>￥ {{item.zj}}</view>
	</view>
	<view class="row order-freight">
		<view>运费：</view>
		<view>￥ {{item.freight}}</view>
	</view>
	<view class="actualPay">共{{item.total}}件商品 实付款: <text style="color:#EC5B68;">￥{{item.money}}</text></view>
</view>
<view class="br"></view>
<view class="orderinfo">
	<view class="ordertitle">订单详情</view>
	<view class="row ordernumber">
		<view>订单编号：<text style="color:#333;">{{item.ordernumber}}</text></view>
		<view class="copy" bindtap="copy" data-c="{{item.ordernumber}}">复制订单</view>
	</view>
	<view>支付时间：{{item.create_time}}</view>
</view>
<view class="br"></view>
<view>
	<view class="issue-top">常见问题</view>
	<view class="issue-item">
		<view class="issue-title row" bindtap="issue" data-index="1">1.关于发货时间以及物流配送<text
				class="{{index==1?'cuIcon-fold':'cuIcon-unfold'}} lg text-gray"></text></view>
		<view class="{{index==1?'issue-content':'hide'}}">
			<view>①药品当天16点前支付药费，当天即可发货，下午19点后支付一般在第二天发货；</view>
			<view>②快递采用顺丰配送， 1-3天即可到达。具体派送时间，请自行留意或联系派件员;</view>
			<view>③您可以在“小懂健康”公众号【我的医生-药品订单】或 “小懂健康”小程序【我的-药品订单】查询物流信息；</view>
			<view>④请确保预留的联系方式通话畅通，以免因派送失败耽误用药。</view>
			<view>⑤由于库房存储原因，偶尔可能会拆单从不同库房发货，不增加您的运费。</view>
		</view>
	</view>
	<view class="issue-item">
		<view class="issue-title row" bindtap="issue" data-index="2">2.关于退换货<text
				class="{{index==2?'cuIcon-fold':'cuIcon-unfold'}} lg text-gray"></text></view>
		<view class="{{index==2?'issue-content':'hide'}}" wx:if="{{index=='2'}}">
			<view>根据国家相关规定，药品属于特殊商品，一经售出（快递员揽收后），不得退换。请您仔细确认药品信息后再进行支付，如对药品有任何顾虑请您在药物配送前咨询客服或者处方医生。</view>
		</view>
	</view>
	<view class="issue-item">
		<view class="issue-title row" bindtap="issue" data-index="3">3.关于药品服用方法<text
				class="{{index==3?'cuIcon-fold':'cuIcon-unfold'}} lg text-gray"></text></view>
		<view class="{{index==3?'issue-content':'hide'}}" wx:if="{{index=='3'}}">
			<view>支付药费后，可在“小懂健康”公众号【我的医生-我的处方】查询处方信息，遵医嘱服用。</view>
		</view>
	</view>
	<view class="issue-item">
		<view class="issue-title row" bindtap="issue" data-index="4">4.关于发票问题<text
				class="{{index==4?'cuIcon-fold':'cuIcon-unfold'}} lg text-gray"></text></view>
		<view class="{{index==4?'issue-content':'hide'}}">
			<view>支付成功后，可在 “小懂健康”小程序【我的-开具发票】中，自行开具电子发票。</view>
		</view>
	</view>
	<view class="issue-item">
		<view class="issue-title row" bindtap="issue" data-index="5">5.关于下次如何快速找到医生<text
				class="{{index==5?'cuIcon-fold':'cuIcon-unfold'}} lg text-gray"></text></view>
		<view class="{{index==5?'issue-content':'hide'}}" wx:if="{{index=='5'}}">
			<view>在您已经获得某个医生的服务后，为了方便下次能快速找到该医生，建议您关注“小懂健康”公众号, 在【我的医生】中联系医生。</view>
		</view>
	</view>
</view>
<view class="issue">
	<view>有任何问题，与客服在线沟通，</view>
	<view>如果回复不及时，可拨打</view>
	<view>客服电话：<text style="color:#2684FF;" bindtap="dial">400-1199-218</text> 进行咨询。</view>
</view>
<view class="bottom row">
	<!-- <view>查看医生推荐</view> -->
	<view bindtap="viewRecipe" data-item="{{item}}">查看处方</view>
	<view wx:if="{{item.status==2}}" bindtap="editAddress" data-ordernumber="{{item.ordernumber}}"
		data-address="{{address}}">修改地址</view>
	<view bindtap="goLogistics" data-status="{{item.status}}" data-img="{{item.drug_arr[0].picture}}"
		data-src="/packageA/logistics/logistics" data-num="{{item.express_order}}" data-com="{{item.com}}"
		data-address="{{address}}" data-tel="{{item.phone}}" data-ordernumber="{{item.ordernumber}}">查看物流
	</view>
</view>