centaline-data-driven 1.3.79 → 1.3.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="field-top">
|
|
3
3
|
<div style="width:100%;" :style="{ display: (model.inputType === 'textarea' ? 'block' : 'flex') }">
|
|
4
|
-
<div v-if="model !== null" class="ct-text ct-flex-div max-flex-div" style="flex:1;"
|
|
4
|
+
<div v-if="model !== null" class="ct-text ct-flex-div max-flex-div hoverColor" style="flex:1;"
|
|
5
5
|
:class="[model.showLabel?'el-input-group el-input-group--prepend':'',!valid?'inputError':'',model.attrs.size?'ct-font-size-'+model.attrs.size:'']"
|
|
6
6
|
@mouseover="mouseOverHandle" @mouseout="mouseOutHandle">
|
|
7
7
|
<div v-if="model.showLabel && model.label" class="el-input-group__prepend field-label-div max-input-group" :class="[model.labelClass]">
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
@keyup.enter.native="search()">
|
|
14
14
|
<span slot="suffix" v-if="model.unitName" class="ct-unitname" :class="showClear?'unitName-20':'unitName-0'">{{model.unitName}}</span>
|
|
15
15
|
|
|
16
|
-
<span slot="suffix" class="el-input__suffix el-input--mini" v-if="!model.isPassword&&showClear" :class="model.unitName?'ct-right-10':'ct-right-0'">
|
|
16
|
+
<span slot="suffix" class="el-input__suffix el-input--mini is-show-Span" v-if="!model.isPassword&&showClear" :class="model.unitName?'ct-right-10':'ct-right-0'">
|
|
17
17
|
<span class="el-input__suffix-inner ct-close">
|
|
18
18
|
<i class="el-select__caret el-input__icon el-icon-circle-close is-show-close" @click="clearClickHandle($event)"></i>
|
|
19
19
|
</span>
|
|
@@ -108,4 +108,16 @@
|
|
|
108
108
|
.errorMessageMarginLeft {
|
|
109
109
|
margin-left: 108px;
|
|
110
110
|
}
|
|
111
|
+
|
|
112
|
+
.hoverColor:hover {
|
|
113
|
+
border-color: #409EFF;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.is-show-Span {
|
|
117
|
+
display: none;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.hoverColor:hover .is-show-Span {
|
|
121
|
+
display: inline-block;
|
|
122
|
+
}
|
|
111
123
|
</style>
|