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">×</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>
我的意思是面板設計與我的模態不一樣 – azdejo