wangguoyu hace 4 meses
padre
commit
0097bd5386
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      pages/study/product/shuxue.vue
  2. 1 1
      pages/study/product/yingyu.vue

+ 1 - 1
pages/study/product/shuxue.vue

@@ -133,7 +133,7 @@
 		let brandActive = '';
 		if(isVip==='VIP'){
 			brandActive = 'brand-active';
-		}else if(index===0){
+		}else if(data[index].firstFlag==1){
 			brandActive = 'brand-active';
 		}else{
 			brandActive = '';

+ 1 - 1
pages/study/product/yingyu.vue

@@ -118,7 +118,7 @@
 		let brandActive = '';
 		if(isVip==='VIP'){
 			brandActive = 'brand-active';
-		}else if(index===0){
+		}else if(data[index].firstFlag==1){
 			brandActive = 'brand-active';
 		}else{
 			brandActive = '';