xinyu-cross-canvas.wxml 535 B

1
  1. <view><view style="{{'width:'+(styleWidth==-1?$root.m0:$root.m1)+';'+('height:'+(styleHeight==-1?'100vh':$root.m2)+';')}}"><canvas style="{{'width:'+(styleWidth==-1?$root.m3:$root.m4)+';'+('height:'+(styleHeight==-1?'100vh':$root.m5)+';')}}" type="2d" disable-scroll="{{true}}" id="{{id}}" data-event-opts="{{[['touchstart',[['onTouch',['start','$event']]]],['touchmove',[['onTouch',['move','$event']]]],['touchend',[['onTouch',['end','$event']]]]]}}" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"></canvas></view></view>