|
@@ -61,7 +61,7 @@
|
|
|
<view class="cu-item justify-center align-center" @tap=navItemClick(index) v-for="(item,index) in cuIconList" :key="index">
|
|
|
<image :src="item.imgUrl" style="width:100rpx;height:100rpx"></image>
|
|
|
<view class="cu-tag badge" v-if="item.badge!=0">
|
|
|
- <block v-if="item.badge!=1">{{item.badge>99?'99+':item.badge}}</block>
|
|
|
+ <block v-if="item.badge!=0">{{item.badge>99?'99+':item.badge}}</block>
|
|
|
</view>
|
|
|
<text>{{item.name}}</text>
|
|
|
</view>
|
|
@@ -382,7 +382,7 @@
|
|
|
})
|
|
|
this.staticData = res.data.data[0]
|
|
|
this.alarmCount = this.staticData.alarmCount
|
|
|
- this.cuIconList[0].badge=this.staticData.integratedAlarmCount
|
|
|
+ this.cuIconList[0].badge=this.staticData.unprocessedCount
|
|
|
},
|
|
|
|
|
|
|