chore: establish V1.1 recovery baseline
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* SectionHeader 区块标题(规范 §18)
|
||||
*
|
||||
* 标题 + 可选副标题 + 右侧操作入口。
|
||||
* 用法:
|
||||
* <ui-section-header title="今日推荐" subtitle="共 6 位"
|
||||
* action="查看更多" bind:action="onMore" />
|
||||
*/
|
||||
Component({
|
||||
options: { addGlobalClass: true },
|
||||
properties: {
|
||||
title: { type: String, value: '' },
|
||||
subtitle: { type: String, value: '' },
|
||||
action: { type: String, value: '' },
|
||||
},
|
||||
methods: {
|
||||
onAction() {
|
||||
this.triggerEvent('action', {});
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user