page.js 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741
  1. import React from 'react';
  2. import './index.less';
  3. import { Icon } from 'antd';
  4. import Page from '@src/containers/Page';
  5. import Assets from '@src/components/Assets';
  6. import { asyncSMessage } from '@src/services/AsyncTools';
  7. import { formatDate, getMap } from '@src/services/Tools';
  8. import UserLayout from '../../../layouts/User';
  9. import UserAction from '../../../components/UserAction';
  10. import menu from '../index';
  11. import Tabs from '../../../components/Tabs';
  12. import More from '../../../components/More';
  13. import Button from '../../../components/Button';
  14. import Switch from '../../../components/Switch';
  15. import TotalSort from '../../../components/TotalSort';
  16. import Modal from '../../../components/Modal';
  17. import UserTable from '../../../components/UserTable';
  18. import UserPagination from '../../../components/UserPagination';
  19. import { My } from '../../../stores/my';
  20. import { User } from '../../../stores/user';
  21. import { Order } from '../../../stores/order';
  22. import { Textbook } from '../../../stores/textbook';
  23. import { DataType, ServiceKey } from '../../../../Constant';
  24. import { Main } from '../../../stores/main';
  25. import { Question } from '../../../stores/question';
  26. import Select from '../../../components/Select';
  27. const ServiceKeyMap = getMap(ServiceKey, 'value', 'label');
  28. const dataHistoryColumns = [
  29. { title: '更新时间', key: 'time', width: 120 },
  30. { title: '位置', key: 'position', width: 120 },
  31. { title: '原内容', key: 'originContent', width: 120 },
  32. { title: '更改为', key: 'content', width: 120 },
  33. { title: '更新至', key: 'version', width: 90 },
  34. ];
  35. const textbookHistoryColumns = [
  36. { title: '更新时间', key: 'createTime', width: 120 },
  37. { title: '版本', key: 'version', width: 120 },
  38. { title: '更新内容', key: 'content', width: 330 },
  39. ];
  40. const openColumns = [
  41. { title: '商品名称', key: 'title', width: 240 },
  42. { title: '开通期限', key: 'endTime', width: 240 },
  43. { title: '操作', key: 'handler', width: 90 },
  44. ];
  45. export default class extends Page {
  46. initState() {
  47. return {
  48. tab: 'data',
  49. sortMap: {},
  50. filterMap: {},
  51. };
  52. }
  53. initData() {
  54. const data = Object.assign(this.state, this.state.search);
  55. if (data.order) {
  56. data.sortMap = { [data.order]: data.direction };
  57. }
  58. data.filterMap = this.state.search;
  59. this.setState(data);
  60. const { tab } = this.state;
  61. switch (tab) {
  62. case 'textbook':
  63. this.refreshTextbook();
  64. break;
  65. case 'examination':
  66. this.refreshExamination();
  67. break;
  68. case 'vip':
  69. this.refreshVip();
  70. break;
  71. case 'cal':
  72. break;
  73. case 'data':
  74. default:
  75. this.refreshData();
  76. break;
  77. }
  78. }
  79. refreshTextbook() {
  80. Main.getService('textbook').then(result => {
  81. this.setState({ service: result });
  82. });
  83. Textbook.getInfo().then(result => {
  84. const { latest } = result;
  85. result.day = parseInt((new Date().getTime() - new Date(result.latest.startDate).getTime()) / 86400000, 10);
  86. result.expireDay =
  87. result.expireTime && parseInt((new Date().getTime() - new Date(result.expireTime).getTime()) / 86400000, 10);
  88. const list = [];
  89. list.push({ subject: 'quant', number: latest.quantNumber, time: latest.quantTime, version: latest.quantVersion });
  90. list.push({ subject: 'rc', number: latest.rcNumber, time: latest.rcTime, version: latest.rcVersion });
  91. list.push({ subject: 'ir', number: latest.irNumber, time: latest.irTime, version: latest.irVersion });
  92. this.setState({ data: result, list });
  93. });
  94. }
  95. textbookHistory({ page, size, subject }) {
  96. Textbook.listHistory({ subject }).then(result => {
  97. this.setState({
  98. updateList: result.map(row => {
  99. row.version = row[`${subject}Version`];
  100. row.content = row[`${subject}Content`];
  101. row.createTime = formatDate(row.createTime, 'YYYY-MM-DD\nHH:mm:ss');
  102. return row;
  103. }),
  104. // 不显示分页
  105. updateTotal: 0,
  106. updatePage: page,
  107. updateData: { page, size, subject, columns: textbookHistoryColumns, type: 'textbook' },
  108. });
  109. });
  110. }
  111. refreshExamination() {
  112. Main.getService('qx_cat').then(result => {
  113. this.setState({ service: result });
  114. });
  115. Question.getExaminationInfo(result => {
  116. result.expireDay =
  117. result.expireTime && parseInt((new Date().getTime() - new Date(result.expireTime).getTime()) / 86400000, 10);
  118. this.setState({ data: result });
  119. });
  120. }
  121. refreshVip() {
  122. Main.getService('vip').then(result => {
  123. this.setState({ service: result });
  124. });
  125. }
  126. recordList({ page, size, service, isUse, isExpire }) {
  127. Order.listRecord({ page, size, productType: 'service', service, isUse, isExpire }).then(result => {
  128. this.setState({
  129. updateList: result.map(row => {
  130. row.title = ServiceKeyMap[service];
  131. row.handler = (
  132. <a
  133. onClick={() => {
  134. this.open(row.id);
  135. }}
  136. >
  137. 立即开通
  138. </a>
  139. );
  140. row.endTime = `${formatDate(row.endTime, 'YYYY-MM-DD')} 前`;
  141. return row;
  142. }),
  143. updateTotal: result.length,
  144. updatePage: page,
  145. updateData: { page, size, service, isUse, columns: isUse ? [] : openColumns, type: 'record' },
  146. });
  147. });
  148. }
  149. refreshData() {
  150. const dataTypeSelect = DataType.map(row => {
  151. row.title = row.label;
  152. row.key = row.value;
  153. return row;
  154. });
  155. dataTypeSelect.unshift({
  156. title: '全部',
  157. key: '',
  158. });
  159. this.setState({ dataTypeSelect });
  160. Main.dataStruct().then(result => {
  161. const structs = result
  162. .filter(row => row.level === 1)
  163. .map(row => {
  164. row.title = `${row.titleZh}${row.titleEn}`;
  165. row.key = `${row.id}`;
  166. return row;
  167. });
  168. structs.unshift({
  169. title: '全部',
  170. key: '',
  171. });
  172. this.setState({
  173. structs,
  174. });
  175. });
  176. My.listData(Object.assign({}, this.state.search)).then(result => {
  177. result = {
  178. list: [
  179. {
  180. title: '123123',
  181. latestTime: '',
  182. id: 1,
  183. number: 10,
  184. version: '1231',
  185. },
  186. ],
  187. };
  188. this.setState({
  189. list: result.list.map(row => {
  190. row.time = formatDate(row.time, 'YYYY-MM-DD HH:mm:ss');
  191. return row;
  192. }),
  193. total: result.total,
  194. page: this.state.search.page,
  195. });
  196. });
  197. }
  198. dataHistory({ dataId, page, size }) {
  199. My.listDataHistory({ page, size, dataId }).then(result => {
  200. result.list = result.list.map(row => {
  201. row.time = formatDate(row.time, 'YYYY-MM-DD\nHH:mm:ss');
  202. return row;
  203. });
  204. this.setState({
  205. updateList: result.list,
  206. updateTotal: result.total,
  207. updatePage: page,
  208. updateData: { page, size, dataId, columns: dataHistoryColumns, type: 'data' },
  209. });
  210. });
  211. }
  212. onFilter(value) {
  213. this.search(value);
  214. }
  215. onSort(value) {
  216. const { sortMap } = this.state;
  217. const keys = Object.keys(value);
  218. const index = keys.length > 1 && sortMap[keys[0]] ? 1 : 0;
  219. this.search({ order: keys.length ? keys[index] : null, direction: keys.length ? value[keys[index]] : null });
  220. }
  221. onTabChange(tab) {
  222. const data = { tab };
  223. this.refreshQuery(data);
  224. }
  225. submitComment() {
  226. const { comment } = this.state;
  227. My.addComment(comment.channel, comment.position, comment.content).then(() => {
  228. this.setState({ showComment: false, showFinish: true, comment: {} });
  229. });
  230. }
  231. submitFeedbackError() {
  232. const { feedbackError } = this.state;
  233. My.addFeedbackErrorData(
  234. feedbackError.dataId,
  235. feedbackError.title,
  236. feedbackError.position,
  237. feedbackError.originContent,
  238. feedbackError.content,
  239. ).then(() => {
  240. this.setState({ showFinish: true, showFeedbackError: false, feedbackError: {} });
  241. });
  242. }
  243. submitFeedback() {
  244. const { feedback } = this.state;
  245. My.addTextbookFeedback('', feedback.target, feedback.content).then(() => {
  246. this.setState({ showFinish: true, showFeedback: false, feedbackError: {} });
  247. });
  248. }
  249. subscribe(value) {
  250. My.subscribeData(value)
  251. .then(() => {
  252. const { info } = this.props.user;
  253. info.dataEmailSubscribe = value;
  254. User.infoHandle(info);
  255. })
  256. .catch(err => {
  257. asyncSMessage(err.message, 'warn');
  258. });
  259. }
  260. open(recordId) {
  261. Order.useRecord(recordId).then(() => {
  262. asyncSMessage('开通成功');
  263. this.refresh();
  264. });
  265. }
  266. renderView() {
  267. const { config } = this.props;
  268. return <UserLayout active={config.key} menu={menu} center={this.renderDetail()} />;
  269. }
  270. renderDetail() {
  271. const {
  272. tab,
  273. comment = {},
  274. feedback = {},
  275. showComment,
  276. showFinish,
  277. showUpdate,
  278. showFeedback,
  279. updateList,
  280. updateTotal,
  281. updateData = {},
  282. } = this.state;
  283. return (
  284. <div className="table-layout">
  285. <Tabs
  286. border
  287. type="division"
  288. theme="theme"
  289. size="small"
  290. space={2.5}
  291. width={100}
  292. active={tab}
  293. tabs={[
  294. { key: 'data', title: '资料' },
  295. { key: 'textbook', title: '机经' },
  296. { key: 'examination', title: '模考' },
  297. { key: 'vip', title: 'VIP' },
  298. { key: 'cal', title: '考分计算器' },
  299. ]}
  300. onChange={key => this.onTabChange(key)}
  301. />
  302. {this[`renderTab${tab}`]()}
  303. <Modal
  304. show={showUpdate}
  305. maskClosable
  306. close={false}
  307. body={false}
  308. width={630}
  309. onClose={() => this.setState({ showUpdate: false, updateList: [] })}
  310. >
  311. <UserTable
  312. size="small"
  313. columns={updateData.columns}
  314. data={updateList}
  315. current={updateData.page}
  316. onChange={page => {
  317. updateData.page = page;
  318. if (updateData.type === 'data') {
  319. this.dataHistory(updateData);
  320. } else if (updateData.type === 'textbook') {
  321. this.textbookHistory(updateData);
  322. } else if (updateData.type === 'record') {
  323. this.recordList(updateData);
  324. }
  325. }}
  326. total={updateTotal}
  327. />
  328. </Modal>
  329. <Modal
  330. show={showComment}
  331. title="评价"
  332. onConfirm={() => comment.content && this.submitComment()}
  333. onCancel={() => this.setState({ showComment: false, comment: {} })}
  334. >
  335. <textarea
  336. value={comment.content}
  337. className="b-c-1 w-10 p-10"
  338. rows={6}
  339. placeholder="您的看法对我们来说很重要!"
  340. onChange={e => {
  341. comment.content = e.target.value;
  342. this.setState({ comment });
  343. }}
  344. />
  345. <div className="b-b m-t-2" />
  346. </Modal>
  347. <Modal
  348. show={showFinish}
  349. title="提交成功"
  350. confirmText="好的,知道了"
  351. btnAlign="center"
  352. onConfirm={() => this.setState({ showFinish: false })}
  353. >
  354. <div className="t-2 t-s-18">
  355. <Icon type="check" className="t-5 m-r-5" />
  356. 您的每一次反馈都是千行进步的动力。
  357. </div>
  358. </Modal>
  359. <Modal
  360. show={showFeedback}
  361. title="反馈"
  362. width={630}
  363. onConfirm={() => this.setState({ showFeedback: false })}
  364. onCancel={() => this.setState({ showFeedback: false })}
  365. >
  366. <div className="t-2 t-s-16 m-b-1">
  367. 机经类别:
  368. <Select
  369. value={feedback.type}
  370. theme="white"
  371. list={[{ title: '数学机经', key: '1' }, { title: '逻辑机经', key: '2' }, { title: '阅读机经', key: '3' }]}
  372. />
  373. 反馈类型:
  374. <Select
  375. value={feedback.cate}
  376. theme="white"
  377. list={[
  378. { title: '纠正解析', key: '1' },
  379. { title: '完善已有机经', key: '2' },
  380. { title: '提供全新机经', key: '3' },
  381. ]}
  382. />
  383. <span hidden={feedback.cate === 3}>
  384. 题号是
  385. <input style={{ width: 80 }} className="m-l-1 b-c-1 t-c" />
  386. </span>
  387. </div>
  388. <div className="t-2 t-s-16">正确的解析和答案应该是:</div>
  389. <textarea
  390. value={comment.content}
  391. className="b-c-1 w-10 p-10"
  392. rows={10}
  393. placeholder={{ 1: '正确的解析和答案是:', 2: '补充内容是:', 3: '新机经是:' }[feedback.cate]}
  394. onChange={e => {
  395. comment.content = e.target.value;
  396. this.setState({ comment });
  397. }}
  398. />
  399. <div className="b-b m-t-2" />
  400. </Modal>
  401. </div>
  402. );
  403. }
  404. renderTabdata() {
  405. const { list = [], filterMap = {}, sortMap = {}, structs, dataTypeSelect, total, page } = this.state;
  406. const { info } = this.props.user;
  407. return (
  408. <div className="tab-1-layout">
  409. <UserAction
  410. selectList={[
  411. {
  412. label: '学科',
  413. key: 'structId',
  414. select: structs,
  415. },
  416. {
  417. label: '资料形式',
  418. key: 'dataType',
  419. select: dataTypeSelect,
  420. },
  421. ]}
  422. sortList={[
  423. { right: true, label: '销量', key: 'sale_number' },
  424. { right: true, label: '更新时间', key: 'latest_time' },
  425. ]}
  426. sortMap={sortMap}
  427. filterMap={filterMap}
  428. onFilter={value => this.onFilter(value)}
  429. onSort={value => this.onSort(value)}
  430. right={
  431. <div className="email">
  432. 邮箱订阅{' '}
  433. <Switch
  434. checked={info.dataEmailSubscribe}
  435. onChange={() => {
  436. this.subscribe(!info.dataEmailSubscribe);
  437. }}
  438. />
  439. </div>
  440. }
  441. />
  442. <div className="data-layout">
  443. {list.map(item => {
  444. return (
  445. <div className="data-item">
  446. <Assets name="sun_blue" src={item.cover} />
  447. <div className="fixed">
  448. <div className="btns">
  449. <Button
  450. size="small"
  451. radius
  452. onClick={() => {
  453. openLink(item.resource);
  454. }}
  455. >
  456. 阅读
  457. </Button>
  458. <div
  459. className="white"
  460. onClick={() => {
  461. openLink(item.resource);
  462. }}
  463. >
  464. 下载
  465. </div>
  466. </div>
  467. </div>
  468. <div className="title">
  469. <span>版本{item.version}</span>
  470. {item.title}
  471. </div>
  472. <div className="date">{formatDate(item.latestTime, 'YYYY-MM-DD HH:mm:ss')}</div>
  473. <More
  474. menu={[
  475. { label: '纠错', key: 'feedback' },
  476. { label: '评价', key: 'comment' },
  477. { label: '更新', key: 'update' },
  478. ]}
  479. onClick={value => {
  480. const { key } = value;
  481. if (key === 'comment') {
  482. this.setState({ showComment: true, comment: { channel: 'course_data', position: item.id } });
  483. } else if (key === 'update') {
  484. this.setState({ showUpdate: true });
  485. this.dataHistory({ dataId: item.id, page: 1, size: 10 });
  486. } else if (key === 'feedback') {
  487. this.setState({ showFeedbackError: true, feedbackError: { dataId: item.id, title: item.title } });
  488. }
  489. }}
  490. />
  491. </div>
  492. );
  493. })}
  494. </div>
  495. {total && list.length > 0 && (
  496. <UserPagination total={total} current={page} onChange={p => this.onChangePage(p)} />
  497. )}
  498. </div>
  499. );
  500. }
  501. renderTabtextbook() {
  502. const { data = {}, list = [], service } = this.state;
  503. const { latest = {}, day } = data;
  504. return (
  505. <div className="tab-2-layout">
  506. <UserAction
  507. left={
  508. <div className="total-log">
  509. <span>最新换库</span>
  510. <span>{latest.startDate ? formatDate(latest.startDate, 'YYYY-MM-DD') : ''}</span>
  511. <span>
  512. 已换库<b>{day}</b>天
  513. </span>
  514. </div>
  515. }
  516. right={
  517. !data.hasService &&
  518. data.unUseRecord && (
  519. <div
  520. className="email"
  521. onClick={() => {
  522. this.recordList({ page: 1, size: 10, service: 'textbook', isUse: false, isExpire: false });
  523. }}
  524. >
  525. 待开通
  526. </div>
  527. )
  528. }
  529. />
  530. {data.hasService && (
  531. <div className="data-layout">
  532. {list.map(item => {
  533. return (
  534. <div className="data-item">
  535. <Assets name="sun_blue" />
  536. <div className="title">
  537. 已更新至<b>{item.num}</b>题
  538. </div>
  539. <div className="date">{item.date}</div>
  540. <More
  541. menu={[
  542. { label: '更新', key: 'update' },
  543. { label: '反馈', key: 'feedback' },
  544. { label: '评价', key: 'comment' },
  545. ]}
  546. onClick={value => {
  547. const { key } = value;
  548. if (key === 'comment') {
  549. this.setState({ showComment: true, comment: { channel: 'library' } });
  550. } else if (key === 'update') {
  551. this.setState({ showUpdate: true });
  552. this.textbookHistory({ page: 1, size: 100, subject: item.subject });
  553. } else if (key === 'feedback') {
  554. this.setState({ showFeedback: true });
  555. }
  556. }}
  557. />
  558. </div>
  559. );
  560. })}
  561. </div>
  562. )}
  563. {!data.hasService && !data.unUseRecord && (
  564. <div className="tip-layout">
  565. <div className="t1">还未购买本月机经</div>
  566. <div className="desc">¥ {service && service.package && service.package[0].price}</div>
  567. <Button radius size="lager" width={150}>
  568. 立即购买
  569. </Button>
  570. </div>
  571. )}
  572. {data.hasService && (
  573. <div className="tip-layout">
  574. <div className="t1">使用中</div>
  575. <div className="t2">距离到期还有 {data.expireDay} 天</div>
  576. </div>
  577. )}
  578. {!data.hasService && data.unUseRecord && (
  579. <div className="tip-layout">
  580. <div className="t2">请于{formatDate(data.unUseRecord.endTime, 'YYYY-MM-DD')}前开通</div>
  581. <Button
  582. radius
  583. size="lager"
  584. width={150}
  585. onClick={() => {
  586. this.open(data.unUseRecord.id);
  587. }}
  588. >
  589. 立即开通
  590. </Button>
  591. </div>
  592. )}
  593. </div>
  594. );
  595. }
  596. renderTabexamination() {
  597. const { data = {}, service } = this.state;
  598. return (
  599. <div className="tab-3-layout">
  600. <UserAction
  601. right={
  602. !data.hasService &&
  603. data.unUseRecord && (
  604. <div
  605. className="email"
  606. onClick={() => {
  607. this.recordList({ page: 1, size: 10, service: 'qx_cat', isUse: false, isExpire: false });
  608. }}
  609. >
  610. 待开通
  611. </div>
  612. )
  613. }
  614. />
  615. {!data.hasService && !data.unUseRecord && !data.expireTime && (
  616. <div className="tip-layout">
  617. <div className="t1">未购买</div>
  618. <div className="desc">¥ {service && service.package && service.package[0].price}</div>
  619. <Button radius size="lager" width={150}>
  620. 立即购买
  621. </Button>
  622. </div>
  623. )}
  624. {!data.hasService && data.unUseRecord && (
  625. <div className="tip-layout">
  626. <div className="t2">请于{formatDate(data.unUseRecord.endTime, 'YYYY-MM-DD')}前开通</div>
  627. <Button
  628. radius
  629. size="lager"
  630. width={150}
  631. onClick={() => {
  632. this.open(data.unUseRecord.id);
  633. }}
  634. >
  635. 立即开通
  636. </Button>
  637. </div>
  638. )}
  639. {data.hasService && (
  640. <div className="tip-layout">
  641. <div className="t1">使用中</div>
  642. <div className="t2">距离到期还有 {data.expireDay} 天</div>
  643. </div>
  644. )}
  645. {!data.hasService && !data.unUseRecord && data.expireTime && (
  646. <div className="tip-layout">
  647. <div className="t3">已过期</div>
  648. <div className="date">
  649. {formatDate(data.startTime, 'YYYY-MM-DD')} ~ {formatDate(data.expireTime, 'YYYY-MM-DD')}
  650. </div>
  651. <div className="desc">¥ {service && service.package && service.package[0].price}</div>
  652. <Button radius size="lager" width={150}>
  653. 立即购买
  654. </Button>
  655. </div>
  656. )}
  657. </div>
  658. );
  659. }
  660. renderTabvip() {
  661. const { data } = this.state;
  662. return (
  663. <div className="tab-4-layout">
  664. {!data.hasService && !data.unUseRecord && !data.expireTime && (
  665. <div className="tip-layout">
  666. <div className="t2">未购买</div>
  667. <Button radius size="lager" width={150}>
  668. 立即购买
  669. </Button>
  670. </div>
  671. )}
  672. {data.hasService && (
  673. <div className="tip-layout">
  674. <div className="t1">使用中</div>
  675. <div className="desc">{formatDate(data.expireTime, 'YYYY-MM-DD')} 到期</div>
  676. <Button radius size="lager" width={150}>
  677. 续费
  678. </Button>
  679. </div>
  680. )}
  681. {!data.hasService && !data.unUseRecord && data.expireTime && (
  682. <div className="tip-layout">
  683. <div className="t1">已过期</div>
  684. <div className="desc">
  685. {formatDate(data.startTime, 'YYYY-MM-DD')} ~ {formatDate(data.expireTime, 'YYYY-MM-DD')}
  686. </div>
  687. <Button radius size="lager" width={150}>
  688. 立即购买
  689. </Button>
  690. </div>
  691. )}
  692. </div>
  693. );
  694. }
  695. renderTabcal() {
  696. const { data = {} } = this.state;
  697. return (
  698. <div className="tab-5-layout">
  699. <TotalSort
  700. value={data.value || 650}
  701. onChange={value => {
  702. data.value = value;
  703. this.setState({ data });
  704. }}
  705. />
  706. </div>
  707. );
  708. }
  709. }