parent
db861b8b12
commit
8356aaa16e
@ -0,0 +1,61 @@
|
|||||||
|
import React, { Component } from 'react';
|
||||||
|
import {getImageUrl} from 'educoder';
|
||||||
|
import { Modal} from 'antd';
|
||||||
|
import axios from 'axios';
|
||||||
|
import './common.css'
|
||||||
|
//立即章节选择
|
||||||
|
class MyEduChapterupdate extends Component {
|
||||||
|
|
||||||
|
constructor(props) {
|
||||||
|
super(props);
|
||||||
|
this.state={
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//取消按钮
|
||||||
|
modalCancel=()=>{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//确认按钮
|
||||||
|
setDownload=()=>{
|
||||||
|
//立即联系
|
||||||
|
// this.props.setNotcompleteds()
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
render() {
|
||||||
|
|
||||||
|
return(
|
||||||
|
<Modal
|
||||||
|
keyboard={false}
|
||||||
|
closable={false}
|
||||||
|
footer={null}
|
||||||
|
destroyOnClose={true}
|
||||||
|
title={"章节编辑"}
|
||||||
|
centered={true}
|
||||||
|
visible={this.props.chapterupdate}
|
||||||
|
width="600px"
|
||||||
|
heigth="658px"
|
||||||
|
>
|
||||||
|
<div className="educouddiv" style={{
|
||||||
|
heigth:"578px",
|
||||||
|
width:"100%"
|
||||||
|
}}>
|
||||||
|
<div style={{
|
||||||
|
heigth:"459px",
|
||||||
|
width:"100%"
|
||||||
|
}}>
|
||||||
|
<p style={{fontSize: "16px"}}>内容</p></div>
|
||||||
|
</div>
|
||||||
|
<div className="clearfix mt30 edu-txt-center">
|
||||||
|
<a className="task-btn mr30" onClick={()=>this.modalCancel()}>取消</a>
|
||||||
|
<a className="task-btn task-btn-orange" onClick={()=>this.setDownload()}>确定</a>
|
||||||
|
</div>
|
||||||
|
</Modal>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default MyEduChapterupdate;
|
Loading…
Reference in new issue