|
@@ -1,16 +1,17 @@
|
|
|
import { useParams } from "react-router-dom";
|
|
import { useParams } from "react-router-dom";
|
|
|
-import { Row, Col } from "antd";
|
|
|
|
|
|
|
+import { Row, Col, Space } from "antd";
|
|
|
import { Affix } from "antd";
|
|
import { Affix } from "antd";
|
|
|
|
|
|
|
|
import BlogNav from "../../../components/blog/BlogNav";
|
|
import BlogNav from "../../../components/blog/BlogNav";
|
|
|
import Profile from "../../../components/blog/Profile";
|
|
import Profile from "../../../components/blog/Profile";
|
|
|
import AuthorTimeLine from "../../../components/blog/TimeLine";
|
|
import AuthorTimeLine from "../../../components/blog/TimeLine";
|
|
|
import TopArticles from "../../../components/blog/TopArticles";
|
|
import TopArticles from "../../../components/blog/TopArticles";
|
|
|
|
|
+import TopChapter from "../../../components/corpus/TopChapter";
|
|
|
|
|
|
|
|
const Widget = () => {
|
|
const Widget = () => {
|
|
|
// TODO
|
|
// TODO
|
|
|
const { studio } = useParams(); //url 参数
|
|
const { studio } = useParams(); //url 参数
|
|
|
-
|
|
|
|
|
|
|
+ //<TopArticles studio={studio ? studio : ""} />
|
|
|
return (
|
|
return (
|
|
|
<>
|
|
<>
|
|
|
<Affix offsetTop={0}>
|
|
<Affix offsetTop={0}>
|
|
@@ -23,12 +24,10 @@ const Widget = () => {
|
|
|
</Col>
|
|
</Col>
|
|
|
|
|
|
|
|
<Col flex="900px">
|
|
<Col flex="900px">
|
|
|
- <div>
|
|
|
|
|
- <TopArticles studio={studio ? studio : ""} />
|
|
|
|
|
- </div>
|
|
|
|
|
- <div>
|
|
|
|
|
|
|
+ <Space direction="vertical" size={50}>
|
|
|
|
|
+ <TopChapter studioName={studio} />
|
|
|
<AuthorTimeLine studioName={studio} />
|
|
<AuthorTimeLine studioName={studio} />
|
|
|
- </div>
|
|
|
|
|
|
|
+ </Space>
|
|
|
</Col>
|
|
</Col>
|
|
|
</Row>
|
|
</Row>
|
|
|
</>
|
|
</>
|