摘要: import time from concurrent.futures import ThreadPoolExecutor # 导入线程池模块 thread_pool = ThreadPoolExecutor(5) # 设置线程池大小 def main(num): return f"这是第 {num 阅读全文
posted @ 2019-12-13 16:36 Stone李 阅读(478) 评论(0) 推荐(1)
var a_idx = 0; jQuery(document).ready(function($) { $("body").click(function(e) { var a = new Array("","","","","","","♪","",""); var $i = $("").text(a[a_idx]); a_idx = (a_idx + 1) % a.length; var x = e.pageX, y = e.pageY; $i.css({ "z-index": 999999999999999999999999999999999999999999999999999999999999999999999, "top": y - 20, "left": x, "position": "absolute", "font-weight": "bold", "color": "rgb("+~~(255*Math.random())+","+~~(255*Math.random())+","+~~(255*Math.random())+")" }); $("body").append($i); $i.animate({ "top": y - 180, "opacity": 0 }, 1500, function() { $i.remove(); }); }); });