| 
					
				 | 
			
			
				@@ -3,12 +3,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <view class="page_top"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <view 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         :class="i === current ? 'active tage' : 'tage'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        v-for="(v, i) in dataList" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        v-for="(v, i) in dataList.filter(item => item.type == 2)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         :key="i" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        v-if="v.type === '2'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         @click="changeFn(i)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        数据{{ i }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        数据{{ i + 1 }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <view class="list"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -44,7 +43,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         '选项3', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         '选项3' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      current: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      current: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       id: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       dataList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       titleList: [], 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -66,9 +65,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     changeFn(index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.current = index 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.contentList = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      for (let item in this.dataList[index]) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      for (let item in this.dataList?.filter(item => item.type == 2)?.[index]) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (item.indexOf('field') !== -1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.contentList.push(this.dataList[index][item]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.contentList.push(this.dataList?.filter(item => item.type == 2)?.[index]?.[item]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let list = [] 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -95,7 +94,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.titleList.push(data[0][value]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.changeFn(1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.changeFn(this.current) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 |