DatePicker: fix panel style, #318

pull/467/head
qingwei.li 2016-10-17 23:10:12 +08:00
parent baf3d192d8
commit dcb8a17c69
3 changed files with 15 additions and 3 deletions

View File

@ -7,6 +7,10 @@
- 修复 Form reset method 对日期控件不起效的问题
- 修复 Dialog 和 Message Box 在 body 无溢出时错误地添加 padding-right 的问题
- 修复 Message Box 的 prompt 在打开时会携带之前的验证状态的问题
- 修复 Clickoutside 性能问题 #296
- 修复 Tooltip/Popover 首次渲染的箭头位置 #412
- 修复 Autocomplete 的弹出框不会消失 #439
- 修复 DatePicker 弹出框样式溢出边框 #318
#### 非兼容性更新

View File

@ -26,8 +26,12 @@
width: 100%;
}
@e editor {
@e editor-wrap {
flex: 1;
position: relative;
}
@e editor {
margin: 0 5px;
position: relative;
border: 1px solid #c0ccda;

View File

@ -21,12 +21,16 @@
</div>
<div class="el-picker-panel__body">
<div class="el-date-picker__time-header" v-if="showTime">
<input
<span class="el-date-picker__editor-wrap">
<input
:placehoder="$t('datepicker.selectDate')"
type="text"
v-model="visibleDate"
class="el-date-picker__editor">
<span style="position: relative" v-clickoutside="closeTimePicker">
</span>
<span
class="el-date-picker__editor-wrap"
v-clickoutside="closeTimePicker">
<input
ref="input"
@focus="timePickerVisible = true"