更新记录
1.0.0(2021-03-23) 下载此版本
没有更新日志
平台兼容性
uni-app
Vue2 | Vue3 | Chrome | Safari | app-vue | app-nvue | Android | iOS | 鸿蒙 |
---|---|---|---|---|---|---|---|---|
- | - | √ | √ | - | - | - | - | - |
微信小程序 | 支付宝小程序 | 抖音小程序 | 百度小程序 | 快手小程序 | 京东小程序 | 鸿蒙元服务 | QQ小程序 | 飞书小程序 | 快应用-华为 | 快应用-联盟 |
---|---|---|---|---|---|---|---|---|---|---|
√ | - | - | - | - | - | - | - | - | - | - |
footer
使用方法
main.js 全局注册
import Footer from 'components/footer/footer.vue'
Vue.component('Footer', Footer)
index 首页
<Footer :barList="barList"></Footer>
export default {
data() {
return {
barList:[{
"pagePath": "pages/index/index",
"iconPath": "static/shouy1@2x.png",
"selectedIconPath": "static/shouy2@2x.png",
"text": "首页"
},
{
"pagePath": "pages/user/user",
"iconPath": "static/wd1@2x.png",
"selectedIconPath": "static/wd2@2x.png",
"text": "我的"
}]
};
}
}