别看等级

别看等级

暂无个人简介
知识星球
获赞

134

浏览

1.7 万

东莞市
Java后端
2020
肇庆学院

该用户为会员

会员专享项目教程/ 答疑等服务

做聚合搜索项目时,不理解为什么还是会跨域失败 https://codecopy.cn/post/gcj36t

最近都再学前端 花了快六个月(在职,每天8、9点下班,去年12月底开始学)已经看完了vue,也把视频里的demo写了一遍 但是感觉还是一下就忘 而且就是写一些页面渲染相关的东西的时候要花挺长时间去想用哪些标签和样式的样子 不知道怎样才能算是学会了[捂脸] 关键是不知道自己学的怎么样 感觉学到这里也只是学到点vue的皮毛 按照这套课程里的也只是讲了一些组件的使用 自定义指令什么的 感觉挺基础的 有没有什么学习的建议 我最大的问题就是“写一些页面渲染相关的东西的时候要花挺长时间去写是不是前端的常态”#提问# 闲聊 前端

#提问# #提问# 刷到一道题 LeetCode 183. 从不订购的客户 不是很明白 为什么这样会语法报错 select Customers.name as 'Customers' form Customers where Customers.id not in (select Customers.id from Customers, orders o where Customers.id = o.CustomerId)

前端 #提问# 为什么交换两个盒子顺序,右边的盒子消失 是什么原理 打印zIndex也没东西显示 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>固定定位小技巧-固定到版心右侧</title> <style> .w { width: 800px; height: 1400px; background-color: pink; margin: 0 auto; } .fixed { position: fixed; /* 1. 走浏览器宽度的一半 */ left: 50%; /* 2. 利用margin 走版心盒子宽度的一半距离 */ margin-left: 405px; width: 50px; height: 150px; background-color: skyblue; } </style> </head> <body> <div class="w">版心盒子 800像素</div> <div class="fixed"></div> <script> var w = document.querySelector(".w") console.log(w.style.zIndex) var fixed = document.querySelector(".fixed") console.log(w.style.zIndex) </script> </body> </html>

前端 为什么下面的div会在上面 看着像是标准流没了 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <style> * { margin: 0; padding: 0; } li { list-style-type: none; } .tab { width: 978px; margin: 100px auto; height: 39px; border: 1px solid #ccc; background-color: #f1f1f1; } .tab_list li { float: left; height: 39px; line-height: 39px; padding: 0 20px; text-align: center; cursor: pointer; } /*.tab_list .current {*/ /* background-color: #c81623;*/ /* color: #fff;*/ /*}*/ /*.item_info {*/ /* padding: 20px 0 0 20px;*/ /*}*/ /*.item {*/ /* display: none;*/ /*}*/ </style> <script src="jquery.min.js"></script> </head> <body> <div class="tab"> <div class="tab_list"> <ul> <li class="current">商品介绍</li> <li>规格与包装</li> <li>售后保障</li> <li>商品评价(50000)</li> <li>手机社区</li> </ul> </div> <div class="tab_con"> <div class="item" style="display: block;"> 商品介绍模块内容 </div> <div class="item"> 规格与包装模块内容 </div> <div class="item"> 售后保障模块内容 </div> <div class="item"> 商品评价(50000)模块内容 </div> <div class="item"> 手机社区模块内容 </div> </div> </div> <script> $(function() { // 1.点击上部的li,当前li 添加current类,其余兄弟移除类 $(".tab_list li").click(function() { // 链式编程操作 $(this).addClass("current").siblings().removeClass("current"); // 2.点击的同时,得到当前li 的索引号 var index = $(this).index(); console.log(index); // 3.让下部里面相应索引号的item显示,其余的item隐藏 $(".tab_con .item").eq(index).show().siblings().hide(); }); }) </script> </body> </html>

学习总结 Python 算法 前端 关于过去一年的学习情况 去年尝试学习了MCU学了有一周左右弃了,然后抄网上的flask框架的项目,搞到一半发现有一些前端的问题不怎么明白,然后开始刷前端当前学到BOM,然后是算法刷了100多道 目前除了动态规划不怎么行 其他题目看到都还有点思路

#提问# 遇到几个问题,远程开发的时候后端已经在虚拟机跑起来了。本地浏览器(不是虚拟机浏览器)通过前端界面的接口无法访问后端。但是虚拟机浏览器可以,这是怎么回事。后端跑起来: ip用0.0.0.0和127.0.0.1都不行。

#提问# 遇到几个奇怪的问题,发现浏览器显示没响应体,但是postman有, 是怎么回事

#提问# 今天刷题写出了一个bug 一直没搞懂 想不出来为什么 有没有哪个大佬帮忙解答一下 class Test(object): def test(self): res = 0 x = id(res) print(id(res)) def test1(): global res # print(id(res)) res -= 1 print(id(res)) return res res = test1() return res if __name__ == '__main__': t = Test() res = t.test() 运行上面的代码会报错 估计是global那里有问题 求助

#打卡# 好久没打卡 ,今天打一次卡,东莞的疫情不知道什么时候才会好,之后可能都要在家里待着了。 今天看了leecode 77 78 46题 唉也不想说啥,今天失恋了别的东西都没做。。。

下载 APP