From bed5d8e7d6f8cb95e91f670b16b1c58214aa200f Mon Sep 17 00:00:00 2001 From: Zxuyoubin Date: Mon, 18 Mar 2024 17:34:27 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9ABug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/msgCenter/assets/rang.png | Bin 1013 -> 0 bytes src/pages/msgCenter/assets/warn.png | Bin 728 -> 0 bytes src/pages/msgCenter/index.tsx | 99 ---------------------------- 3 files changed, 99 deletions(-) delete mode 100644 src/pages/msgCenter/assets/rang.png delete mode 100644 src/pages/msgCenter/assets/warn.png delete mode 100644 src/pages/msgCenter/index.tsx diff --git a/src/pages/msgCenter/assets/rang.png b/src/pages/msgCenter/assets/rang.png deleted file mode 100644 index f5428c2941949db05b644c6546a50d44c9de0fec..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1013 zcmVPx#1am@3R0s$N2z&@+hyVZspGibPR9J=G**%C{RTKyC-SlLwbt8ckD+mz- z78as~Xkj6!ELub?#7Yz_gw(OnfLQo}*a#LP=`1YNN(GA)V(bJ7!WKdb(dbGxv(cH& z&a=4pWj^-3nfKn#%(DLB!p!}6=l{+*_q=n@P3!?F4IGZ`5axuwMx4@(Z3o-vpp%5Y zT1aY;Od`Q~9I5e)6m4t? z#Ib}^Zo{IUUrq~MY$jYEHK~wr^wkBy1!jpBt`+%qF5yUaQP^1ffh|GXyGR$AdBOgX z6=g5v4eTNueRkGvkcXp@%K!!l$7rxPGfLyJ7&+a)?&*MwHT~Q9fpA&i-&XSiZ z_zqX_hM?^X*YO#C9-9BEpyBgX*+y=MiLBG$cem7d&}qDb=kWcAd2{$dc!?Kl$bo+o zHjbMbj!;L(y~;ZTwWe`}7N+QYJ7zEvTt<>ee# zgxvOc&e&OeBD~~g1-Wpe|NK=JnXkR3I6-<-@dx5eTvwGWH0lr*1+Ep0T@d`c$ZE@Y ztcFY?;W{`a|1-WLnEdWB>mRNuS3|uc_i91^M_3o!;c{$w;p$ionb56EI1iWcZv1^7 z55<-jf6K)EJan6a8LLEzBK)Z5*B6D4%#-T-YaVu*LTz9Y$M6HMU z5kg@R{?00#1E-9XI~0ew2XN0s=nbNcuM}&zo$y!oXP9skcba~svMjpzv%d^GKr9Z_ zN&BXS&EcByE=|VzY-?teiqXoe6&IQQnixj*30slFF8n_V+Wj~%R|fq!P?s|OI55{< j{Wwq;i#d{Kes%jF-b2(eU4?#X00000NkvXXu0mjfGK1v) diff --git a/src/pages/msgCenter/assets/warn.png b/src/pages/msgCenter/assets/warn.png deleted file mode 100644 index 4583b3bfc9d83f8a1b368c7cb62388e7d9ddf5a6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 728 zcmV;}0w?{6P)Px#1am@3R0s$N2z&@+hyVZrf=NU{R7i>KmAz|IQ5c7xb8@Rmxz-4!Wato~gM&kd zcC&C&5g1mz7Dy! zrb%r+2;$IZI=t`ioZtC=;hg`4(t^2Gd1r<@?Wemjt1M2=SX!^CK3(XvuhofI9Aj0g z`WeCl08!Yd>GldH-5225Q|?Yy8Mlb=6d;Da7iqhC7LBNk z>m{t}ghE^eNi026O9XQO0;Z>ip{Wn@I5e0BNLYNO7D$U@tezSIBy#Rb*i0QyLQw?p zJcfI2D2|CY2T#6)o*Et;)y_)6dffz)0P#56JvH2QjICp_SpX5<0C+xQ;RH5oXWZdm zdKR`H`vfwIV%xWZCjf%JL(S2RbjK^yDp&`+ZVeR@SFq_ { - const [selectedMenuId, setSelectedMenuId] = useState('all') - let contList=[ - { - title:'土壤EC值预警', - time:'2024/3/13 16:30', - url:'./assets/rang.png', - message:'1号基地土壤EC值低于0.4阈值报警', - id:'1' - }, - { - title:'棚内温度报警', - url:'./assets/rang.png', - time:'2024/3/1 10:30', - message:'3号棚内温度39度,超过阈值37度,建议打开放风机', - id:'1' - }, - { - title:'系统通知', - url:'./assets/warn.png', - time:'2024/3/13 8:30', - message:'今日设备巡检结果尚未填报', - id:'0' - }, - { - title:'虫情预警', - url:'./assets/rang.png', - time:'2024/3/13 6:30', - message:'1号棚内虫害数量接近阈值预警', - id:'1' - }, - ] - const topMenus = [ - { - id: 'all', - title: '全部' - }, - { - id: '1', - title: '预警' - }, - { - id: '2', - title: '通知' - }, - ] - - const dataList = [ - { - id: '1', - }, - { - id: '2', - }, - ] - - return ( - - - { - topMenus.map(item => { - return ( - setSelectedMenuId(item.id)} - >{ item.title } - ) - }) - } - - - { - contList.map((item,index)=>{ - return ( - - - - - {item.title} - {item.time} - - {item.message} - - - ) - }) - } - - - ) -} - -export default MsgCenter; \ No newline at end of file