只需要在img标签上面增加一个类名即可 class="img-responsive center-block" 转载于:https://www.cnblogs.com/a-record/p/9078284.html