feature: 面板
This commit is contained in:
parent
01ff921514
commit
d21f64d4a7
|
|
@ -57,6 +57,15 @@
|
|||
color: #666;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.card.completed .title {
|
||||
text-decoration: line-through;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.card.completed .note {
|
||||
text-decoration: line-through;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
/* 响应式:小屏变成1列 */
|
||||
@media (max-width: 1024px) {
|
||||
|
|
@ -82,7 +91,11 @@
|
|||
<div class="section">
|
||||
<h3 class="section-title">每日任务</h3>
|
||||
{foreach $day as $item}
|
||||
{if $item->status != 1}
|
||||
<div class="card completed" data-url="/admin/dashboard/task_complete/ids/{$item->id}">
|
||||
{else}
|
||||
<div class="card spec_add_btn" data-url="/admin/dashboard/task_complete/ids/{$item->id}">
|
||||
{/if}
|
||||
<div class="title">{$item->title}</div>
|
||||
<div class="note">{$item->desc}</div>
|
||||
</div>
|
||||
|
|
@ -93,7 +106,11 @@
|
|||
<div class="section">
|
||||
<h3 class="section-title">每周任务</h3>
|
||||
{foreach $week as $item}
|
||||
{if $item->status != 1}
|
||||
<div class="card completed" data-url="/admin/dashboard/task_complete/ids/{$item->id}">
|
||||
{else}
|
||||
<div class="card spec_add_btn" data-url="/admin/dashboard/task_complete/ids/{$item->id}">
|
||||
{/if}
|
||||
<div class="title">{$item->title}</div>
|
||||
<div class="note">{$item->desc}</div>
|
||||
</div>
|
||||
|
|
@ -104,7 +121,11 @@
|
|||
<div class="section">
|
||||
<h3 class="section-title">每月任务</h3>
|
||||
{foreach $month as $item}
|
||||
{if $item->status != 1}
|
||||
<div class="card completed" data-url="/admin/dashboard/task_complete/ids/{$item->id}">
|
||||
{else}
|
||||
<div class="card spec_add_btn" data-url="/admin/dashboard/task_complete/ids/{$item->id}">
|
||||
{/if}
|
||||
<div class="title">{$item->title}</div>
|
||||
<div class="note">{$item->desc}</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user