/* pages/lishi/lishi.wxss */ .play-view{ position: fixed; height: 100%; width: 100%; z-index: 5; top: 0; background: #fff; text-align: center; } .play-view>video{ width:100%; max-height: 500px; }