import React, { Component } from "react"; import { Spin } from "antd"; import Comment from "../../Comment"; import CommentBox from "../CommentBox"; import "./index.css"; class CommentList extends Component { constructor(props) { super(props); this.state = {}; } componentWillMount() { this.props.app.sGetComment(); } render() { const { list, total, page, loading, isNoMoreComment, sGetComment } = this.props.app; const spinning = Boolean( loading.sGetComment || loading.sCommentFavor || loading.sReplyFavor ); return (