roller
roller
  • 发布:2016-05-27 11:41
  • 更新:2016-05-30 09:46
  • 阅读:2083

导航放在子页面让他一直浮动在顶部怎么弄?

分类:MUI

这个是移动端的css代码
height: 45px;
position: fixed;
top: 0px;
left: 0;
right: 0;
background-color: #ECECEC;
z-index: 2;

但是在app中就不能浮动,怎么样才能让子页面的导航一直浮动,由于业务需求这个导航不能放在父页面,

2016-05-27 11:41 负责人:无 分享
已邀请:
maq

maq

建议检查一下样式是不是被改变了,比如 css 覆盖,比如 js 改写。

工具:使用Chrome调试

该问题目前已经被锁定, 无法添加新回复