|
@@ -82,7 +82,7 @@
|
|
growthType.value = cacheManager.get('auth')?cacheManager.get('auth').growthType:props.youkeImage
|
|
growthType.value = cacheManager.get('auth')?cacheManager.get('auth').growthType:props.youkeImage
|
|
})
|
|
})
|
|
const isVip = getUserIdentity();
|
|
const isVip = getUserIdentity();
|
|
- console.log('isVip',);
|
|
|
|
|
|
+ console.log('isVip',isVip);
|
|
const gradeMapping = {
|
|
const gradeMapping = {
|
|
1: '一年级',
|
|
1: '一年级',
|
|
2: '二年级',
|
|
2: '二年级',
|
|
@@ -145,12 +145,13 @@
|
|
|
|
|
|
// 获取节class
|
|
// 获取节class
|
|
function getClass(data, index, isVip,item) {
|
|
function getClass(data, index, isVip,item) {
|
|
|
|
+
|
|
let brandActive = '';
|
|
let brandActive = '';
|
|
if (isVip === 'VIP') {
|
|
if (isVip === 'VIP') {
|
|
brandActive = 'brand-active';
|
|
brandActive = 'brand-active';
|
|
- } else if (data.number == 1 && isVip =='Not-Vip') {
|
|
|
|
|
|
+ } else if (item.firstFlag == 1 && isVip =='Not-Vip') {
|
|
brandActive = 'brand-active';
|
|
brandActive = 'brand-active';
|
|
- }else if (data.number == 1 && isVip =='Visitor' &&item.type ==1){
|
|
|
|
|
|
+ }else if (item.firstFlag == 1 && isVip =='Visitor' &&item.type ==1){
|
|
brandActive = 'brand-active';
|
|
brandActive = 'brand-active';
|
|
} else {
|
|
} else {
|
|
brandActive = '';
|
|
brandActive = '';
|