mirror of https://github.com/ElemeFE/element
DatePicker: fix panel style, #318
parent
baf3d192d8
commit
dcb8a17c69
|
@ -7,6 +7,10 @@
|
||||||
- 修复 Form reset method 对日期控件不起效的问题
|
- 修复 Form reset method 对日期控件不起效的问题
|
||||||
- 修复 Dialog 和 Message Box 在 body 无溢出时错误地添加 padding-right 的问题
|
- 修复 Dialog 和 Message Box 在 body 无溢出时错误地添加 padding-right 的问题
|
||||||
- 修复 Message Box 的 prompt 在打开时会携带之前的验证状态的问题
|
- 修复 Message Box 的 prompt 在打开时会携带之前的验证状态的问题
|
||||||
|
- 修复 Clickoutside 性能问题 #296
|
||||||
|
- 修复 Tooltip/Popover 首次渲染的箭头位置 #412
|
||||||
|
- 修复 Autocomplete 的弹出框不会消失 #439
|
||||||
|
- 修复 DatePicker 弹出框样式溢出边框 #318
|
||||||
|
|
||||||
#### 非兼容性更新
|
#### 非兼容性更新
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,12 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@e editor {
|
@e editor-wrap {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
@e editor {
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
position: relative;
|
position: relative;
|
||||||
border: 1px solid #c0ccda;
|
border: 1px solid #c0ccda;
|
||||||
|
|
|
@ -21,12 +21,16 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="el-picker-panel__body">
|
<div class="el-picker-panel__body">
|
||||||
<div class="el-date-picker__time-header" v-if="showTime">
|
<div class="el-date-picker__time-header" v-if="showTime">
|
||||||
<input
|
<span class="el-date-picker__editor-wrap">
|
||||||
|
<input
|
||||||
:placehoder="$t('datepicker.selectDate')"
|
:placehoder="$t('datepicker.selectDate')"
|
||||||
type="text"
|
type="text"
|
||||||
v-model="visibleDate"
|
v-model="visibleDate"
|
||||||
class="el-date-picker__editor">
|
class="el-date-picker__editor">
|
||||||
<span style="position: relative" v-clickoutside="closeTimePicker">
|
</span>
|
||||||
|
<span
|
||||||
|
class="el-date-picker__editor-wrap"
|
||||||
|
v-clickoutside="closeTimePicker">
|
||||||
<input
|
<input
|
||||||
ref="input"
|
ref="input"
|
||||||
@focus="timePickerVisible = true"
|
@focus="timePickerVisible = true"
|
||||||
|
|
Loading…
Reference in New Issue