2016-09-03 60 views

回答

0

你可以試試這個,面板裏面的莫代爾窗口。

<button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal"> 
    Launch demo modal 
</button> 

<!-- Modal --> 
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> 
    <div class="modal-dialog"> 
    <div class="modal-content"> 
     <div class="modal-header"> 
     <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button> 
     <h4 class="modal-title" id="myModalLabel">Panel inside of Modal window</h4> 
     </div> 
     <div class="modal-body"> 
     <div class="row"> 
      <div class="col-md-4"> 
      <div class="panel panel-default"> 
       <div class="panel-heading">Panel title</div> 
       <div class="panel-body"> 
       Panel content 
       </div> 
      </div> 
      </div> 
      <div class="col-md-4"> 
      <div class="panel panel-default"> 
       <div class="panel-heading"> 
       <h3 class="panel-title">Panel title</h3> 
       </div> 
       <div class="panel-body"> 
       Panel content 
       </div> 
      </div> 
      </div> 
      <div class="col-md-4"> 
      <div class="panel panel-default"> 
       <div class="panel-heading"> 
       <h3 class="panel-title">Panel title</h3> 
       </div> 
       <div class="panel-body"> 
       Panel content 
       </div> 
      </div> 
      </div> 
     </div> 
     <div class="modal-footer"> 
     <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> 
     <button type="button" class="btn btn-primary">Save changes</button> 
     </div> 
    </div> 
    </div> 
</div> 
+0

我的意思是面板設計與我的模態不一樣 – azdejo