modify:新增小程序
This commit is contained in:
10
Sale/components/ec-canvas/ec-canvas.wxml
Normal file
10
Sale/components/ec-canvas/ec-canvas.wxml
Normal file
@@ -0,0 +1,10 @@
|
||||
<canvas
|
||||
type="2d"
|
||||
canvas-id="{{ canvasId }}"
|
||||
id="{{ canvasId }}"
|
||||
class="ec-canvas"
|
||||
bindinit="init"
|
||||
bindtouchstart="{{ ec.disableTouch ? '' : 'touchStart' }}"
|
||||
bindtouchmove="{{ ec.disableTouch ? '' : 'touchMove' }}"
|
||||
bindtouchend="{{ ec.disableTouch ? '' : 'touchEnd' }}"
|
||||
></canvas>
|
||||
Reference in New Issue
Block a user