摘要: //随机数 var num = Math.ceil(Math.random() * 3) console.log(num); //随机数组 var a = ['1','2','3','4','5']; console.log(a[parseInt(Math.random() * a.length)] 阅读全文
posted @ 2020-11-17 17:23 YH丶浩 阅读(494) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html lang="'en"> <head> <meta charset="UTF-8"> <title>Tab切换-自动</title> <script src="js/jquery.js"></script> </head> <style> .info-flo 阅读全文
posted @ 2020-11-17 15:43 YH丶浩 阅读(174) 评论(0) 推荐(0) 编辑