diff --git a/code/VideoAccess-VCMP/web/client/assets/images/background/loginBackground.png b/code/VideoAccess-VCMP/web/client/assets/images/background/loginBackground.png new file mode 100644 index 0000000..39946d7 Binary files /dev/null and b/code/VideoAccess-VCMP/web/client/assets/images/background/loginBackground.png differ diff --git a/code/VideoAccess-VCMP/web/client/assets/images/background/loginbg.png b/code/VideoAccess-VCMP/web/client/assets/images/background/loginbg.png new file mode 100644 index 0000000..4713d09 Binary files /dev/null and b/code/VideoAccess-VCMP/web/client/assets/images/background/loginbg.png differ diff --git a/code/VideoAccess-VCMP/web/client/assets/images/background/password.png b/code/VideoAccess-VCMP/web/client/assets/images/background/password.png new file mode 100644 index 0000000..9b3d8a8 Binary files /dev/null and b/code/VideoAccess-VCMP/web/client/assets/images/background/password.png differ diff --git a/code/VideoAccess-VCMP/web/client/assets/images/background/username.png b/code/VideoAccess-VCMP/web/client/assets/images/background/username.png new file mode 100644 index 0000000..d29c1c2 Binary files /dev/null and b/code/VideoAccess-VCMP/web/client/assets/images/background/username.png differ diff --git a/code/VideoAccess-VCMP/web/client/src/sections/auth/containers/login.jsx b/code/VideoAccess-VCMP/web/client/src/sections/auth/containers/login.jsx index 659022e..a57f6e4 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/auth/containers/login.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/auth/containers/login.jsx @@ -4,6 +4,8 @@ import { connect } from 'react-redux'; import { push } from 'react-router-redux'; import { Form, Button, Toast } from '@douyinfe/semi-ui'; import { login, LOGIN_SUCCESS } from '../actions/auth'; +import { IconLock,IconUser } from '@douyinfe/semi-icons'; +import './login.less' const Login = props => { const { dispatch, user, error, actions, apiRoot, isRequesting } = props @@ -25,16 +27,25 @@ const Login = props => { return (
-

飞尚物联

+
+ +
{ dispatch(login(values.username, values.password)).then(res => { @@ -44,9 +55,26 @@ const Login = props => { }} getFormApi={formApi => form.current = formApi} > - - - + } + style={{background:'rgba(24, 89, 193, 0.08)',height:40,marginTop:26}} + /> + } + style={{background:'rgba(24, 89, 193, 0.08)',height:40}} + /> +
diff --git a/code/VideoAccess-VCMP/web/client/src/sections/auth/containers/login.less b/code/VideoAccess-VCMP/web/client/src/sections/auth/containers/login.less new file mode 100644 index 0000000..e1bc5e1 --- /dev/null +++ b/code/VideoAccess-VCMP/web/client/src/sections/auth/containers/login.less @@ -0,0 +1,7 @@ +input:-webkit-autofill{ + -webkit-text-fill-color:black !important; + -webkit-box-shadow: 0 0 0px 1000px transparent inset !important; + box-shadow: 0 0 0px 1000px transparent inset !important; + background-color:transparent; + transition: background-color 50000s ease-in-out 0s; +} \ No newline at end of file diff --git a/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/components/nvrModal.jsx b/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/components/nvrModal.jsx index 3ff8a59..b849127 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/components/nvrModal.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/components/nvrModal.jsx @@ -6,7 +6,6 @@ function nvrModal(props){ const {modalName}=props const { dispatch, actions, user, loading,vender,close } = props; const nvrData = props.nvrData||{}//修改时传来的值 - console.log('nvrDatanvrDatanvrData',nvrData); const form = useRef(); const [visible, setVisible] = useState(false);//是否显示弹框 const [isloading,setloading] = useState(false);//是否显示loading @@ -52,7 +51,6 @@ function nvrModal(props){ if(nvrData.id){ valuesObj.id=nvrData.id } - console.log('valuesObjvaluesObj',valuesObj); setformObj(valuesObj) setloading(true); setTimeout(() => { @@ -65,13 +63,12 @@ function nvrModal(props){ setcancelText('上一步'); setloading(false); }, 2000); - },2000) + }, 2000) }, 2000); }) .catch(errors=>{//表单校验失败 console.log('errors',errors); }) - } else{ dispatch(actions.equipmentWarehouse.addchangeNvr(formObj)).then(res => {