update js

This commit is contained in:
hehh
2024-08-14 17:04:54 +08:00
parent 50a8b69a83
commit e5233a1eec
2 changed files with 2 additions and 3 deletions

View File

@@ -17,7 +17,7 @@
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/listener-He/Home/css/iconfont.css"> <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/listener-He/Home/css/iconfont.css">
<link rel="apple-touch-icon" href="https://cdn.jsdelivr.net/gh/listener-He/Home/images/apple-touch-icon.png"> <link rel="apple-touch-icon" href="https://cdn.jsdelivr.net/gh/listener-He/Home/images/apple-touch-icon.png">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/listener-He/Home/favicon.ico"> <link rel="icon" href="https://cdn.jsdelivr.net/gh/listener-He/Home/favicon.ico">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/listener-He/Home/js/bj.js"> <script src="https://cdn.jsdelivr.net/gh/listener-He/Home/js/bj.js"></script>
<!--引入SweetAlert <!--引入SweetAlert
<script src="https://fastly.jsdelivr.net/npm/sweetalert@2.1.2/dist/sweetalert.min.js"></script>--> <script src="https://fastly.jsdelivr.net/npm/sweetalert@2.1.2/dist/sweetalert.min.js"></script>-->
<script src="https://fastly.jsdelivr.net/npm/sweetalert2@10.15.5/dist/sweetalert2.all.min.js"></script> <script src="https://fastly.jsdelivr.net/npm/sweetalert2@10.15.5/dist/sweetalert2.all.min.js"></script>

View File

@@ -61,8 +61,7 @@ $(document).ready(function () {
} }
var imgUrl = imgUrls[index]; var imgUrl = imgUrls[index];
var url = "https://www.bing.com" + imgUrl; $panel.css("background", "url('" + imgUrl + "') center center no-repeat #666");
$panel.css("background", "url('" + url + "') center center no-repeat #666");
$panel.css("background-size", "cover"); $panel.css("background-size", "cover");
$(".iUp").each(function (i, e) { $(".iUp").each(function (i, e) {