Browse Source

数据卡片样式调整

master
lanzu_qinsheng 5 years ago
parent
commit
dc9d7ec79b
  1. 2
      app/Admin/Metrics/Examples/Community/TotalAmount.php
  2. 2
      app/Admin/Metrics/Examples/Order/OrderData.php
  3. 2
      app/Admin/Metrics/Examples/ServiceCard/TotalStore.php

2
app/Admin/Metrics/Examples/Community/TotalAmount.php

@ -32,7 +32,7 @@ class TotalAmount extends Card
{ {
$content = parent::renderContent(); $content = parent::renderContent();
return <<<HTML return <<<HTML
<div class="d-flex justify-content-between align-items-center mt-1" style="margin-bottom: 2px">
<div class="d-flex justify-content-between bg-primary align-items-center mt-1" style="margin-bottom: 2px">
<h2 class="ml-1 font-large-1">{$content}</h2> <h2 class="ml-1 font-large-1">{$content}</h2>
</div> </div>
HTML; HTML;

2
app/Admin/Metrics/Examples/Order/OrderData.php

@ -121,7 +121,7 @@ class OrderData extends Card
{ {
$content = parent::renderContent(); $content = parent::renderContent();
return <<<HTML return <<<HTML
<div class="d-flex justify-content-between align-items-center mt-1" style="margin-bottom: 2px">
<div class="d-flex justify-content-between bg-primary align-items-center mt-1" style="margin-bottom: 2px">
<h2 class="ml-1 font-large-1">{$content}</h2> <h2 class="ml-1 font-large-1">{$content}</h2>
</div> </div>
HTML; HTML;

2
app/Admin/Metrics/Examples/ServiceCard/TotalStore.php

@ -106,7 +106,7 @@ class TotalStore extends Card
{ {
$content = parent::renderContent(); $content = parent::renderContent();
return <<<HTML return <<<HTML
<div class="d-flex justify-content-between align-items-center mt-1" style="margin-bottom: 2px">
<div class="d-flex justify-content-between bg-primary align-items-center mt-1" style="margin-bottom: 2px">
<h2 class="ml-1 font-large-1">{$content}</h2> <h2 class="ml-1 font-large-1">{$content}</h2>
</div> </div>
HTML; HTML;

Loading…
Cancel
Save