数字键盘 插件和组件调用
<list-item :item-height="90">
<item>
<div slot="name">数字键盘</div>
<input slot="right" type="number" placeholder="输入" readonly v-model="value" @click="keyboradShow">
</item>
</list-item>
<number-keyboard
:show="true"
title="数字键盘"
extra-key="."
@input="onInput"
@delete="onDelete"/>
keyboradShow() {
let vm = this;
hlsPopup.showNumberKeyborad({
title: '数字键盘',
keyDown: (text) => {
vm.onInput(text);
},
keyDelete: () => {
vm.onDelete()
},
})
},