| 
					
				 | 
			
			
				@@ -21,6 +21,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             /*height: 0.76rem;*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             line-height: 0.5rem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             font-size: 0.28rem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			position: relative; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			padding-top: 0.2rem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         .swiper-slide span { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             white-space: nowrap; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -104,6 +106,24 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             font-size: 0.28rem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             background-color: #fff; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.dian{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			position: absolute; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			font-size: 10px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			color: #fff; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			background-color: #D9332E; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			border-radius: 25px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			top: 0.15rem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			right: -9px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			box-sizing: border-box; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			white-space: nowrap; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			text-align: center; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			min-width:15px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			z-index: 999; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			height: 0.3rem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			line-height: 0.3rem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			padding: 0 2px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			display: none; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     (function(w, d, m) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -141,12 +161,18 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <li class="more-btn"></li> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </ul> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </header> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <section class="nav padding-top white-back" style="margin-top: 0.2rem;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <section class="nav padding-top white-back" style="margin-top: 0.2rem;padding-top: 0.8rem;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <div class="swiper-container"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <div class="swiper-wrapper"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <div class="swiper-slide active" state="100" state_as="all"><span>全部</span></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <div class="swiper-slide" state="10" state_as="waiting"><span>待付款</span></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <div class="swiper-slide" state="20,30" state_as="payed"><span>处理中</span></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <div class="swiper-slide waiting_count" state="10" state_as="waiting"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					<span>待付款</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					<em class="dian">9</em> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <div class="swiper-slide payed_count" state="20,30" state_as="payed"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					<span>处理中</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					<em class="dian">9</em> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <div class="swiper-slide" state="40" state_as="complete"><span>已收货</span></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <div class="swiper-slide" state="0" state_as="cancel"><span>已取消</span></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <!-- <div class="swiper-slide" state="50" state_as="refund"><span>退换/售后</span></div> --> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -208,11 +234,45 @@ apiready = function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         _htmlstatus = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         lastpage = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         _page = '1'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		$(".dian").hide(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $(".border-none.kong").addClass("mask-hidden"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         getRouteData(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		getNum(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//获取订单角标 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+function getNum(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	$.ajax({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	    url: siteurl + 'v1/order/statistics',//'?do=orderdel', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	    headers: { "X-TOKEN": $api.getStorage("accesstoken")}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	    type: 'get', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	    success: function(res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			console.log(JSON.stringify(res)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			var data=res.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			if(data.waiting_count >0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				$(".waiting_count .dian").show(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				if(data.waiting_count>99){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					$(".waiting_count .dian").text('99+'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					$(".waiting_count .dian").text(data.waiting_count); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			if(data.payed_count >0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				$(".payed_count .dian").show(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				if(data.waiting_count>99){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					$(".payed_count .dian").text('99+'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					$(".payed_count .dian").text(data.payed_count); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				$(".payed_count .dian").text(data.payed_count); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 function getRouteData() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (lastpage) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return false; 
			 |