|
@@ -15,11 +15,18 @@ Page({
|
|
|
height: app.globalData.height * 2 + 20,
|
|
|
},
|
|
|
// 此页面 页面内容距最顶部的距离
|
|
|
-
|
|
|
active: 0,
|
|
|
icon: {
|
|
|
- normal: 'https://img.yzcdn.cn/vant/user-inactive.png',
|
|
|
- active: 'https://img.yzcdn.cn/vant/user-active.png'
|
|
|
+ normal: '/pages/images/home.png',
|
|
|
+ active: '/pages/images/home_fill.png',
|
|
|
+ bankNormal:'/pages/images/duijie.png',
|
|
|
+ bankActive:'/pages/images/duijie_fill.png',
|
|
|
+ marketNormal:'/pages/images/recharge.png',
|
|
|
+ marketActive:'/pages/images/recharge_fill.png',
|
|
|
+ policyNormal:'/pages/images/news_hot.png',
|
|
|
+ policyActive:'/pages/images/news_hot_fill.png',
|
|
|
+ myNormal:'/pages/images/people.png',
|
|
|
+ myActive:'/pages/images/people_fill.png'
|
|
|
},
|
|
|
// 热门产品
|
|
|
productList: [{
|
|
@@ -107,7 +114,6 @@ Page({
|
|
|
},
|
|
|
// 切换菜单
|
|
|
onChange(event) {
|
|
|
- console.log(event.detail)
|
|
|
this.setData({
|
|
|
active: event.detail
|
|
|
});
|