import React from 'react'; import './index.less'; import Page from '@src/containers/Page'; import Tabs from '../../../components/Tabs'; import Icon from '../../../components/Icon'; import Switch from '../../../components/Switch'; import AnswerList from '../../../components/AnswerList'; import AnswerButton from '../../../components/AnswerButton'; export default class extends Page { constructor(props) { super(props); this.state = { hideAnalysis: true }; } renderView() { return (
No.36
OG18 - Easy (21-40)
ID:PREP 07-124
用时:1m39s 全站:1m39s 80%
{this.renderBody()}
笔记 提问 纠错
{this.renderModal()}
); } renderBody() { const { question = { content: {} } } = this.state; const { typeset = 'one' } = question.content; return (
{this.renderContent()} {this.renderAnswer()}
{this.renderAnalysis()}
); } renderAnalysis() { const { question = { content: {} } } = this.state; const { typeset = 'one' } = question.content; const { hideAnalysis } = this.state; const show = typeset === 'one' ? true : !hideAnalysis; return (
“Offering support services to spouses caring for their other halves may reduce martial stress and prevent divorce at older ages,” she said. “But it’s also important to recognize that the pressure to divorce may be health-related and that sick ex-wives may need additional care and services to prevent worsening health and increased health costs.”
); } renderAnswer() { const { question = { content: {} } } = this.state; const { typeset = 'one' } = question.content; const { hideAnalysis } = this.state; const show = typeset === 'one' ? true : hideAnalysis; return (
{typeset === 'two' ? 显示答案 : ''}
); } renderContent() { const { question = { content: {} } } = this.state; const { typeset = 'one' } = question.content; return (
{typeset === 'one' ? 显示答案 : ''}
); } renderModal() { return (
提问
我想对进行提问
有疑问的具体内容是: