users/unpackage/dist/dev/mp-weixin/components/cwx-keyboard/cwx-keyboard.wxml

1 line
1.5 KiB
Plaintext

<view><view data-event-opts="{{[['tap',[['_handleKeyPress',['$event']]]]]}}" class="keyboard" catchtap="__e"><block wx:if="{{!hideInputNumber}}"><block><view class="key-row"><view class="key-cell cell_b" data-num="7">7</view><view class="key-cell cell_b" data-num="8">8</view><view class="key-cell cell_b" data-num="9">9</view><view class="key-cell cell_b" data-num="-1"></view></view><view class="key-row"><view class="key-cell cell_b" data-num="4">4</view><view class="key-cell cell_b" data-num="5">5</view><view class="key-cell cell_b" data-num="6">6</view><view class="key-cell cell_b" data-num="-1"></view></view><view class="key-row"><view class="key-cell cell_b" data-num="1">1</view><view class="key-cell cell_b" data-num="2">2</view><view class="key-cell cell_b" data-num="3">3</view><view class="key-cell cell_b" data-num="-1"></view></view></block></block><block wx:if="{{!hideInputNumber}}"><block><view class="key-zero-and-point"><view class="a cell_b zero" data-num="0">0</view><view class="a cell_b point" data-num=".">.</view></view><view class="key-confirm2" data-num="D" data-event-opts="{{[['touchstart',[['touchstart',['$event']]]],['touchend',[['touchend',['$event']]]]]}}" bindtouchstart="__e" bindtouchend="__e"><text class="jian-btn" data-num="D">←</text></view></block></block><view class="{{['key-confirm','cell_b',hideInputNumber?'longConfirmBtn':'']}}" style="{{'background:'+(btnColor)+';'}}" data-num="S"><view data-num="S"><view class="title" data-num="S">{{title}}</view></view></view></view></view>