Przeglądaj źródła

Merge branch '2024鹅状元' of https://gogs.mtavip.com/wangguoyu/uniProject into 2024鹅状元

tanxue 6 miesięcy temu
rodzic
commit
ef460a4c8c
2 zmienionych plików z 2 dodań i 2 usunięć
  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 = '';