|
@@ -8,7 +8,6 @@ const { Content, Header } = Layout;
|
|
|
const Widget = () => {
|
|
const Widget = () => {
|
|
|
// TODO
|
|
// TODO
|
|
|
const { id, tags } = useParams(); //url 参数
|
|
const { id, tags } = useParams(); //url 参数
|
|
|
- let aid = id ? id : "";
|
|
|
|
|
let channel = tags ? tags : "";
|
|
let channel = tags ? tags : "";
|
|
|
|
|
|
|
|
const pageMaxWidth = "1260px";
|
|
const pageMaxWidth = "1260px";
|
|
@@ -19,7 +18,7 @@ const Widget = () => {
|
|
|
<Col flex="auto"></Col>
|
|
<Col flex="auto"></Col>
|
|
|
<Col flex={pageMaxWidth}>
|
|
<Col flex={pageMaxWidth}>
|
|
|
<div>
|
|
<div>
|
|
|
- {aid}@{channel}
|
|
|
|
|
|
|
+ {id}@{channel}
|
|
|
</div>
|
|
</div>
|
|
|
</Col>
|
|
</Col>
|
|
|
<Col flex="auto"></Col>
|
|
<Col flex="auto"></Col>
|
|
@@ -32,7 +31,7 @@ const Widget = () => {
|
|
|
<Col flex={pageMaxWidth}>
|
|
<Col flex={pageMaxWidth}>
|
|
|
<Row>
|
|
<Row>
|
|
|
<Col span="18">
|
|
<Col span="18">
|
|
|
- <AnthologyDetail aid={aid} />
|
|
|
|
|
|
|
+ <AnthologyDetail aid={id} />
|
|
|
</Col>
|
|
</Col>
|
|
|
<Col span="6"></Col>
|
|
<Col span="6"></Col>
|
|
|
</Row>
|
|
</Row>
|