给Anchor添加container属性:以图为例 2.contract-detail这个类的样式 .contract-detail { width: 100%; overflow-y: scroll; }