From ba98c26b01a4940154af147a6389503b267e5722 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Thu, 22 Sep 2022 14:05:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E9=80=9A=E7=9F=A5=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E6=94=B9=E9=80=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/header/components/notify/data.ts | 3 +- .../header/components/notify/index.vue | 116 +++++--- .../header/components/notify/index_old.vue | 272 ++++++++++++++++++ 3 files changed, 346 insertions(+), 45 deletions(-) create mode 100644 src/layouts/default/header/components/notify/index_old.vue diff --git a/src/layouts/default/header/components/notify/data.ts b/src/layouts/default/header/components/notify/data.ts index 7c95e6c..0570923 100644 --- a/src/layouts/default/header/components/notify/data.ts +++ b/src/layouts/default/header/components/notify/data.ts @@ -148,7 +148,8 @@ export const tabListData: TabItem[] = [ id: '000000008', avatar: 'https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg', title: '标题', - description: '请将鼠标移动到此处,以便测试超长的消息在此处将如何处理。本例中设置的描述最大行数为2,超过2行的描述内容将被省略并且可以通过tooltip查看完整内容', + description: + '请将鼠标移动到此处,以便测试超长的消息在此处将如何处理。本例中设置的描述最大行数为2,超过2行的描述内容将被省略并且可以通过tooltip查看完整内容', datetime: '2017-08-07', type: '2', clickClose: true, diff --git a/src/layouts/default/header/components/notify/index.vue b/src/layouts/default/header/components/notify/index.vue index b3f8c24..bcb85d1 100644 --- a/src/layouts/default/header/components/notify/index.vue +++ b/src/layouts/default/header/components/notify/index.vue @@ -1,36 +1,15 @@ +