|
@@ -3,13 +3,19 @@ import './index.less';
|
|
import LineChart from '@src/components/LineChart';
|
|
import LineChart from '@src/components/LineChart';
|
|
import BarChart from '@src/components/BarChart';
|
|
import BarChart from '@src/components/BarChart';
|
|
import PieChart from '@src/components/PieChart';
|
|
import PieChart from '@src/components/PieChart';
|
|
|
|
+import Assets from '@src/components/Assets';
|
|
import Page from '@src/containers/Page';
|
|
import Page from '@src/containers/Page';
|
|
import { formatDate, formatPercent, formatSeconds, formatMinute, formatSecond, getMap } from '@src/services/Tools';
|
|
import { formatDate, formatPercent, formatSeconds, formatMinute, formatSecond, getMap } from '@src/services/Tools';
|
|
import { Icon, Tooltip } from 'antd';
|
|
import { Icon, Tooltip } from 'antd';
|
|
import { Question } from '../../../stores/question';
|
|
import { Question } from '../../../stores/question';
|
|
import { Button } from '../../../components/Button';
|
|
import { Button } from '../../../components/Button';
|
|
import Tabs from '../../../components/Tabs';
|
|
import Tabs from '../../../components/Tabs';
|
|
-import { QuestionDifficult, ExaminationQuestionType, ExaminationSubject } from '../../../../Constant';
|
|
|
|
|
|
+import { Icon as GIcon } from '../../../components/Icon';
|
|
|
|
+import {
|
|
|
|
+ QuestionDifficult,
|
|
|
|
+ ExaminationQuestionType,
|
|
|
|
+ ExaminationSubject,
|
|
|
|
+} from '../../../../Constant';
|
|
|
|
|
|
const QuestionDifficultMap = getMap(QuestionDifficult, 'value', 'label');
|
|
const QuestionDifficultMap = getMap(QuestionDifficult, 'value', 'label');
|
|
|
|
|
|
@@ -496,7 +502,7 @@ function pieOption2(title, value1, value2, value3) {
|
|
|
|
|
|
export default class extends Page {
|
|
export default class extends Page {
|
|
initState() {
|
|
initState() {
|
|
- return { tab: 'main' };
|
|
|
|
|
|
+ return { tab: 'main', report: { paperModule: 'sentence' } };
|
|
}
|
|
}
|
|
|
|
|
|
initData() {
|
|
initData() {
|
|
@@ -565,6 +571,7 @@ export default class extends Page {
|
|
|
|
|
|
renderView() {
|
|
renderView() {
|
|
const { report = {} } = this.state;
|
|
const { report = {} } = this.state;
|
|
|
|
+ console.log(report);
|
|
switch (report.paperModule) {
|
|
switch (report.paperModule) {
|
|
case 'sentence':
|
|
case 'sentence':
|
|
return this.renderSentence();
|
|
return this.renderSentence();
|
|
@@ -683,7 +690,82 @@ export default class extends Page {
|
|
}
|
|
}
|
|
|
|
|
|
renderSentenceQuestion() {
|
|
renderSentenceQuestion() {
|
|
- return <div />;
|
|
|
|
|
|
+ return <div className='sentence question'>
|
|
|
|
+ <div className='header'>
|
|
|
|
+ <div className='content'>
|
|
|
|
+ <div className='title'>题目回顾</div>
|
|
|
|
+ <Button className='back' radius>返回长难句报告</Button>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div className='body'>
|
|
|
|
+ <div className='content'>
|
|
|
|
+ <div className='tip'><Assets name='notice' />点击题目查看详情</div>
|
|
|
|
+ <table>
|
|
|
|
+ <thead>
|
|
|
|
+ <tr>
|
|
|
|
+ <th>序号</th>
|
|
|
|
+ <th width='360'>题目</th>
|
|
|
|
+ <th>句子结构<GIcon name='arrow-up' /></th>
|
|
|
|
+ <th>逻辑关系<GIcon name='arrow-down' /></th>
|
|
|
|
+ <th>用时<GIcon name='arrow-up' /></th>
|
|
|
|
+ <th>收藏<GIcon name='arrow-up' /></th>
|
|
|
|
+ <th>笔记<GIcon name='arrow-up' /></th>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ <tbody>
|
|
|
|
+ <tr>
|
|
|
|
+ <td>1</td>
|
|
|
|
+ <td>
|
|
|
|
+ <div className='n'> OG18 #678</div>
|
|
|
|
+ <div className='desc'>「图形」None of the attempts to specify the causes of crime explains why most of the people exposed to</div>
|
|
|
|
+ </td>
|
|
|
|
+ <td><GIcon name='error' noHover /></td>
|
|
|
|
+ <td><GIcon name='right' noHover /></td>
|
|
|
|
+ <td>1.3</td>
|
|
|
|
+ <td><GIcon name='star' noHover /></td>
|
|
|
|
+ <td><GIcon name='note' noHover /></td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td>1</td>
|
|
|
|
+ <td>
|
|
|
|
+ <div className='n'> OG18 #678</div>
|
|
|
|
+ <div className='desc'>「图形」None of the attempts to specify the causes of crime explains why most of the people exposed to</div>
|
|
|
|
+ </td>
|
|
|
|
+ <td><GIcon name='error' noHover /></td>
|
|
|
|
+ <td><GIcon name='right' noHover /></td>
|
|
|
|
+ <td>1.3</td>
|
|
|
|
+ <td><GIcon name='star' active /></td>
|
|
|
|
+ <td><GIcon name='note' active /></td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td>1</td>
|
|
|
|
+ <td>
|
|
|
|
+ <div className='n'> OG18 #678</div>
|
|
|
|
+ <div className='desc'>「图形」None of the attempts to specify the causes of crime explains why most of the people exposed to</div>
|
|
|
|
+ </td>
|
|
|
|
+ <td><GIcon name='error' noHover /></td>
|
|
|
|
+ <td><GIcon name='right' noHover /></td>
|
|
|
|
+ <td>1.3</td>
|
|
|
|
+ <td><GIcon name='star' noHover /></td>
|
|
|
|
+ <td><GIcon name='note' noHover /></td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td>1</td>
|
|
|
|
+ <td>
|
|
|
|
+ <div className='n'> OG18 #678</div>
|
|
|
|
+ <div className='desc'>「图形」None of the attempts to specify the causes of crime explains why most of the people exposed to</div>
|
|
|
|
+ </td>
|
|
|
|
+ <td><GIcon name='error' noHover /></td>
|
|
|
|
+ <td><GIcon name='right' noHover /></td>
|
|
|
|
+ <td>1.3</td>
|
|
|
|
+ <td><GIcon name='star' active /></td>
|
|
|
|
+ <td><GIcon name='note' active /></td>
|
|
|
|
+ </tr>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>;
|
|
}
|
|
}
|
|
|
|
|
|
renderSentenceDetail() {
|
|
renderSentenceDetail() {
|