wangbing 5 years ago
parent 4c0acf5e0e
commit bd0a764736

@ -8,7 +8,7 @@
readonly readonly
:label="label" :label="label"
@click="onPick" @click="onPick"
right-icon="clock-o" right-icon="calender-o"
placeholder="请选择日期"/> placeholder="请选择日期"/>
<van-popup <van-popup
v-model="showPopup" v-model="showPopup"

@ -8,7 +8,7 @@
readonly readonly
:label="label" :label="label"
@click="onPick" @click="onPick"
right-icon="clock-o" right-icon="calender-o"
placeholder="请选择日期时间"/> placeholder="请选择日期时间"/>
<van-popup <van-popup
v-model="showPopup" v-model="showPopup"

@ -8,12 +8,13 @@
readonly readonly
:label="label" :label="label"
@click="onPick" @click="onPick"
right-icon="clock-o" right-icon="idcard"
placeholder="证件号码"/> placeholder="证件号码"/>
<van-popup <van-popup
:overlay="false" :overlay-style="{ backgroundColor: 'rgba(0,0,0,0)'}"
v-model="showPopup" v-model="showPopup"
:style="{ height: '216px' }"
position="bottom"> position="bottom">
<keyboard :keyGroup="keyGroup"/> <keyboard :keyGroup="keyGroup"/>
</van-popup> </van-popup>

@ -1,18 +1,18 @@
<template> <template>
<div class="van-number-keyboard van-number-keyboard--custom van-number-keyboard--safe-area-inset-bottom" <div class="van-number-keyboard van-number-keyboard--custom van-number-keyboard--safe-area-inset-bottom"
style="z-index: 100;"> style="z-index: 100;">
<div class="van-number-keyboard__body"><i role="button" tabindex="0" class="van-hairline van-key">1</i><i <div class="van-number-keyboard__body">
role="button" tabindex="0" class="van-hairline van-key">2</i><i role="button" tabindex="0" <i role="button" tabindex="0" class="van-hairline van-key">1</i>
class="van-hairline van-key">3</i><i <i role="button" tabindex="0" class="van-hairline van-key">2</i>
role="button" tabindex="0" class="van-hairline van-key">4</i><i role="button" tabindex="0" <i role="button" tabindex="0" class="van-hairline van-key">3</i>
class="van-hairline van-key">5</i><i <i role="button" tabindex="0" class="van-hairline van-key">4</i>
role="button" tabindex="0" class="van-hairline van-key">6</i><i role="button" tabindex="0" <i role="button" tabindex="0" class="van-hairline van-key">5</i>
class="van-hairline van-key">7</i><i <i role="button" tabindex="0" class="van-hairline van-key">6</i>
role="button" tabindex="0" class="van-hairline van-key">8</i><i role="button" tabindex="0" <i role="button" tabindex="0" class="van-hairline van-key">7</i>
class="van-hairline van-key">9</i><i <i role="button" tabindex="0" class="van-hairline van-key">8</i>
role="button" tabindex="0" class="van-hairline van-key van-key--middle">0</i><i role="button" <i role="button" tabindex="0" class="van-hairline van-key">9</i>
tabindex="0" <i role="button" tabindex="0" class="van-hairline van-key van-key--middle">0</i>
class="van-hairline van-key">.</i> <i role="button" tabindex="0" class="van-hairline van-key">.</i>
</div> </div>
<div class="van-number-keyboard__sidebar"><i role="button" tabindex="0" <div class="van-number-keyboard__sidebar"><i role="button" tabindex="0"
class="van-hairline van-key van-key--delete van-key--big van-key--gray van-key--delete">删除</i><i class="van-hairline van-key van-key--delete van-key--big van-key--gray van-key--delete">删除</i><i
@ -23,8 +23,7 @@
</template> </template>
<script> <script>
export default{ export default{
components: { components: {},
},
data(){ data(){
return { return {
value: '', value: '',

Loading…
Cancel
Save

Powered by TurnKey Linux.