链街Dcat后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
538 B

6 years ago
  1. <?php
  2. namespace App\Admin\Metrics\Examples\ServiceCard;
  3. use Dcat\Admin\Widgets\Metrics\Card;
  4. class TotalStore extends Card
  5. {
  6. protected function init()
  7. {
  8. parent::init();
  9. $this->title = '商户数';
  10. $this->content(222);
  11. }
  12. public function renderContent()
  13. {
  14. $content = parent::renderContent();
  15. return <<<HTML
  16. <div class="d-flex justify-content-between align-items-center mt-1" style="margin-bottom: 2px">
  17. <h2 class="ml-1 font-large-1">{$content}</h2>
  18. </div>
  19. HTML;
  20. }
  21. }