Browse Source

(*)优化展示的字样

master
周沫沫历险记 2 years ago
parent
commit
1b45083cfb
  1. 2
      web/client/index.ejs
  2. 2
      web/client/index.html
  3. 2
      web/client/src/index.jsx
  4. 4
      web/client/src/layout/containers/layout/index.jsx
  5. 2
      web/client/src/layout/index.jsx
  6. 4
      web/client/src/sections/auth/containers/login.jsx

2
web/client/index.ejs

@ -14,7 +14,7 @@
</head> </head>
<body> <body>
<div id='HrApp' style="height: 100%;"></div> <div id='DrApp' style="height: 100%;"></div>
</body> </body>
</html> </html>

2
web/client/index.html

@ -11,7 +11,7 @@
</head> </head>
<body> <body>
<div id='HrApp' style="height: 100%;"></div> <div id='DrApp' style="height: 100%;"></div>
<!-- Webpack --> <!-- Webpack -->
<script type="text/javascript" src="http://localhost:5701/client/build/app.js"></script> <script type="text/javascript" src="http://localhost:5701/client/build/app.js"></script>

2
web/client/src/index.jsx

@ -6,4 +6,4 @@ import { render } from 'react-dom';
import App from './app'; import App from './app';
import './index.less'; import './index.less';
render((<App projectName="DATE-CENTER报表中心" />), document.getElementById('HrApp')); render((<App projectName="数据报表中心" />), document.getElementById('DrApp'));

4
web/client/src/layout/containers/layout/index.jsx

@ -35,8 +35,8 @@ const LayoutContainer = props => {
const resize_ = () => { const resize_ = () => {
dispatch(resize( dispatch(resize(
document.getElementById('HrApp').clientHeight, document.getElementById('DrApp').clientHeight,
document.getElementById('HrApp').clientWidth - (collapsed ? 120 : 240) document.getElementById('DrApp').clientWidth - (collapsed ? 120 : 240)
)); ));
} }
function deepCopy(data) {// function deepCopy(data) {//

2
web/client/src/layout/index.jsx

@ -124,7 +124,7 @@ const Root = props => {
let store = configStore(reducers, history); let store = configStore(reducers, history);
store.dispatch(initLayout(title, copyright, sections, actions)); store.dispatch(initLayout(title, copyright, sections, actions));
// store.dispatch(resize(document.body.clientHeight, document.body.clientWidth)); // store.dispatch(resize(document.body.clientHeight, document.body.clientWidth));
store.dispatch(resize(document.getElementById('HrApp').clientHeight, document.getElementById('HrApp').clientWidth)); store.dispatch(resize(document.getElementById('DrApp').clientHeight, document.getElementById('DrApp').clientWidth));
store.dispatch(actions.auth.initAuth()); store.dispatch(actions.auth.initAuth());
const resourceRoot = await store.dispatch(initApiRoot()) const resourceRoot = await store.dispatch(initApiRoot())
store.dispatch(initWebSocket({})) store.dispatch(initWebSocket({}))

4
web/client/src/sections/auth/containers/login.jsx

@ -37,7 +37,7 @@ const Login = props => {
height: '100%' height: '100%'
}}> }}>
<div className='zoomImage'> <div className='zoomImage'>
<img src="/assets/images/background/loginText.png" style={{ width: 587, height: 81, margin: "143px 0 0 69px" }} /> {/* <img src="/assets/images/background/loginText.png" style={{ width: 587, height: 81, margin: "143px 0 0 69px" }} /> */}
</div> </div>
</div> </div>
<div style={{ <div style={{
@ -60,7 +60,7 @@ const Login = props => {
marginTop: "18.33%" marginTop: "18.33%"
}}> }}>
<div style={{ fontSize: 31, color: '#000000', marginBottom: 90 }}> <div style={{ fontSize: 31, color: '#000000', marginBottom: 90 }}>
DATE-CENTER报表中心 数据报表中心
</div> </div>
<Form <Form
onSubmit={values => { onSubmit={values => {

Loading…
Cancel
Save