diff --git a/src/pages.json b/src/pages.json index f5ace73..64a6baa 100644 --- a/src/pages.json +++ b/src/pages.json @@ -153,6 +153,38 @@ }, "needLogin": false }, + { + "path": "pages/info-publish/announce-notice", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/info-publish/basic-info", + "type": "page" + }, + { + "path": "pages/info-publish/info-publish", + "type": "page" + }, + { + "path": "pages/info-publish/notice-details", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/info-publish/notice-manage", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom" + } + }, { "path": "pages/login/login", "type": "page", diff --git a/src/pages/home/home.vue b/src/pages/home/home.vue index 30bc7ab..201d182 100644 --- a/src/pages/home/home.vue +++ b/src/pages/home/home.vue @@ -255,7 +255,8 @@ { id: 309, icon: 'https://file.hikmall.com/prod/image/0706b7ff1e044928872839c61be74d54.png', - name: '公告' + name: '公告', + url: '/pages/info-publish/notice-manage' }, { id: 6093, @@ -316,5 +317,8 @@ const clickItem = item => { console.log(item) + uni.navigateTo({ + url: item.url + }) } diff --git a/src/pages/info-publish/announce-notice.vue b/src/pages/info-publish/announce-notice.vue new file mode 100644 index 0000000..0826981 --- /dev/null +++ b/src/pages/info-publish/announce-notice.vue @@ -0,0 +1,174 @@ + +{ + layout: 'default', + style: { + navigationStyle: 'custom' + } +} + + + + + + + + + + * + 公告标题 + + + + + + + * + 公告正文 + + + {{ contentLength }}/2000 + + + + + + 下一步 + + + + + + + diff --git a/src/pages/info-publish/basic-info.vue b/src/pages/info-publish/basic-info.vue new file mode 100644 index 0000000..43807b7 --- /dev/null +++ b/src/pages/info-publish/basic-info.vue @@ -0,0 +1,349 @@ + +{ + layout: 'default', + style: { + navigationStyle: 'custom' + } +} + + + + + + + + 基本信息 + + + + + * + 发布对象 + + + 请选择 + > + + + + + + + * + 发布时间 + + + {{ publishType }} + > + + + + + + + * + 发布日期 + + + {{ publishDate }} + > + + + + + + + * + 发布时间 + + + {{ publishTimeDetail }} + > + + + + + + + + + + + + + + 请选择发布时间 + × + + + + 立即发布 + ✓ + + + 定时发布 + ✓ + + + + + + + + + + diff --git a/src/pages/info-publish/drafts-list.vue b/src/pages/info-publish/drafts-list.vue new file mode 100644 index 0000000..50e6778 --- /dev/null +++ b/src/pages/info-publish/drafts-list.vue @@ -0,0 +1,107 @@ + +{ + layout: 'default', + style: { + navigationStyle: 'custom' + } +} + + + + + + + + {{ item.title }} + {{ item.content }} + + {{ item.author }} + {{ item.date }} + + + + + + + + diff --git a/src/pages/info-publish/info-publish.vue b/src/pages/info-publish/info-publish.vue new file mode 100644 index 0000000..126a836 --- /dev/null +++ b/src/pages/info-publish/info-publish.vue @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/pages/info-publish/notice-details.vue b/src/pages/info-publish/notice-details.vue new file mode 100644 index 0000000..9572730 --- /dev/null +++ b/src/pages/info-publish/notice-details.vue @@ -0,0 +1,151 @@ + +{ + layout: 'default', + style: { + navigationStyle: 'custom' + } +} + + + + + + + + + {{ item.title }} + {{ item.content }} + + {{ item.author }} + {{ item.date }} + + + + + + + 撤回 + 分享到微信 + + + + + + + diff --git a/src/pages/info-publish/notice-manage.vue b/src/pages/info-publish/notice-manage.vue new file mode 100644 index 0000000..b59e790 --- /dev/null +++ b/src/pages/info-publish/notice-manage.vue @@ -0,0 +1,294 @@ + +{ + layout: 'default', + style: { + navigationStyle: 'custom' + } +} + + + + + + + + + 公告管理 + + + 公告栏 + + + + + + 若需发布图片、视频公告,请在web端发布 + 复制地址 + + + + + + {{ item.title }} + {{ item.content }} + + {{ item.author }} + {{ item.date }} + + {{ item.status }} + + + + + + + {{ item.title }} + {{ item.content }} + + {{ item.author }} + {{ item.date }} + + {{ item.status }} + + + + + + 草稿箱 + 发布公告 + + + + + + + diff --git a/src/types/uni-pages.d.ts b/src/types/uni-pages.d.ts index 3a084ea..11e6519 100644 --- a/src/types/uni-pages.d.ts +++ b/src/types/uni-pages.d.ts @@ -17,6 +17,9 @@ interface NavigateToOptions { "/pages/attendance/issue-record" | "/pages/code/code" | "/pages/get-code/get-code" | + "/pages/info-publish/info-publish" | + "/pages/info-publish/notice-details" | + "/pages/info-publish/notice" | "/pages/login/login" | "/pages/mine/mine" | "/pages/notification/notification" |