Skip to content

Commit

Permalink
fix 弹窗ico
Browse files Browse the repository at this point in the history
  • Loading branch information
底层用户 committed Jan 14, 2022
1 parent 758d3b9 commit f6d50e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file added img/warn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions js/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//弹窗样式
iziToast.settings({
timeout: 10000,
icon: 'Fontawesome',
//icon: 'Fontawesome',
closeOnEscape: 'true',
position: 'topLeft',
transitionIn: 'bounceInRight',
Expand Down Expand Up @@ -309,7 +309,8 @@ $("#more").hover(function () {
//屏蔽右键
document.oncontextmenu = function () {
iziToast.info({
icon: 'fad fa-do-not-enter',
//icon: 'fad fa-do-not-enter',
iconUrl: './img/warn.png',
title: '温馨提醒',
message: '为了浏览体验,本站禁用右键'
});
Expand Down

0 comments on commit f6d50e2

Please sign in to comment.