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 1111 </template >
1212 </tiny-button-group >
1313 </div >
14- <p >插槽引用tag角标 </p >
14+ <p >插槽引用 tag 角标 </p >
1515 <div class =" tag" >
1616 <tiny-button-group :data =" groupDataTag" v-model =" checkedVal" >
1717 <template #btn =" { sup } " >
@@ -136,7 +136,10 @@ const groupDataTag = ref([
136136.demo-button .tag li :first-child button {
137137 width : 100px ;
138138}
139- .tiny-only-icon {
139+ .demo-button .tag .tiny-group-item__sup {
140+ line-height : 12px ;
141+ }
142+ .demo-button .tag .tiny-only-icon {
140143 border-radius : 0px 6px ;
141144}
142145 </style >
Original file line number Diff line number Diff line change 1111 </template >
1212 </tiny-button-group >
1313 </div >
14- <p >插槽引用tag角标 </p >
14+ <p >插槽引用 tag 角标 </p >
1515 <div class =" tag" >
1616 <tiny-button-group :data =" groupData2" v-model =" checkedVal" >
1717 <template #btn =" { sup } " >
@@ -146,7 +146,10 @@ export default {
146146.demo-button .tag li :first-child button {
147147 width : 100px ;
148148}
149- .tiny-only-icon {
149+ .demo-button .tag .tiny-group-item__sup {
150+ line-height : 12px ;
151+ }
152+ .demo-button .tag .tiny-only-icon {
150153 border-radius : 0px 6px ;
151154}
152155 </style >
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ export default {
1818 {
1919 demoId : 'size' ,
2020 name : {
21- 'zh-CN' : '组件尺寸大小 ' ,
22- 'en-US' : 'Set Component Size'
21+ 'zh-CN' : '组件尺寸 ' ,
22+ 'en-US' : 'Component Size'
2323 } ,
2424 desc : {
2525 'zh-CN' :
@@ -131,8 +131,7 @@ export default {
131131 'en-US' : ''
132132 } ,
133133 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>' ,
136135 'en-US' : ''
137136 } ,
138137 codeFiles : [ 'sup.vue' ]
You can’t perform that action at this time.
0 commit comments