| 
					
				 | 
			
			
				@@ -24,7 +24,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				<!--头部搜索框--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<div class="search-cotainer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				<div class="mui-input-row mui-search"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					<input id="search" name="search" class="my-search-ipt" type="text" placeholder="输入产品名称"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					<input id="search" name="search" class="my-search-ipt" type="text" placeholder='大家都在搜"电动牙刷刷头"'> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				<span class="iconfont icon-caidan"></span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				<span class="my-btn-cancel">取消</span> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -244,7 +244,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				mui(jingxuan2).each(function(index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					var li=document.createElement('li'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					li.className='mui-table-view-cell mui-media mui-col-xs-6'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					li.innerHTML='<a name="'+this.productId+'"><img class="mui-media-object" src="'+this.productParameterImg+'"><div class="index-pro-tit">'+this.productName+'</div><p class="mui-text-left">'+this.productRemark+'</p><p class="l-price">¥799.00</p></a>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					li.innerHTML='<a name="'+this.productId+'"><img class="mui-media-object" src="'+this.productParameterImg+'"><div class="index-pro-tit">'+this.productName+'</div><p class="mui-text-left">'+this.productRemark+'</p><p class="l-price">¥'+(this.productColorList[0].colorDiscount/100).toFixed(2)+'</p></a>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					table.appendChild(li); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -253,17 +253,20 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				var caidanData=dt.data.productTypeList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				var caidan=document.body.querySelector("#menu"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				mui(caidanData).each(function(index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					var li=document.createElement("li"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					li.innerHTML='<label name="'+this.typeId+'"><div>'+this.typeName+'</div></label>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					caidan.appendChild(li); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					colors.push({"id":colors.length+1,"typeId":this.typeId,"label":this.typeName}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					$.each(this.childTypeList, function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					if(this.typeId!=4){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						var li=document.createElement("li"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						li.className='line'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						li.innerHTML='<a name="'+this.typeId+'" item="'+this.childTypeId+'"><div>'+this.childTypeName+'</div></a>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						li.innerHTML='<label name="'+this.typeId+'"><div>'+this.typeName+'</div></label>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						caidan.appendChild(li); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						colors.push({"id":colors.length+1,"typeId":this.typeId,"label":this.childTypeName,"childTypeId":this.childTypeId}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						colors.push({"id":colors.length+1,"typeId":this.typeId,"label":this.typeName}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						$.each(this.childTypeList, function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							var li=document.createElement("li"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							li.className='line'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							li.innerHTML='<a name="'+this.typeId+'" item="'+this.childTypeId+'"><div>'+this.childTypeName+'</div></a>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							caidan.appendChild(li); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							colors.push({"id":colors.length+1,"typeId":this.typeId,"label":this.childTypeName,"childTypeId":this.childTypeId}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					//遍历产品配件 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					if(this.typeId==4){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						console.log(this.childTypeList) 
			 |