1.元素的显示和隐藏 display:none/block visibility:hidden/visible 两者的区别: display:none的元素,不占原来标准流的位置了,在页面是也看不到了,但是源码中还有对应的标签。 visibility:hidden的元素,占据原来的标准流位置,在页面 ...
分类:
Web程序 时间:
2019-09-01 10:39:57
阅读次数:
106
应用场景:比如很多网页游戏全屏之类的,或者是网上看小说等。 核心代码: 前端代码: ...
分类:
Web程序 时间:
2019-08-31 23:38:17
阅读次数:
213
As we know,the fzu AekdyCoin is famous of math,especially in the field of number theory.So,many people call him "the descendant of Chen Jingrun",which ...
分类:
其他好文 时间:
2019-08-31 21:05:36
阅读次数:
60
``` include include include include include include using namespace cv; using namespace std; / 求两点间距离 / float getDistance(CvPoint pointO, CvPoint poin ...
分类:
其他好文 时间:
2019-08-31 12:26:01
阅读次数:
74
from lib.pyse import Pyse'''pageobject实际上就是 将一个页面 抽象成一个类 页面上可操作的元素 抽象成方法 '''#登陆页面class BasePage(object): def __init__(self): self.pyse = Pyse('chrome' ...
分类:
其他好文 时间:
2019-08-26 14:56:14
阅读次数:
83
Kafka 提供了 3 种提交 offset 的方式 复制1234// 自动提交,默认trueprops.put("enable.auto.commit", "true");// 设置自动每1s提交一次props.put("auto.commit.interval.ms", "1000"); 复制1 ...
分类:
其他好文 时间:
2019-08-24 10:10:25
阅读次数:
395
1.下面一段代码,不知道是怎么打开图片文件的。 运行后打开图片: ...
分类:
其他好文 时间:
2019-08-18 15:47:45
阅读次数:
82
题目链接:https://www.spoj.com/problems/VLATTICE/en/ VLATTICE Visible Lattice Points Description Consider a N N N lattice. One corner is at (0,0,0) and the ...
分类:
其他好文 时间:
2019-08-17 18:28:32
阅读次数:
105
下面的树形结构代码需要GridVIew中的数据要求是按照上下级关系已经排列好的顺序,比如: 下面的树形结构代码需要GridVIew中的数据要求是按照上下级关系已经排列好的顺序,比如: 下面的树形结构代码需要GridVIew中的数据要求是按照上下级关系已经排列好的顺序,比如: 下面的树形结构代码需要G ...
分类:
其他好文 时间:
2019-08-16 17:12:42
阅读次数:
90
Given two integers, a and b, you should check whether a is divisible by b or not. We know that an integer a is divisible by an integer b if and only i ...
分类:
其他好文 时间:
2019-08-14 23:45:19
阅读次数:
90