chore: update

This commit is contained in:
xiaoxian521 2025-09-25 20:27:14 +08:00
parent 728ccd6d9a
commit 37cd77d4dd

View File

@ -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: `
// <a target='_blank' class='block text-base text-center border mt-4 rounded hover:text-[red]!' href='https://pure-admin.cn/pages/service/#%E6%9C%80%E6%96%B0%E6%B4%BB%E5%8A%A8%E4%B8%8E%E5%8A%A8%E6%80%81'>
//
// </a>
// `
// });
// }
mounted() {
ElNotification({
title: "国庆限时优惠活动",
duration: 0,
customClass: "fullpage-notification",
// @ts-expect-error
style: { width: "260px" },
position: "bottom-right",
dangerouslyUseHTMLString: true,
message: `
<a target='_blank' class='block text-base text-center border mt-4 rounded hover:text-[red]!' href='https://pure-admin.cn/pages/service/#最新活动'>
点我查
</a>
`
});
}
});
</script>
@ -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;
}
</style>