Compare commits

..

No commits in common. "d1ac7cd35968a00471f08cad8791397c35b99067" and "ecc128e51a9aa2da2d7438f6f5955c1dc917f44c" have entirely different histories.

2 changed files with 23 additions and 18 deletions

View File

@ -2,7 +2,6 @@
<el-date-picker <el-date-picker
:style="{ width }" :style="{ width }"
:prefix-icon="iconClass" :prefix-icon="iconClass"
clear-icon="ag-icon-clear"
v-model="dateArr" v-model="dateArr"
v-bind="attrs" v-bind="attrs"
v-on="inputListeners" v-on="inputListeners"
@ -158,7 +157,7 @@ export default {
(item) => item !== null && item !== undefined && item !== "" (item) => item !== null && item !== undefined && item !== ""
) )
) { ) {
this.width = "190px"; this.width = "205px";
this.date_picker = true; this.date_picker = true;
} else { } else {
this.width = "160px"; this.width = "160px";
@ -169,7 +168,14 @@ export default {
deep: true, deep: true,
}, },
}, },
methods: {}, methods: {
mouseleave() {
console.log(999);
},
mousemove() {
console.log(888);
},
},
}; };
</script> </script>
@ -188,22 +194,17 @@ export default {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.el-input__icon.el-range__close-icon { .ag-datePicker {
position: absolute; color: red;
width: 16px; &:hover {
font-size: 16px; .ag-el-icon-prefix-hide {
margin-left: -5px; display: none;
line-height: 30px;
right: 8px;
top: 0;
z-index: 1;
}
.ag-icon-clear {
&:before {
content: "\e6db";
} }
} }
}
// .el-input__icon,
// .el-range__close-icon {
// }
.ag-icon-prefix-show { .ag-icon-prefix-show {
width: 16px; width: 16px;
@ -220,5 +221,9 @@ export default {
.ag-icon-prefix-hide { .ag-icon-prefix-hide {
display: none; display: none;
} }
.el-icon-circle-close:before {
content: "\e6db";
}
} }
</style> </style>

View File

@ -77,7 +77,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep { ::v-deep {
.el-date-editor--daterange.el-input__inner { .el-input__inner {
width: none; width: none;
} }
.el-input__suffix { .el-input__suffix {