From 00506cef3fcc248e95c782d6a497f27d703522fb Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 24 Aug 2026 12:54:08 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A1=B6=E9=83=A8=E5=BE=85=E5=8A=9E?= =?UTF-8?q?=E8=A7=92=E6=A0=87=20+=201=E5=88=86=E9=92=9F=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E5=88=B7=E6=96=B0=20+=20=E6=88=91=E7=9A=84=E5=BE=85=E5=8A=9E?= =?UTF-8?q?=E5=85=A5=E5=8F=A3(=E7=82=B9=E5=87=BB=E5=81=9A=E4=BA=8B)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/index.ui | 27 +++++++++++++++++++++++++++ wwwroot/user_menu.ui | 5 +++++ 2 files changed, 32 insertions(+) diff --git a/wwwroot/index.ui b/wwwroot/index.ui index bd2dd61..8aacf95 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -53,6 +53,25 @@ "url": "{{entire_url('i18n/language.ui')}}" } }, + { + "widgettype": "Button", + "id": "todo_badge", + "options": { + "label": "", + "css": "text", + "color": "#fbbf24", + "cfontsize": 0.85 + }, + "binds": [ + { + "wid": "self", + "event": "click", + "actiontype": "script", + "target": "self", + "script": "if(window.openMyTodos){openMyTodos();}" + } + ] + }, { "widgettype": "urlwidget", "options": { @@ -377,6 +396,14 @@ } } ] + }, + { + "widgettype": "Html", + "options": { + "html": "", + "height": "0", + "width": "0" + } } ] } \ No newline at end of file diff --git a/wwwroot/user_menu.ui b/wwwroot/user_menu.ui index 559f5b1..62bb9fd 100644 --- a/wwwroot/user_menu.ui +++ b/wwwroot/user_menu.ui @@ -8,6 +8,11 @@ "width":"75%" }, "items":[ + { + "name":"my_todos", + "label":"我的待办", + "script":"if(window.openMyTodos){openMyTodos();}" + }, { "name":"aboutme", "label":"我",