修改模态框的宽度很简单,修改width属性就可以了 但是要注意的一点是,修改的不是modal这个div 而是modal-dialog这个div,代码如下 bootstrap modal模态框的宽度就修改好了