Skip to content

Commit

Permalink
移除活动信息
Browse files Browse the repository at this point in the history
  • Loading branch information
hooray committed Mar 30, 2024
1 parent 093a792 commit 53cd5da
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 26 deletions.
46 changes: 23 additions & 23 deletions src/layouts/components/BuyIt/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,29 +22,29 @@ function open(url: string) {
onMounted(() => {
eventBus.on('global-ui-component-switch', () => switchUI())
ElNotification({
type: 'info',
title: '「 专业版限时优惠倒计时 」',
dangerouslyUseHTMLString: true,
message: `
<p>限时优惠活动将于 <b>2024/04/01</b> 到期,现在购买只需 <b style="font-size: 18px; color: #ff4400;">899.00</b> 元。</p>
<p style="text-align: right;"><a href="https://fantastic-admin.gitee.io/buy.html" target="_blank">查看详情</a></p>
`,
position: 'bottom-right',
duration: 0,
})
setTimeout(() => {
ElNotification({
type: 'info',
title: '「 免费领取 Vue2 版本专业版 」',
dangerouslyUseHTMLString: true,
message: `
<p style="text-align: right;"><a href="https://fantastic-admin.gitee.io/get-vue2-pro.html" target="_blank">查看详情</a></p>
`,
position: 'bottom-right',
duration: 0,
})
}, 0)
// ElNotification({
// type: 'info',
// title: '「 专业版限时优惠倒计时 」',
// dangerouslyUseHTMLString: true,
// message: `
// <p>限时优惠活动将于 <b>2024/04/01</b> 到期,现在购买只需 <b style="font-size: 18px; color: #ff4400;">899.00</b> 元。</p>
// <p style="text-align: right;"><a href="https://fantastic-admin.gitee.io/buy.html" target="_blank">查看详情</a></p>
// `,
// position: 'bottom-right',
// duration: 0,
// })
// setTimeout(() => {
// ElNotification({
// type: 'info',
// title: '「 免费领取 Vue2 版本专业版 」',
// dangerouslyUseHTMLString: true,
// message: `
// <p style="text-align: right;"><a href="https://fantastic-admin.gitee.io/get-vue2-pro.html" target="_blank">查看详情</a></p>
// `,
// position: 'bottom-right',
// duration: 0,
// })
// }, 0)
})
onUnmounted(() => {
Expand Down
3 changes: 0 additions & 3 deletions src/views/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ function open(url: string) {
</HButton>
</HDropdownMenu>
</PageHeader>
<PageMain class="rounded-lg text-white" style="background: linear-gradient(50deg, rgb(14 76 253), rgb(106 142 255));">
全新版本 V4.0 正式发布,支持替换 UI 组件库,点击查看<span class="cursor-pointer px-1 text-yellow font-bold hover:op-70" @click="open('https://fantastic-admin.gitee.io/guide/v4.html')">V4.0 更新介绍</span>。
</PageMain>
<div class="w-full flex flex-col gap-4 px-4 xl:flex-row">
<PageMain class="ecology">
<template #title>
Expand Down

0 comments on commit 53cd5da

Please sign in to comment.