随笔分类 -  js

摘要:原文地址:https://blog.csdn.net/qq_35629054/article/details/108147122 阅读全文
posted @ 2021-12-01 18:24 蓝色精灵jah 阅读(535) 评论(0) 推荐(0)
摘要:写法一、 <body> <div class="js-img"> <!--<img src="" >--> </div> <script> var thisJson = { "imgList": [ { "order": 1, "src": "../res/ct/1.jpg", "time": "0 阅读全文
posted @ 2021-11-23 10:00 蓝色精灵jah 阅读(45) 评论(0) 推荐(0)
摘要://获取当前窗口的Url var url = window.location.href; //结果:http://localhost:8080/homePage/Index?id=0&type=1 //获取当前窗口的主机名 var host = window.location.host; //结果: 阅读全文
posted @ 2021-10-13 15:30 蓝色精灵jah 阅读(91) 评论(0) 推荐(0)