diff --git a/src/app.wpy b/src/app.wpy index 8651c17..1b4bf7e 100644 --- a/src/app.wpy +++ b/src/app.wpy @@ -39,10 +39,10 @@ import api from '@/utils/api' export default class extends wepy.app { config = { pages: [ - 'pages/hr/index', 'pages/topics/index', - 'pages/users/post', 'pages/test/index', + 'pages/hr/index', + 'pages/users/post', 'pages/users/me', 'pages/auth/register', 'pages/auth/login', diff --git a/src/pages/grid/index.wpy b/src/pages/grid/index.wpy index 8d1d8e2..1f7f707 100644 --- a/src/pages/grid/index.wpy +++ b/src/pages/grid/index.wpy @@ -80,6 +80,10 @@ grids: [0, 1, 2, 3, 4, 5, 6, 7, 8], privilege: 3, function_cells: [{ + name: '我要发布', + src: '/static/images/profile/locked.png', + page: '/pages/users/post' + }, { name: '救助站', src: '/static/images/profile/gift.png', page: '/pages/grid/reliefstation' @@ -105,9 +109,6 @@ }, { name: '未开放', src: '/static/images/profile/locked.png' - }, { - name: '未开放', - src: '/static/images/profile/locked.png' }], gifts: [{ name: '精美礼品', diff --git a/src/pages/grid/volunteer.wpy b/src/pages/grid/volunteer.wpy index 9a5aa71..2320fe3 100644 --- a/src/pages/grid/volunteer.wpy +++ b/src/pages/grid/volunteer.wpy @@ -71,9 +71,6 @@ }, { name: '未开放', src: '/static/images/profile/locked.png' - }, { - name: '未开放', - src: '/static/images/profile/locked.png' }], gifts: [{ name: '精美礼品', diff --git a/src/pages/test/index.wpy b/src/pages/test/index.wpy index 8c2c516..187aefa 100644 --- a/src/pages/test/index.wpy +++ b/src/pages/test/index.wpy @@ -3,7 +3,11 @@