Skip to content

Commit 53cd5da

Browse files
committed
移除活动信息
1 parent 093a792 commit 53cd5da

File tree

2 files changed

+23
-26
lines changed

2 files changed

+23
-26
lines changed

src/layouts/components/BuyIt/index.vue

+23-23
Original file line numberDiff line numberDiff line change
@@ -22,29 +22,29 @@ function open(url: string) {
2222
2323
onMounted(() => {
2424
eventBus.on('global-ui-component-switch', () => switchUI())
25-
ElNotification({
26-
type: 'info',
27-
title: '「 专业版限时优惠倒计时 」',
28-
dangerouslyUseHTMLString: true,
29-
message: `
30-
<p>限时优惠活动将于 <b>2024/04/01</b> 到期,现在购买只需 <b style="font-size: 18px; color: #ff4400;">899.00</b> 元。</p>
31-
<p style="text-align: right;"><a href="https://fantastic-admin.gitee.io/buy.html" target="_blank">查看详情</a></p>
32-
`,
33-
position: 'bottom-right',
34-
duration: 0,
35-
})
36-
setTimeout(() => {
37-
ElNotification({
38-
type: 'info',
39-
title: '「 免费领取 Vue2 版本专业版 」',
40-
dangerouslyUseHTMLString: true,
41-
message: `
42-
<p style="text-align: right;"><a href="https://fantastic-admin.gitee.io/get-vue2-pro.html" target="_blank">查看详情</a></p>
43-
`,
44-
position: 'bottom-right',
45-
duration: 0,
46-
})
47-
}, 0)
25+
// ElNotification({
26+
// type: 'info',
27+
// title: '「 专业版限时优惠倒计时 」',
28+
// dangerouslyUseHTMLString: true,
29+
// message: `
30+
// <p>限时优惠活动将于 <b>2024/04/01</b> 到期,现在购买只需 <b style="font-size: 18px; color: #ff4400;">899.00</b> 元。</p>
31+
// <p style="text-align: right;"><a href="https://fantastic-admin.gitee.io/buy.html" target="_blank">查看详情</a></p>
32+
// `,
33+
// position: 'bottom-right',
34+
// duration: 0,
35+
// })
36+
// setTimeout(() => {
37+
// ElNotification({
38+
// type: 'info',
39+
// title: '「 免费领取 Vue2 版本专业版 」',
40+
// dangerouslyUseHTMLString: true,
41+
// message: `
42+
// <p style="text-align: right;"><a href="https://fantastic-admin.gitee.io/get-vue2-pro.html" target="_blank">查看详情</a></p>
43+
// `,
44+
// position: 'bottom-right',
45+
// duration: 0,
46+
// })
47+
// }, 0)
4848
})
4949
5050
onUnmounted(() => {

src/views/index.vue

-3
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,6 @@ function open(url: string) {
103103
</HButton>
104104
</HDropdownMenu>
105105
</PageHeader>
106-
<PageMain class="rounded-lg text-white" style="background: linear-gradient(50deg, rgb(14 76 253), rgb(106 142 255));">
107-
全新版本 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>。
108-
</PageMain>
109106
<div class="w-full flex flex-col gap-4 px-4 xl:flex-row">
110107
<PageMain class="ecology">
111108
<template #title>

0 commit comments

Comments
 (0)