diff --git a/src/api/bulletins.ts b/src/api/bulletins.ts
index fc1582a..0a04211 100644
--- a/src/api/bulletins.ts
+++ b/src/api/bulletins.ts
@@ -12,6 +12,14 @@ export interface BulletinsRecord {
current: number;
}
+export interface BulletinsList extends BulletinsRecord{
+ id?: number;
+ remark: string;
+ createBy: string;
+ content: string;
+ publishTime: string;
+ }
+
// 查看详情
export function queryBulletinsListAll(id: number) {
return axios.get(`/api/rest/bulletin/self/${id}`);
diff --git a/src/router/routes/modules/user.ts b/src/router/routes/modules/user.ts
index 9dd9894..192959f 100644
--- a/src/router/routes/modules/user.ts
+++ b/src/router/routes/modules/user.ts
@@ -44,6 +44,17 @@ const USER: AppRouteRecordRaw = {
permissions: ['*'],
},
},
+ {
+ path: 'bulletinCard',
+ name: 'BulletinCard',
+ component: () => import('@/views/user/bulletin-card/index.vue'),
+ meta: {
+ locale: '公告通知(卡片)',
+ title: '公告通知(卡片)',
+ requiresAuth: true,
+ permissions: ['*'],
+ },
+ },
{
path: 'messages',
name: 'Messages',
diff --git a/src/views/user/bulletin-card/components/bulletin-detail.vue b/src/views/user/bulletin-card/components/bulletin-detail.vue
new file mode 100644
index 0000000..32a4af0
--- /dev/null
+++ b/src/views/user/bulletin-card/components/bulletin-detail.vue
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/user/bulletin-card/components/card-wrap.vue b/src/views/user/bulletin-card/components/card-wrap.vue
new file mode 100644
index 0000000..c3b7271
--- /dev/null
+++ b/src/views/user/bulletin-card/components/card-wrap.vue
@@ -0,0 +1,143 @@
+
+
+
+
+
+
+
+
+
+
+ {{ title }}
+
+
+
+
+
+ {{ createBy }}
+
+
+ {{ dayjs(publishTime).format('YYYY-MM-DD HH:mm:ss') }}
+
+
+ {{ remark }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/user/bulletin-card/index.vue b/src/views/user/bulletin-card/index.vue
new file mode 100644
index 0000000..a782c6f
--- /dev/null
+++ b/src/views/user/bulletin-card/index.vue
@@ -0,0 +1,210 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file