Commit 087a1313 by 肖康

购物车控制器 路由

parent 2c0ee0e9
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class CarController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
// $this->middleware('auth');
}
/**
* Show the application dashboard.
*
* @return \Illuminate\Contracts\Support\Renderable
*/
public function car()
{
return view('car.car');
}
}
.carbox{
}
\ No newline at end of file
@extends('layouts.appMall')
@section('css')
<link rel="stylesheet" href="{{$public}}/assets/css/car/car.min.css?v={{time()}}">
@endsection
@section('body')
<div class="mallpage">
@include('common.mallHeaderTop')
@include('common.mallHeaderNav')
<div class="carbox w1200">
<div class="bread-menu row boxsiz">
<a href="">Home</a>
<i>></i>
<span>Car</span>
</div>
<div class="cons">
car
</div>
</div>
@include('common.mallFooter')
</div>
@endsection
@section('js')
<script src="{{$public}}/assets/js/car/car.js?v={{time()}}"></script>
@endsection
\ No newline at end of file
......@@ -44,4 +44,6 @@ Route::get('/class', 'ClassificationController@index')->name('classification.ind
Route::get('/brand/map', 'BrandController@map')->name('brand.map');
Route::get('/brand/list', 'BrandController@list')->name('brand.list');
Route::get('/search', 'SearchController@index')->name('search.idnex');
Route::get('/search', 'SearchController@index')->name('search.index');
Route::get('/car', 'CarController@car')->name('car.car');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment