|
@@ -17,6 +17,7 @@ export default defineUniPages({
|
|
|
},
|
|
|
},
|
|
|
tabBar: {
|
|
|
+ custom: true,
|
|
|
color: '#999999',
|
|
|
selectedColor: '#018d71',
|
|
|
backgroundColor: '#F8F8F8',
|
|
@@ -27,16 +28,34 @@ export default defineUniPages({
|
|
|
spacing: '3px',
|
|
|
list: [
|
|
|
{
|
|
|
- iconPath: 'static/tabbar/home.png',
|
|
|
- selectedIconPath: 'static/tabbar/homeHL.png',
|
|
|
+ icon: '/static/tabbar/home.png',
|
|
|
pagePath: 'pages/index/index',
|
|
|
text: '%tabbar.home%',
|
|
|
+ iconType: 'local',
|
|
|
},
|
|
|
{
|
|
|
- iconPath: 'static/tabbar/example.png',
|
|
|
- selectedIconPath: 'static/tabbar/exampleHL.png',
|
|
|
- pagePath: 'pages/about/about',
|
|
|
- text: '%tabbar.about%',
|
|
|
+ icon: '/static/tabbar/category.png',
|
|
|
+ pagePath: 'pages/category/category',
|
|
|
+ text: '%tabbar.category%',
|
|
|
+ iconType: 'local',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: '/static/tabbar/cart.png',
|
|
|
+ pagePath: 'pages/cart/cart',
|
|
|
+ text: '%tabbar.cart%',
|
|
|
+ iconType: 'local',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: '/static/tabbar/community.png',
|
|
|
+ pagePath: 'pages/community/community',
|
|
|
+ text: '%tabbar.community%',
|
|
|
+ iconType: 'local',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: '/static/tabbar/person.png',
|
|
|
+ pagePath: 'pages/person/person',
|
|
|
+ text: '%tabbar.person%',
|
|
|
+ iconType: 'local',
|
|
|
},
|
|
|
],
|
|
|
},
|