*VS Code中的Ajax

news2024/9/25 7:20:25

下载插件并使用

下载插件,开放一个端口给要加载的资源,解决跨域问题,没有后端接收数据,用来做小模块很合适

建立文件夹,文件夹下放入jquery插件和json文件

data.json

{
  "total": 4,
  "data": [
    {
      "name": "三国演义",
      "category": "文学",
      "desc": "一个军阀混战的年代"
    },{
      "name": "三国演义2",
      "category": "文学2",
      "desc": "一个军阀混战的年代2"
    }
  ],
  "obj": {"adf": "adf"}
}

 将此文件展示到浏览器

ajson.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="jquery-3.6.0.min.js"></script>
    <title>Document</title>
</head>
<body>
    <ul>

    </ul>
    <script>
        $(function(){
            $.ajax({
                type: 'get',
                url: 'data.json',
                success:function(xhr){// 获取对象object
                    xhr=xhr.data;
                    console.log(xhr);
                    str='';
                    for(var i=0;i<xhr.length;i++){
                        console.log(xhr[i].name);
                        console.log(xhr[i].desc);
                        console.log(xhr[i].category);
                        str+=`<li>
                            <h3>${xhr[i].name}</h3>
                            <p>简介:${xhr[i].desc}<br>
                                类别:${xhr[i].category}</p>
                            </li>`
                    }
                    $('ul').append(str);
                }
            })
        })
    </script>
</body>
</html>

点击右下角的 Go Live 再 右击 -> open with live server或者直接 右击 -> open with live server

可以看到开放了5500端口,报的错不用考虑,刷新一下就消失了

 案例:地图四级制【css样式没有调,可以自行更改】

先点击省份出现所有省,然后逐级递减,为多出的

 取消异步:选取所有信息后才进行提交,也防止ul中的li不能及时加载获取错误的高度

 设置要解析文件的编码格式

beforeSend: function (xhr) {
                        xhr.overrideMimeType('text/plain; charset=GBK'); // 指定GBK编码
                    },
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="jquery-3.6.0.min.js"></script>
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
            list-style: none;
        }
        #china{
            margin: 0 auto;
            border: 1px solid red;
            width: 300px;
            height: 300px;
            text-align: center;
        }
        #top{
            width: 100%;
            height: 20px;
            font-size: 17px;
            font-weight: 900;
        }
        #bottom{
            position: relative;
            width: 100%;
            height: 270px;
            overflow: hidden;
        }
        span{
            background-color: aqua;
            display: block;
            border: 1px solid;
            height: 25px;
            float: left;
            width: 24%;
            overflow: hidden;
        }
        #bottom>ul{
            position: relative;
            height: max-content;
            top: 0px;
        }
        #bottom li{
            height: 25px;
            font-size: 15px;
            font-weight: 300;
            line-height: 25px;
            border-bottom: 1px solid gray;
        }
        .zone{
            display: block;
        }
        .dis{
            display: none;
        }

    </style>
