From c7c8ffc45341873c3e6f6005d77fc7cbfb44c252 Mon Sep 17 00:00:00 2001 From: zhuyu Date: Mon, 26 May 2025 11:50:08 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feature:=20=E9=9D=A2=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/view/dashboard/task.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/application/admin/view/dashboard/task.html b/application/admin/view/dashboard/task.html index 6a910e7..21e88cf 100644 --- a/application/admin/view/dashboard/task.html +++ b/application/admin/view/dashboard/task.html @@ -67,6 +67,16 @@ color: #999; } + .no-task { + padding: 20px; + text-align: center; + color: #888; + font-size: 14px; + background: #fff; + border: 1px dashed #ccc; + border-radius: 6px; + } + /* 响应式:小屏变成1列 */ @media (max-width: 1024px) { .dashboard { @@ -90,6 +100,7 @@

每日任务

+ {if $day} {foreach $day as $item} {if $item->status != 1}
@@ -100,11 +111,15 @@
{$item->desc}
{/foreach} + {else} +
暂无任务
+ {/if}

每周任务

+ {if $week} {foreach $week as $item} {if $item->status != 1}
@@ -115,11 +130,15 @@
{$item->desc}
{/foreach} + {else} +
暂无任务
+ {/if}

每月任务

+ {if $month} {foreach $month as $item} {if $item->status != 1}
@@ -130,6 +149,9 @@
{$item->desc}
{/foreach} + {else} +
暂无任务
+ {/if}
From 75e5a9e5098a23b51f3735407522fb9cd59b8d20 Mon Sep 17 00:00:00 2001 From: zhuyu Date: Mon, 26 May 2025 11:56:00 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feature:=20=E9=9D=A2=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/view/dashboard/task.html | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/application/admin/view/dashboard/task.html b/application/admin/view/dashboard/task.html index 21e88cf..d0f4c27 100644 --- a/application/admin/view/dashboard/task.html +++ b/application/admin/view/dashboard/task.html @@ -67,16 +67,6 @@ color: #999; } - .no-task { - padding: 20px; - text-align: center; - color: #888; - font-size: 14px; - background: #fff; - border: 1px dashed #ccc; - border-radius: 6px; - } - /* 响应式:小屏变成1列 */ @media (max-width: 1024px) { .dashboard { @@ -112,7 +102,7 @@ {/foreach} {else} -
暂无任务
+
暂无任务
{/if} @@ -131,7 +121,7 @@ {/foreach} {else} -
暂无任务
+
暂无任务
{/if} @@ -150,7 +140,7 @@ {/foreach} {else} -
暂无任务
+
暂无任务
{/if}