diff --git a/super-screen/client/assets/images/homepage/communtity/monitor.png b/super-screen/client/assets/images/homepage/communtity/monitor.png new file mode 100644 index 0000000..777a567 Binary files /dev/null and b/super-screen/client/assets/images/homepage/communtity/monitor.png differ diff --git a/super-screen/client/assets/images/homepage/enter/bg.gif b/super-screen/client/assets/images/homepage/enter/bg.gif new file mode 100644 index 0000000..c5a5bf0 Binary files /dev/null and b/super-screen/client/assets/images/homepage/enter/bg.gif differ diff --git a/super-screen/client/assets/images/homepage/enter/bg.png b/super-screen/client/assets/images/homepage/enter/bg.png deleted file mode 100644 index e31d45b..0000000 Binary files a/super-screen/client/assets/images/homepage/enter/bg.png and /dev/null differ diff --git a/super-screen/client/assets/images/homepage/fire/add.png b/super-screen/client/assets/images/homepage/fire/add.png new file mode 100644 index 0000000..fad3be7 Binary files /dev/null and b/super-screen/client/assets/images/homepage/fire/add.png differ diff --git a/super-screen/client/assets/images/homepage/fire/location_infowindow.png b/super-screen/client/assets/images/homepage/fire/location_infowindow.png new file mode 100644 index 0000000..9a65e91 Binary files /dev/null and b/super-screen/client/assets/images/homepage/fire/location_infowindow.png differ diff --git a/super-screen/client/assets/images/homepage/fire/reportbg.png b/super-screen/client/assets/images/homepage/fire/reportbg.png new file mode 100644 index 0000000..7b91309 Binary files /dev/null and b/super-screen/client/assets/images/homepage/fire/reportbg.png differ diff --git a/super-screen/client/assets/images/homepage/water/_monitor.png b/super-screen/client/assets/images/homepage/water/_monitor.png new file mode 100644 index 0000000..038118c Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/_monitor.png differ diff --git a/super-screen/client/assets/images/homepage/water/back.png b/super-screen/client/assets/images/homepage/water/back.png new file mode 100644 index 0000000..4a0faae Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/back.png differ diff --git a/super-screen/client/assets/images/homepage/water/bncs.png b/super-screen/client/assets/images/homepage/water/bncs.png new file mode 100644 index 0000000..8a30e50 Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/bncs.png differ diff --git a/super-screen/client/assets/images/homepage/water/bncsselect.png b/super-screen/client/assets/images/homepage/water/bncsselect.png new file mode 100644 index 0000000..b389d55 Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/bncsselect.png differ diff --git a/super-screen/client/assets/images/homepage/water/devicebutton.png b/super-screen/client/assets/images/homepage/water/devicebutton.png new file mode 100644 index 0000000..33f50cf Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/devicebutton.png differ diff --git a/super-screen/client/assets/images/homepage/water/devicebuttonselect.png b/super-screen/client/assets/images/homepage/water/devicebuttonselect.png new file mode 100644 index 0000000..a2eacbb Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/devicebuttonselect.png differ diff --git a/super-screen/client/assets/images/homepage/water/docbg.png b/super-screen/client/assets/images/homepage/water/docbg.png new file mode 100644 index 0000000..1143c54 Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/docbg.png differ diff --git a/super-screen/client/assets/images/homepage/water/dotbg.png b/super-screen/client/assets/images/homepage/water/dotbg.png new file mode 100644 index 0000000..2298d8b Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/dotbg.png differ diff --git a/super-screen/client/assets/images/homepage/water/high_risk.png b/super-screen/client/assets/images/homepage/water/high_risk.png new file mode 100644 index 0000000..3c1321d Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/high_risk.png differ diff --git a/super-screen/client/assets/images/homepage/water/home.png b/super-screen/client/assets/images/homepage/water/home.png new file mode 100644 index 0000000..b25d171 Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/home.png differ diff --git a/super-screen/client/assets/images/homepage/water/homeselect.png b/super-screen/client/assets/images/homepage/water/homeselect.png new file mode 100644 index 0000000..e5e2fde Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/homeselect.png differ diff --git a/super-screen/client/assets/images/homepage/water/left.png b/super-screen/client/assets/images/homepage/water/left.png new file mode 100644 index 0000000..821f0de Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/left.png differ diff --git a/super-screen/client/assets/images/homepage/water/low_risk.png b/super-screen/client/assets/images/homepage/water/low_risk.png new file mode 100644 index 0000000..ed0b83f Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/low_risk.png differ diff --git a/super-screen/client/assets/images/homepage/water/middle_risk.png b/super-screen/client/assets/images/homepage/water/middle_risk.png new file mode 100644 index 0000000..fe8fb1a Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/middle_risk.png differ diff --git a/super-screen/client/assets/images/homepage/water/off.png b/super-screen/client/assets/images/homepage/water/off.png new file mode 100644 index 0000000..3c55d1b Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/off.png differ diff --git a/super-screen/client/assets/images/homepage/water/on.png b/super-screen/client/assets/images/homepage/water/on.png new file mode 100644 index 0000000..3eaa80e Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/on.png differ diff --git a/super-screen/client/assets/images/homepage/water/realrightbg.png b/super-screen/client/assets/images/homepage/water/realrightbg.png new file mode 100644 index 0000000..6647744 Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/realrightbg.png differ diff --git a/super-screen/client/assets/images/homepage/water/realtitle.png b/super-screen/client/assets/images/homepage/water/realtitle.png new file mode 100644 index 0000000..a5740d3 Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/realtitle.png differ diff --git a/super-screen/client/assets/images/homepage/water/right.png b/super-screen/client/assets/images/homepage/water/right.png new file mode 100644 index 0000000..84e6f47 Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/right.png differ diff --git a/super-screen/client/assets/images/homepage/water/waterinfowindow.png b/super-screen/client/assets/images/homepage/water/waterinfowindow.png new file mode 100644 index 0000000..fcdb41d Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/waterinfowindow.png differ diff --git a/super-screen/client/assets/images/homepage/water/waterwarningbg.png b/super-screen/client/assets/images/homepage/water/waterwarningbg.png new file mode 100644 index 0000000..ee6055e Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/waterwarningbg.png differ diff --git a/super-screen/client/assets/images/homepage/water/weather.png b/super-screen/client/assets/images/homepage/water/weather.png new file mode 100644 index 0000000..6e65e7a Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/weather.png differ diff --git a/super-screen/client/assets/images/homepage/water/yjdw.png b/super-screen/client/assets/images/homepage/water/yjdw.png new file mode 100644 index 0000000..fba3f47 Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/yjdw.png differ diff --git a/super-screen/client/assets/images/homepage/water/yjdwselect.png b/super-screen/client/assets/images/homepage/water/yjdwselect.png new file mode 100644 index 0000000..83ea79b Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/yjdwselect.png differ diff --git a/super-screen/client/assets/images/homepage/water/yjjg.png b/super-screen/client/assets/images/homepage/water/yjjg.png new file mode 100644 index 0000000..9939c6e Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/yjjg.png differ diff --git a/super-screen/client/assets/images/homepage/water/yjjgselect.png b/super-screen/client/assets/images/homepage/water/yjjgselect.png new file mode 100644 index 0000000..8fc7ff0 Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/yjjgselect.png differ diff --git a/super-screen/client/assets/images/homepage/water/yjzj.png b/super-screen/client/assets/images/homepage/water/yjzj.png new file mode 100644 index 0000000..e635b54 Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/yjzj.png differ diff --git a/super-screen/client/assets/images/homepage/water/yjzjselect.png b/super-screen/client/assets/images/homepage/water/yjzjselect.png new file mode 100644 index 0000000..8c3610a Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/yjzjselect.png differ diff --git a/super-screen/client/assets/images/homepage/water/yljg.png b/super-screen/client/assets/images/homepage/water/yljg.png new file mode 100644 index 0000000..32b1f79 Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/yljg.png differ diff --git a/super-screen/client/assets/images/homepage/water/yljgselect.png b/super-screen/client/assets/images/homepage/water/yljgselect.png new file mode 100644 index 0000000..425f4c4 Binary files /dev/null and b/super-screen/client/assets/images/homepage/water/yljgselect.png differ diff --git a/super-screen/client/src/components/public/index.less b/super-screen/client/src/components/public/index.less index dbc079e..b998586 100644 --- a/super-screen/client/src/components/public/index.less +++ b/super-screen/client/src/components/public/index.less @@ -93,6 +93,7 @@ border: 1px solid #12B2E5; background-color: rgba(91, 193, 255, 0.2); margin-right: 3px; + cursor: pointer; } ._item { @@ -104,5 +105,21 @@ border: 1px solid #0B6AEA; background-color: rgba(35, 108, 254, 0.3); margin-right: 3px; + cursor: pointer; } +} + +.children-container { + height: calc(100% - 42px); + background-image: linear-gradient(180deg, #04377ecc 1%, #001241 100%); +} + +.box_header_bg { + background: url(/assets/images/homePage/bigscreen/headertitlebg.png) no-repeat; + background-size: 100% 100%; + height: 42px; + padding-top: 4px; + word-break: keep-all; + white-space: nowrap; + width: 100%; } \ No newline at end of file diff --git a/super-screen/client/src/components/public/table-card.js b/super-screen/client/src/components/public/table-card.js index d538efd..4a19012 100644 --- a/super-screen/client/src/components/public/table-card.js +++ b/super-screen/client/src/components/public/table-card.js @@ -1,45 +1,43 @@ 'use strict' -import React from 'react' +import React, { useState } from 'react' import './index.less' -class Box extends React.Component { - render() { - const { title, height = '100%', children, margin, overflow, subtitle, subtitleSelect } = this.props +function Box(props) { + const [range, setRange] = useState('week'); + const { title, height = '100%', children, margin, overflow, subtitle, subtitleSelect } = props - const headerbg = { - background: 'url(/assets/images/homePage/bigscreen/headertitlebg.png) no-repeat', - backgroundSize: '100% 100%', - } - return ( -