Browse Source

:fire: Header

visuddhinanda 3 years ago
parent
commit
58146dfbff
1 changed files with 15 additions and 29 deletions
  1. 15 29
      dashboard/src/pages/library/anthology/show.tsx

+ 15 - 29
dashboard/src/pages/library/anthology/show.tsx

@@ -10,36 +10,22 @@ const Widget = () => {
   const { id, tags } = useParams(); //url 参数
   let channel = tags ? tags : "";
 
-  const pageMaxWidth = "1260px";
+  const pageMaxWidth = "960px";
   return (
-    <Layout>
-      <Affix offsetTop={0}>
-        <Header style={{ backgroundColor: "gray", height: "3.5em" }}>
-          <Col flex="auto"></Col>
-          <Col flex={pageMaxWidth}>
-            <div>
-              {id}@{channel}
-            </div>
-          </Col>
-          <Col flex="auto"></Col>
-        </Header>
-      </Affix>
-
-      <Content>
-        <Row>
-          <Col flex="auto"></Col>
-          <Col flex={pageMaxWidth}>
-            <Row>
-              <Col span="18">
-                <AnthologyDetail aid={id} />
-              </Col>
-              <Col span="6"></Col>
-            </Row>
-          </Col>
-          <Col flex="auto"></Col>
-        </Row>
-      </Content>
-    </Layout>
+    <>
+      <Row>
+        <Col flex="auto"></Col>
+        <Col flex={pageMaxWidth}>
+          <Row>
+            <Col span="18">
+              <AnthologyDetail aid={id} />
+            </Col>
+            <Col span="6"></Col>
+          </Row>
+        </Col>
+        <Col flex="auto"></Col>
+      </Row>
+    </>
   );
 };