-
Notifications
You must be signed in to change notification settings - Fork 551
Expand file tree
/
Copy pathtabbar.js
More file actions
37 lines (35 loc) · 1016 Bytes
/
tabbar.js
File metadata and controls
37 lines (35 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import CustomPage from '../../base/CustomPage'
const app = getApp()
CustomPage({
data: {
list: [
{
text: '微信',
slotIcon: "wx",
selectSlotIcon: "selwx",
iconPath: app.globalData.iconTabbar,
selectedIconPath: app.globalData.iconTabbar,
badge: '8'
},
{
text: '通讯录',
iconPath: app.globalData.iconTabbar,
selectedIconPath: app.globalData.iconTabbar
},
{
text: '发现',
iconPath: app.globalData.iconTabbar,
selectedIconPath: app.globalData.iconTabbar,
dot: true
},
{
text: '我',
iconPath: app.globalData.iconTabbar,
selectedIconPath: app.globalData.iconTabbar
}
]
},
tabChange(e) {
console.log('tab change', e)
}
})