jQuery的css样式操作 addClass() 添加样式 removeClass() 删除样式 toggleClass() 有就删除,没有就添加样式 offset() 获取和设置元素的坐标 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> ...
分类:
Web程序 时间:
2021-04-24 11:55:13
阅读次数:
0
父元素设置了min-width:fit-content后,其宽度由子元素的宽度来决定 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content=" ...
分类:
其他好文 时间:
2021-04-23 12:26:39
阅读次数:
0
Spring解决循环依赖的问题 // 业务开发中经常这么写,field注入、setter注入都OK,但是构造器注入会报错BeanCurrentlyInCreationException // 有这种循环依赖问题存在Spring却依然能够正常启动工作,为什么?Spring帮我们搞定了:三级缓存 @Se ...
分类:
编程语言 时间:
2021-04-22 16:18:40
阅读次数:
0
1.table-cell <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style> .box{ width: 200px; height: 200px; background-color: red; di ...
分类:
Web程序 时间:
2021-04-22 15:56:20
阅读次数:
0
对象举例: class User { private String username; private List<Wife> wifes; } class Wife { } 1. 问题 封装出的List长度数据不正确 比如wifes数据应该有两条,但是查询出来只有一条 2. 原因 由于使用Mybat ...
分类:
其他好文 时间:
2021-04-22 15:52:34
阅读次数:
0
在VMware16下,安装Dos6.22版本,Masm6.11版本,Vim7.3版本。在通过Vim编辑完成汇编程序后,通过Vim的:!进入控制台后,ml first.asm 后会出现:Phar Lap err 83:DPMI lock of code/data for HW interrupt ha ...
分类:
其他好文 时间:
2021-04-22 15:42:42
阅读次数:
0
参考链接 https://www.cnblogs.com/chengguanhui/p/5155440.html,在此基础上稍微修改了下,加了鼠标滚轮放大缩小的功能 HTML代码 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta n ...
分类:
Web程序 时间:
2021-04-22 15:38:51
阅读次数:
0
常用注解 注解 描述 @BeforeSuit 被注释的测试方法会在整个测试套件中第一个运行,仅执行一次 @AfterSuit 被注释的测试方法会在整个测试套件中最后一个运行,仅执行一次 @BeforeTest 被注释的测试方法会在整个测试套件中第一个运行,仅执行一次 @AfterTest 被注释的测 ...
分类:
其他好文 时间:
2021-04-22 15:22:14
阅读次数:
0
bool upsidedown_list(LinkList L) { Lnode *head, *tmp, *oldhead; head = L; tmp = L->next; oldhead = L; while (tmp) { oldhead->next = tmp->next; tmp->ne ...
分类:
编程语言 时间:
2021-04-22 15:16:52
阅读次数:
0
一、函数 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <script type="text/javascript"> // 函数function(也是一个对象) // 函数中可以封装一些功能(代码),在需要 ...
分类:
编程语言 时间:
2021-04-21 12:58:48
阅读次数:
0