
import dayjs from 'dayjs';
import styles from './index.less';

const HomePage = (props) => {

    

    const { subtitle='', user={},idx='' } = props;
    
    return (
        <section className={styles.analysis_content_home} id={`operationExport${idx}`}>
            <section className={styles.analysis_content_home_title}>
                <span>{subtitle}</span>
                <span>分析报告</span>
            </section>

            <section className={styles.analysis_content_home_bottom}>
                <section className={styles.analysis_content_home_bottom_editor}>
                    <span style={{ fontSize: 24 }}>报告人：{user?.userName}</span>
                    <span style={{ fontSize: 24 }}>报告时间：{dayjs()?.format('YYYY年MM月DD日')}</span>
                </section>
                <section className={styles.analysis_content_home_bottom_source}>
                    <span style={{ fontSize: 24 }}>来源：瑞安市学业大数据分析系统</span>
                </section>
            </section>
        </section>
    );
};


export default HomePage;