<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Member\Web\Controller; use Illuminate\Support\Facades\View; use ModStart\Admin\Widget\DashboardItemA; use ModStart\App\Web\Layout\WebPage; use ModStart\Core\Input\Response; use ModStart\Layout\Row; use ModStart\Widget\Box; use Module\Member\Config\MemberHomeIcon; use Module\Member\Config\MemberHomePanel; use Module\Member\Support\MemberLoginCheck; class MemberController extends MemberFrameController implements MemberLoginCheck { private $api; public function __construct(\Module\Member\Api\Controller\MemberController $pbQhK) { parent::__construct(); $this->api = $pbQhK; } public function index(WebPage $JcqUq) { goto Xq6mN; mkS2o: foreach (MemberHomeIcon::get() as $uOsK7) { $JcqUq->append(Box::make(new Row(function (Row $AO3Sv) use($uOsK7) { foreach ($uOsK7['children'] as $gj84H) { $fo71I = isset($gj84H['value']) ? $gj84H['value'] : null; $AO3Sv->column(array('md' => 2, '' => 4), DashboardItemA::makeIconTitleValueLink($gj84H['icon'], $gj84H['title'], $fo71I, $gj84H['url'])); } }), $uOsK7['title'])); } goto WA5_1; m_znc: $JcqUq->view($qVdRh); goto ojiRm; WA5_1: $sr5M7 = Response::tryGetData($this->api->current()); goto ujeg6; Xq6mN: list($qVdRh, $WsIxu) = $this->viewPaths('member.index'); goto m_znc; ujeg6: View::share($sr5M7); goto XWu8F; ojiRm: foreach (MemberHomePanel::get() as $NFXUq) { $JcqUq->append(new Row(function (Row $AO3Sv) use($NFXUq) { call_user_func_array($NFXUq, array($AO3Sv)); })); } goto mkS2o; XWu8F: $JcqUq->pageTitle('我的'); goto eCaOD; eCaOD: return $JcqUq; goto RxLsi; RxLsi: } }