wangguoyu 4 mēneši atpakaļ
vecāks
revīzija
0097bd5386
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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 = '';