第一步: config: Config = {
navigationStyle: ‘custom’,
}
第二步:自定导航栏样式
获取胶囊高度,宽度
Taro.getMenuButtonBoundingClientRect();
第三步:
正常导入组件即可
第一步: config: Config = {
navigationStyle: ‘custom’,
}
第二步:自定导航栏样式
获取胶囊高度,宽度
Taro.getMenuButtonBoundingClientRect();
第三步:
正常导入组件即可