Commit fb8e5736 by zhangleyuan

feat:处理icon不显示的问题

parent 97f90044
@font-face {
font-family: 'iconfont'; /* project id 2223403 */
src: url('//at.alicdn.com/t/font_2223403_nxm2rkk26d9.eot');
src: url('//at.alicdn.com/t/font_2223403_nxm2rkk26d9.eot?#iefix') format('embedded-opentype'),
url('//at.alicdn.com/t/font_2223403_nxm2rkk26d9.woff2') format('woff2'),
url('//at.alicdn.com/t/font_2223403_nxm2rkk26d9.woff') format('woff'),
url('//at.alicdn.com/t/font_2223403_nxm2rkk26d9.ttf') format('truetype'),
url('//at.alicdn.com/t/font_2223403_nxm2rkk26d9.svg#iconfont') format('svg');
src: url('//at.alicdn.com/t/font_2223403_0pwkijxkqyf.eot');
src: url('//at.alicdn.com/t/font_2223403_0pwkijxkqyf.eot?#iefix') format('embedded-opentype'),
url('//at.alicdn.com/t/font_2223403_0pwkijxkqyf.woff2') format('woff2'),
url('//at.alicdn.com/t/font_2223403_0pwkijxkqyf.woff') format('woff'),
url('//at.alicdn.com/t/font_2223403_0pwkijxkqyf.ttf') format('truetype'),
url('//at.alicdn.com/t/font_2223403_0pwkijxkqyf.svg#iconfont') format('svg');
}
.iconfont{
font-family:"iconfont" !important;
......
......@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2020-08-24 12:20:57
* @LastEditors: zhangleyuan
* @LastEditTime: 2020-12-23 19:56:40
* @LastEditTime: 2020-12-24 10:34:16
* @Description:
* @Copyright: 杭州杰竞科技有限公司 版权所有
-->
......@@ -25,7 +25,7 @@
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="stylesheet" href="//at.alicdn.com/t/font_2223403_nxm2rkk26d9.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_2223403_0pwkijxkqyf.css">
<!--
Notice the use of %PUBLIC_URL% in the tags above.
......
......@@ -53,6 +53,7 @@ const defaultIntroInfo = {
contentType:"INTRO",
mediaType: 'TEXT',
mediaContent: '',
key: Math.random()
}],
}
......@@ -98,6 +99,7 @@ class AddLive extends React.Component {
contentType:"INTRO",
mediaType: 'TEXT',
mediaContent: '',
key: Math.random()
}]
},
}
......
......@@ -149,7 +149,7 @@ class AddLiveClass extends React.Component {
<Tooltip
overlayStyle={{maxWidth: 300, zIndex: '9999'}}
title={<div style={{width: '266px'}}>支持按上课日期批量创建直播课,创建后按“课程名称_日期”命名,例如:<br/>张三的语文课_9月18日<br/>张三的语文课_9月19日......</div>}>
<span className="iconfont">&#xe6f2;</span>
<span className="iconfont">&#xe61d;</span>
</Tooltip>
</span>
<div>
......
......@@ -159,7 +159,7 @@ class AddLiveIntro extends React.Component {
contentType:"INTRO",
mediaType: 'TEXT',
mediaContent: '',
key: window.random_string(16)
key: Math.random()
});
this.props.onChange('liveCourseMediaRequests', liveCourseMediaRequests);
......@@ -332,7 +332,7 @@ class AddLiveIntro extends React.Component {
liveCourseMediaRequests.map((item, index) => {
if (item.mediaType === 'TEXT') {
return (
<div className="intro-list__item" key={index}>
<div className="intro-list__item" key={item.key}>
<EditorBox
detail={{
content: item.mediaContent
......
......@@ -296,7 +296,7 @@ class LiveCourseList extends React.Component {
<span className="operate-text">更多</span>
<span
className="iconfont icon"
style={{ color: "#FC9C6B" }}
style={{ color: "#5289FA" }}
>
&#xe824;
</span>
......
......@@ -125,7 +125,7 @@ class ManageCoursewareModal extends React.Component {
// 判断是否早于开课前45分钟
const { startTime } = this.props.data;
const currentTime = new Date().getTime();
if (currentTime >= startTime - 45 * 60 * 1000) {
if (currentTime >= startTime - 30 * 60 * 1000) {
Modal.info({
title: "不能再上传课件了",
icon: (
......@@ -136,7 +136,7 @@ class ManageCoursewareModal extends React.Component {
&#xe6f1;
</span>
),
content: "请在开课前45分钟前上传课件,开课后可在客户端中进行上传。",
content: "请在开课前30分钟前上传课件,开课后可在客户端中进行上传。",
okText: '我知道了'
});
return;
......
......@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2020-07-23 14:54:16
* @LastEditors: zhangleyuan
* @LastEditTime: 2020-12-23 14:05:00
* @LastEditTime: 2020-12-24 10:23:44
* @Description: 大班直播课预览弹窗
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
......
......@@ -102,8 +102,7 @@ function Login(props) {
User.setUserId(res.result.userId);
User.setToken(res.result.xmToken);
window.RCHistory.push({
pathname: `/personal-info`,
pathname: `/resource-disk`,
})
}
})
......
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