eoss-ui 0.6.20 → 0.6.22
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/lib/eoss-ui.common.js +439 -420
- package/lib/flow.js +118 -118
- package/lib/form.js +3 -3
- package/lib/index.js +1 -1
- package/lib/login.js +69 -60
- package/lib/main.js +220 -210
- package/lib/qr-code.js +13 -13
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/lib/theme-chalk/selector.css +1 -1
- package/package.json +157 -157
- package/packages/.DS_Store +0 -0
- package/packages/button/src/main.vue +418 -418
- package/packages/button-group/src/main.vue +298 -298
- package/packages/checkbox-group/.DS_Store +0 -0
- package/packages/checkbox-group/src/main.vue +333 -333
- package/packages/clients/src/main.vue +144 -144
- package/packages/data-table/.DS_Store +0 -0
- package/packages/data-table/src/children.vue +39 -39
- package/packages/data-table/src/column.vue +983 -983
- package/packages/data-table/src/main.vue +1812 -1812
- package/packages/data-table/src/sizer.vue +195 -195
- package/packages/date-picker/src/main.vue +236 -236
- package/packages/dialog/.DS_Store +0 -0
- package/packages/flow/src/main.vue +2731 -2731
- package/packages/flow-group/src/main.vue +684 -684
- package/packages/form/src/main.vue +3582 -3582
- package/packages/form/src/table.vue +1420 -1420
- package/packages/handle-user/src/main.vue +134 -134
- package/packages/handler/.DS_Store +0 -0
- package/packages/handler/src/main.vue +374 -374
- package/packages/icon/src/main.vue +101 -101
- package/packages/input/src/main.vue +356 -356
- package/packages/login/.DS_Store +0 -0
- package/packages/login/src/main.vue +1857 -1851
- package/packages/login/src/resetPassword.vue +562 -557
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/default/message.vue +249 -249
- package/packages/main/src/default/notice.vue +157 -157
- package/packages/main/src/default/userinfo.vue +494 -494
- package/packages/main/src/main.vue +65 -57
- package/packages/main/src/public/online.vue +89 -89
- package/packages/main/src/public/search.vue +454 -454
- package/packages/main/src/public/settings.vue +221 -221
- package/packages/main/src/simplicity/apps.vue +388 -388
- package/packages/main/src/simplicity/avatar.vue +82 -82
- package/packages/main/src/simplicity/handler.vue +183 -183
- package/packages/main/src/simplicity/index.vue +1931 -1930
- package/packages/main/src/simplicity/lists.vue +84 -84
- package/packages/main/src/simplicity/menu-list.vue +128 -128
- package/packages/main/src/simplicity/message.vue +259 -259
- package/packages/main/src/simplicity/notice.vue +190 -190
- package/packages/main/src/simplicity/router-page.vue +45 -45
- package/packages/main/src/simplicity/sub-menu.vue +241 -241
- package/packages/main/src/simplicity/user.vue +248 -248
- package/packages/main/src/simplicity/userinfo.vue +306 -304
- package/packages/menu/src/main.vue +536 -536
- package/packages/pagination/src/main.vue +96 -96
- package/packages/qr-code/src/main.vue +170 -170
- package/packages/radio-group/src/main.vue +319 -319
- package/packages/select/src/main.vue +761 -761
- package/packages/selector/src/main.vue +677 -677
- package/packages/selector-panel/src/main.vue +1020 -1020
- package/packages/selector-panel/src/selection.vue +160 -160
- package/packages/tabs/src/main.vue +788 -788
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/lib/selector.css +1 -1
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/theme-chalk/src/base.scss +260 -260
- package/packages/theme-chalk/src/button-group.scss +175 -175
- package/packages/theme-chalk/src/calendar.scss +113 -113
- package/packages/theme-chalk/src/clients.scss +87 -87
- package/packages/theme-chalk/src/common/var.scss +4 -1
- package/packages/theme-chalk/src/data-table.scss +276 -276
- package/packages/theme-chalk/src/dialog.scss +77 -77
- package/packages/theme-chalk/src/flow-group.scss +110 -110
- package/packages/theme-chalk/src/form.scss +496 -496
- package/packages/theme-chalk/src/handler.scss +133 -133
- package/packages/theme-chalk/src/icon.scss +1745 -1745
- package/packages/theme-chalk/src/icons.scss +99 -99
- package/packages/theme-chalk/src/login.scss +928 -917
- package/packages/theme-chalk/src/main.scss +632 -632
- package/packages/theme-chalk/src/menu.scss +222 -222
- package/packages/theme-chalk/src/nav.scss +125 -125
- package/packages/theme-chalk/src/pagination.scss +29 -29
- package/packages/theme-chalk/src/selector-panel.scss +204 -204
- package/packages/theme-chalk/src/selector.scss +1 -1
- package/packages/theme-chalk/src/simplicity.scss +1246 -1246
- package/packages/theme-chalk/src/tabs.scss +87 -87
- package/packages/theme-chalk/src/toolbar.scss +179 -179
- package/packages/theme-chalk/src/tree-group.scss +72 -72
- package/packages/theme-chalk/src/tree.scss +165 -165
- package/packages/upload/src/main.vue +1313 -1313
- package/packages/wujie/src/main.vue +145 -145
- package/src/.DS_Store +0 -0
- package/src/config/api.js +236 -236
- package/src/config/image.js +2 -2
- package/src/index.js +157 -157
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div v-for="(item, index) in data" :key="item.id" @click="handleClick(item)">
|
|
3
|
-
<div
|
|
4
|
-
class="es-simplicity-menus-item"
|
|
5
|
-
:class="{
|
|
6
|
-
'is-active': active === item.id,
|
|
7
|
-
'is-open': openId === item.id
|
|
8
|
-
}"
|
|
9
|
-
>
|
|
10
|
-
<es-icon
|
|
11
|
-
class="es-simplicity_apps-icon"
|
|
12
|
-
:style="setStyle(index)"
|
|
13
|
-
:contents="item.icons || item.icon || menuIcon"
|
|
14
|
-
></es-icon>
|
|
15
|
-
<div class="es-simplicity-menus-tips" v-if="item.tips">
|
|
16
|
-
{{ item.tips > 99 ? '99+' : item.tips }}
|
|
17
|
-
</div>
|
|
18
|
-
<div class="es-simplicity_apps-text">
|
|
19
|
-
{{ item.text || item.name }}
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
<lists
|
|
23
|
-
v-if="
|
|
24
|
-
(item.children && item.children.length) ||
|
|
25
|
-
(item.fourthTabs && item.fourthTabs.length)
|
|
26
|
-
"
|
|
27
|
-
:menuIcon="menuIcon"
|
|
28
|
-
:color="color"
|
|
29
|
-
:backgroundColor="backgroundColor"
|
|
30
|
-
:data="[...(item.children || []), ...(item.fourthTabs || [])]"
|
|
31
|
-
></lists>
|
|
32
|
-
</div>
|
|
33
|
-
</template>
|
|
34
|
-
|
|
35
|
-
<script>
|
|
36
|
-
export default {
|
|
37
|
-
name: 'Lists',
|
|
38
|
-
components: {},
|
|
39
|
-
props: {
|
|
40
|
-
menuIcon: String,
|
|
41
|
-
color: [String, Array],
|
|
42
|
-
backgroundColor: [String, Array],
|
|
43
|
-
data: Array
|
|
44
|
-
},
|
|
45
|
-
data() {
|
|
46
|
-
return {
|
|
47
|
-
active: '',
|
|
48
|
-
openId: ''
|
|
49
|
-
};
|
|
50
|
-
},
|
|
51
|
-
computed: {},
|
|
52
|
-
watch: {},
|
|
53
|
-
created() {},
|
|
54
|
-
mounted() {},
|
|
55
|
-
methods: {
|
|
56
|
-
setStyle(num) {
|
|
57
|
-
let obj = {};
|
|
58
|
-
if (this.color) {
|
|
59
|
-
obj.color = this.color;
|
|
60
|
-
if (Array.isArray(this.color)) {
|
|
61
|
-
obj.color = this.color[num % this.color.length];
|
|
62
|
-
} else {
|
|
63
|
-
obj.color = this.color;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
if (this.backgroundColor) {
|
|
67
|
-
if (Array.isArray(this.backgroundColor)) {
|
|
68
|
-
obj.backgroundColor =
|
|
69
|
-
this.backgroundColor[num % this.backgroundColor.length];
|
|
70
|
-
} else {
|
|
71
|
-
obj.backgroundColor = this.backgroundColor;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
return obj;
|
|
75
|
-
},
|
|
76
|
-
handleClick(res) {
|
|
77
|
-
this.active = res.id;
|
|
78
|
-
this.$emit('command', res);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
</script>
|
|
83
|
-
|
|
84
|
-
<style lang="scss" scoped></style>
|
|
1
|
+
<template>
|
|
2
|
+
<div v-for="(item, index) in data" :key="item.id" @click="handleClick(item)">
|
|
3
|
+
<div
|
|
4
|
+
class="es-simplicity-menus-item"
|
|
5
|
+
:class="{
|
|
6
|
+
'is-active': active === item.id,
|
|
7
|
+
'is-open': openId === item.id
|
|
8
|
+
}"
|
|
9
|
+
>
|
|
10
|
+
<es-icon
|
|
11
|
+
class="es-simplicity_apps-icon"
|
|
12
|
+
:style="setStyle(index)"
|
|
13
|
+
:contents="item.icons || item.icon || menuIcon"
|
|
14
|
+
></es-icon>
|
|
15
|
+
<div class="es-simplicity-menus-tips" v-if="item.tips">
|
|
16
|
+
{{ item.tips > 99 ? '99+' : item.tips }}
|
|
17
|
+
</div>
|
|
18
|
+
<div class="es-simplicity_apps-text">
|
|
19
|
+
{{ item.text || item.name }}
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
<lists
|
|
23
|
+
v-if="
|
|
24
|
+
(item.children && item.children.length) ||
|
|
25
|
+
(item.fourthTabs && item.fourthTabs.length)
|
|
26
|
+
"
|
|
27
|
+
:menuIcon="menuIcon"
|
|
28
|
+
:color="color"
|
|
29
|
+
:backgroundColor="backgroundColor"
|
|
30
|
+
:data="[...(item.children || []), ...(item.fourthTabs || [])]"
|
|
31
|
+
></lists>
|
|
32
|
+
</div>
|
|
33
|
+
</template>
|
|
34
|
+
|
|
35
|
+
<script>
|
|
36
|
+
export default {
|
|
37
|
+
name: 'Lists',
|
|
38
|
+
components: {},
|
|
39
|
+
props: {
|
|
40
|
+
menuIcon: String,
|
|
41
|
+
color: [String, Array],
|
|
42
|
+
backgroundColor: [String, Array],
|
|
43
|
+
data: Array
|
|
44
|
+
},
|
|
45
|
+
data() {
|
|
46
|
+
return {
|
|
47
|
+
active: '',
|
|
48
|
+
openId: ''
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
computed: {},
|
|
52
|
+
watch: {},
|
|
53
|
+
created() {},
|
|
54
|
+
mounted() {},
|
|
55
|
+
methods: {
|
|
56
|
+
setStyle(num) {
|
|
57
|
+
let obj = {};
|
|
58
|
+
if (this.color) {
|
|
59
|
+
obj.color = this.color;
|
|
60
|
+
if (Array.isArray(this.color)) {
|
|
61
|
+
obj.color = this.color[num % this.color.length];
|
|
62
|
+
} else {
|
|
63
|
+
obj.color = this.color;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
if (this.backgroundColor) {
|
|
67
|
+
if (Array.isArray(this.backgroundColor)) {
|
|
68
|
+
obj.backgroundColor =
|
|
69
|
+
this.backgroundColor[num % this.backgroundColor.length];
|
|
70
|
+
} else {
|
|
71
|
+
obj.backgroundColor = this.backgroundColor;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return obj;
|
|
75
|
+
},
|
|
76
|
+
handleClick(res) {
|
|
77
|
+
this.active = res.id;
|
|
78
|
+
this.$emit('command', res);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
</script>
|
|
83
|
+
|
|
84
|
+
<style lang="scss" scoped></style>
|
|
@@ -1,128 +1,128 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-scrollbar class="es-simplicity-menus-scrollbar">
|
|
3
|
-
<div
|
|
4
|
-
class="es-simplicity-menus-lists"
|
|
5
|
-
:class="{ 'is-fold': fold }"
|
|
6
|
-
@mouseleave="handleOut(true)"
|
|
7
|
-
@mouseenter="handleOut(false)"
|
|
8
|
-
>
|
|
9
|
-
<div
|
|
10
|
-
v-for="(item, index) in data"
|
|
11
|
-
class="es-simplicity-menus-item"
|
|
12
|
-
:key="item.id"
|
|
13
|
-
:class="{ 'is-fold': fold, 'is-active': active == item.id }"
|
|
14
|
-
:title="fold ? item.text || item.name : ''"
|
|
15
|
-
@click="handleClick(item)"
|
|
16
|
-
@mouseenter="handleEnter(item)"
|
|
17
|
-
@mouseleave="handleLeave(item)"
|
|
18
|
-
>
|
|
19
|
-
<template v-if="fold">
|
|
20
|
-
<el-badge is-dot :hidden="!item.tips">
|
|
21
|
-
<es-icon
|
|
22
|
-
class="es-simplicity_apps-icon"
|
|
23
|
-
:style="setStyle(index)"
|
|
24
|
-
:contents="item.icons || item.icon || menuIcon"
|
|
25
|
-
></es-icon>
|
|
26
|
-
</el-badge>
|
|
27
|
-
</template>
|
|
28
|
-
<template v-else>
|
|
29
|
-
<es-icon
|
|
30
|
-
class="es-simplicity_apps-icon"
|
|
31
|
-
:style="setStyle(index)"
|
|
32
|
-
:contents="item.icons || item.icon || menuIcon"
|
|
33
|
-
></es-icon>
|
|
34
|
-
<div class="es-simplicity-menus-tips" v-if="item.tips">
|
|
35
|
-
{{ item.tips > 99 ? '99+' : item.tips }}
|
|
36
|
-
</div>
|
|
37
|
-
</template>
|
|
38
|
-
<div class="es-simplicity_apps-text" v-show="!fold">
|
|
39
|
-
{{ item.text || item.name }}
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</el-scrollbar>
|
|
44
|
-
</template>
|
|
45
|
-
|
|
46
|
-
<script>
|
|
47
|
-
import util from 'eoss-ui/src/utils/util';
|
|
48
|
-
export default {
|
|
49
|
-
name: 'MenuList',
|
|
50
|
-
components: {},
|
|
51
|
-
props: {
|
|
52
|
-
active: String,
|
|
53
|
-
menuIcon: String,
|
|
54
|
-
color: [String, Array],
|
|
55
|
-
backgroundColor: [String, Array],
|
|
56
|
-
data: Array,
|
|
57
|
-
fold: Boolean,
|
|
58
|
-
width: Number,
|
|
59
|
-
popover: Boolean,
|
|
60
|
-
parent: Object
|
|
61
|
-
},
|
|
62
|
-
data() {
|
|
63
|
-
return {
|
|
64
|
-
defaultActive: this.active,
|
|
65
|
-
show: false,
|
|
66
|
-
height: document.body.offsetHeight - 44
|
|
67
|
-
};
|
|
68
|
-
},
|
|
69
|
-
computed: {},
|
|
70
|
-
watch: {
|
|
71
|
-
popover() {
|
|
72
|
-
if (this.$el.offsetHeight > this.height) {
|
|
73
|
-
this.$el.style.height = this.height + 'px';
|
|
74
|
-
} else {
|
|
75
|
-
this.$el.style.height = '';
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
created() {},
|
|
80
|
-
mounted() {},
|
|
81
|
-
methods: {
|
|
82
|
-
setStyle(num) {
|
|
83
|
-
let obj = {};
|
|
84
|
-
if (this.color) {
|
|
85
|
-
obj.color = this.color;
|
|
86
|
-
if (Array.isArray(this.color)) {
|
|
87
|
-
obj.color = this.color[num % this.color.length];
|
|
88
|
-
} else {
|
|
89
|
-
obj.color = this.color;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
if (this.backgroundColor) {
|
|
93
|
-
if (Array.isArray(this.backgroundColor)) {
|
|
94
|
-
obj.backgroundColor =
|
|
95
|
-
this.backgroundColor[num % this.backgroundColor.length];
|
|
96
|
-
} else {
|
|
97
|
-
obj.backgroundColor = this.backgroundColor;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
return obj;
|
|
101
|
-
},
|
|
102
|
-
handleClick(res) {
|
|
103
|
-
this.defaultActive = res.id;
|
|
104
|
-
if (res.url) {
|
|
105
|
-
if (res.urlopenmode == 1) {
|
|
106
|
-
util.win.open(res.url);
|
|
107
|
-
return;
|
|
108
|
-
} else if (res.urlopenmode == 2) {
|
|
109
|
-
util.win.open(res.url, '_self');
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
this.$emit('command', res);
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
handleEnter(res) {
|
|
116
|
-
this.$emit('menter', res);
|
|
117
|
-
},
|
|
118
|
-
handleLeave(res) {
|
|
119
|
-
this.$emit('mleave', res);
|
|
120
|
-
},
|
|
121
|
-
handleOut(res) {
|
|
122
|
-
this.$emit('mout', res);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
</script>
|
|
127
|
-
|
|
128
|
-
<style lang="scss" scoped></style>
|
|
1
|
+
<template>
|
|
2
|
+
<el-scrollbar class="es-simplicity-menus-scrollbar">
|
|
3
|
+
<div
|
|
4
|
+
class="es-simplicity-menus-lists"
|
|
5
|
+
:class="{ 'is-fold': fold }"
|
|
6
|
+
@mouseleave="handleOut(true)"
|
|
7
|
+
@mouseenter="handleOut(false)"
|
|
8
|
+
>
|
|
9
|
+
<div
|
|
10
|
+
v-for="(item, index) in data"
|
|
11
|
+
class="es-simplicity-menus-item"
|
|
12
|
+
:key="item.id"
|
|
13
|
+
:class="{ 'is-fold': fold, 'is-active': active == item.id }"
|
|
14
|
+
:title="fold ? item.text || item.name : ''"
|
|
15
|
+
@click="handleClick(item)"
|
|
16
|
+
@mouseenter="handleEnter(item)"
|
|
17
|
+
@mouseleave="handleLeave(item)"
|
|
18
|
+
>
|
|
19
|
+
<template v-if="fold">
|
|
20
|
+
<el-badge is-dot :hidden="!item.tips">
|
|
21
|
+
<es-icon
|
|
22
|
+
class="es-simplicity_apps-icon"
|
|
23
|
+
:style="setStyle(index)"
|
|
24
|
+
:contents="item.icons || item.icon || menuIcon"
|
|
25
|
+
></es-icon>
|
|
26
|
+
</el-badge>
|
|
27
|
+
</template>
|
|
28
|
+
<template v-else>
|
|
29
|
+
<es-icon
|
|
30
|
+
class="es-simplicity_apps-icon"
|
|
31
|
+
:style="setStyle(index)"
|
|
32
|
+
:contents="item.icons || item.icon || menuIcon"
|
|
33
|
+
></es-icon>
|
|
34
|
+
<div class="es-simplicity-menus-tips" v-if="item.tips">
|
|
35
|
+
{{ item.tips > 99 ? '99+' : item.tips }}
|
|
36
|
+
</div>
|
|
37
|
+
</template>
|
|
38
|
+
<div class="es-simplicity_apps-text" v-show="!fold">
|
|
39
|
+
{{ item.text || item.name }}
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</el-scrollbar>
|
|
44
|
+
</template>
|
|
45
|
+
|
|
46
|
+
<script>
|
|
47
|
+
import util from 'eoss-ui/src/utils/util';
|
|
48
|
+
export default {
|
|
49
|
+
name: 'MenuList',
|
|
50
|
+
components: {},
|
|
51
|
+
props: {
|
|
52
|
+
active: String,
|
|
53
|
+
menuIcon: String,
|
|
54
|
+
color: [String, Array],
|
|
55
|
+
backgroundColor: [String, Array],
|
|
56
|
+
data: Array,
|
|
57
|
+
fold: Boolean,
|
|
58
|
+
width: Number,
|
|
59
|
+
popover: Boolean,
|
|
60
|
+
parent: Object
|
|
61
|
+
},
|
|
62
|
+
data() {
|
|
63
|
+
return {
|
|
64
|
+
defaultActive: this.active,
|
|
65
|
+
show: false,
|
|
66
|
+
height: document.body.offsetHeight - 44
|
|
67
|
+
};
|
|
68
|
+
},
|
|
69
|
+
computed: {},
|
|
70
|
+
watch: {
|
|
71
|
+
popover() {
|
|
72
|
+
if (this.$el.offsetHeight > this.height) {
|
|
73
|
+
this.$el.style.height = this.height + 'px';
|
|
74
|
+
} else {
|
|
75
|
+
this.$el.style.height = '';
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
created() {},
|
|
80
|
+
mounted() {},
|
|
81
|
+
methods: {
|
|
82
|
+
setStyle(num) {
|
|
83
|
+
let obj = {};
|
|
84
|
+
if (this.color) {
|
|
85
|
+
obj.color = this.color;
|
|
86
|
+
if (Array.isArray(this.color)) {
|
|
87
|
+
obj.color = this.color[num % this.color.length];
|
|
88
|
+
} else {
|
|
89
|
+
obj.color = this.color;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
if (this.backgroundColor) {
|
|
93
|
+
if (Array.isArray(this.backgroundColor)) {
|
|
94
|
+
obj.backgroundColor =
|
|
95
|
+
this.backgroundColor[num % this.backgroundColor.length];
|
|
96
|
+
} else {
|
|
97
|
+
obj.backgroundColor = this.backgroundColor;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
return obj;
|
|
101
|
+
},
|
|
102
|
+
handleClick(res) {
|
|
103
|
+
this.defaultActive = res.id;
|
|
104
|
+
if (res.url) {
|
|
105
|
+
if (res.urlopenmode == 1) {
|
|
106
|
+
util.win.open(res.url);
|
|
107
|
+
return;
|
|
108
|
+
} else if (res.urlopenmode == 2) {
|
|
109
|
+
util.win.open(res.url, '_self');
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
this.$emit('command', res);
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
handleEnter(res) {
|
|
116
|
+
this.$emit('menter', res);
|
|
117
|
+
},
|
|
118
|
+
handleLeave(res) {
|
|
119
|
+
this.$emit('mleave', res);
|
|
120
|
+
},
|
|
121
|
+
handleOut(res) {
|
|
122
|
+
this.$emit('mout', res);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
</script>
|
|
127
|
+
|
|
128
|
+
<style lang="scss" scoped></style>
|