提交 daf1d74c 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

feat: 支付宝小程序支持自定义tabbar

上级 c42e4adf
...@@ -20,7 +20,8 @@ module.exports = { ...@@ -20,7 +20,8 @@ module.exports = {
subPackages: true subPackages: true
}, },
copyWebpackOptions (platformOptions, vueOptions) { copyWebpackOptions (platformOptions, vueOptions) {
const copyOptions = ['mycomponents'] const copyOptions = ['mycomponents', 'customize-tab-bar']
global.uniModules.forEach(module => { global.uniModules.forEach(module => {
copyOptions.push('uni_modules/' + module + '/mycomponents') copyOptions.push('uni_modules/' + module + '/mycomponents')
}) })
......
...@@ -22,6 +22,7 @@ const alipayWindowMap = { ...@@ -22,6 +22,7 @@ const alipayWindowMap = {
} }
const alipayTabBarMap = { const alipayTabBarMap = {
customize: 'customize',
textColor: 'color', textColor: 'color',
selectedColor: 'selectedColor', selectedColor: 'selectedColor',
backgroundColor: 'backgroundColor', backgroundColor: 'backgroundColor',
...@@ -145,4 +146,4 @@ module.exports = { ...@@ -145,4 +146,4 @@ module.exports = {
parseTabBar, parseTabBar,
trimMPJson, trimMPJson,
NON_APP_JSON_KEYS NON_APP_JSON_KEYS
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册