mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-10-10 12:14:50 +08:00
chore: update
This commit is contained in:
parent
728ccd6d9a
commit
37cd77d4dd
36
src/App.vue
36
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: `
|
||||
// <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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user