优化界面

This commit is contained in:
刘祥超
2022-03-17 19:57:41 +08:00
parent a36b843eff
commit fba2953974
2 changed files with 6 additions and 1 deletions

View File

@@ -43,3 +43,8 @@ Vue.component("grey-label", {
},
template: `<span class="ui label basic tiny" :class="labelColor" style="margin-top: 0.4em; font-size: 0.7em; border: 1px solid #ddd!important; font-weight: normal;"><slot></slot></span>`
})
// 可选标签
Vue.component("optional-label", {
template: `<em><span class="grey">(可选)</span></em>`
})