mirror of
https://github.com/imsyy/home.git
synced 2024-11-16 11:42:18 +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({
|
iziToast.settings({
|
||||||
timeout: 10000,
|
timeout: 10000,
|
||||||
icon: 'Fontawesome',
|
//icon: 'Fontawesome',
|
||||||
closeOnEscape: 'true',
|
closeOnEscape: 'true',
|
||||||
position: 'topLeft',
|
position: 'topLeft',
|
||||||
transitionIn: 'bounceInRight',
|
transitionIn: 'bounceInRight',
|
||||||
|
@ -309,7 +309,8 @@ $("#more").hover(function () {
|
||||||
//屏蔽右键
|
//屏蔽右键
|
||||||
document.oncontextmenu = function () {
|
document.oncontextmenu = function () {
|
||||||
iziToast.info({
|
iziToast.info({
|
||||||
icon: 'fad fa-do-not-enter',
|
//icon: 'fad fa-do-not-enter',
|
||||||
|
iconUrl: './img/warn.png',
|
||||||
title: '温馨提醒',
|
title: '温馨提醒',
|
||||||
message: '为了浏览体验,本站禁用右键'
|
message: '为了浏览体验,本站禁用右键'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user