evui 2.0.9 → 2.0.10
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/README.md +27 -27
- package/{src/webfonts/fa-regular-400.svg → dist/82f60bd0b94a1ed68b1e6e309ce2e8c3.svg} +366 -366
- package/{src/webfonts/EVUI.svg → dist/91c6092c0a9164541a69045d746b9e78.svg} +183 -183
- package/{src/webfonts/fa-solid-900.svg → dist/962a1bf31c081691065fe333d9fa8105.svg} +1518 -1518
- package/{src/webfonts/fa-brands-400.svg → dist/a1a749e89f578a49306ec2b055c073da.svg} +1008 -1008
- package/dist/evui.min.js +304 -0
- package/dist/evui.min.js.gz +0 -0
- package/dist/evui.min.js.map +1 -0
- package/dist/main.css +5161 -0
- package/dist/main.css.gz +0 -0
- package/dist/main.css.map +1 -0
- package/package.json +125 -125
- package/src/code/checkbox.js +0 -12
- package/src/common/utils.js +0 -95
- package/src/common/utils.table.js +0 -78
- package/src/components/button/button.vue +0 -318
- package/src/components/button/index.js +0 -3
- package/src/components/chart/chart.core.js +0 -406
- package/src/components/chart/chart.vue +0 -332
- package/src/components/chart/charts/chart.bar.js +0 -334
- package/src/components/chart/charts/chart.base.js +0 -1075
- package/src/components/chart/charts/chart.line.js +0 -262
- package/src/components/chart/charts/chart.pie.js +0 -383
- package/src/components/chart/charts/chart.scatter.js +0 -349
- package/src/components/chart/charts/chart.sunburst.js +0 -193
- package/src/components/chart/core/axis/axis.js +0 -217
- package/src/components/chart/core/axis/axis.scale.auto.js +0 -69
- package/src/components/chart/core/axis/axis.scale.fixed.js +0 -65
- package/src/components/chart/core/axis/axis.scale.steps.js +0 -149
- package/src/components/chart/core/core.constant.js +0 -116
- package/src/components/chart/core/core.legend.js +0 -473
- package/src/components/chart/core/core.util.js +0 -66
- package/src/components/chart/core/data/data.js +0 -412
- package/src/components/chart/core/data/data.pie.js +0 -70
- package/src/components/chart/core/data/data.stack.js +0 -222
- package/src/components/chart/core/data/data.sunburst.js +0 -172
- package/src/components/chart/element/element.bar.js +0 -117
- package/src/components/chart/element/element.line.js +0 -137
- package/src/components/chart/element/element.scatter.js +0 -76
- package/src/components/chart/helpers/helpers.canvas.js +0 -143
- package/src/components/chart/helpers/helpers.constant.js +0 -119
- package/src/components/chart/helpers/helpers.util.js +0 -109
- package/src/components/chart/index.js +0 -4
- package/src/components/chart/model/index.js +0 -4
- package/src/components/chart/model/model.series.js +0 -57
- package/src/components/chart/model/model.store.js +0 -165
- package/src/components/chart/plugins/plugins.legend.js +0 -447
- package/src/components/chart/plugins/plugins.title.js +0 -33
- package/src/components/chart/scale/scale.js +0 -210
- package/src/components/chart/scale/scale.linear.js +0 -18
- package/src/components/chart/scale/scale.logarithmic.js +0 -95
- package/src/components/chart/scale/scale.step.js +0 -160
- package/src/components/chart/scale/scale.time.js +0 -22
- package/src/components/checkbox/checkbox-group.vue +0 -72
- package/src/components/checkbox/checkbox.vue +0 -276
- package/src/components/checkbox/index.js +0 -3
- package/src/components/checkbox-group/index.js +0 -3
- package/src/components/codeview/code.vue +0 -242
- package/src/components/datepicker/calendar.core.js +0 -1827
- package/src/components/datepicker/calendar.vue +0 -86
- package/src/components/datepicker/datepicker.vue +0 -630
- package/src/components/datepicker/index.js +0 -3
- package/src/components/icon/icon.vue +0 -31
- package/src/components/icon/index.js +0 -3
- package/src/components/input/index.js +0 -3
- package/src/components/input/input.number.vue +0 -440
- package/src/components/label/index.js +0 -3
- package/src/components/label/label.vue +0 -86
- package/src/components/loadingmask/index.js +0 -3
- package/src/components/loadingmask/loadingmask.vue +0 -138
- package/src/components/loginfield/index.js +0 -3
- package/src/components/loginfield/loginfield.vue +0 -330
- package/src/components/menu/index.js +0 -5
- package/src/components/menu/menu.context.children.vue +0 -201
- package/src/components/menu/menu.context.vue +0 -144
- package/src/components/menu/menu.nav.vue +0 -123
- package/src/components/radio/index.js +0 -3
- package/src/components/radio/radio-group.vue +0 -54
- package/src/components/radio/radio.vue +0 -176
- package/src/components/radio-group/index.js +0 -3
- package/src/components/selectbox/dropdown.vue +0 -185
- package/src/components/selectbox/index.js +0 -3
- package/src/components/selectbox/listbox.vue +0 -116
- package/src/components/selectbox/option.vue +0 -11
- package/src/components/selectbox/selectbox.vue +0 -677
- package/src/components/slider/index.js +0 -3
- package/src/components/slider/slider-tooltip.vue +0 -119
- package/src/components/slider/slider.vue +0 -483
- package/src/components/splitter/index.js +0 -3
- package/src/components/splitter/splitter.vue +0 -284
- package/src/components/summary/index.js +0 -3
- package/src/components/summary/summary.vue +0 -138
- package/src/components/table/data.json +0 -1000
- package/src/components/table/data2.json +0 -1000
- package/src/components/table/index.js +0 -3
- package/src/components/table/table.black.css +0 -547
- package/src/components/table/table.filter.lite.vue +0 -170
- package/src/components/table/table.filter.vue +0 -112
- package/src/components/table/table.grey.css +0 -539
- package/src/components/table/table.navy.css +0 -536
- package/src/components/table/table.vue +0 -1380
- package/src/components/tabs/index.js +0 -14
- package/src/components/tabs/jun/tab.vue +0 -123
- package/src/components/tabs/jun/tabs.vue +0 -484
- package/src/components/tabs/tab-panel.vue +0 -39
- package/src/components/tabs/tabs.vue +0 -446
- package/src/components/textfield/index.js +0 -3
- package/src/components/textfield/textfield.vue +0 -418
- package/src/components/timepicker/index.js +0 -3
- package/src/components/timepicker/spinner.vue +0 -205
- package/src/components/timepicker/timepicker.vue +0 -492
- package/src/components/toggle/index.js +0 -3
- package/src/components/toggle/toggle.vue +0 -364
- package/src/components/tree/index.js +0 -7
- package/src/components/tree/tree.table.black.css +0 -680
- package/src/components/tree/tree.table.grey.css +0 -675
- package/src/components/tree/tree.table.vue +0 -795
- package/src/components/tree/tree.util.js +0 -119
- package/src/components/window/index.js +0 -3
- package/src/components/window/window.vue +0 -614
- package/src/index.js +0 -82
- package/src/styles/all.css +0 -5
- package/src/styles/codemirror.css +0 -346
- package/src/styles/evui.css +0 -386
- package/src/styles/icon.css +0 -557
- package/src/webfonts/NanumGothicBold.ttf +0 -0
- /package/{src/webfonts/fa-solid-900.woff2 → dist/0ab54153eeeca0ce03978cc463b257f7.woff2} +0 -0
- /package/{src/webfonts/fa-brands-400.eot → dist/13db00b7a34fee4d819ab7f9838cc428.eot} +0 -0
- /package/{src/webfonts/EVUI.ttf → dist/3c9453211570a4ede66a4b4954a32bbb.ttf} +0 -0
- /package/{src/webfonts/fa-regular-400.eot → dist/701ae6abd4719e9c2ada3535a497b341.eot} +0 -0
- /package/{src/webfonts/NanumGothic.ttf → dist/7583da5c07275cd5eb364507616f998f.ttf} +0 -0
- /package/{src/webfonts/fa-solid-900.eot → dist/8e3c7f5520f5ae906c6cf6d7f3ddcd19.eot} +0 -0
- /package/{src/webfonts/fa-brands-400.woff → dist/a046592bac8f2fd96e994733faf3858c.woff} +0 -0
- /package/{src/webfonts/fa-regular-400.ttf → dist/ad97afd3337e8cda302d10ff5a4026b8.ttf} +0 -0
- /package/{src/images/evui_icon.png → dist/adac9fa4f723f9d2cb5b6640517114a9.png} +0 -0
- /package/{src/webfonts/fa-solid-900.ttf → dist/b87b9ba532ace76ae9f6edfe9f72ded2.ttf} +0 -0
- /package/{src/webfonts/EVUI.eot → dist/b9e64d9b5fa6b500eb5df6fa980d3e5b.eot} +0 -0
- /package/{src/webfonts/fa-brands-400.ttf → dist/c5ebe0b32dc1b5cc449a76c4204d13bb.ttf} +0 -0
- /package/{src/webfonts/fa-regular-400.woff2 → dist/cd6c777f1945164224dee082abaea03a.woff2} +0 -0
- /package/{src/webfonts/fa-brands-400.woff2 → dist/e8c322de9658cbeb8a774b6624167c2c.woff2} +0 -0
- /package/{src/webfonts/fa-regular-400.woff → dist/ef60a4f6c25ef7f39f2d25a748dbecfe.woff} +0 -0
- /package/{src/webfonts/EVUI.woff → dist/f0ac0c8b3c9cd3ef9002749985ae546f.woff} +0 -0
- /package/{src/webfonts/fa-solid-900.woff → dist/faff92145777a3cbaf8e7367b4807987.woff} +0 -0
|
@@ -1,284 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div
|
|
4
|
-
:class="`${type} ev-splitter ${isDragging ? 'hide' : ''}`"
|
|
5
|
-
@mousedown="onMouseDown"
|
|
6
|
-
/>
|
|
7
|
-
<div
|
|
8
|
-
v-show="isDragging"
|
|
9
|
-
ref="guideline"
|
|
10
|
-
:class="`${type} ev-splitter-guideline`"
|
|
11
|
-
/>
|
|
12
|
-
</div>
|
|
13
|
-
</template>
|
|
14
|
-
<script>
|
|
15
|
-
export default {
|
|
16
|
-
name: 'Splitter',
|
|
17
|
-
props: {
|
|
18
|
-
type: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: 'hbox',
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
data() {
|
|
24
|
-
return {
|
|
25
|
-
top: 0,
|
|
26
|
-
left: 0,
|
|
27
|
-
width: 0,
|
|
28
|
-
height: 0,
|
|
29
|
-
topPad: 0,
|
|
30
|
-
leftPad: 0,
|
|
31
|
-
prevOffset: {},
|
|
32
|
-
leftItemInfo: {},
|
|
33
|
-
rightItemInfo: {},
|
|
34
|
-
isDragging: false,
|
|
35
|
-
};
|
|
36
|
-
},
|
|
37
|
-
created() {
|
|
38
|
-
},
|
|
39
|
-
mounted() {
|
|
40
|
-
this.updateItemInfo();
|
|
41
|
-
},
|
|
42
|
-
methods: {
|
|
43
|
-
updateItemInfo() {
|
|
44
|
-
const el = this.$el;
|
|
45
|
-
const rect = this.$el.getBoundingClientRect();
|
|
46
|
-
const leftEl = el.previousElementSibling;
|
|
47
|
-
const rightEl = el.nextElementSibling;
|
|
48
|
-
|
|
49
|
-
this.top = el.offsetTop;
|
|
50
|
-
this.left = el.offsetLeft;
|
|
51
|
-
this.width = rect.width;
|
|
52
|
-
this.height = rect.height;
|
|
53
|
-
this.topPad = rect.top - this.top;
|
|
54
|
-
this.leftPad = rect.left - this.left;
|
|
55
|
-
|
|
56
|
-
this.leftItemInfo.el = leftEl;
|
|
57
|
-
this.rightItemInfo.el = rightEl;
|
|
58
|
-
|
|
59
|
-
this.leftItemInfo.top = leftEl.offsetTop;
|
|
60
|
-
this.leftItemInfo.left = leftEl.offsetLeft;
|
|
61
|
-
this.leftItemInfo.width = leftEl.offsetWidth;
|
|
62
|
-
this.leftItemInfo.height = leftEl.offsetHeight;
|
|
63
|
-
|
|
64
|
-
this.rightItemInfo.top = rightEl.offsetTop;
|
|
65
|
-
this.rightItemInfo.left = rightEl.offsetLeft;
|
|
66
|
-
this.rightItemInfo.width = rightEl.offsetWidth;
|
|
67
|
-
this.rightItemInfo.height = rightEl.offsetHeight;
|
|
68
|
-
},
|
|
69
|
-
onResize(id, type) {
|
|
70
|
-
if (!type && this.uid !== id) {
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
let top;
|
|
75
|
-
let left;
|
|
76
|
-
|
|
77
|
-
this.updateItemInfo();
|
|
78
|
-
|
|
79
|
-
if (this.type === 'hbox') {
|
|
80
|
-
top = this.leftItemInfo.top;
|
|
81
|
-
left = this.leftItemInfo.left + this.leftItemInfo.width;
|
|
82
|
-
} else {
|
|
83
|
-
top = this.leftItemInfo.top + this.leftItemInfo.height;
|
|
84
|
-
left = this.leftItemInfo.left;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
this.$el.style.cssText += `top: ${top}px; left: ${left}px;`;
|
|
88
|
-
},
|
|
89
|
-
getBounds() {
|
|
90
|
-
const leftItemInfo = this.leftItemInfo;
|
|
91
|
-
const rightItemInfo = this.rightItemInfo;
|
|
92
|
-
let min = 0;
|
|
93
|
-
let max = 0;
|
|
94
|
-
let leftWh;
|
|
95
|
-
let rightWh;
|
|
96
|
-
let leftOffset;
|
|
97
|
-
let rightOffset;
|
|
98
|
-
|
|
99
|
-
if (this.type === 'hbox') {
|
|
100
|
-
leftWh = leftItemInfo.width;
|
|
101
|
-
rightWh = rightItemInfo.width;
|
|
102
|
-
leftOffset = leftItemInfo.left;
|
|
103
|
-
rightOffset = rightItemInfo.left;
|
|
104
|
-
} else {
|
|
105
|
-
leftWh = leftItemInfo.height;
|
|
106
|
-
rightWh = rightItemInfo.height;
|
|
107
|
-
leftOffset = leftItemInfo.top;
|
|
108
|
-
rightOffset = rightItemInfo.top;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
min = Math.floor(leftWh * 0.1);
|
|
112
|
-
min = min < 60 ? 60 : min;
|
|
113
|
-
min += leftOffset;
|
|
114
|
-
|
|
115
|
-
max = Math.floor(rightWh * 0.1);
|
|
116
|
-
max = max < 60 ? 60 : max;
|
|
117
|
-
max = (rightOffset + rightWh) - max;
|
|
118
|
-
|
|
119
|
-
return {
|
|
120
|
-
min,
|
|
121
|
-
max,
|
|
122
|
-
};
|
|
123
|
-
},
|
|
124
|
-
resizeForNeighbor(changeValue) {
|
|
125
|
-
const leftItemInfo = this.leftItemInfo;
|
|
126
|
-
const rightItemInfo = this.rightItemInfo;
|
|
127
|
-
// const leftId = leftItemInfo.el.dataset.id;
|
|
128
|
-
// const rightId = rightItemInfo.el.dataset.id;
|
|
129
|
-
let leftWh;
|
|
130
|
-
let rightWh;
|
|
131
|
-
let rightOffset;
|
|
132
|
-
|
|
133
|
-
if (this.type === 'hbox') {
|
|
134
|
-
leftWh = leftItemInfo.width - changeValue;
|
|
135
|
-
rightWh = rightItemInfo.width + changeValue;
|
|
136
|
-
rightOffset = rightItemInfo.left - changeValue;
|
|
137
|
-
|
|
138
|
-
leftItemInfo.el.style.cssText += `width: ${leftWh}px; height: ${leftItemInfo.height}px`;
|
|
139
|
-
rightItemInfo.el.style.cssText += `width: ${rightWh}px; height: ${rightItemInfo.height}px`;
|
|
140
|
-
|
|
141
|
-
leftItemInfo.width = leftWh;
|
|
142
|
-
rightItemInfo.width = rightWh;
|
|
143
|
-
rightItemInfo.left = rightOffset;
|
|
144
|
-
} else {
|
|
145
|
-
leftWh = leftItemInfo.height - changeValue;
|
|
146
|
-
rightWh = rightItemInfo.height + changeValue;
|
|
147
|
-
rightOffset = rightItemInfo.top - changeValue;
|
|
148
|
-
|
|
149
|
-
leftItemInfo.el.style.cssText += `width: ${leftItemInfo.width}px; height: ${leftWh}px`;
|
|
150
|
-
rightItemInfo.el.style.cssText += `width: ${rightItemInfo.width}px; height: ${rightWh}px`;
|
|
151
|
-
|
|
152
|
-
leftItemInfo.height = leftWh;
|
|
153
|
-
rightItemInfo.height = rightWh;
|
|
154
|
-
rightItemInfo.top = rightOffset;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
// if (leftId) {
|
|
158
|
-
// this.$resizeBus.$emit('resize', leftId, this.type, leftItemInfo);
|
|
159
|
-
// }
|
|
160
|
-
//
|
|
161
|
-
// if (rightId) {
|
|
162
|
-
// this.$resizeBus.$emit('resize', rightId, this.type, rightItemInfo);
|
|
163
|
-
// }
|
|
164
|
-
},
|
|
165
|
-
onMouseDown({ pageX: prevLeft, pageY: prevTop }) {
|
|
166
|
-
const rootEl = this.$el.parentElement;
|
|
167
|
-
const guideEl = this.$refs.guideline;
|
|
168
|
-
|
|
169
|
-
this.prevOffset = { prevLeft, prevTop };
|
|
170
|
-
this.updateItemInfo();
|
|
171
|
-
|
|
172
|
-
rootEl.addEventListener('mousemove', this.onMouseMove);
|
|
173
|
-
window.addEventListener('mouseup', this.onMouseUp);
|
|
174
|
-
|
|
175
|
-
this.isDragging = true;
|
|
176
|
-
|
|
177
|
-
guideEl.style.cssText = `top: ${this.top}px; left: ${this.left}px;`;
|
|
178
|
-
},
|
|
179
|
-
onMouseMove({ pageX: xPos, pageY: yPos }) {
|
|
180
|
-
const guideEl = this.$refs.guideline;
|
|
181
|
-
const { min, max } = this.getBounds();
|
|
182
|
-
const width = this.width;
|
|
183
|
-
const height = this.height;
|
|
184
|
-
let left = this.left;
|
|
185
|
-
let top = this.top;
|
|
186
|
-
|
|
187
|
-
if (this.type === 'hbox') {
|
|
188
|
-
left = xPos - width - this.leftPad;
|
|
189
|
-
if (min > left) {
|
|
190
|
-
left = min;
|
|
191
|
-
} else if (max < left) {
|
|
192
|
-
left = max;
|
|
193
|
-
}
|
|
194
|
-
} else {
|
|
195
|
-
top = yPos - height - this.topPad;
|
|
196
|
-
if (min > top) {
|
|
197
|
-
top = min;
|
|
198
|
-
} else if (max < top) {
|
|
199
|
-
top = max;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
this.isDragging = true;
|
|
204
|
-
|
|
205
|
-
guideEl.style.cssText = `top: ${top}px; left: ${left}px;`;
|
|
206
|
-
},
|
|
207
|
-
onMouseUp({ pageX: xPos, pageY: yPos }) {
|
|
208
|
-
const rootEl = this.$el.parentElement;
|
|
209
|
-
const { min, max } = this.getBounds();
|
|
210
|
-
const { prevLeft, prevTop } = this.prevOffset;
|
|
211
|
-
let left;
|
|
212
|
-
let top;
|
|
213
|
-
let changeValue;
|
|
214
|
-
let cssText;
|
|
215
|
-
|
|
216
|
-
if (this.type === 'hbox') {
|
|
217
|
-
left = xPos - this.width - this.leftPad;
|
|
218
|
-
if (min > left) {
|
|
219
|
-
left = min;
|
|
220
|
-
} else if (max < left) {
|
|
221
|
-
left = max;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
changeValue = prevLeft - xPos;
|
|
225
|
-
cssText = `left: ${left}px;`;
|
|
226
|
-
} else {
|
|
227
|
-
top = yPos - this.height - this.topPad;
|
|
228
|
-
if (min > top) {
|
|
229
|
-
top = min;
|
|
230
|
-
} else if (max < top) {
|
|
231
|
-
top = max;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
changeValue = prevTop - yPos;
|
|
235
|
-
cssText = `top: ${top}px;`;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
rootEl.removeEventListener('mousemove', this.onMouseMove);
|
|
239
|
-
window.removeEventListener('mouseup', this.onMouseUp);
|
|
240
|
-
|
|
241
|
-
this.isDragging = false;
|
|
242
|
-
|
|
243
|
-
this.resizeForNeighbor(changeValue);
|
|
244
|
-
|
|
245
|
-
this.$el.style.cssText += cssText;
|
|
246
|
-
},
|
|
247
|
-
},
|
|
248
|
-
};
|
|
249
|
-
</script>
|
|
250
|
-
<style>
|
|
251
|
-
.ev-splitter {
|
|
252
|
-
top: 0;
|
|
253
|
-
background: #dadada;
|
|
254
|
-
-webkit-user-select: none;
|
|
255
|
-
-moz-user-select: none;
|
|
256
|
-
-ms-user-select: none;
|
|
257
|
-
user-select: none;
|
|
258
|
-
display: block;
|
|
259
|
-
}
|
|
260
|
-
.ev-splitter-guideline {
|
|
261
|
-
position: absolute;
|
|
262
|
-
z-index: 10000;
|
|
263
|
-
background: #dadada;
|
|
264
|
-
-webkit-user-select: none;
|
|
265
|
-
-moz-user-select: none;
|
|
266
|
-
-ms-user-select: none;
|
|
267
|
-
user-select: none;
|
|
268
|
-
}
|
|
269
|
-
.ev-splitter.hide {
|
|
270
|
-
background: transparent;
|
|
271
|
-
}
|
|
272
|
-
.ev-splitter.hbox,
|
|
273
|
-
.ev-splitter-guideline.hbox {
|
|
274
|
-
width: 4px;
|
|
275
|
-
height: 100%;
|
|
276
|
-
cursor: col-resize;
|
|
277
|
-
}
|
|
278
|
-
.ev-splitter.vbox,
|
|
279
|
-
.ev-splitter-guideline.vbox {
|
|
280
|
-
width: 100%;
|
|
281
|
-
height: 4px;
|
|
282
|
-
cursor: row-resize;
|
|
283
|
-
}
|
|
284
|
-
</style>
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="evui-summary-content">
|
|
3
|
-
<div
|
|
4
|
-
v-for="(menu, index) in totalStore"
|
|
5
|
-
v-show="menu.routerLink !== '/'"
|
|
6
|
-
:key="menu+index"
|
|
7
|
-
class="evui-summary-thumbnail-content"
|
|
8
|
-
>
|
|
9
|
-
<div
|
|
10
|
-
class="evui-summary-thumbnail-title"
|
|
11
|
-
>
|
|
12
|
-
<i class="fas fa-angle-down"/> {{ menu.name }}
|
|
13
|
-
</div>
|
|
14
|
-
<ul class="evui-summary-thumbnail-ul">
|
|
15
|
-
<li
|
|
16
|
-
v-for="(submenu, index) in menu.children"
|
|
17
|
-
:key="submenu+index"
|
|
18
|
-
class="evui-summary-thumbnail-li"
|
|
19
|
-
@click.stop="$emit('clickSummary', menu.name, submenu.name, index)"
|
|
20
|
-
>
|
|
21
|
-
<router-link :to="submenu.routerLink">
|
|
22
|
-
<div class="evui-summary-thumbnail-box-image">
|
|
23
|
-
<img
|
|
24
|
-
:alt="submenu.name"
|
|
25
|
-
:src="submenu.imgUrl || '../static/images/noImage.png'"
|
|
26
|
-
class="evui-summary-thumbnail-img"
|
|
27
|
-
>
|
|
28
|
-
</div>
|
|
29
|
-
<div>
|
|
30
|
-
<h3> {{ submenu.name }} </h3>
|
|
31
|
-
<h4> {{ submenu.content }} </h4>
|
|
32
|
-
</div>
|
|
33
|
-
</router-link>
|
|
34
|
-
</li>
|
|
35
|
-
</ul>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</template>
|
|
39
|
-
|
|
40
|
-
<script>
|
|
41
|
-
export default {
|
|
42
|
-
components: {
|
|
43
|
-
},
|
|
44
|
-
props: {
|
|
45
|
-
totalStore: {
|
|
46
|
-
type: Array,
|
|
47
|
-
default: () => [],
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
data() {
|
|
51
|
-
return {
|
|
52
|
-
};
|
|
53
|
-
},
|
|
54
|
-
computed: {
|
|
55
|
-
},
|
|
56
|
-
methods: {
|
|
57
|
-
},
|
|
58
|
-
};
|
|
59
|
-
</script>
|
|
60
|
-
|
|
61
|
-
<style>
|
|
62
|
-
a, span {
|
|
63
|
-
text-decoration: none !important;
|
|
64
|
-
}
|
|
65
|
-
a:visited, a:any-link {
|
|
66
|
-
color: #000;
|
|
67
|
-
}
|
|
68
|
-
.evui-summary-content {
|
|
69
|
-
margin-top: 50px;
|
|
70
|
-
}
|
|
71
|
-
.evui-summary-thumbnail-content {
|
|
72
|
-
margin-bottom: 25px;
|
|
73
|
-
}
|
|
74
|
-
.evui-summary-thumbnail-title {
|
|
75
|
-
height: 25px;
|
|
76
|
-
width: calc(100% - 150px);
|
|
77
|
-
margin-bottom: 10px;
|
|
78
|
-
border-bottom: 2px solid #EBF4FE;
|
|
79
|
-
font-size: 16px;
|
|
80
|
-
font-weight: 800;
|
|
81
|
-
cursor: pointer;
|
|
82
|
-
}
|
|
83
|
-
.evui-summary-thumbnail-ul {
|
|
84
|
-
display: flex;
|
|
85
|
-
flex-wrap: wrap;
|
|
86
|
-
padding: 0 150px 0 10px;
|
|
87
|
-
margin: 0;
|
|
88
|
-
}
|
|
89
|
-
.evui-summary-thumbnail-ul:after {
|
|
90
|
-
flex: auto;
|
|
91
|
-
}
|
|
92
|
-
.evui-summary-thumbnail-li {
|
|
93
|
-
list-style: none;
|
|
94
|
-
float: left;
|
|
95
|
-
width: calc(16.6% - 23px);
|
|
96
|
-
margin: 10px;
|
|
97
|
-
box-shadow: 0 0 4px 4px rgba(0,0,0,0.1);
|
|
98
|
-
word-wrap: break-word;
|
|
99
|
-
}
|
|
100
|
-
.evui-summary-thumbnail-li:hover {
|
|
101
|
-
-webkit-transform: scale(1.05);
|
|
102
|
-
transform: scale(1.05);
|
|
103
|
-
cursor: pointer;
|
|
104
|
-
}
|
|
105
|
-
.evui-summary-thumbnail-li h3 {
|
|
106
|
-
padding: 5px 10px 5px 10px;
|
|
107
|
-
}
|
|
108
|
-
.evui-summary-thumbnail-li h4 {
|
|
109
|
-
padding: 5px 10px 5px 10px;
|
|
110
|
-
}
|
|
111
|
-
.evui-summary-thumbnail-box-image img {
|
|
112
|
-
width: 100%;
|
|
113
|
-
height: 150px;
|
|
114
|
-
border: 1px solid #eeeeee;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
@media all and (max-width: 1400px) {
|
|
118
|
-
.evui-summary-thumbnail-li{
|
|
119
|
-
list-style: none;
|
|
120
|
-
width: calc(25% - 23px);
|
|
121
|
-
margin: 10px;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
@media all and (max-width: 900px) {
|
|
125
|
-
.evui-summary-thumbnail-li{
|
|
126
|
-
list-style: none;
|
|
127
|
-
width: calc(50% - 23px);
|
|
128
|
-
margin: 10px;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
@media all and (max-width: 600px) {
|
|
132
|
-
.evui-summary-thumbnail-li{
|
|
133
|
-
list-style: none;
|
|
134
|
-
width: calc(100% - 23px);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
</style>
|
|
138
|
-
|