mirror of
https://github.com/cocos/cocos-engine.git
synced 2026-09-06 15:48:37 +08:00
24 lines
609 B
Plaintext
Executable File
24 lines
609 B
Plaintext
Executable File
<!--index.wxml-->
|
|
<view class="container">
|
|
<view class="weui-cell weui-cell_input">
|
|
<input class="weui-input"
|
|
auto-focus
|
|
bindinput="onKeyboardInput"
|
|
bindblur="onKeyboardComplete"
|
|
bindconfirm="onKeyboardConfirm"
|
|
confirm-type="{{confirmType}}"
|
|
password="{{isPassword}}"
|
|
maxLength="{{maxLength}}"
|
|
wx:if="{{showInput}}"
|
|
/>
|
|
</view>
|
|
<canvas
|
|
type="webgl"
|
|
id="myCanvas"
|
|
bindtouchstart="touchStart"
|
|
bindtouchmove="touchMove"
|
|
bindtouchend="touchEnd"
|
|
bindtouchcancel="touchCancel"
|
|
></canvas>
|
|
</view>
|