2023年4月5日
摘要: <script> //将数组中重复的数据剔除,保存到新数组中 var arr = [1, 2, 3, 4, 5, 1, 2, 4]; var str = []; for (var i = 0; i < arr.length; i++) { if (str.indexOf(arr[i]) == -1) 阅读全文
posted @ 2023-04-05 15:52 hqingxiang 阅读(178) 评论(0) 推荐(0)
摘要: <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <t 阅读全文
posted @ 2023-04-05 15:50 hqingxiang 阅读(1099) 评论(0) 推荐(0)
摘要: Document a { text-decoration: none; color: black; } li { list-style: none; } </style> var news = [ { imgUrl: "", time: "1680566300", title: "古都、文字、武术、 阅读全文
posted @ 2023-04-05 15:30 hqingxiang 阅读(30) 评论(0) 推荐(0)