淡淡的记录一下,我今天写的,心情并不是特别的高涨......

 

 

-----------------------------------          html             ---------------------------

<div id='app'>

  <div class='wrap'>

    <!--  title   bar  -->

    <div class='titlebar'>标题</div>

    <!--   tab切换  -->

    <div class='tab-part'></div>

    <!--   tab切换内容  -->

    <div class='tabContentPage'>内容</div>

  </div>

</div>

 

-----------------------------------          css            ---------------------------

 

#app{widht:100%;height100%};

.wrap{width:100%;height:100%;display:flex;flex-direction:column}                  //   开启弹性盒

.tabContentPage {flex:1;overflow:auto;-webkit-overflow-scrolling:touch}         //   显示内容的盒子

 

https://www.cnblogs.com/adengweb/p/5421669.html

附上链接,这个比较齐全,我只是我写一下我自己写的,但是方法都是一样的。

 

相关文章:

  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
  • 2022-02-01
  • 2021-11-23
  • 2021-08-12
  • 2021-11-28
猜你喜欢
  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
相关资源
相似解决方案