画布没有全屏??
HTML代码<view class="page_two hide" hidden="true" id="view">
<div class="type_words"></div>
<canvas id="canvas" ></canvas>
</view>
CSS代码
html{
margin:0px;
width:100%;
height:100%;
padding: 0px;
overflow: hidden;
}
body{
width:100%;
height:100%;
padding:0px;
margin: 0px;
}
#canvas,#view{
width:100%;
height:100%;
}
.hide{ display: none!important; background-image:none!important;}
[此贴子已经被作者于2021-8-9 20:22编辑过]