<camera device-position="back" flash="off" style=" 100%; height: 100%;"></camera>
在使用camera组件时设置高宽都为100%以便占满屏幕时,发现
camera
100%
在对应page的wxss中添加以下样式即可:
page { height: 100%; }