boot模态框
Posted 教父123
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了boot模态框相关的知识,希望对你有一定的参考价值。
<div class="modal fade bs-example-modal-lg" id="jsonModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"> <div class="modal-dialog" role="document" style=""> <div class="modal-content col-md-12" style="width:1000px !important;margin:50%;transform:translate(-50%,-50%);"> <div class="modal-header" style="padding-left:0;padding-right:0;"> <button type="button" class="close" data-dismiss="modal" aria-label="Close" style=""><span aria-hidden="true">×</span></button> <h4 class="modal-title notice_title" id="myModalLabel" style="font-family:‘微软雅黑‘;font-size:16px;color:#383838;">JSON查看</h4> </div> <div class="modal-body col-md-12" style="padding-left:0;padding-right:0;max-height:800px;overflow-y:scroll;"> <div style="margin:10px;"> <button id="collapse-btn">收起</button> <button id="expand-btn">展开</button> </div> <div id="jsonContent"></div> </div> </div> </div> </div>
<div class="modal fade" id="deal_process_modal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"> <div class="modal-dialog" role="document" style=""> <div class="modal-content col-md-12" style="width:500px;margin:50%;transform:translate(-50%,-25%);"> <div class="modal-header" style="padding-left:0;padding-right:0;"> <button type="button" class="close" data-dismiss="modal" aria-label="Close" style=""><span aria-hidden="true">×</span></button> <h4 class="modal-title notice_title" id="myModalLabel" style="font-family:‘微软雅黑‘;font-size:16px;color:#383838;">处理进度</h4> </div> <div class="modal-body col-md-12" style="padding-left:0;padding-right:0;text-align:center;"> <textarea id="process_content" placeholder="请输入处理进度内容"></textarea> </div> <div class="modal-footer"> <button type="button" class="btn deal_process_sure" >提交</button> <button type="button" class="btn btn-default" data-dismiss="modal">取消</button> </div> </div> </div> </div>
$(‘#deal_process_modal‘).modal({backdrop: ‘static‘});
$(‘#deal_process_modal‘).modal(‘hide‘);
以上是关于boot模态框的主要内容,如果未能解决你的问题,请参考以下文章