visuddhinanda 2 лет назад
Родитель
Сommit
30d0c75784
1 измененных файлов с 4 добавлено и 3 удалено
  1. 4 3
      dashboard/src/pages/library/palicanon/bypath.tsx

+ 4 - 3
dashboard/src/pages/library/palicanon/bypath.tsx

@@ -10,6 +10,7 @@ import PaliChapterListByTag from "../../../components/corpus/PaliChapterListByTa
 import BookViewer from "../../../components/corpus/BookViewer";
 import BookViewer from "../../../components/corpus/BookViewer";
 import { IChapterClickEvent } from "../../../components/corpus/PaliChapterList";
 import { IChapterClickEvent } from "../../../components/corpus/PaliChapterList";
 import { IPaliBookListResponse } from "../../../components/api/Corpus";
 import { IPaliBookListResponse } from "../../../components/api/Corpus";
+import Recent from "../../../components/corpus/Recent";
 
 
 const Widget = () => {
 const Widget = () => {
   const { root, path, tag } = useParams();
   const { root, path, tag } = useParams();
@@ -108,7 +109,7 @@ const Widget = () => {
                 </div>
                 </div>
               </Affix>
               </Affix>
             </Col>
             </Col>
-            <Col xs={24} sm={18} md={14}>
+            <Col xs={24} sm={18} md={13}>
               <BookTreeList
               <BookTreeList
                 tags={bookTag}
                 tags={bookTag}
                 root={bookRoot}
                 root={bookRoot}
@@ -137,8 +138,8 @@ const Widget = () => {
                 }}
                 }}
               />
               />
             </Col>
             </Col>
-            <Col xs={0} sm={0} md={4}>
-              侧边栏
+            <Col xs={0} sm={0} md={5}>
+              <Recent />
             </Col>
             </Col>
           </Row>
           </Row>
         </Col>
         </Col>