修改首页报警图标
This commit is contained in:
parent
d700f40c64
commit
cacc658887
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<!-- <uni-section title="点巡检" type="line">
|
||||
<!-- <uni-section title="点巡检" type="line">
|
||||
<swiper class="swiper-box">
|
||||
<swiper-item>
|
||||
<view class="content-card-container">
|
||||
@ -26,21 +26,6 @@
|
||||
<swiper class="swiper-box">
|
||||
<swiper-item>
|
||||
<view class="content-card-container">
|
||||
<view class="content-card-wrap" @click="handleClickAllAlarm">
|
||||
<view class="content-container">
|
||||
<view class="content-icon-wrap">
|
||||
<view :class="'iconfont icon-guzhang1'" :style="{'--color':'#FF0000'}">
|
||||
</view>
|
||||
</view>
|
||||
<view class="content-title-wrap">
|
||||
<view class="content-title">报警管理</view>
|
||||
<view class="content-subTitle">
|
||||
<text class="content-count">{{allCount}}</text>
|
||||
次
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content-card-wrap" @click="handleClickPatrolCount">
|
||||
<view class="content-container">
|
||||
<view class="content-icon-wrap">
|
||||
@ -55,7 +40,25 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="content-card-wrap" @click="handleClickProcessedAlarm">
|
||||
<view class="content-card-wrap" @click="handleClickAllAlarm">
|
||||
<view class="content-container">
|
||||
<view class="content-icon-wrap">
|
||||
<!-- <view :class="'iconfont icon-guzhang1'" :style="{'--color':'#FF0000'}">
|
||||
</view> -->
|
||||
<view class="content-icon-wrap">
|
||||
<uni-icons type="notification-filled" size="40" color="#FF0000"></uni-icons>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content-title-wrap">
|
||||
<view class="content-title">报警管理</view>
|
||||
<view class="content-subTitle">
|
||||
<text class="content-count">{{allCount}}</text>
|
||||
次
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="content-card-wrap" @click="handleClickProcessedAlarm">
|
||||
<view class="content-container">
|
||||
<view class="content-icon-wrap">
|
||||
<view :class="'iconfont icon-zhengchang'" :style="{'--color':'#2BD52B'}">
|
||||
@ -422,7 +425,7 @@
|
||||
handleClickPatrolCount() {
|
||||
this.$tab.navigateTo("/pages/work/patrol/listPatrol");
|
||||
},
|
||||
getPatrolCount(){
|
||||
getPatrolCount() {
|
||||
getPatrolCount().then((res) => {
|
||||
this.patrolCount = res;
|
||||
})
|
||||
@ -431,10 +434,10 @@
|
||||
getAlarmCount().then((res) => {
|
||||
//报警总数
|
||||
this.allCount = res.allCount,
|
||||
//已处理数量
|
||||
this.processedCount = res.processedCount,
|
||||
//未处理数量
|
||||
this.untreatedCount = res.untreatedCount
|
||||
//已处理数量
|
||||
this.processedCount = res.processedCount,
|
||||
//未处理数量
|
||||
this.untreatedCount = res.untreatedCount
|
||||
})
|
||||
},
|
||||
//点击所有报警
|
||||
|
Loading…
Reference in New Issue
Block a user