feat(old-items): complete reuse workflow and refine miniapp home
This commit is contained in:
@@ -8,12 +8,6 @@ Page({
|
||||
message: '正在安全登录,请稍候…',
|
||||
title: MINI_PROGRAM_TITLE,
|
||||
canCollaborate: false,
|
||||
serviceCategories: [
|
||||
{ code: 'OLD_AGE', label: '关爱老人', symbol: '老', tone: 'orange' },
|
||||
{ code: 'WOMEN_CHILDREN', label: '困境儿童', symbol: '童', tone: 'green' },
|
||||
{ code: 'WOMEN_CHILDREN', label: '妇女帮扶', symbol: '女', tone: 'rose' },
|
||||
{ code: 'DISABILITY', label: '残障救助', symbol: '助', tone: 'blue' },
|
||||
],
|
||||
},
|
||||
|
||||
onLoad() {
|
||||
@@ -53,13 +47,6 @@ Page({
|
||||
void wx.navigateTo({ url: '/pages/application-form/application-form?mode=FAMILY' });
|
||||
},
|
||||
|
||||
applyForCategory(event: WechatMiniprogram.BaseEvent) {
|
||||
const category = event.currentTarget.dataset['code'] as string;
|
||||
void wx.navigateTo({
|
||||
url: `/pages/application-form/application-form?mode=SELF&category=${category}`,
|
||||
});
|
||||
},
|
||||
|
||||
viewMyApplications() {
|
||||
void wx.navigateTo({ url: '/pages/my-applications/my-applications' });
|
||||
},
|
||||
@@ -82,6 +69,12 @@ Page({
|
||||
viewContent() {
|
||||
void wx.navigateTo({ url: '/pages/content/content' });
|
||||
},
|
||||
viewFinancialDisclosures() {
|
||||
void wx.navigateTo({ url: '/pages/financial-disclosures/financial-disclosures' });
|
||||
},
|
||||
viewOldItems() {
|
||||
void wx.navigateTo({ url: '/pages/old-item-home/old-item-home' });
|
||||
},
|
||||
viewOrganization() {
|
||||
void wx.navigateTo({ url: '/pages/content/content?type=ORGANIZATION_INTRO' });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user