From 37cd77d4ddf571abf5b7f73955dcf168c50432e7 Mon Sep 17 00:00:00 2001
From: xiaoxian521 <1923740402@qq.com>
Date: Thu, 25 Sep 2025 20:27:14 +0800
Subject: [PATCH] chore: update
---
src/App.vue | 36 ++++++++++++++++++++----------------
1 file changed, 20 insertions(+), 16 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index e608022c1..0fb54ffde 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -55,22 +55,22 @@ export default defineComponent({
);
}
},
- // mounted() {
- // ElNotification({
- // title: "平台最新活动与动态",
- // duration: 0,
- // customClass: "fullpage-notification",
- // // @ts-expect-error
- // style: { width: "260px" },
- // position: "bottom-right",
- // dangerouslyUseHTMLString: true,
- // message: `
- //
- // 点我查看
- //
- // `
- // });
- // }
+ mounted() {
+ ElNotification({
+ title: "国庆限时优惠活动",
+ duration: 0,
+ customClass: "fullpage-notification",
+ // @ts-expect-error
+ style: { width: "260px" },
+ position: "bottom-right",
+ dangerouslyUseHTMLString: true,
+ message: `
+
+ 点我查看
+
+ `
+ });
+ }
});
@@ -78,4 +78,8 @@ export default defineComponent({
.fullpage-notification > .el-notification__group > .el-notification__closeBtn {
top: 15px;
}
+.fullpage-notification > div > h2 {
+ color: red;
+ font-size: 18px;
+}