dev_jupyter
杨树林 5 years ago
parent 5686d79baa
commit cb7282259c

@ -12,6 +12,7 @@ class Bottomsubmit extends Component {
cannelfun = () => {
// window.location.href=
debugger
if(this.props.Cohetepaperbool===true){
this.props.setCohetepaperbool(false);
}else {

@ -464,7 +464,7 @@ class Questionitem_banks extends Component {
}
if (this.state.item_type === "PROGRAM") {
//编程题 跳转到 oj 中创建
this.props.history.replace('/problems');
}

@ -474,7 +474,7 @@ class Itembankstop extends Component {
</InputGroup>
<img className="edu-nodata-img mb20" src={getImageUrl("/images/educoder/zjzsd.png")}/>
<img className=" ml22 zjzsdian xiaoshou" src={getImageUrl("/images/educoder/zjzsd.png")}/>
<div className="sortinxdirection" style={{
@ -489,8 +489,9 @@ class Itembankstop extends Component {
position: "relative",
}}>
<p className="w100s stestcen lh32">{object.name}</p>
<i className="iconfont icon-roundclose font-25 lg ml7 icondowncolorss"
onClick={() => this.deletesobject(object, index)}></i>
<img className=" ml7 zjzsdian xiaoshou icondowncolorssy" onClick={() => this.deletesobject(object, index)} src={getImageUrl("/images/educoder/bzucha.png")}/>
</div>
)
})}

@ -0,0 +1,50 @@
import React, { Component } from 'react';
import {getImageUrl} from 'educoder';
import { Modal,Input} from 'antd';
import axios from 'axios';
import './../questioncss/questioncom.css'
//立即申请试用
class PaperDeletModel extends Component {
constructor(props) {
super(props);
this.state={
newkntypeinput:""
}
}
handleChange=(e)=>{
this.setState({
newkntypeinput: e.target.value
})
}
render() {
return(
<Modal
keyboard={false}
closable={false}
footer={null}
destroyOnClose={true}
title="新增知识点"
centered={true}
visible={this.props.NewknTypedel===undefined?false:this.props.NewknTypedel}
width="442px"
>
<div className="educouddiv">
<div className={"tabeltext-alignleft mt10"}>
<Input onInput={this.handleChange} />
</div>
<div className="clearfix mt30 edu-txt-center">
<a className="task-btn mr30 w80" onClick={()=>this.props.setmodalsTypedel()}>取消</a>
<a className="task-btn task-btn-orange w80" onClick={()=>this.props.setmodalsTypedel(this.state.newkntypeinput)}>确定</a>
</div>
</div>
</Modal>
)
}
}
export default PaperDeletModel;

@ -216,6 +216,11 @@
top: -20px;
right: -16px;
}
.icondowncolorssy{
position: absolute;
top: -15px;
right: -11px;
}
.questiontype{
width: 100%;
@ -807,3 +812,13 @@
.mr2{
margin-right: 2px;
}
.ml22{
margin-left: 22px;
}
.zjzsdian{
width: 20px;
height: 20px;
margin-top: 5px;
}

Loading…
Cancel
Save