uniapp微信小程序canvas隐藏
时间:2020-05-25 15:36:45
收藏:0
阅读:349
HTML
我是把canvas嵌套在view里并被view设置id
<view id="canvas"> <canvas style="width: 350px; height: 530px;" canvas-id="firstCanvas"></canvas> </view>
CSS
把它给顶出去
#canvas{ position: fixed; top: -9999999999999rpx; }
评论(0)