Browse Source

优化社区数据显示样式

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

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

@ -43,8 +43,8 @@ class TotalAmount extends Card
$url = url('admin/mm_withdraw/create');
}
return <<<HTML
<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>
<div class="d-flex justify-content-between align-items-center mt-1" style="margin-bottom: 2px">
<h2 class="ml-1 font-large-1 text-primary">{$content}</h2>
</div>
<a type="button" href="{$url}" style="float: right; margin-right: 10px;margin-top: 15px" class="btn btn-outline-primary">提现</a>

4
app/Admin/Metrics/Examples/Community/TotalCommunity.php

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

4
app/Admin/Metrics/Examples/Community/TotalUser.php

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

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

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

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

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

Loading…
Cancel
Save