// html视图IFrame .view-content__body__iframe { vertical-align:top; border-width: 0px; } .view-content__body__error, .view-content__body__iframe { width: 100%; height: 100%; } .view-content__body__error__body { height: 380px; width: 670px; position: absolute; top: calc((100% - 400px) / 2); left: calc((100% - 670px) / 2); display: flex; align-items: center; } .view-content__body__error__text { padding-left: 20px; .error__text__item1 { font-size: 20px; margin-bottom: 20px; } .error__text__item2 { font-size: 14px; } }