引入
{
"usingComponents": {
"x-header": "waft-ui/assembly/header/header"
}
}
代码示例
<!-- 最多支持两个tip -->
<x-header tip1="天猫精灵,打开勿扰模式" tip2="天猫精灵,关闭勿扰模式"></x-header>
效果展示
API
- props | 参数 | 说明 | 类型 | 默认值 | | —- | —- | —- | —- | | tip1 | 提示1 | string | | | tip2 | 提示2 | string | |