<?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\Support\MemberLoginCheck; class MemberController extends MemberFrameController implements MemberLoginCheck { private $api; public function __construct(\Module\Member\Api\Controller\MemberController $dXFTb) { parent::__construct(); $this->api = $dXFTb; } public function index(WebPage $WLCMC) { goto xOBQu; vZtOi: View::share($tnNXa); goto YoNBm; J6Swn: return $WLCMC; goto o_eV2; gbMhy: $tnNXa = Response::tryGetData($this->api->current()); goto vZtOi; xOBQu: list($faKDa, $M8iSg) = $this->viewPaths('member.index'); goto tzYez; YoNBm: $WLCMC->pageTitle('我的'); goto J6Swn; tzYez: $WLCMC->view($faKDa); goto BUoEW; BUoEW: foreach (MemberHomeIcon::get() as $VDHUR) { $WLCMC->append(Box::make(new Row(function (Row $B1vjt) use($VDHUR) { foreach ($VDHUR['children'] as $LWxXx) { $qQcPQ = isset($LWxXx['value']) ? $LWxXx['value'] : null; $B1vjt->column(array('md' => 2, '' => 4), DashboardItemA::makeIconTitleValueLink($LWxXx['icon'], $LWxXx['title'], $qQcPQ, $LWxXx['url'])); } }), $VDHUR['title'])); } goto gbMhy; o_eV2: } }