diff --git a/src/components/universal/Modal/index.module.css b/src/components/universal/Modal/index.module.css index 491c7247..d6028707 100644 --- a/src/components/universal/Modal/index.module.css +++ b/src/components/universal/Modal/index.module.css @@ -84,6 +84,12 @@ margin-bottom: 0.5rem; } +.modalBody a { + @apply text-sm text-blue-500 underline; + margin-top: 1rem; + margin-bottom: 0.5rem; +} + .double-click { background-color: red !important; } diff --git a/src/pages/Comments/index.tsx b/src/pages/Comments/index.tsx index d605b802..cd7bab04 100644 --- a/src/pages/Comments/index.tsx +++ b/src/pages/Comments/index.tsx @@ -8,11 +8,7 @@ import { getQueryVariable } from "@utils/url"; import { useNavigate } from "react-router-dom"; import { apiClient } from "@utils/request"; import { Title } from "@components/universal/Title"; -import { - CheckSmall, - CloseSmall, - Redo, -} from "@icon-park/react"; +import { CheckSmall, CloseSmall, Redo } from "@icon-park/react"; import { mailAvatar } from "@utils/avatar"; import { jump } from "@utils/path"; import { useSeo } from "@hooks/useSeo"; @@ -20,6 +16,7 @@ import { CommentsList, EditModal } from "./component"; import useSWR from "swr"; import useSWRMutation from "swr/mutation"; import { ActionButton, ActionButtons } from "@components/widgets/ActionButtons"; +import { Button } from "@components/universal/Button"; const tabsList = [ { @@ -188,11 +185,19 @@ export const CommentsPage: BasicPage = () => {
{(data?.pagination.has_prev_page && ( - + )) || null} {(data?.pagination.has_next_page && ( - + )) || null}
diff --git a/src/pages/Settings/index.tsx b/src/pages/Settings/index.tsx index 4b240ee3..4eccbba5 100644 --- a/src/pages/Settings/index.tsx +++ b/src/pages/Settings/index.tsx @@ -19,6 +19,7 @@ import { jump } from "@utils/path"; import { useSeo } from "@hooks/useSeo"; import { toast } from "sonner"; import useSWR from "swr"; +import { Space } from "@components/universal/Space"; const tabsAPI = ["/user/master/info", "/configs"]; @@ -262,6 +263,20 @@ export const SettingsPage: BasicPage = () => { type="password" /> + + + 导出备份文件, 此操作将会导出文章、页面、评论、用户与友链信息 + + + 导入备份文件, 此操作将会与现有信息合并 + + + + 如果您对此功能尚不熟悉,请前往 + 文档 + 阅读后使用 + +