File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 22
22
<div style =" margin-top : 5px ;" >
23
23
<transition name =" el-zoom-in-center" >
24
24
<el-tag v-if =" attributeKeys.indexOf('class') == -1" size =" small" type =" success" @click =" onClassClick"
25
- effect =" dark" >Class
25
+ effect =" dark" class = " tag " >Class
26
26
</el-tag >
27
27
</transition >
28
28
<transition name =" el-zoom-in-center" >
29
29
<el-tag v-if =" attributeKeys.indexOf('@click') == -1" size =" small" type =" success" @click =" onEventClick"
30
- effect =" dark" >点击事件</el-tag >
30
+ effect =" dark" class = " tag " >点击事件</el-tag >
31
31
</transition >
32
32
<transition name =" el-zoom-in-center" >
33
33
<el-tag v-if =" !attributeKeys.includes('__text__')" size =" small" type =" success" @click =" onTextClick"
34
- effect =" dark" >文本内容</el-tag >
34
+ effect =" dark" class = " tag " >文本内容</el-tag >
35
35
</transition >
36
36
</div >
37
37
</div >
@@ -262,7 +262,7 @@ export default {
262
262
};
263
263
</script >
264
264
265
- <style scoped>
265
+ <style scoped lang="scss" >
266
266
.container {
267
267
padding : 10px ;
268
268
width : 50% ;
@@ -291,6 +291,14 @@ export default {
291
291
border-radius : 5px ;
292
292
font-size : 12px ;
293
293
color : gray ;
294
+
295
+ .tag {
296
+ margin-right : 5px ;
297
+ }
298
+
299
+ .tag :last-child {
300
+ margin-right : 0 ;
301
+ }
294
302
}
295
303
296
304
.split {
You can’t perform that action at this time.
0 commit comments