32 lines
499 B
PHP
32 lines
499 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace admin\components\UI\Components;
|
||
|
|
|
||
|
|
use Illuminate\View\Component;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 趋势图标
|
||
|
|
* Class Trend
|
||
|
|
* @package backend\components\UI\Components
|
||
|
|
*/
|
||
|
|
class Trend extends Component
|
||
|
|
{
|
||
|
|
public $type;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @param $type
|
||
|
|
*/
|
||
|
|
public function __construct($type)
|
||
|
|
{
|
||
|
|
$this->type = $type;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @return mixed
|
||
|
|
*/
|
||
|
|
public function render()
|
||
|
|
{
|
||
|
|
return view('vendor.duxphp.duxravel-app.src.core.UI.View.Components.trend');
|
||
|
|
}
|
||
|
|
}
|