From 5422f17fab6c6c77b0a48c4cb9d491d8b54149a7 Mon Sep 17 00:00:00 2001 From: yoan <536464346@qq.com> Date: Sun, 22 Sep 2024 22:25:08 +0800 Subject: [PATCH] update ui --- ui/src/pages/SettingLayout.tsx | 4 +- ui/src/pages/setting/Notify.tsx | 78 ++++++++++++++++++--------------- 2 files changed, 44 insertions(+), 38 deletions(-) diff --git a/ui/src/pages/SettingLayout.tsx b/ui/src/pages/SettingLayout.tsx index 83c9ee11..e170e7e0 100644 --- a/ui/src/pages/SettingLayout.tsx +++ b/ui/src/pages/SettingLayout.tsx @@ -30,7 +30,7 @@ const SettingLayout = () => {
偏好设置
-
+
{ className="px-5" > -
推送渠道
+
消息推送
diff --git a/ui/src/pages/setting/Notify.tsx b/ui/src/pages/setting/Notify.tsx index de5ff52d..0fb66820 100644 --- a/ui/src/pages/setting/Notify.tsx +++ b/ui/src/pages/setting/Notify.tsx @@ -4,48 +4,54 @@ import { AccordionItem, AccordionTrigger, } from "@/components/ui/accordion"; +import { Input } from "@/components/ui/input"; +import { Textarea } from "@/components/ui/textarea"; import React from "react"; const Notify = () => { return ( -
- - - 邮箱 - - Yes. It adheres to the WAI-ARIA design pattern. - - + <> +
+ + + 模板 + + + + + + +
+
+ + + 钉钉 + + Yes. It adheres to the WAI-ARIA design pattern. + + - - 钉钉 - - Yes. It adheres to the WAI-ARIA design pattern. - - + + Telegram + + Yes. It adheres to the WAI-ARIA design pattern. + + - - 微信公众号 - - Yes. It adheres to the WAI-ARIA design pattern. - - - - - Telegram - - Yes. It adheres to the WAI-ARIA design pattern. - - - - - Webhook - - Yes. It adheres to the WAI-ARIA design pattern. - - - -
+ + Webhook + + Yes. It adheres to the WAI-ARIA design pattern. + + +
+
+ ); };