09 2022 档案

摘要:1, <div id="test"></div> #test { display: inline-block; width: 100px; height: 100px; background: linear-gradient(135deg, transparent 10px, #58a 0) top 阅读全文
posted @ 2022-09-27 14:01 琥珀君 阅读(415) 评论(0) 推荐(0)
摘要:1, // 打开软件时 闪烁图标 // c.once('focus', () => c.flashFrame(true)); // c.flashFrame(true); 阅读全文
posted @ 2022-09-25 20:34 琥珀君 阅读(55) 评论(0) 推荐(0)
摘要:1, // 设置全局可以穿透效果 // c.setIgnoreMouseEvents(true); // 设置区域穿透效果 let win = require('electron').remote.getCurrentWindow() let el = document.getElementById 阅读全文
posted @ 2022-09-25 19:39 琥珀君 阅读(1135) 评论(0) 推荐(0)
摘要:1, <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-wid 阅读全文
posted @ 2022-09-23 20:43 琥珀君 阅读(68) 评论(0) 推荐(0)
摘要:1, 阅读全文
posted @ 2022-09-22 17:55 琥珀君 阅读(27) 评论(0) 推荐(0)
摘要:1,全屏效果下,二级页面置顶效果 要用 这两个才行 screen-saverpop-up-menu c.setAlwaysOnTop(true, "screen-saver", 1); 2, 阅读全文
posted @ 2022-09-22 17:38 琥珀君 阅读(159) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2022-09-22 15:46 琥珀君 阅读(0) 评论(0) 推荐(0)
摘要:1, <!DOCTYPE html> <html> <head> <title>全屏视频背景</title> <meta charset="utf-8"> <style> body,html { width: 100%; height: 100%; } * { margin: 0; padding: 阅读全文
posted @ 2022-09-22 15:34 琥珀君 阅读(54) 评论(0) 推荐(0)
摘要:1, // 清除iframe内存 var frame = $('#iframe'); if(frame && frame[0]) { frame[0].src = 'about:blank'; //src地址置空 frame[0].contentWindow.document.write(''); 阅读全文
posted @ 2022-09-15 21:05 琥珀君 阅读(419) 评论(0) 推荐(0)
摘要:1,获取当前启动exe所在目录地址 a = path.join(process.cwd(),"/resources/app/modelconvert64.exe ") 2, 穿透效果 让透明的窗口可点击穿透(鼠标事件作用于原生桌面) setIgnoreMouseEvents 设置为 true win 阅读全文
posted @ 2022-09-14 12:14 琥珀君 阅读(92) 评论(0) 推荐(0)