ElemeFE / mint-ui

Mobile UI elements for Vue.js
http://mint-ui.github.io/#!/en
MIT License
16.55k stars 3.55k forks source link

[Feature Request] datetime-picker可以支持itemHeight #1557

Open Dongsheng-Zhang opened 5 years ago

Dongsheng-Zhang commented 5 years ago

Existing Component

Component Name

datetiem-picker

Description

需要自定义高度

Dongsheng-Zhang commented 5 years ago

<mt-datetime-picker ref="picker" confirmText="确认" v-model="pickerVisible" type="date" :visibleItemCount="Number(3)" :itemHeight="Number(50)" year-format="{value} 年" month-format="{value} 月" date-format="{value} 日" @confirm="handleConfirm()" @cancel="handleUserCancel()"> </mt-datetime-picker>