wangguoyu 5 ヶ月 前
コミット
cd6f0d1173
1 ファイル変更1 行追加2 行削除
  1. 1 2
      pages/study/product/shuxue.vue

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

@@ -6,11 +6,10 @@
 			<view class="chapter-title-box">{{options.zhangName}}</view>
 			<view>
 				<view class="brand-item" v-for="(item, index) in options.jieList" :key="item.jieId"
-					@click="listClick(item, index)" :class="{ 'brand-active': index === 0 }">
+					@click="listClick(item, index)" :class="{ 'brand-active': isVip === 'VIP' || item.number == 1 }">
 					<view v-if="isVip === 'VIP' || item.number == 1" class="brand-icon">
 						{{ item.number }}
 					</view>
-	
 					<view v-if="item.daeFlag">
 					<template v-if="growthType ==0">蛋</template>
 					<template v-if="growthType ==1">小鹅</template>