dexteryy / CardKit

A mobile UI library provides a series of building blocks which are all components built on DarkDOM and Moui.
http://ozjs.org/CardKit
703 stars 141 forks source link

Android下的问题 #17

Open alphat opened 10 years ago

alphat commented 10 years ago

qq20140221111409

两边都短时,是这样的 image 暂时我只有把前半端注释掉, 有没有好一点的方法呢?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

dexteryy commented 10 years ago

最新的v2.0里应该没这个问题。v1.x的话,我记得只要ck-page里包含ck-footer组件,右边就会自动撑满屏幕,而左边navdrawer是完全自定义样式的,可以用这种结构:

<div class="my-navdrawer-bg"></div>
<div class="my-navdrawer">
...
</div>

.my-navdrawer-bg设成position:fixed/absolute;top:0;bottom:0;