期望:希望实现一个自定义底部bar,上传文件失败??很急啊?请官方解答下。但是样式不能继承,希望大家能给我个建议
目前的目录结构:
index.html 引入了两个组件一个 是 ws-tabbar 和 ws-tab-item
image>
{{item.title}}
view>
ws-tab-item>
block>
ws-tabbar>
view>
ws-tabbar.html
slot>
view>
ws-tab-item
slot>
slot>
view>
view>


本文来自微信小程序开发者论坛 微信小程序工厂 http://www.xcxgc.com 转载请保留。
微信小程序开发者回答:
W***:
官方的API就很好解决这个嘛
https://mp.weixin.qq.com/debug/wxadoc/dev/api/ui-tabbar.html#wxsettabbarbadgeobject
本文网址:http://www.91bianli.com/weixinxiaochengxu/56269.html