Compare commits
No commits in common. "e802fe53b11bae34d2ea1ea2ec818ea491d53bed" and "2d9003bca3648fb4f461759c5b2e9aa446160c5c" have entirely different histories.
e802fe53b1
...
2d9003bca3
@ -194,7 +194,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { onMounted, h } from 'vue';
|
import { onMounted } from 'vue';
|
||||||
import { ArrowUpOutlined, ArrowDownOutlined } from '@vicons/antd';
|
import { ArrowUpOutlined, ArrowDownOutlined } from '@vicons/antd';
|
||||||
import { useNotification } from 'naive-ui';
|
import { useNotification } from 'naive-ui';
|
||||||
import NewVisitAmount from './components/NewVisitAmount.vue';
|
import NewVisitAmount from './components/NewVisitAmount.vue';
|
||||||
@ -205,19 +205,8 @@
|
|||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
if (!localStorage.getItem('adClosed')) {
|
if (!localStorage.getItem('adClosed')) {
|
||||||
notification.info({
|
notification.info({
|
||||||
title: '双十二限时特惠',
|
title: '提示',
|
||||||
content: () =>
|
content: '登录成功',
|
||||||
h('div', [
|
|
||||||
h('span', '正在进行双十二限时促销活动,五折特平惠,'),
|
|
||||||
h(
|
|
||||||
'a',
|
|
||||||
{
|
|
||||||
href: 'www.baidu.com',
|
|
||||||
target: '_blank',
|
|
||||||
},
|
|
||||||
'前往购买授权',
|
|
||||||
),
|
|
||||||
]),
|
|
||||||
duration: 5000,
|
duration: 5000,
|
||||||
});
|
});
|
||||||
localStorage.setItem('adClosed', 'true');
|
localStorage.setItem('adClosed', 'true');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user