解决方法: 在最外面加一个div用red测试 <div style="width:100%;height:10px;background:#fff;" v-show="showphotodetail"> </div>