Commit fcf5e6cd authored by wangxuelai's avatar wangxuelai

''

parent 537e87c4
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>轻校</title><link rel="shortcut icon" href="https://cdn.img.shangjiadao.cn/qingxiao/biz/image/qxlogo4.png"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="IE=edge"><!-- Polyfills --><!--[if lt IE 10]>
<script src="js/console-polyfill.js"></script>
<![endif]--><script charset="utf-8" src="https://map.qq.com/api/js?v=2.exp&key=XSZBZ-5LHCV-5I2P7-UQHPW-6456F-JBB3B"></script><link href="https://cdn.img.shangjiadao.cn/qingxiao/biz/dist/index.css?1563435187810" rel="stylesheet"><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/lib/vendor.dll.js?3" charset="utf-8"></script><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/js/console-polyfill.js?3" charset="utf-8"></script><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/js/es6-shim.min.js?3" charset="utf-8"></script><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/js/es5-shim.js?3" charset="utf-8"></script><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/js/es5-sham.min.js?3" charset="utf-8"></script><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/js/json3.min.js?3" charset="utf-8"></script><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/js/html5shiv.min.js?3" charset="utf-8"></script><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/js/polyfill.js?3" charset="utf-8"></script></head><body><div id="root"></div><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/dist/index.js?1563435187810" charset="utf-8"></script></body></html>
\ No newline at end of file
<![endif]--><script charset="utf-8" src="https://map.qq.com/api/js?v=2.exp&key=XSZBZ-5LHCV-5I2P7-UQHPW-6456F-JBB3B"></script><link href="https://cdn.img.shangjiadao.cn/qingxiao/biz/dist/index.css?1563445815633" rel="stylesheet"><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/lib/vendor.dll.js?3" charset="utf-8"></script><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/js/console-polyfill.js?3" charset="utf-8"></script><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/js/es6-shim.min.js?3" charset="utf-8"></script><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/js/es5-shim.js?3" charset="utf-8"></script><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/js/es5-sham.min.js?3" charset="utf-8"></script><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/js/json3.min.js?3" charset="utf-8"></script><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/js/html5shiv.min.js?3" charset="utf-8"></script><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/js/polyfill.js?3" charset="utf-8"></script></head><body><div id="root"></div><script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/dist/index.js?1563445815633" charset="utf-8"></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
......@@ -8,7 +8,7 @@
"lib": "webpack --config webpackconfig/webpack.dll.config.js"
},
"dependencies": {
"antd": "3.2.2",
"antd": "^3.20.3",
"axios": "^0.18.0",
"babel-plugin-import": "^1.6.7",
"babel-polyfill": "^6.26.0",
......@@ -25,6 +25,7 @@
"es5-shim": "^4.5.10",
"eventsource-polyfill": "^0.9.6",
"fetch-ie8": "^1.5.0",
"fetch-jsonp": "^1.1.3",
"jquery": "^3.3.1",
"lodash": "^4.17.5",
"mockjs": "^1.0.1-beta3",
......
......@@ -34,7 +34,15 @@ export default {
// excelListRows: 2000,
},
subscriptions: {
// onResize({ dispatch }) {
// document.addEventListener('click', () => { // 这里表示当鼠标点击时就会触发里面的dispatch命令,这里的save就是reducers中的方法名
// console.log('ssss');
// });
// },
setup({ dispatch, history }) {
window.addEventListener('resize', () => { // 这里表示当鼠标点击时就会触发里面的dispatch命令,这里的save就是reducers中的方法名
console.log('ssss');
});
return history.listen(({ pathname, search }) => {
dispatch({
type: 'updateState',
......
import React from 'react';
import { connect } from 'dva';
import { Layout, Modal, Button } from 'antd';
import { Layout, Modal, Button, Drawer } from 'antd';
import { Redirect } from 'dva/router';
import SjdIndexStyle from './SjdIndex.less';
import SjdMenu from '../components/SjdMenu';
......@@ -34,12 +34,35 @@ class SjdIndex extends React.Component {
if ((LocalStorage.getItem('user_v2') && LocalStorage.getItem('user_v2').token) || (LocalStorage.getItem('teacher') && LocalStorage.getItem('teacher').token)) {
hasRoot = true;
}
// const Menufather = () => (
// <Sider
// trigger={null}
// collapsible
// collapsed={collapsed}
// style={{
// overflow: 'auto',
// height: '100vh',
// position: 'fixed',
// left: 0,
// zIndex: 1002,
// }}
// className={SjdIndexStyle.menusider}
// >
// <SjdMenu />
// </Sider>);
const redirectDom = (<Redirect to={{ pathname: '/login', state: { from: location } }} />);
const mainDom = (
<div>
<Layout
style={{ minHeight: '100vh', minWidth: '1250px' }}
style={{ minHeight: '100vh' }}
>
<Drawer
visible={collapsed}
>
<p>Some contents...</p>
<p>Some contents...</p>
<p>Some contents...</p>
</Drawer>
<Sider
trigger={null}
collapsible
......
......@@ -5,8 +5,8 @@
}
.content {
transition: all 0.2s;
overflow: scroll;
min-width: 900px;
// overflow: auto;
// min-width: 900px;
}
.collapsedcontent {
......
......@@ -113,7 +113,7 @@
}
}
.chartbox {
width: 1656px;
// width: 1656px;
min-width: 870px;
background-color: #fff;
border-radius: 10px;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment