Laravel控制器和视图

@extends('layouts.app')
@section('content')
< div  class="container">
     < div  class="row">
         < div  class="col-md-10 col-md-offset-1">
             < div  class="panel panel-default">
                 < div  class="panel-heading">{{ count($d1) }} div >
                 < div  class="panel-body">
                     this is my view!
                 div >
                 
                 @for($i = 0; $i <  count ($d1); $i++)
                    

{{ $d1[$i]->content }} p >

                 @endfor
                 
             div >
         div >
     div >
div >
@endsection

你可能感兴趣的:(Laravel控制器和视图)