|
@@ -12,7 +12,7 @@ Page({
|
|
{ icon: '/static/image/me-3.png', title: '报名记录' },
|
|
{ icon: '/static/image/me-3.png', title: '报名记录' },
|
|
{ icon: '/static/image/me-4.png', title: '优惠券' },
|
|
{ icon: '/static/image/me-4.png', title: '优惠券' },
|
|
{ icon: '/static/image/me-5.png', title: '设置' },
|
|
{ icon: '/static/image/me-5.png', title: '设置' },
|
|
- // { icon: '/static/image/me-5.png', title: '参赛管理' },
|
|
|
|
|
|
+ { icon: '/static/image/me-3.png', title: '参赛管理' },
|
|
{ icon: '/static/image/me-6.png', title: '联系客服' }
|
|
{ icon: '/static/image/me-6.png', title: '联系客服' }
|
|
],
|
|
],
|
|
userInfo: {},
|
|
userInfo: {},
|
|
@@ -44,11 +44,11 @@ Page({
|
|
2: `/pages/registrationRecords/registrationRecords`,
|
|
2: `/pages/registrationRecords/registrationRecords`,
|
|
3: `/pages/coupon/coupon`,
|
|
3: `/pages/coupon/coupon`,
|
|
4: `/pages/setting/setting`,
|
|
4: `/pages/setting/setting`,
|
|
- // 5:`/pages/registrationRecordList/registrationRecordList`,
|
|
|
|
|
|
+ 5:`/pages/registrationRecordList/registrationRecordList`,
|
|
};
|
|
};
|
|
if (pageMap[index]) {
|
|
if (pageMap[index]) {
|
|
wx.navigateTo({ url: pageMap[index] });
|
|
wx.navigateTo({ url: pageMap[index] });
|
|
- } else if (index === 5) {
|
|
|
|
|
|
+ } else if (index === 6) {
|
|
const tabbar = this.getTabBar && this.getTabBar();
|
|
const tabbar = this.getTabBar && this.getTabBar();
|
|
if (tabbar && tabbar.openShowAgreementModal) {
|
|
if (tabbar && tabbar.openShowAgreementModal) {
|
|
tabbar.openShowAgreementModal()
|
|
tabbar.openShowAgreementModal()
|
|
@@ -82,7 +82,7 @@ Page({
|
|
|
|
|
|
handleActionWithLogin(e) {
|
|
handleActionWithLogin(e) {
|
|
const index = e.currentTarget.dataset.index;
|
|
const index = e.currentTarget.dataset.index;
|
|
- if (index >= 2 && index <= 4 && !isLoggedIn()) {
|
|
|
|
|
|
+ if (index >= 2 && index <= 5 && !isLoggedIn()) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
this.doAction(index);
|
|
this.doAction(index);
|