设置fixed,并通过top将他排除在可视范围内即可
<view id="canvas"> <canvas style="width: 600px; height: 400px;" canvas-id="myCanvas"></canvas> </view> #canvas{ position: fixed; top: -9999999999999rpx; }
网友回复
设置fixed,并通过top将他排除在可视范围内即可
<view id="canvas"> <canvas style="width: 600px; height: 400px;" canvas-id="myCanvas"></canvas> </view> #canvas{ position: fixed; top: -9999999999999rpx; }
网友回复