We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
微信小程序
小程序基础库: 2.26.0 使用框架: Vue 3
按照微信文档在src下新建 custom-tab-bar 文件夹;里面有index.vue和index.config.ts文件;想请问怎么去配置 options: { addGlobalClass: true } 去用全局的样式覆盖自定义组件的样式? 在index.config.ts中不支持这个属性
自定义tabbar组件能够正确的展示样式
没有样式展示
Taro v3.5.5 Taro CLI 3.5.5 environment info: System: OS: macOS High Sierra 10.13.6 Shell: 5.3 - /bin/zsh Binaries: Node: 12.18.0 - ~/.nvm/versions/node/v12.18.0/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 6.14.4 - ~/.nvm/versions/node/v12.18.0/bin/npm npmPackages: @tarojs/cli: 3.5.5 => 3.5.5 @tarojs/components: 3.5.5 => 3.5.5 @tarojs/helper: 3.5.5 => 3.5.5 @tarojs/plugin-framework-vue3: 3.5.5 => 3.5.5 @tarojs/plugin-html: 3.5.5 => 3.5.5 @tarojs/plugin-platform-alipay: 3.5.5 => 3.5.5 @tarojs/plugin-platform-jd: 3.5.5 => 3.5.5 @tarojs/plugin-platform-qq: 3.5.5 => 3.5.5 @tarojs/plugin-platform-swan: 3.5.5 => 3.5.5 @tarojs/plugin-platform-tt: 3.5.5 => 3.5.5 @tarojs/plugin-platform-weapp: 3.5.5 => 3.5.5 @tarojs/router: 3.5.5 => 3.5.5 @tarojs/runtime: 3.5.5 => 3.5.5 @tarojs/shared: 3.5.5 => 3.5.5 @tarojs/taro: 3.5.5 => 3.5.5 @tarojs/taro-h5: 3.5.5 => 3.5.5 @tarojs/webpack5-runner: 3.5.5 => 3.5.5 babel-preset-taro: 3.5.5 => 3.5.5 eslint-config-taro: 3.5.5 => 3.5.5 npmGlobalPackages: typescript: 4.8.3
The text was updated successfully, but these errors were encountered:
看到有这个回复 #11060 (comment) 但是不知道怎么配置
Sorry, something went wrong.
https://docs.taro.zone/docs/custom-tabbar/#%E7%BB%84%E4%BB%B6%E9%85%8D%E7%BD%AE%E9%A1%B9
No branches or pull requests
相关平台
微信小程序
小程序基础库: 2.26.0
使用框架: Vue 3
复现步骤
按照微信文档在src下新建 custom-tab-bar 文件夹;里面有index.vue和index.config.ts文件;想请问怎么去配置 options: {
addGlobalClass: true
} 去用全局的样式覆盖自定义组件的样式?
在index.config.ts中不支持这个属性
期望结果
自定义tabbar组件能够正确的展示样式
实际结果
没有样式展示
环境信息
The text was updated successfully, but these errors were encountered: