Commit 5e506c41 authored by baixian's avatar baixian

优化

parent 722bc1c8
image/menu/class.png

568 Bytes | W: | H:

image/menu/class.png

646 Bytes | W: | H:

image/menu/class.png
image/menu/class.png
image/menu/class.png
image/menu/class.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
height: '20px', height: '20px',
}, },
activeurl: `${__IMGCDN__}menu/classactive.png`, activeurl: `${__IMGCDN__}menu/classactive.png`,
notactiveurl: `${__IMGCDN__}menu/class.png`, notactiveurl: `${__IMGCDN__}menu/class.png?v=1`,
path: '/sjd/classmgt', path: '/sjd/classmgt',
relativePath: ['/sjd/classmgt', '/sjd/classdetail/:classid', '/sjd/newtheme/jobclock/:id', '/sjd/newtheme/calendarclock/:id', '/sjd/newtheme/jobclock/:id/:isCopy', '/sjd/newtheme/calendarclock/:id/:isCopy', '/sjd/thememgt/:classid', '/sjd/clockmgt/:themetype/:classid/:themeid', '/sjd/classdetail/studentinfo/:id'], relativePath: ['/sjd/classmgt', '/sjd/classdetail/:classid', '/sjd/newtheme/jobclock/:id', '/sjd/newtheme/calendarclock/:id', '/sjd/newtheme/jobclock/:id/:isCopy', '/sjd/newtheme/calendarclock/:id/:isCopy', '/sjd/thememgt/:classid', '/sjd/clockmgt/:themetype/:classid/:themeid', '/sjd/classdetail/studentinfo/:id'],
}, },
......
.header{ .header{
transition: all 0.2s; transition: all 0.2s;
box-shadow:0px 1px 2px 0px rgba(0,21,41,0.12);
} }
.trigger { .trigger {
font-size: 18px; font-size: 18px;
......
...@@ -109,4 +109,33 @@ ul{ ...@@ -109,4 +109,33 @@ ul{
} }
li{ li{
list-style: none; list-style: none;
} }
\ No newline at end of file :global {
.ant-table{
::-webkit-scrollbar
{
width: 10px;
height: 10px;
border-radius: 5px;
background-color: #fff;
}
::-webkit-scrollbar-track
{
border-radius: 0px;
background: none;
}
::-webkit-scrollbar-thumb
{
border-radius: 5px;
//-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.2);
background-color: rgba(204, 204, 204,1);
}
/*滑块效果*/
::-webkit-scrollbar-thumb:hover
{
border-radius: 5px;
//-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.2);
background-color: rgba(204, 204, 204,1);
}
}
}
...@@ -162,7 +162,7 @@ export default { ...@@ -162,7 +162,7 @@ export default {
}, },
* goDeadlineStudent({ payload }, { call, put, select }) { * goDeadlineStudent({ payload }, { call, put, select }) {
const { studentListQueryParams } = yield select(state => state.students); const { studentListQueryParams } = yield select(state => state.students);
studentListQueryParams.min_time = 3; studentListQueryParams.min_time = 1;
studentListQueryParams.assign_class_status = ''; studentListQueryParams.assign_class_status = '';
studentListQueryParams.birthday_start = ''; studentListQueryParams.birthday_start = '';
studentListQueryParams.birthday_end = ''; studentListQueryParams.birthday_end = '';
......
...@@ -271,11 +271,6 @@ export default { ...@@ -271,11 +271,6 @@ export default {
}); });
} }
if (pathname === '/sjd/student') { if (pathname === '/sjd/student') {
dispatch({
type: 'students/pageInit',
payload: {
},
});
dispatch({ dispatch({
type: 'students/queryinfo', type: 'students/queryinfo',
payload: { payload: {
...@@ -462,9 +457,9 @@ export default { ...@@ -462,9 +457,9 @@ export default {
}); });
} }
if (pathname == '/sjd/classmgt') { if (pathname == '/sjd/classmgt') {
dispatch({ // dispatch({
type: 'classmgt/pageInit', // type: 'classmgt/pageInit',
}); // });
dispatch({ dispatch({
type: 'classmgt/queryinfo', type: 'classmgt/queryinfo',
}); });
......
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
.tablebox { .tablebox {
background: #fff; background: #fff;
:global { :global {
.ant-table { .ant-table-fixed {
border-bottom: 1px solid #E8E8E8; border-bottom: 1px solid #E8E8E8 !important;
} }
.ant-table tbody tr:nth-child(2n) { .ant-table tbody tr:nth-child(2n) {
background-color: #FBFBFB; background-color: #FBFBFB;
...@@ -140,6 +140,7 @@ ...@@ -140,6 +140,7 @@
justify-content: space-between; justify-content: space-between;
padding-left: 14px; padding-left: 14px;
padding-right: 14px; padding-right: 14px;
margin-top: 10px;
.tablefooterstatic { .tablefooterstatic {
color:rgba(0,0,0,0.65); color:rgba(0,0,0,0.65);
font-size: 14px; font-size: 14px;
......
...@@ -97,6 +97,7 @@ ...@@ -97,6 +97,7 @@
} }
.tablefooterbox { .tablefooterbox {
padding: 12px 0 12px 0; padding: 12px 0 12px 0;
margin-top: 10px;
.tablefooterstatic { .tablefooterstatic {
font-size: 16px; font-size: 16px;
color: #555555; color: #555555;
......
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
.tablebox { .tablebox {
padding: 18px 20px 0 20px; padding: 18px 20px 0 20px;
:global { :global {
.ant-table { .ant-table-fixed {
border-bottom: 1px solid #E8E8E8; border-bottom: 1px solid #E8E8E8 !important;
} }
.ant-table tbody tr:nth-child(2n) { .ant-table tbody tr:nth-child(2n) {
background-color: #FBFBFB; background-color: #FBFBFB;
......
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
// height: 1000px; // height: 1000px;
background: #fff; background: #fff;
margin-bottom: 20px; margin-bottom: 20px;
border-radius: 6px; border-radius: 2px;
box-shadow:0px 6px 24px 0px rgba(0,0,0,0.08); box-shadow:0px 6px 24px 0px rgba(0,0,0,0.08);
} }
......
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
.tablebox { .tablebox {
background: #fff; background: #fff;
:global { :global {
.ant-table {
.ant-table-fixed {
border: 1px solid #E8E8E8; border: 1px solid #E8E8E8;
} }
.ant-table tbody tr:nth-child(2n) { .ant-table tbody tr:nth-child(2n) {
...@@ -50,6 +51,7 @@ ...@@ -50,6 +51,7 @@
justify-content: space-between; justify-content: space-between;
padding-left: 14px; padding-left: 14px;
padding-right: 14px; padding-right: 14px;
margin-top: 10px;
.tablefooterstatic { .tablefooterstatic {
color:rgba(0,0,0,0.65); color:rgba(0,0,0,0.65);
font-size: 14px; font-size: 14px;
......
...@@ -7,8 +7,9 @@ ...@@ -7,8 +7,9 @@
padding: 20px 0; padding: 20px 0;
background: #fff; background: #fff;
:global { :global {
.ant-table { .ant-table-fixed {
border: 1px solid #E8E8E8; border: 1px solid #E8E8E8;
border-bottom: none;
} }
.ant-table tbody tr:nth-child(2n) { .ant-table tbody tr:nth-child(2n) {
background-color: #FBFBFB; background-color: #FBFBFB;
......
...@@ -57,8 +57,8 @@ ...@@ -57,8 +57,8 @@
padding: 0px 34px 0; padding: 0px 34px 0;
background: #fff; background: #fff;
:global { :global {
.ant-table { .ant-table-fixed {
border-bottom: 1px solid #E8E8E8; border-bottom: 1px solid #E8E8E8 !important;
} }
.ant-table tbody tr:nth-child(2n) { .ant-table tbody tr:nth-child(2n) {
background-color: #FBFBFB; background-color: #FBFBFB;
...@@ -401,6 +401,7 @@ ...@@ -401,6 +401,7 @@
justify-content: space-between; justify-content: space-between;
padding-left: 14px; padding-left: 14px;
padding-right: 14px; padding-right: 14px;
margin-top: 10px;
.tablefooterstatic { .tablefooterstatic {
color:rgba(0,0,0,0.65); color:rgba(0,0,0,0.65);
font-size: 14px; font-size: 14px;
......
...@@ -163,6 +163,7 @@ ...@@ -163,6 +163,7 @@
} }
} }
.tablefooterbox { .tablefooterbox {
margin-top: 10px;
padding: 12px 0 12px 0; padding: 12px 0 12px 0;
.tablefooterstatic { .tablefooterstatic {
font-size: 16px; font-size: 16px;
......
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