|
@@ -20,22 +20,7 @@
|
|
|
this.$config('init');
|
|
|
},
|
|
|
onLaunch: function() {
|
|
|
- const theme = getApp().globalData.theme
|
|
|
- uni.setTabBarStyle({
|
|
|
- color: this.$config("topBarTitleColors"),
|
|
|
- selectedColor: this.$config("primaryColor"),
|
|
|
- borderStyle: 'white'
|
|
|
- })
|
|
|
- uni.setTabBarItem({
|
|
|
- "index": 0,
|
|
|
- "iconPath": "static/"+theme+"/tabbar/record.png",
|
|
|
- "selectedIconPath": "static/"+theme+"/tabbar/record-active.png",
|
|
|
- })
|
|
|
- uni.setTabBarItem({
|
|
|
- "index": 1,
|
|
|
- "iconPath": "static/"+theme+"/tabbar/user.png",
|
|
|
- "selectedIconPath": "static/"+theme+"/tabbar/user-active.png",
|
|
|
- })
|
|
|
+ console.log('App launch')
|
|
|
},
|
|
|
onShow: function() {
|
|
|
console.log('App Show')
|