diff --git a/src/App.tsx b/src/App.tsx index e50375d..cc4bf23 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,9 +1,10 @@ -import { memo } from 'react'; -import type { FC } from 'react'; +import { memo } from "react"; +import type { FC } from "react"; -import classes from './App.module.css'; -import resets from './components/_resets.module.css'; -import { Yidian } from './components/Yidian/Yidian'; +import classes from "./App.module.css"; +import resets from "./components/_resets.module.css"; +import { Yidian } from "./components/Yidian/Yidian"; +import { Login } from "./screen/login/login"; interface Props { className?: string; @@ -11,6 +12,7 @@ interface Props { export const App: FC = memo(function App(props = {}) { return (
+
); diff --git a/src/components/Yidian/Yidian.tsx b/src/components/Yidian/Yidian.tsx index 73a3394..dd8cfa5 100644 --- a/src/components/Yidian/Yidian.tsx +++ b/src/components/Yidian/Yidian.tsx @@ -257,208 +257,6 @@ export const Yidian: FC = memo(function Yidian(props = {}) { }, ]} > - {/* <_OnSelected - onClick={() => setCurrentPage("dashboard")} - swap={{ - notebookOne: ( - - - - ), - union2: , - }} - /> - ), - }} - text={{ - normal:
首页
, - }} - /> - <_OffSelected - onClick={() => setCurrentPage("dashboard")} - text={{ - normal:
工作台
, - }} - /> - <_OffSelected - onClick={() => setCurrentPage("project")} - text={{ - normal:
项目信息
, - }} - /> - <_OffRegular - onClick={() => setCurrentPage("bigscreen")} - hide={{ - point: true, - }} - text={{ - normal:
驾驶舱
, - }} - /> */} - {/* <_OnRegular - swap={{ - notebookOne: ( - , - union2: , - union3: , - union4: , - }} - /> - ), - }} - text={{ - normal:
项目管理
, - }} - /> - <_OffRegular - hide={{ - point: true, - }} - text={{ - normal:
项目库
, - }} - /> - <_OffRegular - hide={{ - point: true, - }} - text={{ - normal:
项目进度
, - }} - /> - <_OffRegular - hide={{ - point: true, - }} - text={{ - normal:
金额汇总
, - }} - /> - <_OffRegular - hide={{ - point: true, - }} - text={{ - normal:
项目支持记录单表
, - }} - /> */} - {/* <_OnRegular - onClick={() => setCurrentPage("customer")} - swap={{ - notebookOne: ( - - - - ), - }} - /> - ), - }} - hide={{ - keyboard_arrow_down: true, - }} - text={{ - normal:
客户信息
, - }} - /> */} - {/* <_OnRegular - hide={{ - keyboard_arrow_down: true, - }} - text={{ - normal:
供应商信息
, - }} - /> */} - {/* <_OnRegular - swap={{ - notebookOne: ( - , - union2: ( -
- -
- ), - }} - /> - ), - }} - text={{ - normal:
用户管理
, - }} - /> - <_OffRegular - hide={{ - point: true, - }} - text={{ - normal:
用户列表
, - }} - /> - <_OffRegular - hide={{ - point: true, - }} - text={{ - normal:
角色管理
, - }} - /> - <_OffRegular - hide={{ - point: true, - }} - text={{ - normal:
权限管理
, - }} - /> - <_OnRegular - swap={{ - notebookOne: ( - , - union2: , - }} - /> - ), - }} - text={{ - normal:
系统设置
, - }} - /> - <_OffRegular - hide={{ - point: true, - }} - text={{ - normal:
日志管理
, - }} - /> - <_OffRegular - hide={{ - point: true, - }} - text={{ - normal:
推送管理
, - }} - /> */}
@@ -1090,7 +888,7 @@ export const Yidian: FC = memo(function Yidian(props = {}) { "全部(1340)", "A级项目(600)", "B级项目(200)", - "C级项目(640)", + "C级项目(540)", ].map((item) => { return { label: {item}, @@ -1411,6 +1209,193 @@ export const Yidian: FC = memo(function Yidian(props = {}) {
+
+
+
+
涉及板块分析a123
+
+
查看详情
+ + ), + }} + /> +
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
A级
+
45%
+
+
+
+
+
+ <_Property1 + text={{ + label: ( +
+ 云服务大数据 +
+ ), + }} + /> +
+
64.0%
+
+
120
+
+
+
+ <_Property1 + classes={{ square: classes.square }} + text={{ + label: ( +
智慧照明
+ ), + }} + /> +
+
16.0%
+
+
30
+
+
+
+ <_Property1 + classes={{ square: classes.square2 }} + text={{ + label: ( +
智慧教卫
+ ), + }} + /> +
+
6.4%
+
+
12
+
+
+
+ <_Property1 + classes={{ square: classes.square3 }} + text={{ + label: ( +
智慧交通
+ ), + }} + /> +
+
6.4%
+
+
12
+
+
+
+ <_Property1 + classes={{ square: classes.square4 }} + text={{ + label: ( +
智能安防
+ ), + }} + /> +
+
6.4%
+
+
12
+
+
+
+
+
+
+
重点项目排名
+
+
查看详情
+ + ), + }} + /> +
+
+
+ + 2022年标准化考点建设 +
+ ), + _100:
24
, + }} + /> + + 2022年标准化考点建设 +
+ ), + _100:
24
, + }} + /> + + 2022年标准化考点建设 +
+ ), + _100:
24
, + }} + /> + + 2022年标准化考点建设 + + ), + _100:
24
, + }} + /> + + +
项目合作情况
@@ -1900,10 +1885,6 @@ export const Yidian: FC = memo(function Yidian(props = {}) {
查找
- {/* */} = memo(function Yidian(props = {}) { > 确定 - {/* <_Property1LargeProperty2Regula - className={classes.input} - text={{ - text: ( - - - //
- // 请输入您想要查找的内容 - //
- ), - }} - /> */} - {/* setCurrentPage("customer")} - > - 确定 -
- ), - }} - /> */}
@@ -2293,9 +2247,9 @@ export const Yidian: FC = memo(function Yidian(props = {}) {
-
各单位漏报情况
+
各单位补报情况
-
查看详情
+
切换漏报汇总
= memo(function Yidian(props = {}) { "全部(1340)", "优秀项目(600)", "标杆项目(200)", - "一般项目(640)", + "一般项目(540)", ].map((item) => { return { label: {item}, diff --git a/src/screen/login/bg.jpeg b/src/screen/login/bg.jpeg new file mode 100644 index 0000000..69c8f90 Binary files /dev/null and b/src/screen/login/bg.jpeg differ diff --git a/src/screen/login/e9.png b/src/screen/login/e9.png new file mode 100644 index 0000000..78bdd91 Binary files /dev/null and b/src/screen/login/e9.png differ diff --git a/src/screen/login/login-box.png b/src/screen/login/login-box.png new file mode 100644 index 0000000..7ed40ba Binary files /dev/null and b/src/screen/login/login-box.png differ diff --git a/src/screen/login/login.module.css b/src/screen/login/login.module.css new file mode 100644 index 0000000..0eb599e --- /dev/null +++ b/src/screen/login/login.module.css @@ -0,0 +1,22 @@ +.login { + position: fixed; + top:0; + left: 0; + z-index: 99999; + width: 100vw; + height: 100vh; + display: flex; + justify-content: center; + align-items: center; + background: url(./bg.jpeg) center center no-repeat; + background-size: cover; +} + +.bg { + background: url(./bg.jpeg) center center no-repeat; + background-size: cover; +} + +:where(.login) :not(span, a, ul, ol, li, p) { + display: inherit; +} \ No newline at end of file diff --git a/src/screen/login/login.tsx b/src/screen/login/login.tsx new file mode 100644 index 0000000..bedb915 --- /dev/null +++ b/src/screen/login/login.tsx @@ -0,0 +1,97 @@ +import { Button, Checkbox, Form, Input } from "antd"; +import { FC, useState } from "react"; + +import clases from "./login.module.css"; +import logo from "./e9.png"; +import loginBox from "./login-box.png"; +import bg from "./bg.jpeg"; + +export const Login: FC<{}> = () => { + const [isLogin, setIsLogin] = useState(false); + const [loading, setLoading] = useState(false); + return ( +
+
+ +
+ + + + + + + + + + Remember me + + + + + +
+
+
+ ); +};