| 
					
				 | 
			
			
				@@ -1,13 +1,14 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <!--pages/orders/order-detail.wxml--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <view class="container"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  <navigation-bar title="订单详情"></navigation-bar> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <navigation-bar color="#fff" title="订单详情"></navigation-bar> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <scroll-view class="record-list" type="list" scroll-y bindscrolltolower="loadMore"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <view class="scroll-container"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <view class="order-status" wx:if="{{statusList[status]}}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <view class="status"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <image src="{{ statusList[status].logo }}"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <!-- <image src="{{ statusList[status].logo }}"></image> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <text>{{ statusList[status].title }}</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <view class="btn-refound" bind:tap="useRefound"  wx:if="{{ goodsInfo.wechatStatus == 'WAIT_USE' }}">申请退款</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <view class="tips" wx:if="{{ statusList[status].content }}">{{ statusList[status].content }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </view> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -22,14 +23,17 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <view class="goods-type"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <view class="goods-card">{{ item.typeName }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <view class="goods-num">x1</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <view class="goods-num">共 {{ item.goodsNum }} 件</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <view class="qrcode-section" wx:if="{{ (goodsInfo.wechatStatus == 'PAID' || goodsInfo.wechatStatus == 'WAIT_USE') && showCanvas }}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <view class="qrcode-wrap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <!-- <canvas class='my_draw_canvas' data-type="image" canvas-id='canvasCode' id="canvasCode"></canvas> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <view class="qrcode-wrap {{goodsInfo.wechatStatus == 'WAIT_USE' ? '' : 'used' }}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <image class="arrow arrow-left" src="./images/icon-arrow.png"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <image class="arrow arrow-right" src="./images/icon-arrow.png"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <image src="{{canvasImg}}" mode="scaleToFill" class='my_draw_canvas' style="opacity: {{ goodsInfo.wechatStatus == 'PAID' ? 0.4 : 1 }};" show-menu-by-longpress="true"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <view class="loader" wx:if="{{!canvasImg}}"></view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <view class="qrcode-text" wx:if="{{goodsInfo.wechatStatus == 'WAIT_USE'}}">请扫描二维码激活使用</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <view class="qrcode-text used" wx:else>二维码已使用</view> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -40,7 +44,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <view class="order-time"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <view class="order-item"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <view class="title">订单号</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <view class="title">订单编号</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <view class="value">{{ goodsInfo.orderNo }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <view class="copy" bind:tap="onCopy" data-orderno="{{goodsInfo.orderNo}}">复制</view></view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </view> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -50,7 +54,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <view class="order-time" wx:if="{{ goodsInfo.wechatStatus == 'REFUNDED' }}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <view class="order-time" wx:if="{{ goodsInfo.wechatStatus == 'REFUNDED' || goodsInfo.wechatStatus == 'REFUNDING' }}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <view class="order-item"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <view class="title">{{ goodsInfo.wechatStatus == 'REFUNDED' ? '退款时间' : '申请退款时间' }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <view class="value">{{ goodsInfo.refundTime }}</view> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -59,21 +63,15 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <view class="title">退款金额</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <view class="value red">¥{{ goodsInfo.refundAmount }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <view class="order-item"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view class="order-item" wx:if="{{goodsInfo.wechatStatus == 'REFUNDING'}}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <view class="title">退款路径</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <view class="value">{{ goodsInfo.refundStyleStr }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <view class="btn-refound" bind:tap="useRefound"  wx:if="{{ goodsInfo.wechatStatus == 'WAIT_USE' }}">申请退款</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </scroll-view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <view class="order-btn" wx:if="{{ goodsInfo.wechatStatus != 'WAIT_PAY' }}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <view class="orders" bind:tap="onService"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <image src="./images/icon-service.png" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <text>客服</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <!-- <button type="primary" bind:tap="useRefound" wx:if="{{ goodsInfo.wechatStatus == 'WAIT_USE' }}">申请退款</button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <block wx:else> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <button type="primary" bind:tap="cancelRefound" wx:if="{{ goodsInfo.wechatStatus == 'REFUNDING' }}">取消退款</button> 
			 |