</head>
<body>
    <div id="china">
        <div id="top">
            <span id="pro">省份</span>
            <span id="city">城市</span>
            <span id="zone">区县</span>
            <span id="town">城镇</span>
        </div>
        <div id="bottom">
            <ul id="show1" class="zone" style="background-color: rgb(241, 207, 196);">
                <!-- 省地区显示域 -->
            </ul>
            <ul id="show2" class="dis" style="background-color: rgb(189, 251, 230);">
                <!-- C地区显示域 -->
            </ul>
            <ul id="show3" class="dis" style="background-color: rgb(181, 181, 248);">
                <!-- Z地区显示域 -->
            </ul>
            <ul id="show4" class="dis" style="background-color: #deffbd;">
                <!-- T地区显示域 -->
            </ul>
        </div>
    </div>
    
    <script>
        $(function(){
            function ulhight(cls,cdiv){
                var pdiv=$('#bottom').height();
                // var cdiv=$('#bottom>#ulwheel').height();
                var high=pdiv-cdiv; // -100
                reg=/\d+|-\d+/
                console.log(pdiv,cdiv,high);

                $(cls).on("mousewheel", function(event){
                    var de= event.originalEvent.deltaY;
                    tp=$(this).css('top');
                    var tpn=Number(tp.match(reg)[0]);
                    // console.log(tpn);
                    if(de < 0){//为负时远离顶部,top增加
                        if(tpn < 0){
                            $(this).css('top','+=10px');
                        }
                    }else{
                        if(tpn >= high){
                            $(this).css('top','-=10px');
                        }
                    }
                });
            }
            var pro='';
            var city='';
            var zone='';
            var town='';

            // ajax获取json数据
            function Pct(cls,pro='',city='',zone=''){
                $.ajax({
                    type:'get',
                    url:'china.json',
                    dataType: 'text',
                    async: false,//取消异步
                    beforeSend: function (xhr) {
                        xhr.overrideMimeType('text/plain; charset=GBK'); // 指定GBK编码
                    },
                    success:function(xhrl){
                        var str='';
                        if(pro === ''){
                            xhrl=JSON.parse(xhrl);
                        }else if(pro != '' && city === '' && zone === ''){
                            xhrl=JSON.parse(xhrl)[pro];
                        }else if(pro != '' && city != '' && zone === ''){
                            xhrl=JSON.parse(xhrl)[pro][city];
                        }else if(pro != '' && city != '' && zone != ''){
                            xhrl=JSON.parse(xhrl)[pro][city][zone];
                        }
                        if(pro != '' && city != '' && zone != ''){
                            for(i in xhrl){
                                str+=`<li>${xhrl[i]}</li>`
                            } 
                        }else{
                            for(i in xhrl){
                                str+=`<li>${i}</li>`
                            }
                        }
                        $(cls).html(str);
                    }
                })
            }
            
            //中途选错的清况下 封装点击top栏的按钮【省市县镇】
            function clicktop(ulshow,ulnum,num){//需要span对应的ul,需要展示的ul的编号,需要级别编号【省市县】,
                var uls=$('ul');
                for(var i=0;i<uls.length;i++){
                    uls[i].className='dis';
                }
                uls[ulnum].className='zone';
                if(num == 1){
                    $("#city").text('城市');
                    $("#zone").text('区县');
                    $("#town").text('城镇');
                }else if(num == 2){
                    $("#zone").text('区县');
                    $("#town").text('城镇');
                }else if(num == 3){
                    $("#town").text('城镇');
                }
                cdiv=$(ulshow).height();
                ulhight(ulshow,cdiv);
            }

            $('#pro').click(function(){//点击省份,展示所有省份
                Pct('#bottom>#show1');
                clicktop('#show1',0,1);
            });

            $('#city').click(function(){//点击span,从展示该省下所有的城市列,后面清空
                Pct('#show2',pro);
                clicktop('#show2',1,2);
            })

            $('#zone').click(function(){ //展示该省下所有的区县列,后面清空
                Pct('#show3',pro,city);
                clicktop('#show3',2,3);
            })

            // 中途不会选错,不用点上方span
            function onebyone(pid,nowid,){

            }
            $('#show1').on('click','li',function(){ //选择省份,展示所有的城市名
                console.log('省:'+$(this).html());
                pro=$(this).html();// 获取点击到的省份
                $('#pro').text(pro);// 更改上方省份为具体名称
                Pct('#show2',pro);//获取该省份下的所有城市
                // 隐藏省份选项,显示城市列
                var uls=$('ul');
                for(var i=0;i<uls.length;i++){
                    uls[i].className='dis';
                }
                uls[1].className='zone';
                // 为城市列设置滚轮
                cdiv=$('#show2').height();
                ulhight('#show2',cdiv);
            });
            
            $("#show2").on('click','li',function(){
                console.log('市'+$(this).html());
                city=$(this).html();
                $('#city').text(city);
                Pct('#show3',pro,city);
                var uls=$('ul');
                for(var i=0;i<uls.length;i++){
                    uls[i].className='dis';
                }
                uls[2].className='zone';

                cdiv=$('#show3').height();
                ulhight('#show3',cdiv);
            })

            $("#show3").on('click','li',function(){
                console.log('市'+$(this).html());
                zone=$(this).html();
                $('#zone').text(zone);
                Pct('#show4',pro,city,zone);
                var uls=$('ul');
                for(var i=0;i<uls.length;i++){
                    uls[i].className='dis';
                }
                uls[3].className='zone';

                cdiv=$('#show4').height();
                ulhight('#show4',cdiv);
            })

            $("#show4").on('click','li',function(){
                console.log('市'+$(this).html());
                town=$(this).html();
                $('#town').text(town);
                console.log('省-',pro,'市-',city,'县-',zone,'镇-',town);
            })
        })
    </script> 
