var targetSecondNode = $(".secondList")[0];//要监控的dom对象 var obSecondServer = new MutationObserver(function (mutations) { //dom变化回调的函数 $(".secondList .i ...
分类:
Web程序 时间:
2020-04-08 12:00:33
阅读次数:
119
一、上拉刷新和加载 <!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <title>Page Title</title> <meta n ...
分类:
Web程序 时间:
2020-04-08 10:15:07
阅读次数:
80
#include<algorithm> 常用方法有4个:make_heap、sort_heap、pop_heap、push_heap 这4个函数的参数都一样,返回值都为void。 first 首元素地址 last 尾元素地址 cmp 比较函数(决定大堆还是小堆) 1 template <class ...
分类:
其他好文 时间:
2020-04-07 18:47:28
阅读次数:
102
1、先在远程仓库(如github)创建项目,为了避免错误,不要初始化 README, license, 或者gitignore文件 . 2、打开Terminal终端 3、切换到你的本地项目目录 4、初始化本地仓库 git init 5、添加文件到本地仓库 git add . 6、提交文件 git c ...
分类:
其他好文 时间:
2020-04-07 13:02:25
阅读次数:
74
Problem : You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the ...
分类:
其他好文 时间:
2020-04-07 00:33:41
阅读次数:
282
实现效果: 魔方动态转换,同时每个面里的每个块都能进行动态变换。 实现代码: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>魔方</title> <style type="text/css"> *{ margin: 0; pa ...
分类:
编程语言 时间:
2020-04-07 00:01:32
阅读次数:
110
写这道题目的意图呢是简单的总结下链表的使用,还有注意的事情 First 比较简单的写法,直接比较大小,不保存数据 int main() { int max = 0, sou; while (1) { printf("输入成绩\n"); scanf("%d", &sou); if (max < sou ...
分类:
其他好文 时间:
2020-04-06 23:48:02
阅读次数:
124
实现页面样式: 前端代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <t ...
分类:
Web程序 时间:
2020-04-06 20:33:02
阅读次数:
87
1、准备数据 PUT /lib/user/1 { "first_name":"Jane", "last_name":"Smith", "age":32, "about":"I like to collect rock albums", "interests":[ "music" ] } 2、操作演示 ...
分类:
其他好文 时间:
2020-04-06 20:15:54
阅读次数:
67
筛选与切片 映射 查找和匹配 归约(折叠) ...
分类:
其他好文 时间:
2020-04-06 17:26:06
阅读次数:
65