Commit 0fa4feac authored by baixian's avatar baixian

优化

parent 5e506c41
......@@ -18,5 +18,5 @@
</head>
<body>
<div id="root"></div>
<script type="text/javascript" src="/dist/main.cc32bc.js"></script></body>
<script type="text/javascript" src="/dist/main.0b697c.js"></script></body>
</html>
\ No newline at end of file
......@@ -52,7 +52,7 @@ export default {
height: '20px',
},
activeurl: `${__IMGCDN__}menu/classactive.png`,
notactiveurl: `${__IMGCDN__}menu/class.png?v=1`,
notactiveurl: `${__IMGCDN__}menu/class.png?v=2`,
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'],
},
......
......@@ -1108,22 +1108,26 @@ class StaticCenter extends React.Component {
</Col>
<Col xs={{ span: 8, offset: 0 }} sm={{ span: 8, offset: 0 }} md={{ span: 8, offset: 0 }} lg={{ span: 4, offset: 1 }} xl={{ span: 4, offset: 1 }} xxl={{ span: 4, offset: 1 }}>
<div className={pageStyle.fasterItem} onClick={this.goCallStudent}>
<Badge className={pageStyle.fasterNum} overflowCount={999} count={callData.total}>
<div className={pageStyle.fasterLeft}>
<img className={pageStyle.fasterImg} src={`${__IMGCDN__}index/index_icon7.png?v=1`} alt="" />
</div>
</Badge>
<div className={pageStyle.fasterLeft}>
{
Number(callData.total) > 0 &&
<div className={pageStyle.fasterNum}>{callData.total}</div>
}
<img className={pageStyle.fasterImg} src={`${__IMGCDN__}index/index_icon7.png?v=1`} alt="" />
</div>
<span>点名提醒</span>
</div>
</Col>
{btnPermission(userPermission, 2) &&
<Col xs={{ span: 8, offset: 0 }} sm={{ span: 8, offset: 0 }} md={{ span: 8, offset: 0 }} lg={{ span: 4, offset: 1 }} xl={{ span: 4, offset: 1 }} xxl={{ span: 4, offset: 1 }}>
<div className={pageStyle.fasterItem} onClick={this.goPlanStudent}>
<Badge className={pageStyle.fasterNum} overflowCount={999} count={assign.total}>
<div className={pageStyle.fasterLeft}>
<img className={pageStyle.fasterImg} src={`${__IMGCDN__}index/index_icon8.png?v=1`} alt="" />
</div>
</Badge>
<div className={pageStyle.fasterLeft}>
{
Number(assign.total) > 0 &&
<div className={pageStyle.fasterNum}>{assign.total}</div>
}
<img className={pageStyle.fasterImg} src={`${__IMGCDN__}index/index_icon8.png?v=1`} alt="" />
</div>
<span>分配提醒</span>
</div>
</Col>
......@@ -1131,22 +1135,26 @@ class StaticCenter extends React.Component {
{btnPermission(userPermission, 2) &&
<Col xs={{ span: 8, offset: 0 }} sm={{ span: 8, offset: 0 }} md={{ span: 8, offset: 0 }} lg={{ span: 4, offset: 1 }} xl={{ span: 4, offset: 1 }} xxl={{ span: 4, offset: 1 }}>
<div className={pageStyle.fasterItem} onClick={this.goBirthStudent}>
<Badge className={pageStyle.fasterNum} overflowCount={999} count={birthday.total}>
<div className={pageStyle.fasterLeft}>
<img className={pageStyle.fasterImg} src={`${__IMGCDN__}index/index_icon9.png?v=1`} alt="" />
</div>
</Badge>
<div className={pageStyle.fasterLeft}>
{
Number(birthday.total) > 0 &&
<div className={pageStyle.fasterNum}>{birthday.total}</div>
}
<img className={pageStyle.fasterImg} src={`${__IMGCDN__}index/index_icon9.png?v=1`} alt="" />
</div>
<span>生日提醒</span>
</div>
</Col>
}
<Col xs={{ span: 8, offset: 0 }} sm={{ span: 8, offset: 0 }} md={{ span: 8, offset: 0 }} lg={{ span: 4, offset: 1 }} xl={{ span: 4, offset: 1 }} xxl={{ span: 4, offset: 1 }}>
<div className={pageStyle.fasterItem} onClick={this.goLeaveShow}>
<Badge className={pageStyle.fasterNum} overflowCount={999} count={leaveNum}>
<div className={pageStyle.fasterLeft}>
<img className={pageStyle.fasterImg} src={`${__IMGCDN__}index/index_icon10.png?v=1`} alt="" />
</div>
</Badge>
<div className={pageStyle.fasterLeft}>
{
Number(leaveNum) > 0 &&
<div className={pageStyle.fasterNum}>{leaveNum}</div>
}
<img className={pageStyle.fasterImg} src={`${__IMGCDN__}index/index_icon10.png?v=1`} alt="" />
</div>
<span>请假提醒</span>
</div>
</Col>
......@@ -1155,11 +1163,13 @@ class StaticCenter extends React.Component {
{btnPermission(userPermission, 2) &&
<Col xs={{ span: 8, offset: 0 }} sm={{ span: 8, offset: 0 }} md={{ span: 8, offset: 0 }} lg={{ span: 4, offset: 0 }} xl={{ span: 4, offset: 0 }} xxl={{ span: 4, offset: 0 }}>
<div className={pageStyle.fasterItem} onClick={this.goDeadlineStudent}>
<Badge className={pageStyle.fasterNum} overflowCount={999} count={renew.total}>
<div className={pageStyle.fasterLeft}>
<img className={pageStyle.fasterImg} src={`${__IMGCDN__}index/index_icon11.png?v=1`} alt="" />
</div>
</Badge>
<div className={pageStyle.fasterLeft}>
{
Number(renew.total) > 0 &&
<div className={pageStyle.fasterNum}>{renew.total}</div>
}
<img className={pageStyle.fasterImg} src={`${__IMGCDN__}index/index_icon11.png?v=1`} alt="" />
</div>
<span>续费提醒</span>
</div>
</Col>
......
......@@ -62,8 +62,17 @@
}
}
.fasterNum {
top: -5px;
right: 2px;
top: -18px;
right: -27px;
min-width: 30px;
border-radius: 10px;
height: 20px;
line-height: 20px;
text-align: center;
font-size: 12px;
color: #fff;
position: absolute;
background-color: #f5222d;
}
.fasterLeft {
position: relative;
......
......@@ -46,6 +46,7 @@
}
.tablefooterbox {
padding: 12px 0 12px 0;
margin-top: 10px;
.tablefooterstatic {
font-size: 16px;
color: #555555;
......
......@@ -36,6 +36,7 @@
}
.tablefooterbox {
padding: 12px 0 12px 0;
margin-top: 10px;
.tablefooterstatic {
font-size: 16px;
color: #555555;
......
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