diff --git a/src/assets/img/90501c706560228b7b68e4c8f4c9924c490578ad.png b/src/assets/img/90501c706560228b7b68e4c8f4c9924c490578ad.png new file mode 100644 index 0000000..67f5ce8 Binary files /dev/null and b/src/assets/img/90501c706560228b7b68e4c8f4c9924c490578ad.png differ diff --git a/src/assets/img/a4a0367e2a7e14611cc75be2e1a2d51127a4d390.png b/src/assets/img/a4a0367e2a7e14611cc75be2e1a2d51127a4d390.png new file mode 100644 index 0000000..15a4f91 Binary files /dev/null and b/src/assets/img/a4a0367e2a7e14611cc75be2e1a2d51127a4d390.png differ diff --git a/src/assets/img/d368476fbf3b6a5e808b0274d96e1809d945da24.png b/src/assets/img/d368476fbf3b6a5e808b0274d96e1809d945da24.png new file mode 100644 index 0000000..d5a2d5f Binary files /dev/null and b/src/assets/img/d368476fbf3b6a5e808b0274d96e1809d945da24.png differ diff --git a/src/assets/img/f729103541513c2e864c1f8a710db1d80125f3e7.png b/src/assets/img/f729103541513c2e864c1f8a710db1d80125f3e7.png new file mode 100644 index 0000000..bc06292 Binary files /dev/null and b/src/assets/img/f729103541513c2e864c1f8a710db1d80125f3e7.png differ diff --git a/src/pages/smartinspection/components/Inspectiontaskplan/InspectionTaskPlan.less b/src/pages/smartinspection/components/Inspectiontaskplan/InspectionTaskPlan.less index 547cde4..4021ae9 100644 --- a/src/pages/smartinspection/components/Inspectiontaskplan/InspectionTaskPlan.less +++ b/src/pages/smartinspection/components/Inspectiontaskplan/InspectionTaskPlan.less @@ -103,6 +103,41 @@ width: 88px; height: 36px; } + +.tabButton { + width: 200px; + height: 80px; + display: flex; + align-items: center; + justify-content: center; + text-align: center; + border: none; + color: black; + cursor: pointer; + border-radius: 4px; + font-size: 24px; + font-weight: 400; + transition: all 0.3s; + background-size: cover; + background-position: center; + background-repeat: no-repeat; + box-shadow: 2px 6px 6.7px 0px rgba(212, 220, 231, 0.3); + transform: translateY(0); +} + +.tabButton:hover { + transform: translateY(-5px); + box-shadow: 3px 8px 12px 0px rgba(212, 220, 231, 0.5); +} + +.tabButton.active { + color: white; +} + +.tabButton.inactive { + color: black; +} + .resetBtn{ background-size:cover; background-position:center; diff --git a/src/pages/smartinspection/components/Inspectiontaskplan/SmartInspectionPlan.js b/src/pages/smartinspection/components/Inspectiontaskplan/SmartInspectionPlan.js index efd2fc9..d36a917 100644 --- a/src/pages/smartinspection/components/Inspectiontaskplan/SmartInspectionPlan.js +++ b/src/pages/smartinspection/components/Inspectiontaskplan/SmartInspectionPlan.js @@ -5,7 +5,11 @@ import { Title } from "@/pages/inspectiontasks/InspectionTasks"; import btnImg1 from '@/assets/img/planBtn1.png' import btnImg2 from '@/assets/img/planBtn2.png' import btnImg3 from '@/assets/img/planBtn3.png' -import menuInactiveBg from '@/assets/img/3de08b72a292633bddad28950ba6c6d7fa084a23.png' +import menuInactiveBg1 from '@/assets/img/d368476fbf3b6a5e808b0274d96e1809d945da24.png' // 温度异常检测未激活背景图 +import menuInactiveBg2 from '@/assets/img/3de08b72a292633bddad28950ba6c6d7fa084a23.png' // 温湿度检测未激活背景图 +import menuInactiveBg3 from '@/assets/img/90501c706560228b7b68e4c8f4c9924c490578ad.png' // 跑冒滴漏检测未激活背景图 +import menuInactiveBg4 from '@/assets/img/a4a0367e2a7e14611cc75be2e1a2d51127a4d390.png' // 仪器仪表采集未激活背景图 +import menuInactiveBg5 from '@/assets/img/f729103541513c2e864c1f8a710db1d80125f3e7.png' // 环境监测未激活背景图 import activeBgImage from '@/assets/img/de55b2b9c8dab34462ff1b044a5a5c9668b11aa4.png' import thermalImage from '@/assets/img/03ba6681098742e33bea38c40e3c23f16847dc1f.png' @@ -1558,7 +1562,7 @@ const SmartInspectionContent = () => { return (
-

实时监测区

+

| 实时监测区

{/*