diff --git a/img/warn.png b/img/warn.png new file mode 100644 index 0000000000..5a801f260b Binary files /dev/null and b/img/warn.png differ diff --git a/js/main.js b/js/main.js index a1991996e2..cb037003f0 100644 --- a/js/main.js +++ b/js/main.js @@ -1,7 +1,7 @@ //弹窗样式 iziToast.settings({ timeout: 10000, - icon: 'Fontawesome', + //icon: 'Fontawesome', closeOnEscape: 'true', position: 'topLeft', transitionIn: 'bounceInRight', @@ -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: '为了浏览体验,本站禁用右键' });