摘要: mainContent.scroll({ top: sections[val].offsetTop - 150, left: 0, behavior: "smooth" //滚动条平滑滚动 }); 阅读全文
posted @ 2019-05-10 12:02 面包_girl 阅读(1699) 评论(0) 推荐(0) 编辑
摘要: 1.打开父子模态创建, //主进程中触发事件 /** * 父子模态窗口 */ let childDownModal; ipcMain.on('child-down-modal', () => { childDownModal = new BrowserWindow({ parent: mainWin 阅读全文
posted @ 2019-05-10 10:33 面包_girl 阅读(13930) 评论(0) 推荐(0) 编辑
/* 鼠标点击文字特效 */