2***@qq.com
2***@qq.com
  • 发布:2019-07-13 13:46
  • 更新:2019-07-13 13:46
  • 阅读:494

【报Bug】plus.webview.create style 参数 background bug?

分类:HTML5+

设置 background 后,直接看代码吧。

            var sub = plus.webview.create(urlId, urlId, {  
                // top: 350 + 'px',  
                top: ($('.pui-header')[0].offsetHeight + lei_xing_qie_huan.offsetHeight) + 'px',  
                // height: (doc.body.offsetHeight - $('.pui-header')[0].offsetHeight - lei_xing_qie_huan.offsetHeight) + 'px',  
                bottom: 0,  
                **background**: '#f00'  
            }, {  
                tapFlag: tapFlag  
            });

如果不设置 background,下面列表的位置就显示正常了,请看图:

奇怪,background 占位置了?

2019-07-13 13:46 负责人:无 分享
已邀请:

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