</body>
</html>

可以嵌入到Django中,将json文件放置于static文件夹下,修改两个路径就可以,【有黄色提示可忽略,有强迫症鼠标悬停会报提示】

urls.py

#四级地图
    path('map/',views.map),

 view.py

def map(request):
    return render(request,'09.html')

09.html

{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="{% static 'jquery-3.6.0.min.js' %}"></script>
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
            list-style: none;
        }
        #china{
            margin: 0 auto;
            border: 1px solid red;
            width: 300px;
            height: 300px;
            text-align: center;
        }
        #top{
            width: 100%;
            height: 20px;
            font-size: 17px;
            font-weight: 900;
        }
        #bottom{
            position: relative;
            width: 100%;
            height: 270px;
            overflow: hidden;
        }
        span{
            background-color: aqua;
            display: block;
            border: 1px solid;
            height: 25px;
            float: left;
            width: 24%;
            overflow: hidden;
        }
        #bottom>ul{
            position: relative;
            height: max-content;
            top: 0;
        }
        #bottom li{
            height: 25px;
            font-size: 15px;
            font-weight: 300;
            line-height: 25px;
            border-bottom: 1px solid gray;
        }
        .zone{
            display: block;
        }
        .dis{
            display: none;
        }

    </style>
</head>
<body>
    <div id="china">
        <div id="top">
            <span id="pro">省份</span>
            <span id="city">城市</span>
            <span id="zone">区县</span>
            <span id="town">城镇</span>
        </div>
        <div id="bottom">
            <ul id="show1" class="zone" style="background-color: rgb(241, 207, 196);">
                <!-- 省地区显示域 -->
            </ul>
            <ul id="show2" class="dis" style="background-color: rgb(189, 251, 230);">
                <!-- C地区显示域 -->
            </ul>
            <ul id="show3" class="dis" style="background-color: rgb(181, 181, 248);">
                <!-- Z地区显示域 -->
            </ul>
            <ul id="show4" class="dis" style="background-color: #deffbd;">
                <!-- T地区显示域 -->
            </ul>
        </div>
    </div>

    <script>
        $(function(){
            function ulhight(cls,cdiv){
                var pdiv=$('#bottom').height();
                // var cdiv=$('#bottom>#ulwheel').height();
                var high=pdiv-cdiv; // -100
                reg=/\d+|-\d+/
                console.log(pdiv,cdiv,high);

                $(cls).on("mousewheel", function(event){
                    var de= event.originalEvent.deltaY;
                    tp=$(this).css('top');
                    var tpn=Number(tp.match(reg)[0]);
                    // console.log(tpn);
                    if(de < 0){//为负时远离顶部,top增加
                        if(tpn < 0){
                            $(this).css('top','+=10px');
                        }
                    }else{
                        if(tpn >= high){
                            $(this).css('top','-=10px');
                        }
                    }
                });
            }
            var pro='';
            var city='';
            var zone='';
            var town='';

            // ajax获取json数据
            function Pct(cls,pro='',city='',zone=''){
                $.ajax({
                    type:'get',
                    url:'/static/china.json',
                    dataType: 'text',
                    async: false,//取消异步
                    beforeSend: function (xhr) {
                        xhr.overrideMimeType('text/plain; charset=GBK'); // 指定GBK编码
                    },
                    success:function(xhrl){
                        var str='';
                        if(pro === ''){
                            xhrl=JSON.parse(xhrl);
                        }else if(pro !== '' && city === '' && zone === ''){
                            xhrl=JSON.parse(xhrl)[pro];
                        }else if(pro !== '' && city !== '' && zone === ''){
                            xhrl=JSON.parse(xhrl)[pro][city];
                        }else if(pro !== '' && city !== '' && zone !== ''){
                            xhrl=JSON.parse(xhrl)[pro][city][zone];
                        }
                        if(pro !== '' && city !== '' && zone !== ''){
                            for(i in xhrl){
                                str+=`<li>${xhrl[i]}</li>`
                            }
                        }else{
                            for(i in xhrl){
                                str+=`<li>${i}</li>`
                            }
                        }
                        $(cls).html(str);
                    }
                })
            }

            //中途选错的清况下 封装点击top栏的按钮【省市县镇】
            function clicktop(ulshow,ulnum,num){//需要span对应的ul,需要展示的ul的编号,需要级别编号【省市县】,
                var uls=$('ul');
                for(var i=0;i<uls.length;i++){
                    uls[i].className='dis';
                }
                uls[ulnum].className='zone';
                if(num === 1){
                    $("#city").text('城市');
                    $("#zone").text('区县');
                    $("#town").text('城镇');
                }else if(num === 2){
                    $("#zone").text('区县');
                    $("#town").text('城镇');
                }else if(num === 3){
                    $("#town").text('城镇');
                }
                cdiv=$(ulshow).height();
                ulhight(ulshow,cdiv);
            }

            $('#pro').click(function(){//点击省份,展示所有省份
                Pct('#bottom>#show1');
                clicktop('#show1',0,1);
            });

            $('#city').click(function(){//点击span,从展示该省下所有的城市列,后面清空
                Pct('#show2',pro);
                clicktop('#show2',1,2);
            })

            $('#zone').click(function(){ //展示该省下所有的区县列,后面清空
                Pct('#show3',pro,city);
                clicktop('#show3',2,3);
            })

            // 中途不会选错,不用点上方span
            function onebyone(pid,nowid,){

            }
            $('#show1').on('click','li',function(){ //选择省份,展示所有的城市名
                console.log('省:'+$(this).html());
                pro=$(this).html();// 获取点击到的省份
                $('#pro').text(pro);// 更改上方省份为具体名称
                Pct('#show2',pro);//获取该省份下的所有城市
                // 隐藏省份选项,显示城市列
                var uls=$('ul');
                for(var i=0;i<uls.length;i++){
                    uls[i].className='dis';
                }
                uls[1].className='zone';
                // 为城市列设置滚轮
                cdiv=$('#show2').height();
                ulhight('#show2',cdiv);
            });

            $("#show2").on('click','li',function(){
                console.log('市'+$(this).html());
                city=$(this).html();
                $('#city').text(city);
                Pct('#show3',pro,city);
                var uls=$('ul');
                for(var i=0;i<uls.length;i++){
                    uls[i].className='dis';
                }
                uls[2].className='zone';

                cdiv=$('#show3').height();
                ulhight('#show3',cdiv);
            })

            $("#show3").on('click','li',function(){
                console.log('市'+$(this).html());
                zone=$(this).html();
                $('#zone').text(zone);
                Pct('#show4',pro,city,zone);
                var uls=$('ul');
                for(var i=0;i<uls.length;i++){
                    uls[i].className='dis';
                }
                uls[3].className='zone';

                cdiv=$('#show4').height();
                ulhight('#show4',cdiv);
            })

            $("#show4").on('click','li',function(){
                console.log('市'+$(this).html());
                town=$(this).html();
                $('#town').text(town);
                console.log('省-',pro,'市-',city,'县-',zone,'镇-',town);
            })
        })
    </script>
