chore: establish V1.1 recovery baseline
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* StatusBadge 状态徽标(规范 §22 / §107 STATUS_BADGE 映射)
|
||||
*
|
||||
* 用统一的 kind 控制色彩语义:success / warning / danger / info / disabled
|
||||
* 用法:
|
||||
* <ui-status-badge kind="success" label="已实名" />
|
||||
* <ui-status-badge kind="warning" label="审核中" />
|
||||
*/
|
||||
Component({
|
||||
options: { addGlobalClass: true },
|
||||
properties: {
|
||||
kind: { type: String, value: 'info' }, // success|warning|danger|info|disabled
|
||||
label: { type: String, value: '' },
|
||||
icon: { type: Boolean, value: false }, // 是否显示前缀圆点
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user