mali-applet-ui 1.0.58 → 1.0.59
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.
|
@@ -38,10 +38,13 @@
|
|
|
38
38
|
</template>
|
|
39
39
|
|
|
40
40
|
<script>
|
|
41
|
+
import XEUtils from 'xe-utils'
|
|
42
|
+
|
|
41
43
|
export default {
|
|
42
44
|
name: 'MlHeaderFilterForm',
|
|
43
45
|
props: {
|
|
44
46
|
value: String,
|
|
47
|
+
filterForm: Object,
|
|
45
48
|
offsetTop: String,
|
|
46
49
|
showSearch: Boolean,
|
|
47
50
|
showPulldown: Boolean,
|
|
@@ -70,12 +73,15 @@ export default {
|
|
|
70
73
|
this.showDownPopup = false
|
|
71
74
|
},
|
|
72
75
|
resetDownEvent () {
|
|
73
|
-
|
|
76
|
+
const { filterForm } = this
|
|
77
|
+
XEUtils.clear(filterForm, null)
|
|
78
|
+
this.$emit('update:filterForm', filterForm)
|
|
74
79
|
this.$emit('reset')
|
|
75
80
|
},
|
|
76
81
|
confirmDownEvent () {
|
|
77
82
|
this.showDownPopup = false
|
|
78
83
|
this.$emit('confirm')
|
|
84
|
+
this.$emit('query')
|
|
79
85
|
},
|
|
80
86
|
inputEvent () {
|
|
81
87
|
this.$emit('input', this.searchName)
|
|
@@ -85,6 +91,7 @@ export default {
|
|
|
85
91
|
},
|
|
86
92
|
searchEvent () {
|
|
87
93
|
this.$emit('search')
|
|
94
|
+
this.$emit('query')
|
|
88
95
|
}
|
|
89
96
|
}
|
|
90
97
|
}
|
|
@@ -166,7 +173,6 @@ export default {
|
|
|
166
173
|
position: relative;
|
|
167
174
|
background: #ffffff;
|
|
168
175
|
.list-top-filters-pulldown-body {
|
|
169
|
-
padding: 20rpx;
|
|
170
176
|
max-height: 70vh;
|
|
171
177
|
// #ifndef H5
|
|
172
178
|
overflow: auto;
|