const open_window = (width, hight) => {
let w = screen.width;
let h = screen.height;
let left = (w - width) / 2;
let top = (h - hight) / 2;
open(
"https://www.baidu.com/?tn=62095104_19_oem_dg",
"",
`width=500,height=500,left=${left},top=${top},`
);
};
打开新窗口,自动变小窗口
最新推荐文章于 2024-06-14 11:01:38 发布