修改首页报警图标

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> <template>
<view class="content"> <view class="content">
<!-- <uni-section title="点巡检" type="line"> <!-- <uni-section title="点巡检" type="line">
<swiper class="swiper-box"> <swiper class="swiper-box">
<swiper-item> <swiper-item>
<view class="content-card-container"> <view class="content-card-container">
@ -26,21 +26,6 @@
<swiper class="swiper-box"> <swiper class="swiper-box">
<swiper-item> <swiper-item>
<view class="content-card-container"> <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-card-wrap" @click="handleClickPatrolCount">
<view class="content-container"> <view class="content-container">
<view class="content-icon-wrap"> <view class="content-icon-wrap">
@ -55,7 +40,25 @@
</view> </view>
</view> </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-container">
<view class="content-icon-wrap"> <view class="content-icon-wrap">
<view :class="'iconfont icon-zhengchang'" :style="{'--color':'#2BD52B'}"> <view :class="'iconfont icon-zhengchang'" :style="{'--color':'#2BD52B'}">
@ -422,7 +425,7 @@
handleClickPatrolCount() { handleClickPatrolCount() {
this.$tab.navigateTo("/pages/work/patrol/listPatrol"); this.$tab.navigateTo("/pages/work/patrol/listPatrol");
}, },
getPatrolCount(){ getPatrolCount() {
getPatrolCount().then((res) => { getPatrolCount().then((res) => {
this.patrolCount = res; this.patrolCount = res;
}) })
@ -431,10 +434,10 @@
getAlarmCount().then((res) => { getAlarmCount().then((res) => {
// //
this.allCount = res.allCount, this.allCount = res.allCount,
// //
this.processedCount = res.processedCount, this.processedCount = res.processedCount,
// //
this.untreatedCount = res.untreatedCount this.untreatedCount = res.untreatedCount
}) })
}, },
// //