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}