From 421b02c79d7baa50444254704226aac2a1145dda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sat, 7 Sep 2019 11:24:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=89=88=E5=AE=9E=E8=AE=AD=E5=BC=B9?= =?UTF-8?q?=E7=AA=97start?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../courses/coursesPublic/NewShixunModel.js | 65 +++++++++++++++++++ .../courses/shixunHomework/shixunHomework.js | 9 +++ 2 files changed, 74 insertions(+) create mode 100644 public/react/src/modules/courses/coursesPublic/NewShixunModel.js diff --git a/public/react/src/modules/courses/coursesPublic/NewShixunModel.js b/public/react/src/modules/courses/coursesPublic/NewShixunModel.js new file mode 100644 index 000000000..c8f3d6857 --- /dev/null +++ b/public/react/src/modules/courses/coursesPublic/NewShixunModel.js @@ -0,0 +1,65 @@ +import React,{Component} from 'react'; +import { Modal,Checkbox,Select,Input,Tooltip,Spin,Icon,Drawer} from "antd"; +import axios from'axios'; + + +class NewShixunModel extends Component{ + constructor(props){ + super(props) + this.state={ + + } + } + + render() { + + // let {Searchvalue,type,hometypepvisible,shixunmodallist,newshixunmodallist,}=this.state; + // let {visible,patheditarry}=this.props; + + return( + <div> + + <Drawer + title="Basic Drawer" + placement="top" + closable={false} + onClose={this.onClose} + destroyOnClose={true} + visible={true} + height={'100%'} + > + {/*this.state.visible*/} + <p>Some contents...</p> + <p>Some contents...</p> + <p>Some contents...</p> <p>Some contents...</p> + <p>Some contents...</p> + <p>Some contents...</p> <p>Some contents...</p> + <p>Some contents...</p> + <p>Some contents...</p> <p>Some contents...</p> + <p>Some contents...</p> + <p>Some contents...</p> <p>Some contents...</p> + <p>Some contents...</p> + <p>Some contents...</p> <p>Some contents...</p> + <p>Some contents...</p> + <p>Some contents...</p> <p>Some contents...</p> + <p>Some contents...</p> + <p>Some contents...</p> <p>Some contents...</p> + <p>Some contents...</p> + <p>Some contents...</p> <p>Some contents...</p> + <p>Some contents...</p> + <p>Some contents...</p> <p>Some contents...</p> + <p>Some contents...</p> + <p>Some contents...</p> + <p>Some contents...</p> + <p>Some contents...</p> + + </Drawer> + + + </div> + + ) + } +} + +export default NewShixunModel; \ No newline at end of file diff --git a/public/react/src/modules/courses/shixunHomework/shixunHomework.js b/public/react/src/modules/courses/shixunHomework/shixunHomework.js index fe959b691..6fb55894a 100644 --- a/public/react/src/modules/courses/shixunHomework/shixunHomework.js +++ b/public/react/src/modules/courses/shixunHomework/shixunHomework.js @@ -6,6 +6,7 @@ import axios from'axios'; import HomeworkModal from "../coursesPublic/HomeworkModal"; import ShixunModal from "../coursesPublic/ShixunModal"; import PathModal from "../coursesPublic/PathModal"; +import NewShixunModel from '../coursesPublic/NewShixunModel'; import AddcoursesNav from "../coursesPublic/AddcoursesNav"; import Modals from '../../modals/Modals'; import moment from 'moment'; @@ -940,6 +941,14 @@ class ShixunHomework extends Component{ return( <React.Fragment > <div> + + {/*新版实训model*/} + <NewShixunModel + {...this.props} + {...this.state} + /> + + {/*提示*/} {Modalstype&&Modalstype===true?<Modals modalsType={this.state.Modalstype}