mirror of
https://github.com/imsyy/home.git
synced 2024-11-16 03:32:17 +08:00
fix 弹窗ico
This commit is contained in:
parent
758d3b9958
commit
f6d50e2093
BIN
img/warn.png
Normal file
BIN
img/warn.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
|
@ -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: '为了浏览体验,本站禁用右键'
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user