diff --git a/public/react/src/modules/question/Paperreview_single.js b/public/react/src/modules/question/Paperreview_single.js
index 27f14ba6e..311c08688 100644
--- a/public/react/src/modules/question/Paperreview_single.js
+++ b/public/react/src/modules/question/Paperreview_single.js
@@ -6,6 +6,7 @@ import {
import './questioncss/questioncom.css';
import '../tpm/newshixuns/css/Newshixuns.css';
import QuillForEditor from "../../common/quillForEditor";
+import QuestionModalPicture from "./component/QuestionModalPicture";
const tagArray = [
'A.', 'B.', 'C.', 'D.', 'E.', 'F.', 'G.', 'H.', 'I.',
@@ -23,6 +24,8 @@ class Paperreview_single extends Component {
questions: 0,
totalscore: 0,
total: 0,
+ url: ""
+
}
}
@@ -55,10 +58,21 @@ class Paperreview_single extends Component {
Singlemagaziness = () => {
}
-
+ handleShowUploadImage = (url) => {
+ // console.log('==============>>>>>>>>>>>>',url);
+ // setUrl(url);
+ this.setState({
+ url:url
+ })
+ }
+ handleClose=()=>{
+ this.setState({
+ url:'',
+ })
+ }
render() {
- let { questions, totalscore, total, items } = this.state;
- let { objectsingle, indexx, paperreviewsingleindex, indexxy, name } = this.props;
+ let {questions, totalscore, total, items,url} = this.state;
+ let {objectsingle, indexx, paperreviewsingleindex, indexxy,name} = this.props;
var itemssname = "";
@@ -97,10 +111,15 @@ class Paperreview_single extends Component {
}
return (
this.props.showparagraphs(indexxy, name)} style={{
- minHeight: "114px",
- }}>
+ className={ "w100s borderwdswuh mb20 pd20 "}
+ onMouseEnter={() => this.props.showparagraphs(indexxy,name)} style={{
+ minHeight: "114px",
+ }}>
+ {url?
+
this.handleClose()}>
+ :
+ ""
+ }
+
@@ -40,4 +53,4 @@ class QuestionModalys extends Component {
}
}
-export default QuestionModalys;
+export default QuestionModalPicture;
diff --git a/public/react/src/modules/testpaper/component/Paperlibraryseeid_items.js b/public/react/src/modules/testpaper/component/Paperlibraryseeid_items.js
index fdd076fed..cc198e1d2 100644
--- a/public/react/src/modules/testpaper/component/Paperlibraryseeid_items.js
+++ b/public/react/src/modules/testpaper/component/Paperlibraryseeid_items.js
@@ -6,6 +6,7 @@ import {
import '../testioncss/testioncss.css';
import '../../tpm/newshixuns/css/Newshixuns.css';
import QuillForEditor from "../../../common/quillForEditor";
+import QuestionModalPicture from "../../question/component/QuestionModalPicture";
const tagArray = [
'A.', 'B.', 'C.', 'D.', 'E.', 'F.', 'G.', 'H.', 'I.',
@@ -23,6 +24,7 @@ class Paperlibraryseeid_items extends Component {
questions: 0,
totalscore: 0,
total: 0,
+ url: ""
}
}
@@ -55,10 +57,21 @@ class Paperlibraryseeid_items extends Component {
Singlemagaziness = () => {
}
-
+ handleShowUploadImage = (url) => {
+ // console.log('==============>>>>>>>>>>>>',url);
+ // setUrl(url);
+ this.setState({
+ url:url
+ })
+ }
+ handleClose=()=>{
+ this.setState({
+ url:'',
+ })
+ }
render() {
- let { questions, totalscore, total, items } = this.state;
- let { objectsingle, indexx, paperreviewsingleindex, indexxy, name } = this.props;
+ let {questions, totalscore, total, items,url} = this.state;
+ let {objectsingle, indexx, paperreviewsingleindex, indexxy,name} = this.props;
var itemssname = "";
@@ -95,10 +108,15 @@ class Paperlibraryseeid_items extends Component {
return (
+ className={ "w100s borderwdswuh mb20 pd20 "}
+ style={{
+ minHeight: "114px",
+ }}>
+ {url?
+ this.handleClose()}>
+ :
+ ""
+ }