修改首页报警图标

This commit is contained in:
xusd 2024-06-11 11:44:01 +08:00
parent d700f40c64
commit cacc658887

View File

@ -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
})
},
//