|
@@ -8,6 +8,9 @@ import Division from '../../../components/Division';
|
|
import Panel from '../../../components/Panel';
|
|
import Panel from '../../../components/Panel';
|
|
import Card from '../../../components/Card';
|
|
import Card from '../../../components/Card';
|
|
import List from '../../../components/List';
|
|
import List from '../../../components/List';
|
|
|
|
+import ListTable from '../../../components/ListTable';
|
|
|
|
+import ProgressText from '../../../components/ProgressText';
|
|
|
|
+import IconButton from '../../../components/IconButton';
|
|
|
|
|
|
export default class extends Page {
|
|
export default class extends Page {
|
|
renderView() {
|
|
renderView() {
|
|
@@ -66,30 +69,125 @@ export default class extends Page {
|
|
/>
|
|
/>
|
|
</Module>
|
|
</Module>
|
|
<Division two>
|
|
<Division two>
|
|
- <Panel title="OG">
|
|
|
|
- <div>123</div>
|
|
|
|
- </Panel>
|
|
|
|
- <Panel title="OG">
|
|
|
|
- <div>123</div>
|
|
|
|
- </Panel>
|
|
|
|
|
|
+ <Panel
|
|
|
|
+ title="OG"
|
|
|
|
+ col="3"
|
|
|
|
+ list={[{ progress: 10, title: '测试' }, { progress: 10, title: '测试' }, { progress: 0, title: '测试' }]}
|
|
|
|
+ />
|
|
|
|
+ <Panel
|
|
|
|
+ title="OG"
|
|
|
|
+ col="4"
|
|
|
|
+ list={[{ progress: 10, title: '测试' }, { progress: 10, title: '测试' }, { progress: 10, title: '测试' }]}
|
|
|
|
+ />
|
|
</Division>
|
|
</Division>
|
|
<Division three>
|
|
<Division three>
|
|
- <Card title="句改 SC">
|
|
|
|
- <div>123</div>
|
|
|
|
- </Card>
|
|
|
|
- <Card title="句改 SC">
|
|
|
|
- <div>123</div>
|
|
|
|
- </Card>
|
|
|
|
- <Card title="句改 SC">
|
|
|
|
- <div>123</div>
|
|
|
|
- </Card>
|
|
|
|
|
|
+ <Card title="句改 SC" data={{ status: 'buy', desc: ['名师讲解', '精进学习', '提升成绩'] }} />
|
|
|
|
+ <Card title="句改 SC" data={{ status: 'open' }} />
|
|
|
|
+ <Card
|
|
|
|
+ title="句改 SC"
|
|
|
|
+ data={{
|
|
|
|
+ status: 'ing',
|
|
|
|
+ list: [
|
|
|
|
+ { progress: 30, date: '2019-04-22', status: 'start' },
|
|
|
|
+ { progress: 40, date: '2019-04-22', status: 'ing' },
|
|
|
|
+ ],
|
|
|
|
+ }}
|
|
|
|
+ />
|
|
|
|
+ <Card title="句改 SC" data={{ status: 'ing', list: [] }} />
|
|
|
|
+ <Card title="句改 SC" data={{ status: 'end' }} />
|
|
</Division>
|
|
</Division>
|
|
<List
|
|
<List
|
|
title="Chapter4"
|
|
title="Chapter4"
|
|
subTitle="简单句如何变长难句"
|
|
subTitle="简单句如何变长难句"
|
|
|
|
+ list={[{ progress: 30, title: '什么样的句子叫长难句,长难句的基本特征。', part: 'Part 1' }]}
|
|
|
|
+ />
|
|
|
|
+ <ListTable
|
|
|
|
+ title="Chapter5"
|
|
|
|
+ subTitle="练习"
|
|
filters={[
|
|
filters={[
|
|
{ type: 'radio', checked: 'first', list: [{ key: 'first', title: 123 }, { key: 'two', title: 321 }] },
|
|
{ type: 'radio', checked: 'first', list: [{ key: 'first', title: 123 }, { key: 'two', title: 321 }] },
|
|
]}
|
|
]}
|
|
|
|
+ data={[{}]}
|
|
|
|
+ columns={[
|
|
|
|
+ {
|
|
|
|
+ title: '练习册',
|
|
|
|
+ width: 250,
|
|
|
|
+ align: 'left',
|
|
|
|
+ render: () => {
|
|
|
|
+ return (
|
|
|
|
+ <div className="table-row">
|
|
|
|
+ <div className="night f-s-16">OG18 综合:第1-20题</div>
|
|
|
|
+ <div>
|
|
|
|
+ <ProgressText progress="30" size="small" />
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ );
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '正确率',
|
|
|
|
+ width: 150,
|
|
|
|
+ align: 'left',
|
|
|
|
+ render: () => {
|
|
|
|
+ return (
|
|
|
|
+ <div className="table-row">
|
|
|
|
+ <div className="night f-s-16 f-w-b">--</div>
|
|
|
|
+ <div className="f-s-12">全站55%</div>
|
|
|
|
+ </div>
|
|
|
|
+ );
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '全站用时',
|
|
|
|
+ width: 150,
|
|
|
|
+ align: 'left',
|
|
|
|
+ render: () => {
|
|
|
|
+ return (
|
|
|
|
+ <div className="table-row">
|
|
|
|
+ <div className="night f-s-16 f-w-b">55%</div>
|
|
|
|
+ <div className="f-s-12">全站56s</div>
|
|
|
|
+ </div>
|
|
|
|
+ );
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '最近做题',
|
|
|
|
+ width: 150,
|
|
|
|
+ align: 'left',
|
|
|
|
+ render: () => {
|
|
|
|
+ return (
|
|
|
|
+ <div className="table-row">
|
|
|
|
+ <div>2019-04-28</div>
|
|
|
|
+ <div>07:30</div>
|
|
|
|
+ </div>
|
|
|
|
+ );
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '操作',
|
|
|
|
+ width: 180,
|
|
|
|
+ align: 'left',
|
|
|
|
+ render: () => {
|
|
|
|
+ return (
|
|
|
|
+ <div className="table-row p-t-1">
|
|
|
|
+ <IconButton type="start" tip="Start" />
|
|
|
|
+ </div>
|
|
|
|
+ );
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '报告',
|
|
|
|
+ width: 30,
|
|
|
|
+ align: 'right',
|
|
|
|
+ render: () => {
|
|
|
|
+ return (
|
|
|
|
+ <div className="table-row p-t-1">
|
|
|
|
+ <IconButton type="report" tip="Report" />
|
|
|
|
+ </div>
|
|
|
|
+ );
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ ]}
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|