|
@@ -33,13 +33,14 @@
|
|
|
<!-- 节名称 -->
|
|
|
<view class="brand-content"> {{ item.jieName }} </view>
|
|
|
</view>
|
|
|
-
|
|
|
+
|
|
|
<view v-if="isVip == 'Visitor'">
|
|
|
- <!-- 序号或锁 -->
|
|
|
- <view class="brand-icon">{{ item.number }}
|
|
|
+
|
|
|
+ <!-- 锁 -->
|
|
|
+ <view v-if="options.number ==1 && item.firstFlag ==1" class="brand-icon">{{ item.number }}
|
|
|
</view>
|
|
|
<!-- 锁 -->
|
|
|
- <view v-if="options.number !='1' || item.type==2" class="brand-lock"></view>
|
|
|
+ <view v-else class="brand-lock"></view>
|
|
|
<!-- 箭头 -->
|
|
|
<view v-if="item.daeFlag && animalNum == index &&isVip != 'Visitor'" class="brand-arrow">
|
|
|
</view>
|
|
@@ -167,14 +168,14 @@
|
|
|
}
|
|
|
|
|
|
// 获取节class
|
|
|
- function getClass(data, index, isVip,item) {
|
|
|
+ function getClass(data, index, isVip, item) {
|
|
|
// console.log('data',data);
|
|
|
let brandActive = '';
|
|
|
if (isVip === 'VIP') {
|
|
|
brandActive = 'brand-active';
|
|
|
- } else if (data.number == 1&&item.firstFlag==1 && isVip =='Not-Vip') {
|
|
|
+ } else if (data.number == 1 && item.firstFlag == 1 && isVip == 'Not-Vip') {
|
|
|
brandActive = 'brand-active';
|
|
|
- } else if (data.number == 1&&item.firstFlag==1 && isVip =='Visitor' &&item.type ==1) {
|
|
|
+ } else if (data.number == 1 && item.firstFlag == 1 && isVip == 'Visitor' && item.type == 1) {
|
|
|
brandActive = 'brand-active';
|
|
|
} else {
|
|
|
brandActive = '';
|