# 12.底部固定按钮(midea-footer)
APP 内置组件,可直接在 template 中使用,不需要 import 导入和注册;
# 基础用法
<template>
<midea-footer
ref="footer"
:scene="scene"
@updateSiri="updateSiri"
:reverseFlag="reverseFlag"
:TEXT="TEXT"
:homeInfo="homeInfo"
/>
</template>
<script>
export default {
data() {
return {
}
}
methods: {
}
}
</script>
# Attributes:data
Prop | Type | Required | Default | Description |
---|---|---|---|---|
supportRTL | Boolean | N | false | 是否适配阿拉伯语时的样式 |
- 注 1 data.list
Prop | Type | Required | Default | Description |
---|---|---|---|---|
itemId | string | Y | 唯一标识符 |
# Events
事件名称 | 说明 | 回调参数 |
---|---|---|
onClickEvent | 点击事件通知 返回当前点击的 item 数据 | {"itemId": '', "name": '', "icon": ''} |