diff --git a/src/pages/book/index.tsx b/src/pages/book/index.tsx index 977641f..8058b91 100644 --- a/src/pages/book/index.tsx +++ b/src/pages/book/index.tsx @@ -12,7 +12,14 @@ import Taro from "@tarojs/taro"; import { AtAvatar } from "taro-ui"; import { AtTag } from "taro-ui"; import { AtList, AtListItem } from "taro-ui"; -import { AtForm, AtMessage, AtDrawer, AtIcon } from "taro-ui"; +import { + AtForm, + AtMessage, + AtDrawer, + AtIcon, + AtTimeline, + AtDivider, +} from "taro-ui"; import { marked } from "marked"; import infoText from "./info.md"; import bookText from "./book.md"; @@ -149,8 +156,8 @@ const Book = () => { className="book_header_left" onClick={() => { Taro.redirectTo({ - url: `/` - }) + url: `/`, + }); // Taro.navigateBack({ // delta: 1, // 表示返回的页面数,默认是 1,表示返回上一页 // }); @@ -178,6 +185,7 @@ const Book = () => { }} > + {/* 目录 */} { setshow(false); }} > - 优先展示items里的数据 + {/* 如果items没有数据就会展示children */} {/* 这是自定义内容 */} + + {/* 分割线 */} + + + 更新日志 + + + + {/* 更新日志 */} + + + );