vue移动端transition兼容
vue移动端transition兼容
.face-recognition
.wrapper(:style="{height: viewHeight+'px'}")
.face-recognition{ height: 100%; display: flex; flex-direction: column; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background-color: #ffffff; .wrapper{ position: relative; overflow: auto; -webkit-overflow-scrolling: touch; } }
this.viewHeight = document.querySelector('#app').getBoundingClientRect().height;
https://www.tongbiao.xyz/