File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed
examples/sites/demos/pc/app/button-group Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 11
11
</template >
12
12
</tiny-button-group >
13
13
</div >
14
- <p >插槽引用tag角标 </p >
14
+ <p >插槽引用 tag 角标 </p >
15
15
<div class =" tag" >
16
16
<tiny-button-group :data =" groupDataTag" v-model =" checkedVal" >
17
17
<template #btn =" { sup } " >
@@ -136,7 +136,10 @@ const groupDataTag = ref([
136
136
.demo-button .tag li :first-child button {
137
137
width : 100px ;
138
138
}
139
- .tiny-only-icon {
139
+ .demo-button .tag .tiny-group-item__sup {
140
+ line-height : 12px ;
141
+ }
142
+ .demo-button .tag .tiny-only-icon {
140
143
border-radius : 0px 6px ;
141
144
}
142
145
</style >
Original file line number Diff line number Diff line change 11
11
</template >
12
12
</tiny-button-group >
13
13
</div >
14
- <p >插槽引用tag角标 </p >
14
+ <p >插槽引用 tag 角标 </p >
15
15
<div class =" tag" >
16
16
<tiny-button-group :data =" groupData2" v-model =" checkedVal" >
17
17
<template #btn =" { sup } " >
@@ -146,7 +146,10 @@ export default {
146
146
.demo-button .tag li :first-child button {
147
147
width : 100px ;
148
148
}
149
- .tiny-only-icon {
149
+ .demo-button .tag .tiny-group-item__sup {
150
+ line-height : 12px ;
151
+ }
152
+ .demo-button .tag .tiny-only-icon {
150
153
border-radius : 0px 6px ;
151
154
}
152
155
</style >
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ export default {
18
18
{
19
19
demoId : 'size' ,
20
20
name : {
21
- 'zh-CN' : '组件尺寸大小 ' ,
22
- 'en-US' : 'Set Component Size'
21
+ 'zh-CN' : '组件尺寸 ' ,
22
+ 'en-US' : 'Component Size'
23
23
} ,
24
24
desc : {
25
25
'zh-CN' :
@@ -131,8 +131,7 @@ export default {
131
131
'en-US' : ''
132
132
} ,
133
133
desc : {
134
- 'zh-CN' :
135
- '<p>通过 <code>data</code> 的 <code>sup</code> 属性配置选块角标,详见 <a href="IButtonGroupData">IButtonGroupData</a> 。</p>' ,
134
+ 'zh-CN' : '<p>通过 <code>data</code> 的 <code>sup</code> 属性配置选块角标。</p>' ,
136
135
'en-US' : ''
137
136
} ,
138
137
codeFiles : [ 'sup.vue' ]
You can’t perform that action at this time.
0 commit comments