移动端去除鼠标样式
移动端去除鼠标样式
This commit is contained in:
parent
1eab49d8bb
commit
3489249f61
@ -40,6 +40,12 @@ body.addEventListener('mousemove', (e) => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
//移动端去除鼠标样式
|
||||||
|
switch (true) {
|
||||||
|
case navigator.userAgent.indexOf('Mobile') > 0:
|
||||||
|
$('#g-pointer-2').css("display", "none");
|
||||||
|
}
|
||||||
|
|
||||||
//加载完成后执行
|
//加载完成后执行
|
||||||
window.addEventListener('load', function () {
|
window.addEventListener('load', function () {
|
||||||
|
|
||||||
@ -389,4 +395,4 @@ var content = `
|
|||||||
Github: https://github.com/imsyy/home
|
Github: https://github.com/imsyy/home
|
||||||
`
|
`
|
||||||
console.log(`%c${title1} %c${title2}
|
console.log(`%c${title1} %c${title2}
|
||||||
%c${content}`, styleTitle1, styleTitle2, styleContent)
|
%c${content}`, styleTitle1, styleTitle2, styleContent)
|
||||||
|
Loading…
Reference in New Issue
Block a user