<?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 $Us1dU) { parent::__construct(); $this->api = $Us1dU; } public function index(WebPage $iXUoW) { goto shV5a; DkEw8: foreach (MemberHomeIcon::get() as $qMuVL) { $iXUoW->append(Box::make(new Row(function (Row $Kqhka) use($qMuVL) { foreach ($qMuVL['children'] as $XYySW) { $jkY57 = isset($XYySW['value']) ? $XYySW['value'] : null; $Kqhka->column(array('md' => 2, '' => 4), DashboardItemA::makeIconTitleValueLink($XYySW['icon'], $XYySW['title'], $jkY57, $XYySW['url'])); } }), $qMuVL['title'])); } goto jUE8e; shV5a: list($kF488, $iDyn1) = $this->viewPaths('member.index'); goto P8Nk9; SluhR: foreach (MemberHomePanel::get() as $kggsj) { $iXUoW->append(new Row(function (Row $Kqhka) use($kggsj) { call_user_func_array($kggsj, array($Kqhka)); })); } goto DkEw8; Xwrt1: return $iXUoW; goto F3IvD; jUE8e: $i5RkB = Response::tryGetData($this->api->current()); goto ZnZAL; w85FA: $iXUoW->pageTitle('我的'); goto Xwrt1; P8Nk9: $iXUoW->view($kF488); goto SluhR; ZnZAL: View::share($i5RkB); goto w85FA; F3IvD: } }