D:\phpstudy_pro\WWW\ymh\public\index.php
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| our application. We just need to utilize it! We'll simply require it
| into the script here so that we don't have to worry about manual
| loading any of our classes later on. It feels great to relax.
|
*/
require __DIR__.'/../vendor/autoload.php';
/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let us turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight our users.
|
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
/*
D:\phpstudy_pro\WWW\ymh\public\index.php
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| our application. We just need to utilize it! We'll simply require it
| into the script here so that we don't have to worry about manual
| loading any of our classes later on. It feels great to relax.
|
*/
require __DIR__.'/../vendor/autoload.php';
/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let us turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight our users.
|
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
/*
D:\phpstudy_pro\WWW\ymh\storage\framework\views\3f6354b5692825b6ca2dc6db9c92b0debfed5b3c.php
</div>
</div>
</div>
</nav>
</div>
<div class="top-bar" style="height:100px;max-width:750px;margin:0 auto;top: 0;width: 100%;z-index: 10;left:auto">
<div class="bar-inner" style="background-color:#FF4E82;height:60px">
<a href="<?php echo e(route('website.index')); ?>" class="location"><img class=" lazy-loaded"src="<?php echo e(asset('/static/images/logo1.png')); ?> " ></a>
<form role="search" id="top-search-form" action="<?php echo e(route('auth.search.index')); ?>" method="GET"class="search" style="background-color:white" >
<span class="btn btn-link"><span class="sr-only">搜索</span><span class="glyphicon glyphicon-search"></span></span>
<input type="text" name="word" id="searchBox" placeholder="瘦脸针" />
</form>
<?php if(Auth()->check()): ?>
<a class="person" href="<?php echo e(route('auth.space.index',['user_id'=>Auth()->user()->id])); ?>" ><img class=" lazy-loaded"class=" lazy-loaded"class=" lazy-loaded"src="<?php echo e(asset('/static/images/login.png')); ?> " ></a>
<?php else: ?>
<a class="person" href="<?php echo e(route('auth.user.login')); ?>" ><img class=" lazy-loaded"src="<?php echo e(asset('/static/images/login.png')); ?> " ></a>
<?php endif; ?>
</div>
<div class="bar-inner" style="margin:0;padding:0;height:40px;background-color:#f6f7fb;line-height:40px">
<a href="<?php echo e(route('website.index')); ?>" class="item" style="height:40px;;line-height:40px"><div style="height:40px;line-height:40px;font-width:Medium;<?php if(request()->route()->getName() == 'website.index'): ?>color:#FF4E82;<?php endif; ?> ">首页</div></a>
<a href="<?php echo e(route('website.ask')); ?>" class="item " style="height40px;line-height:40px"><div style=" height:40px;line-height:40px;font-width:Medium;<?php if(request()->route()->getName() == 'website.ask'): ?>color:#FF4E82; <?php endif; ?> ">问答</div></a>
<a href="<?php echo e(route('website.topic')); ?>" class="item "style="height:40px;line-height:40px"><div style="height:40px;line-height:40px;font-width:Medium;<?php if(request()->route()->getName() == 'website.topic'): ?>color:#FF4E82; <?php endif; ?> ">医院</div></a>
<a href="<?php echo e(route('website.experts')); ?>" class="item "style="height:40px;line-height:40px"><div style="height:40px;line-height:40px;font-width:Medium;<?php if(request()->route()->getName() == 'website.experts'): ?>color:#FF4E82; <?php endif; ?> ">医生</div></a>
<a href="<?php echo e(route('website.case')); ?>" class="item"style="height:40px;line-height:40px"><div style="height:40px;line-height:40px;font-width:Medium;<?php if(request()->route()->getName() == 'website.case'): ?>color:#FF4E82; <?php endif; ?> ">案例</div></a>
<a href="<?php echo e(route('website.blog')); ?>" class="item"style="height:40px;line-height:40px"><div style="height:40px;line-height:40px;font-width:Medium;<?php if(request()->route()->getName() == 'website.blog'): ?>color:#FF4E82; <?php endif; ?> ">知识</div></a>
</div>
</div>
<?php if(request()->route()->getName() == 'website.index'): ?>
<div class="category" style="background:#FFFFFF">
<div id="categorySwiper" class="swiper-container swiper-container-horizontal">
<div class="swiper-wrapper" style="transform: translate3d(0px, 0px, 0px);">
<div class="swiper-slide swiper-slide-active" >
<div class="con" style="padding:10px">
<div class="item-list">
<a href="<?php echo e(route('ask.project.index',['categorySlug'=>'yzhwd'])); ?>" rel="nofollow" class="categoryItem item" ><div class="img-container"><div class="placeholder"></div><img class="img lazy-loaded" src="<?php echo e(asset('/static/images/1.png')); ?>"></div><span class="txt" >眼部</span></a>
<a href="<?php echo e(route('ask.project.index',['categorySlug'=>'bzhwd'])); ?>" rel="nofollow" class="categoryItem item"><div class="img-container"><div class="placeholder"></div><img class="img lazy-loaded" src="<?php echo e(asset('/static/images/2.png')); ?>"></div><span class="txt">鼻部</span></a>
<a href="<?php echo e(route('ask.project.index',['categorySlug'=>'ztzftcwd'])); ?>" rel="nofollow" class="categoryItem item" ><div class="img-container"><div class="placeholder"></div><img class="img lazy-loaded" src="<?php echo e(asset('/static/images/3.png')); ?>"></div><span class="txt">脂肪填充</span></a>
<a href="<?php echo e(route('ask.project.index',['categorySlug'=>'glxwd'])); ?>" rel="nofollow" class="categoryItem item" ><div class="img-container"><div class="placeholder"></div><img class="img lazy-loaded" src="<?php echo e(asset('/static/images/4.png')); ?>"></div><span class="txt">改脸型</span></a>
<a href="<?php echo e(route('ask.project.index',['categorySlug'=>'xzwd'])); ?>" rel="nofollow" class="categoryItem item" ><div class="img-container"><div class="placeholder"></div><img class="img lazy-loaded" src="<?php echo e(asset('/static/images/5.png')); ?>"></div><span class="txt"> 吸脂</span></a>
</div>
Arguments
"Call to a member function getName() on null"
D:\phpstudy_pro\WWW\ymh\public\index.php
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| our application. We just need to utilize it! We'll simply require it
| into the script here so that we don't have to worry about manual
| loading any of our classes later on. It feels great to relax.
|
*/
require __DIR__.'/../vendor/autoload.php';
/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let us turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight our users.
|
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
/*