<view><view class="{{['r-canvas-component',(hidden)?'hidden':'']}}" style="{{'width:'+(canvas_width/scale+'px')+';'+('height:'+(canvas_height/scale+'px')+';')}}"><block wx:if="{{canvas_id}}"><canvas class="r-canvas" style="{{'width:'+(canvas_width+'px')+';'+('height:'+(canvas_height+'px')+';')+('transform:'+('scale('+r_canvas_scale+')')+';')}}" canvas-id="{{canvas_id}}" id="{{canvas_id}}"></canvas></block></view></view>