初始化仓库
This commit is contained in:
31
admin/components/UI/Components/Trend.php
Normal file
31
admin/components/UI/Components/Trend.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user