</body>
</html>

有个问题不知道大家发现没有,top值并不会自动归0

韶关市是广东省最后一个li,滚轮划过来后在点击省份选择北京市,第二栏就上划上去,看不到

 

在clicktop函数下,为获取到的uls设置css('top','0px)

function clicktop(ulshow,ulnum,num){//需要span对应的ul,需要展示的ul的编号,需要级别编号【省市县】,
                var uls=$('ul');
                // 添加此行,用以top归0
                uls.css('top','0px');

                for(var i=0;i<uls.length;i++){
                    uls[i].className='dis';
                }
                uls[ulnum].className='zone';
                if(num == 1){
                    $("#city").text('城市');
                    $("#zone").text('区县');
                    $("#town").text('城镇');
                }else if(num == 2){
                    $("#zone").text('区县');
                    $("#town").text('城镇');
                }else if(num == 3){
                    $("#town").text('城镇');
                }
                cdiv=$(ulshow).height();
                ulhight(ulshow,cdiv);
            }

地图四级的xlxs文件和json文件【json中的编码格式是GB】

链接:https://pan.baidu.com/s/1BMGf4C5xUiiytWvWp2cVpw?pwd=1g3u 
提取码:1g3u

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1151934.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

11、SpringCloud -- 利用redis优化查询秒杀商品的数据(就是可以把商品数据先存到redis中)

目录 秒杀商品数据存到redis中并查询需求hash理解代码&#xff1a;RedisService商品数据初始化&#xff1a;查询 测试&#xff1a; 秒杀商品数据存到redis中并查询 需求 利用redis优化查询秒杀商品的数据&#xff0c;就是可以把商品数据先存到redis中&#xff0c;要查的时候先…

springboot整合日志,并在本地查看

目录 1.导入依赖 2.编写配置 3.使用 4.验证 5.打印错误信息 1.导入依赖 <!-- logback&#xff0c;向下兼容log4j,还支持SLF4J--> <dependency><groupId>ch.qos.logback</groupId><artifactId>logback-classic</artifactId> </depen…

IPv6地址配置方式

IPv6地址分类 IPv6地址分为单播地址、任播地址&#xff08;Anycast Address&#xff09;、组播地址三种类型。和IPv4相比&#xff0c;取消了广播地址类型&#xff0c;以更丰富的组播地址代替&#xff0c;同时增加了任播地址类型。 单播地址 IPv6单播地址标识了一个接口&…

桶装水送水多门店水票押金押桶小程序开发

桶装水送水多门店水票押金押桶小程序开发 用户注册和登录首页展示各门店的桶装水品牌和价格用户可以选择门店和水品牌&#xff0c;并下单购买桶装水用户可以选择送水时间和地址用户可以查看自己的订单历史和当前订单状态用户可以申请退款或修改订单信息门店可以登录后台管理系…

毕业设计基于SpringBoot+Vue智慧云办公系统源码+数据库+项目文档

智慧云办公管理系统 一、系统简介 智慧云办公系统是一个采用SpringBootVue技术开发的前后端分离的项目&#xff0c;云办公系统通过软件的方式&#xff0c;方便快捷处理中小型企业的公司日常事务&#xff0c;能够提高整体的管理运营水平&#xff0c;使得办公更加高效方便&…

WebDAV之π-Disk派盘 + 读出通知

手机各种推销通知太多,如何避免那些繁琐的通知内容,做出一键就能够阅读重要通知的最佳体验,帮助您更加快速和便捷的体验到那些应用内容?推荐大家使用读出通知。 读出通知APP可以设置接收通知的app,还可以用耳机操作,操作简单,你还可以指定播报设备,还有播报的声音的设置…

大数据四大阵营

一、OLTP 阵营 OLTP&#xff08;在线事务、交易处理&#xff09;&#xff1a;RDBMS( Relational Database Management System)、NoSQL、NewSQL OLTP阵营可以分为&#xff1a; 传统的关系型数据库NoSQLNewSQL 1、NoSQL NoSQL类系统普遍存在下面一些共同特征&#xff1a; 不需…

草柴返利APP如何领取天猫淘宝红包优惠券享淘礼金红包0元购物福利?

什么是草柴返利APP&#xff1f; 草柴APP是一款淘宝/天猫、京东等电商平台购物前查询领取大额内部隐藏优惠券&#xff0c;确认收货后拿购物返利的省钱工具。同时&#xff0c;草柴APP上线隐藏的红包功能&#xff0c;查询到淘宝/天猫、京东商品优惠券、返利结果&#xff0c;点击进…

uniapp @click点击事件在新版chrome浏览器点击没反应

问题描述 做项目时&#xff0c;有一个弹出选择的组件&#xff0c;怎么点都不出来&#xff0c;最开始还以为是业务逻辑限制了不能点击。后来才发现别人的电脑可以点出来&#xff0c;老版本的浏览器也可以点出来&#xff0c;最后定位到是新版的chrome就不行了 这是我的浏览器版本…

postman使用POST,却收到的是GET请求

现象&#xff1a; 可以看到我们postman发出的确实是post请求&#xff0c;message却报错这个接口不支持get请求&#xff0c;说明服务器实际上收到的是一个get请求。 产生原因分析 如果我们访问的是线上的接口&#xff0c;线上的nginx一般都会对http访问做一个302重定向&#xf…

掌握Google Play上的应用商店优化

对于Google Play而言&#xff0c;ASO不仅可以提高我们的应用程序的可见性&#xff0c;还可以对我们的应用在应用商店搜索结果中的性能产生深远的影响。 1、应用商店优化在Google Play中的作用。 能够增强应用在Google Play商店搜索结果中的性能并提高点击率 。在优化过程涉及各…

Istio 实战

文章目录 Istio流量管理分享会【1】什么是istio?【2】istio 可以干什么?【3】业务中的痛点?【4】istio 高级流量管理5.1 istio 组件介绍与原理5.2 sidercar何时注入?如何控制是否注入?5.3 查看sidecar 容器插入的容器中的iptablesDestination RuleVirtual ServiceGateways…

Qwt QwtPlotMultiBarChart绘制多列柱状图

1.概述 QwtPlotMultiBarChart 是 Qwt 绘图库中的一个类&#xff0c;用于绘制多列柱状图。它可以显示多个柱状条并将它们按照不同的类别分组显示。每个类别下的柱状条可以有不同的颜色和宽度。 以下是类继承关系图&#xff1a; 2.常用方法 设置数据&#xff1a; void setSam…

不小心commit错误代码,还没push的回滚解决方法

命令&#xff1a;git reset --soft HEAD^ 第一步&#xff1a;找到项目所在文件夹 第二步&#xff0c;右键点击git base here 第三步&#xff0c;命令行输入git reset --soft HEAD^ 回车即可

【java】【MyBatisPlus】【三】【完】MyBatisPlus扩展

目录 一、分页查询lambdaQueryWrapper 二、自定义分页查询 1、UserMapper 2、UserMapper.xml 3、测试方法 三、MybatisX插件 1、安装 2、MybatisX代码快速生成 2.1 连接数据库 2.2 操作需要生成代码的表 3、MybatisX快速生成CRUD&#xff08;前提步骤2生成&#xff…

FPGA_Quartus 如何生成 jic 文件

打开要转换 jic 的工程文件&#xff0c;打开 File——Convert Programming Files。如图所示&#xff1a; 进入下面界面后&#xff0c;在框 1 处选择将要转换的目标文件类型&#xff08;jic&#xff09;&#xff0c;在框 2 处选择配置芯片的型号&#xff08;此处选择 EPCS16&a…

代码随想录Day32 动态规划01 LeetCodeT509 斐波那契数列 T70 爬楼梯 T746 爬楼梯的最小消耗

前言:动态规划基础 动态规划首先可以解决的问题有背包问题,打家劫舍问题,股票问题,子序列问题等,主要是将一个大的问题切分成多个重叠的子问题,所以动态规划一定是上一个状态递推过来的,有一个重要的状态转移方程,但是这也并不是解题的全部,我们将动态规划的题目基本分为五步来…

【AI视野·今日Sound 声学论文速览 第八期】Wed, 20 Sep 2023

AI视野今日CS.Sound 声学论文速览 Wed, 20 Sep 2023 Totally 1 papers &#x1f449;上期速览✈更多精彩请移步主页 Daily Sound Papers Accelerating Diffusion-Based Text-to-Audio Generation with Consistency Distillation Authors Yatong Bai, Trung Dang, Dung Tran, K…

Qt QUrlQuery详解

1.概述 QUrlQuery 是Qt框架中用于操作URL查询部分的类&#xff0c;提供了一些方法来解析和构造URL查询字符串。URL查询部分通常是在URL中使用 "?" 后面的一串参数&#xff0c;用于传递数据或配置信息。 如下图所示&#xff1a;也就是 "?" 后面的一串参数…

30秒get视频号视频如何下载,保存视频号视频到本地方法!

终于可以告别无法下载视频号视频的烦恼啦&#xff01;下面是一些只需 30 秒就能get到的t视频号视频如何下载方法&#xff0c;让我们一起来探索如何保存视频号视频到本地方法吧&#xff01; 首先&#xff0c;要记得这些方法仅适用于个人观看或学习使用&#xff0c;不可用于商业用…