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;

  

 

posted on 2019-08-19 18:04  童彪  阅读(708)  评论(0编辑  收藏  举报

导航