Upload 90 files
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- JS正则表达式/01_正则表达式初步使用.htmlAdded+40
- JS正则表达式/02_字符串方法.htmlAdded+30
- JS正则表达式/03_匹配规则1_字面量字符.htmlAdded+25
- JS正则表达式/03_匹配规则2_元字符.htmlAdded+39
- JS正则表达式/03_匹配规则3_转义符.htmlAdded+27
- JS正则表达式/03_匹配规则4_字符类.htmlAdded+43
- JS正则表达式/03_匹配规则5_预定义模式和重复类.htmlAdded+41
- JS正则表达式/03_匹配规则6_量词符和贪婪模式.htmlAdded+46
- JS正则表达式/03_匹配规则7_修饰符和组匹配.htmlAdded+41
- JS正则表达式/04_正则表达式的应用.htmlAdded+73
- JS面向对象/01_生成对象.htmlAdded+27
- JS面向对象/02_new命令.htmlAdded+51
- JS面向对象/03_prototype原型1_构造函数的缺陷.htmlAdded+46
- JS面向对象/03_prototype原型2_原型属性与方法.htmlAdded+42
- JS面向对象/03_prototype原型3_原型属性的覆盖.htmlAdded+32
- JS面向对象/03_prototype原型4_Array实例.htmlAdded+30
- JS面向对象/04_实例方法与静态方法.htmlAdded+60
- JS面向对象/05_实例属性与静态属性.htmlAdded+37
- JS面向对象/06__proto__属性.htmlAdded+27
- JS面向对象/07_constructor属性.htmlAdded+55
- JS面向对象/08_原型链.htmlAdded+46
- JS面向对象/09_instanceof运算符.htmlAdded+42
- JS面向对象/10_Object对象的方法1_getPrototypeOf.htmlAdded+31
- JS面向对象/10_Object对象的方法2_setPrototypeOf.htmlAdded+30
- JS面向对象/10_Object对象的方法3_create.htmlAdded+31
- JS面向对象/10_Object对象的方法4_create进阶.htmlAdded+38
- JS面向对象/10_Object对象的方法5_getOwnPropertyNames.htmlAdded+21
- JS面向对象/10_Object对象的方法6_hasOwnProperty.htmlAdded+17
- JS面向对象/11_对象的继承.htmlAdded+57
- JS面向对象/12_多重继承.htmlAdded+58
- JS面向对象/13_严格模式.htmlAdded+56
- JS面向对象/14_实操1_选项卡.htmlAdded+66
- JS面向对象/14_实操2_选项卡_面向对象.htmlAdded+124
- JS面向对象/14_实操3_选项卡_面向对象_继承.htmlAdded+120
- PyEcharts.ipynbAdded
- Vue2/01_Vue快速上手.htmlAdded+34
- Vue2/02_Vue模板语法.htmlAdded+40
- Vue2/03_数据绑定.htmlAdded+35
- Vue2/04_MVVM模型.htmlAdded+46
- Vue2/05_数据代理1_回顾defineProperty.htmlAdded+38
- Vue2/05_数据代理2_概念.htmlAdded+24
- Vue2/05_数据代理3_Vue中的数据代理.htmlAdded+28
- Vue2/06_事件处理1_基本使用.htmlAdded+43
- Vue2/06_事件处理2_事件修饰符.htmlAdded+100
- Vue2/06_事件处理3_键盘事件.htmlAdded+37
- Vue2/07_计算属性1_姓名案例_插值语法实现.htmlAdded+31
- Vue2/07_计算属性2_姓名案例_methods实现.htmlAdded+36
- Vue2/07_计算属性3_姓名案例_计算属性实现.htmlAdded+49
- Vue2/07_计算属性4_姓名案例_计算属性简写.htmlAdded+37
- Vue2/08_监视属性1_天气案例.htmlAdded+36
12345678910111213141516171819202122232425262728293031323334353637383940<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
/* 创建正则: 1. 字面量:开始和结尾是斜杠 // 2. 构造函数:new关键字 执行正则: 1. test(); 2. exec(); 0:"it" : 正则的匹配规则 index:代表从那个位置开始匹配 input:代表匹配的原字符串 */
var reg1 = /bai/; var reg2 = new RegExp("xyz");
var name = "itbaizhan";
var result1 = reg1.test(name);
var result2 = reg1.exec(name); console.log(result2); // ['it', index: 0, input: 'itbaizhan']
</script> </body></html>123456789101112131415161718192021222324252627282930<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
var name = "itbaizhan"; var reg = /baizhan/;
var longName = "sxt,it,baizhan,learn";
console.log(name.search(reg)); console.log(name.match(reg)); console.log(name.replace(reg,"sxt")); console.log(longName.split(/,/,2)); // ['sxt', 'it']
</script> </body></html>12345678910111213141516171819202122232425<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
var name = "itbaizhan" var str = "it"
console.log(name.indexOf("it")); // 匹配成功返回位置,匹配失败返回-1
var reg = /it/; console.log(reg.test(name)); // true false
</script> </body></html>123456789101112131415161718192021222324252627282930313233343536373839<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
var reg = /s.t/; console.log(reg.test("sxt")); console.log(reg.test("s-t")); console.log(reg.test("s.t")); console.log(reg.test("sxxt")); // 做不到 false
var reg1 = /^it/; console.log(reg1.test("itbaizhan"));
var reg2 = /it$/; console.log(reg2.test("sxtit"));
var reg3 = /^it$/; console.log(reg3.test("itbaizhanit")); // 不能的 console.log(reg3.test("it")); // 特别注意
var reg4 = /cat|dog/; console.log(reg4.test("doghello"));
console.log(/^it.sxt$/.test("it-sxt"));
</script> </body></html>123456789101112131415161718192021222324252627<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
// 我的需求是匹配字符串"^it" var reg = /\^it/; console.log(reg.test("^it"));
var reg1 = /1\+1/; console.log(reg1.test("1+1"));
var reg2 = new RegExp("1\\+1"); console.log(reg2.test("1+1"));
</script> </body></html>12345678910111213141516171819202122232425262728293031323334353637383940414243<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
var reg = /[abc]/; console.log(reg.test("itbaizhan")); console.log(reg.test("sxt"));
var reg1 = /[^abc]/; console.log(reg1.test("sxt")); console.log(reg1.test("apple")); console.log(reg1.test("abcapple")); console.log(reg1.test("aabbcc")); // false
var reg2 = /[a-f]/; console.log(reg2.test("gtyu"));
var reg3 = /[a-z]/ var reg4 = /[0-9]/ var reg5 = /[A-Z]/
console.log(reg4.test("199")); console.log(reg4.test("1zbc"));
var reg6 = /[0-9a-zA-Z]/; console.log(reg6.test("0123abcdABCVD"));
var reg7 = /[1-31]/; // 1,2,3 console.log(reg7.test("123456"));
</script> </body></html>1234567891011121314151617181920212223242526272829303132333435363738394041<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
console.log(/\d/.test(100)); console.log(/\d/.test("100")); console.log(/\d/.test("100hello")); console.log(/\d/.test("hello")); // false
console.log(/\D/.test("100")); console.log(/\D/.test("100hello")); console.log(/\D/.test("hello"));
console.log(/\w/.test("$%^*_"));
console.log(/\W/.test("100helo_^&*"));
console.log(/\s/.test("asdf23fd\t")); console.log(/\S/.test("\t\n"));
console.log(/\bhello/.test("asdfhello,test-hello")); console.log(/\Bhello/.test("shelloshello"));
console.log(/lo{2}k/.test("look")); console.log(/lo{2,}k/.test("loook")); console.log(/lo{2,4}k/.test("loooook"));
</script> </body></html>12345678910111213141516171819202122232425262728293031323334353637383940414243444546<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
/* ?:出现{0,1} *:出现{0,} +:出现{1,} */
console.log(/t?est/.test("test")); console.log(/t?est/.test("est")); console.log(/t?est/.test("tttest")); console.log(/^t?est/.test("tttest")); // false
console.log(/t*est/.test("est")); console.log(/t*est/.test("test")); console.log(/t*est/.test("ttest"));
console.log(/t+est/.test("est")); // false console.log(/t+est/.test("test")); console.log(/t+est/.test("ttest"));
console.log(/a+/.exec("aaa")); // ["aaa"] console.log(/a*/.exec("aaa")); // ["aaa"]
console.log(/a+?/.exec("aaa")); // ["a"] console.log(/a*?/.exec("aaa")); // [""]
// 标识符匹配规则:数字 字母 下划线 美元符号 /^[a-zA-Z\d_\$]{1,}$/.test("hello")
</script> </body></html>1234567891011121314151617181920212223242526272829303132333435363738394041<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
console.log("abba".replace(/b/,"m")); // amba console.log("abba".replace(/b/g,"m")); // amma
var name = "abba"; var reg = /b/g; console.log(reg.test(name)); // true console.log(reg.test(name)); // true console.log(reg.test(name)); // false
var names = "SXT"; var reg1 = /sxt/i; // 忽略大小写
console.log(reg1.test(names)); // false
console.log(/world$/.test("world\n")); console.log(/world$/m.test("world\n"));
var name2 = "ABBA"; var reg2 = /b/ig; console.log(name2.replace(reg2,"m")); // AmmA
var name3 = "freefree"; var reg3 = /(free)+/g; console.log(reg3.exec(name3));
</script> </body></html>12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style>
.success{ color: green; display: none; }
.error{ color: red; display: none; }
</style></head><body>
<input type="text" placeholder="请输入身份证" id="sfz"> <p class="success" id="success">验证通过</p> <p class="error" id="error">验证不通过</p>
<input type="text" placeholder="请输入手机号" id="phone">
<script>
/* 身份证规则: 1. 老身份证:15位全数字 2. 新身份证:18位全数字 17位数字+x
手机号规则: 1. 第一个数字一定是1 2. 第二个数字:3,4,5,6,7,8,9 */
var sfz = document.getElementById("sfz"); var success = document.getElementById("success"); var error = document.getElementById("error") var phone = document.getElementById("phone"); var sfzReg = /^[0-9]{15}$|^[0-9]{18}$|^[0-9]{17}x$/i; var phoneReg = /^1(3|4|5|6|7|8|9)[0-9]{9}$/;
sfz.oninput = function(){ if(sfzReg.test(sfz.value)){ success.style.display = "block" error.style.display = "none" }else{ error.style.display = "block" success.style.display = "none" } }
phone.oninput = function(){ if(phoneReg.test(phone.value)){ console.log("success"); }else{ console.log("error"); } }
</script> </body></html>123456789101112131415161718192021222324252627<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
// 构造函数 function Person(){ this.name = "张三"; this.age = 30; }
var person = new Person(); console.log(person.name); console.log(person.age);
</script> </body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script> /* 理解面向对象 1. 为什么要使用面向对象 1. 易维护 2. 可复用 3. 可扩展 4. 灵活性 2. 面向对象的代码编写 1. 理解面向对象的模板(构造函数) 2. 通过模板生成一个实例对象(new关键字)
*/
/* this关键字: 1. 事件中this指向DOM元素 2. 闭包中的this指向window 3. 定时器中的this指向window 4. 对象中的this指向调用者 5. 改变this指向:call\apply\bind 6. 构造函数中的this,指向当前实例对象 */
function Person(name,age){ this.name = name; this.age = age; }
var zhangsan = new Person("张三",20); var lisi = new Person("李四",22);
console.log(zhangsan); console.log(lisi);
</script> </body></html>12345678910111213141516171819202122232425262728293031323334353637383940414243444546<!DOCTYPE html><html lang="en">
<head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head>
<body>
<script>
function Person(name, age) { // 属性 this.name = name; this.age = age;
// 方法 this.sayHello = function () { console.log("hello"); } }
var zhangsan = new Person("张三", 20); var lisi = new Person("李四", 30)
zhangsan.sayHello(); // hello lisi.sayHello(); // hello
// 两个实例对象调用同一个sayHello,两个sayHello是不是一样的 console.log(zhangsan.sayHello === lisi.sayHello); // false
// prototype原型 console.log(Person.prototype);
</script>
</body>
</html>123456789101112131415161718192021222324252627282930313233343536373839404142<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
function Person(name,age){ this.name = name; this.age = age; }
// 放在原型上 Person.prototype.sayHello = function(){ console.log("hello"); } Person.prototype.job = "it"
var zhangsan = new Person("zhangsan",30) var lisi = new Person("lisi",20)
zhangsan.sayHello() lisi.sayHello()
console.log(zhangsan.sayHello === lisi.sayHello); // true
Person.prototype.job = "销售"
console.log(zhangsan.job); console.log(lisi.job); // console.log(zhangsan.job === lisi.job); // true
</script> </body></html>1234567891011121314151617181920212223242526272829303132<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
function Person(){ // this.job = "it" }
Person.prototype.job = "销售";
var p1 = new Person(); p1.job = "it"; var p2 = new Person();
console.log(p1.job); console.log(p2.job);
</script> </body></html>123456789101112131415161718192021222324252627282930<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
// 数组:push方法挂在到原型上的
// Array.prototype.push = function(){
// }
// var arr1 = []; // var arr2 = [];
// arr1.push(); // arr2.push();
// console.log(arr1.push === arr2.push);
</script> </body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
/* 实例: 实例方法 实例属性 静态: 静态方法 静态属性 */
function Person(name,age){ this.name = name; this.age = age; }
// 实例方法 Person.prototype.sayHello = function(){ console.log("hello"); }
// 静态方法 Person.sayBey = function(){ console.log("bey"); }
// 静态方法的调用 Person.sayBey()
// 实例方法的调用 var p = new Person("zhangsan",30); p.sayHello();
// Math静态方法 Math.abs();
// 数组实例方法 var arr = []; arr.push();
</script> </body></html>12345678910111213141516171819202122232425262728293031323334353637<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
function Person(name){ this.name = name }
// 实例属性 Person.prototype.hello = "hello";
// 静态属性 Person.bey = "bey";
// 实例属性调用 var p = new Person("张撒旦"); console.log(p.hello);
// 静态属性调用 console.log(Person.bey);
</script> </body></html>123456789101112131415161718192021222324252627<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
function Person(){}
var p = new Person();
console.log(Person.prototype);
console.log(p.__proto__); // 对象的原型
console.log(Person.prototype === p.__proto__); // true
</script> </body></html>12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body> <script>
// function Person(name){ // this.name = name // }
// // 获得到原型 // console.log(Person.prototype.constructor);
var person; (function(){
function Person(){ this.name = "张三"; this.age = 20; }
Person.prototype.getName = function(){ console.log(this.name); }
person = new Person();
})();
person.getName() // 问题:现在这个库缺少了一个方法,getAge的方法
// Person.prototype.getAge = function(){
// }
person.constructor.prototype.getAge = function(){ console.log(this.age); }
person.getAge();
</script>
</body></html>12345678910111213141516171819202122232425262728293031323334353637383940414243444546<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
// 在JS中,一切皆对象
// function Person(){}
// console.log(Person.prototype); // console.log(Person.prototype.__proto__.__proto__);
// console.log(Object.prototype);
// var arr = []; // console.log(arr.toString); // console.log("".toString); // console.log({}.toString); // console.log(Math.toString); // console.log(Date.toString);
// console.log(Object.prototype);
function Person(){}
// Person.prototype.toString = function(){ // console.log("哈哈哈"); // }
var p = new Person(); console.log(p.toString);
</script> </body></html>123456789101112131415161718192021222324252627282930313233343536373839404142<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
function Person(){}
var p = new Person();
var p1 = [];
console.log(p instanceof Person); // true:当前p是Person的实例对象 console.log(p1 instanceof Person); // false:p1不是Person的实例对象
/* typeof:检测基本数据类型:number、string、boolean isArray:检测数组:true,false instanceof:检测对象:true,false */
// intanceof会检测整个原型链 console.log(p instanceof Object); // true console.log(p1 instanceof Object); // true
// var num = 10;// instanceof:只能检测对象 // console.log(num instanceof Number);
var arr = []; console.log(arr instanceof Array);
</script> </body></html>12345678910111213141516171819202122232425262728293031<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
function Person(){}
Person.prototype.getName = function(){}
var p = new Person()
// 获取实例对象的原型对象 console.log(Object.getPrototypeOf(p));
console.log(Person.prototype);
// 不推荐使用 console.log(p.__proto__);
</script> </body></html>123456789101112131415161718192021222324252627282930<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
var sxt = {}; var itbaizhan = { teacher:"老师", getAge:function(){ console.log(13); } }
Object.setPrototypeOf(sxt,itbaizhan);
sxt.getAge() console.log(sxt.teacher);
</script> </body></html>12345678910111213141516171819202122232425262728293031<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
var sxt = { age:13, teacher:function(){ console.log("很多老师"); } }
var itbaizhan = Object.create(sxt);
sxt.age = 20;
console.log(itbaizhan.age); itbaizhan.teacher()
</script> </body></html>1234567891011121314151617181920212223242526272829303132333435363738<!DOCTYPE html><html lang="en">
<head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head>
<body>
<script>
var sxt = { java: { value: "全体系" }, web: { value: '大前端' } }
var itbaizhan = Object.create(sxt,{ python:{ value:"全方向" } });
console.log(itbaizhan.java.value); console.log(itbaizhan.python);
</script>
</body>
</html>123456789101112131415161718192021<!DOCTYPE html><html lang="en">
<head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head>
<body>
<script>
console.log(Object.getOwnPropertyNames(Array));
</script>
</body>
</html>1234567891011121314151617<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body> <script> console.log(Array.hasOwnProperty("length")); // true console.log(Array.hasOwnProperty("toString")); // false
</script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
function Person(name,age){ this.name = name; this.age = age; }
Person.prototype.getName = function(){ console.log(this.name); }
Person.prototype.getAge = function(){ console.log(this.age); }
function Student(name,age,learn){ // 基础属性:调用父类的构造函数 Person.call(this,name,age); this.learn = learn; } // 继承父类的方法 for(var p in Person.prototype){ Student.prototype[p] = Person.prototype[p]; }
Student.prototype.getLearn = function(){ console.log(this.learn); }
// 就近原则 Student.prototype.getName = function(){ console.log("姓名:"+this.name); }
var student = new Student("张三",19,"it"); student.getAge() student.getName() student.getLearn()
</script> </body></html>12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script>
function Sxt(){ this.hello = "hello" }
Sxt.prototype.getHello = function(){ console.log("Hello"); }
function Itbaizhan(){ this.world = "world" }
Itbaizhan.prototype.getWorld = function(){ console.log("World"); }
function Sum(){ Sxt.call(this); Itbaizhan.call(this); } // 继承Sxt // Sum.prototype = Object.create(Sxt.prototype); for(var p in Sxt.prototype){ Sum.prototype[p] = Sxt.prototype[p]; } // 继承Itbaizhan Object.assign(Sum.prototype,Itbaizhan.prototype);
// 指定constructor Sum.prototype.constructor = Sum;
console.log(Sum.prototype);
var s = new Sum(); console.log(s.hello); console.log(s.world); s.getHello(); s.getWorld();
</script> </body></html>1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body>
<script> "use strict" // 所有的代码都是严格模式 console.log("hello");
</script>
<script> function add(a,b){ "use strict" // 函数体内部是严格模式 return a + b }
add(10,20) </script>
<script> "use strict" var eval = "20"; console.log(eval);
</script>
<script>
function add(){ "use strict" num = 10; console.log(num); }
console.log(num); add(); </script>
<script>
// Math.min.apply(null,arr);
</script>
</body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style>
#tabBox input{ background: #f1f1f1; border: 1ps solid #ff0000; }
#tabBox .active{ background: #e9f212; }
#tabBox div{ display: none; width: 300px; height: 250px; padding: 10px; background: #e9f212; border: 1px solid #ff0000; }
</style> <script>
window.onload = function(){ var tabBox = document.getElementById("tabBox"); var tabBtn = tabBox.getElementsByTagName("input"); var tabDiv = tabBox.getElementsByTagName("div");
for(var i = 0;i<tabBtn.length;i++){ tabBtn[i].index = i; tabBtn[i].onclick = function(){ for(var j = 0;j<tabBtn.length;j++){ tabBtn[j].className = ""; tabDiv[j].style.display = "none"; } this.className = "active"; tabDiv[this.index].style.display = "block" } }
}
</script></head><body>
<div id="tabBox"> <input type="button" value="web" class="active"> <input type="button" value="Java"> <input type="button" value="Python"> <div style="display: block;">React、Vue</div> <div>SpringBoot、SpringMVC</div> <div>flask</div> </div>
</body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124<!DOCTYPE html><html lang="en">
<head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> .tab input { background: #f1f1f1; border: 1ps solid #ff0000; }
.tab .active { background: #e9f212; }
.tab div { display: none; width: 300px; height: 250px; padding: 10px; background: #e9f212; border: 1px solid #ff0000; } </style>
<script>
function Tab(id) { var tabBox = document.getElementById(id); // 属性 this.tabBtn = tabBox.getElementsByTagName("input"); this.tabDiv = tabBox.getElementsByTagName("div");
for (var i = 0; i < this.tabBtn.length; i++) { this.tabBtn[i].index = i; var _this = this; this.tabBtn[i].onclick = function () { _this.clickBtn(this); } } }
Tab.prototype.clickBtn = function (btn) { for (var j = 0; j < this.tabBtn.length; j++) { this.tabBtn[j].className = ""; this.tabDiv[j].style.display = "none"; } this.className = "active"; this.tabDiv[btn.index].style.display = "block" }
window.onload = function () { new Tab("tabBox1") new Tab("tabBox2") new Tab("tabBox3") }
</script>
<script>
// window.onload = function(){ // var tabBox = document.getElementById("tabBox"); // var tabBtn = tabBox.getElementsByTagName("input"); // var tabDiv = tabBox.getElementsByTagName("div");
// for(var i = 0;i<tabBtn.length;i++){ // tabBtn[i].index = i; // tabBtn[i].onclick = function(){ // for(var j = 0;j<tabBtn.length;j++){ // tabBtn[j].className = ""; // tabDiv[j].style.display = "none"; // } // this.className = "active"; // tabDiv[this.index].style.display = "block" // } // }
// }
</script></head>
<body>
<div id="tabBox1" class="tab"> <input type="button" value="web" class="active"> <input type="button" value="Java"> <input type="button" value="Python"> <div style="display: block;">React、Vue</div> <div>SpringBoot、SpringMVC</div> <div>flask</div> </div>
<div id="tabBox2" class="tab"> <input type="button" value="web1" class="active"> <input type="button" value="Java1"> <input type="button" value="Python1"> <div style="display: block;">React1、Vue1</div> <div>SpringBoot1、SpringMVC1</div> <div>flask1</div> </div>
<div id="tabBox3" class="tab"> <input type="button" value="web2" class="active"> <input type="button" value="Java2"> <input type="button" value="Python2"> <div style="display: block;">React1、Vue1</div> <div>SpringBoot1、SpringMVC1</div> <div>flask1</div> </div>
</body>
</html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120<!DOCTYPE html><html lang="en">
<head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> .tab input { background: #f1f1f1; border: 1ps solid #ff0000; }
.tab .active { background: #e9f212; }
.tab div { display: none; width: 300px; height: 250px; padding: 10px; background: #e9f212; border: 1px solid #ff0000; } </style>
<script>
function Tab(id) { var tabBox = document.getElementById(id); // 属性 this.tabBtn = tabBox.getElementsByTagName("input"); this.tabDiv = tabBox.getElementsByTagName("div");
for (var i = 0; i < this.tabBtn.length; i++) { this.tabBtn[i].index = i; var _this = this; this.tabBtn[i].onclick = function () { _this.clickBtn(this); } } }
Tab.prototype.clickBtn = function (btn) { for (var j = 0; j < this.tabBtn.length; j++) { this.tabBtn[j].className = ""; this.tabDiv[j].style.display = "none"; } this.className = "active"; this.tabDiv[btn.index].style.display = "block" }
// window.onload = function () { // new Tab("tabBox1") // new Tab("tabBox2") // }
</script>
<script>
// 每一个选项卡在加载之后,都知道这个选共享卡是干嘛,或者是输出专业 function ItbaizhanTab(id,effect){ Tab.call(this,id); this.effect = effect; }
for(var t in Tab.prototype){ ItbaizhanTab.prototype[t] = Tab.prototype[t] }
ItbaizhanTab.prototype.getEffect = function(){ console.log(this.effect); }
window.onload = function(){ var t1 = new ItbaizhanTab("tabBox1","百战程序员主流专业"); var t2 = new ItbaizhanTab("tabBox2","百战程序员参考");
t1.getEffect(); t2.getEffect(); }
</script></head>
<body>
<div id="tabBox1" class="tab"> <input type="button" value="web" class="active"> <input type="button" value="Java"> <input type="button" value="Python"> <div style="display: block;">React、Vue</div> <div>SpringBoot、SpringMVC</div> <div>flask</div> </div>
<div id="tabBox2" class="tab"> <input type="button" value="书籍" class="active"> <input type="button" value="视频"> <input type="button" value="文档"> <div style="display: block;">尚学堂出品java</div> <div>尚学堂视频,百战视频</div> <div>课堂笔记文档</div> </div>
</body>
</html>12345678910111213141516171819202122232425262728293031323334<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>初识Vue</title>
<!-- 引入Vue --> <script type="text/javascript" src="./js/vue.min.js"></script> </head> <body> <!-- 准备好一个容器(Vue模版) --> <div id="demo"> <h1>Hello, {{name.toUpperCase()}}, {{address}}</h1> </div>
<script type="text/javascript" > Vue.config.productionTip = false //阻止 vue 在启动时生成生产提示。
// 创建Vue实例 new Vue({
// el 用于指定当前 Vue实例 所服务的容器,值通常为css选择器 el:'#demo',
// data中用于存储数据,数据供el所指定的容器去使用 data:{ name:'atguigu', address:'北京' } })
</script> </body></html>12345678910111213141516171819202122232425262728293031323334353637383940<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>模板语法</title> <!-- 引入Vue --> <script type="text/javascript" src="./js/vue.min.js"></script> </head> <body> <!-- 准备一个Vue模版 --> <div id="root"> <h1>插值语法</h1> <h3>你好,{{name}}</h3>
<hr/> <h1>指令语法</h1> <a v-bind:href="school.url.toUpperCase()" x="hello">点我去{{school.name}}学习1</a> <a :href="school.url" x="hello">点我去{{school.name}}学习2</a> </div>
</body>
<script type="text/javascript">
// 阻止 vue 在启动时生成生产提示 Vue.config.productionTip = false
new Vue({ el:'#root', data:{ name:'jack', school:{ name:'尚硅谷', url:'http://www.atguigu.com', } } }) </script></html>1234567891011121314151617181920212223242526272829303132333435<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>数据绑定</title> <!-- 引入Vue --> <script type="text/javascript" src="./js/vue.min.js"></script> </head> <body> <div id="root"> <!-- 普通写法 --> 单向数据绑定:<input type="text" v-bind:value="name"><br/> 双向数据绑定:<input type="text" v-model:value="name"><br/>
<!-- 简写 --> 单向数据绑定:<input type="text" :value="name"><br/> 双向数据绑定:<input type="text" v-model="name"><br/>
<!-- 如下代码是错误的,因为v-model只能应用在表单类元素(输入类元素)上 --> <!-- <h2 v-model:x="name">你好啊</h2> --> </div> </body>
<script type="text/javascript"> // 阻止 vue 在启动时生成生产提示 Vue.config.productionTip = false
new Vue({ el:'#root', data:{ name:'尚硅谷' } }) </script></html>12345678910111213141516171819202122232425262728293031323334353637383940414243444546<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>理解MVVM</title> <!-- 引入Vue --> <script type="text/javascript" src="./js/vue.js"></script> </head> <body> <!-- MVVM 模型 1. M:模型(Model) :data中的数据 2. V:视图(View) :模板代码 3. VM:视图模型(ViewModel):Vue实例
观察发现: 1. data 中所有的属性,最后都出现在了vm身上。 2. vm 身上所有的属性 及 Vue原型上所有属性,在Vue模板中都可以直接使用。 -->
<!-- 准备好一个容器--> <div id="root"> <h1>学校名称:{{name}}</h1> <h1>学校地址:{{address}}</h1> <h1>测试一下1: {{1+1}}</h1> <h1>测试一下2: {{$options}}</h1> <h1>测试一下3: {{$emit}}</h1> <h1>测试一下4: {{_c}}</h1> </div> </body>
<script type="text/javascript">
// 阻止 vue 在启动时生成生产提示 Vue.config.productionTip = false
const vm = new Vue({ el:'#root', data:{ name:'尚硅谷', address:'北京', } }) console.log(vm) </script></html>1234567891011121314151617181920212223242526272829303132333435363738<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>回顾Object.defineproperty方法</title> </head> <body> <script type="text/javascript" > let number = 18 let person = { name:'张三', sex:'男', }
Object.defineProperty(person,'age',{ // 如已设置 set 或 get, 就不能设置 writable 和 value // value:18, enumerable:true, // 控制属性是否可以枚举,默认值是false // writable:true, // 控制属性是否可以被修改,默认值是false configurable:true, // 控制属性是否可以被删除,默认值是false
// 当有人读取person的age属性时,get函数(getter)就会被调用 get(){ console.log('有人读取age属性了') return number // 返回 我们想让别人读取到的值 },
// 当有人修改person的age属性时,set函数(setter)就会被调用,且会收到修改的具体值 set(value){ console.log('有人修改了age属性,且值是', value) number = value } })
console.log(person) </script> </body></html>123456789101112131415161718192021222324<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>何为数据代理</title> </head> <body> <!-- 数据代理:通过 对象A(代理) 对 对象B中属性 进行操作(读/写)--> <script type="text/javascript" > let obj = {x:100} let obj2 = {y:200}
// 通过 obj2 对 obj内的x属性 进行操作 Object.defineProperty(obj2,'x',{ get(){ return obj.x }, set(value){ obj.x = value } }) </script> </body></html>12345678910111213141516171819202122232425262728<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>Vue中的数据代理</title> <!-- 引入Vue --> <script type="text/javascript" src="../js/vue.js"></script> </head> <body> <!-- 准备好一个容器--> <div id="root"> <h2>学校名称:{{name}}</h2> <h2>学校地址:{{address}}</h2> </div> </body>
<script type="text/javascript"> Vue.config.productionTip = false //阻止 vue 在启动时生成生产提示。 const vm = new Vue({ el:'#root', data:{ name:'尚硅谷', address:'宏福科技园' } }) </script></html>12345678910111213141516171819202122232425262728293031323334353637383940414243<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>事件的基本使用</title> <!-- 引入Vue --> <script type="text/javascript" src="./js/vue.js"></script> </head> <body> <!-- 准备好一个容器--> <div id="root"> <h2>欢迎来到{{name}}学习</h2> <button @click="showInfo1">点我提示信息1(不传参)</button> <button @click="showInfo2($event, 66)">点我提示信息2(传参)</button> </div> </body>
<script type="text/javascript"> // 阻止 vue 在启动时生成生产提示 Vue.config.productionTip = false
const vm = new Vue({ el:'#root', data:{ name:'尚硅谷', }, methods:{ showInfo1(event){ console.log(event.target.innerText) console.log(this) // 此处的this是vm alert('同学你好!') },
showInfo2(event, number){ console.log(event, number) console.log(event.target.innerText) console.log(this) // 此处的this是vm alert('同学你好!!') } } }) </script></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>事件修饰符</title> <!-- 引入Vue --> <script type="text/javascript" src="./js/vue.js"></script> <style> *{ margin-top: 20px; } .demo1{ height: 50px; background-color: skyblue; } .box1{ padding: 5px; background-color: skyblue; } .box2{ padding: 5px; background-color: orange; } .list{ width: 200px; height: 200px; background-color: peru; overflow: auto; } li{ height: 100px; } </style> </head> <body> <!-- 准备好一个容器 --> <div id="root"> <h2>欢迎来到{{name}}学习</h2> <!-- 阻止默认事件(常用) --> <a href="http://www.atguigu.com" @click.prevent="showInfo">点我提示信息</a>
<!-- 阻止事件冒泡(常用) --> <div class="demo1" @click="showInfo"> <button @click.stop="showInfo">点我提示信息</button> <!-- 修饰符可以连续写 --> <a href="http://www.atguigu.com" @click.prevent.stop="showInfo">点我提示信息</a> </div>
<!-- 事件只触发一次(常用) --> <button @click.once="showInfo">点我提示信息</button>
<!-- 使用事件的捕获模式 --> <div class="box1" @click.capture="showMsg(1)"> div1 <div class="box2" @click="showMsg(2)">div2</div> </div>
<!-- 只有 event.target 是当前操作的元素时才触发事件; --> <div class="demo1" @click.self="showInfo"> <button @click="showInfo">点我提示信息</button> </div>
<!-- 事件的默认行为立即执行,无需等待事件回调执行完毕; --> <ul @wheel.passive="demo" class="list"> <li>1</li> <li>2</li> <li>3</li> <li>4</li> </ul>
</div> </body>
<script type="text/javascript"> // 阻止 vue 在启动时生成生产提示 Vue.config.productionTip = false
new Vue({ el:'#root', data:{ name:'尚硅谷' }, methods:{ showInfo(e){ alert('同学你好!') console.log(e.target) }, showMsg(msg){ console.log(msg) }, demo(){ for (let i = 0; i < 100000; i++) { console.log('#') } console.log('累坏了') } } }) </script></html>12345678910111213141516171819202122232425262728293031323334353637<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>键盘事件</title> <!-- 引入Vue --> <script type="text/javascript" src="./js/vue.js"></script> </head> <body> <!-- 准备好一个容器--> <div id="root"> <h2>欢迎来到{{name}}学习</h2> <input type="text" placeholder="按下回车提示输入" @keydown.huiche="showInfo"> </div> </body>
<script type="text/javascript"> // 阻止 vue 在启动时生成生产提示 Vue.config.productionTip = false
// 定义了一个别名按键 Vue.config.keyCodes.huiche = 13
new Vue({ el:'#root', data:{ name:'尚硅谷' }, methods: { showInfo(e){ console.log(e.key, e.keyCode) console.log(e.target.value) } }, }) </script></html>12345678910111213141516171819202122232425262728293031<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>姓名案例_插值语法实现</title> <!-- 引入Vue --> <script type="text/javascript" src="./js/vue.js"></script> </head> <body> <!-- 准备好一个容器--> <div id="root"> 姓:<input type="text" v-model="firstName"> <br/><br/> 名:<input type="text" v-model="lastName"> <br/><br/> 全名:<span>{{firstName}}-{{lastName}}</span> </div> </body>
<script type="text/javascript">
// 阻止 vue 在启动时生成生产提示 Vue.config.productionTip = false
new Vue({ el:'#root', data:{ firstName:'张', lastName:'三' } }) </script></html>123456789101112131415161718192021222324252627282930313233343536<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>姓名案例_methods实现</title> <!-- 引入Vue --> <script type="text/javascript" src="./js/vue.js"></script> </head> <body> <!-- 准备好一个容器--> <div id="root"> 姓:<input type="text" v-model="firstName"> <br/><br/> 名:<input type="text" v-model="lastName"> <br/><br/> 全名:<span>{{fullName()}}</span> </div> </body>
<script type="text/javascript"> // 阻止 vue 在启动时生成生产提示 Vue.config.productionTip = false
new Vue({ el:'#root', data:{ firstName:'张', lastName:'三' }, methods: { fullName(){ console.log('@---fullName') return this.firstName + '-' + this.lastName } }, }) </script></html>12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>姓名案例_计算属性实现</title> <!-- 引入Vue --> <script type="text/javascript" src="./js/vue.js"></script> </head> <body> <!-- 准备好一个容器 --> <div id="root"> 姓:<input type="text" v-model="firstName"> <br/><br/> 名:<input type="text" v-model="lastName"> <br/><br/> 全名:<span>{{fullName}}</span><br/><br/> </div> </body>
<script type="text/javascript"> // 阻止 vue 在启动时生成生产提示 Vue.config.productionTip = false
const vm = new Vue({ el:'#root', data:{ firstName:'张', lastName:'三', }, computed:{ fullName:{ // get什么时候调用?1.初次读取fullName时。2.所依赖的数据发生变化时。 get(){ console.log('get被调用了') console.log(this) // 此处的this是vm return this.firstName + '-' + this.lastName },
// set什么时候调用? 当fullName被修改时 set(value){ console.log('set',value) const arr = value.split('-') this.firstName = arr[0] this.lastName = arr[1] } } } }) </script></html>12345678910111213141516171819202122232425262728293031323334353637<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>姓名案例_计算属性实现</title> <!-- 引入Vue --> <script type="text/javascript" src="./js/vue.js"></script> </head> <body> <!-- 准备好一个容器--> <div id="root"> 姓:<input type="text" v-model="firstName"> <br/><br/> 名:<input type="text" v-model="lastName"> <br/><br/> 全名:<span>{{fullName}}</span> <br/><br/> </div> </body>
<script type="text/javascript"> // 阻止 vue 在启动时生成生产提示 Vue.config.productionTip = false
const vm = new Vue({ el:'#root', data:{ firstName:'张', lastName:'三', }, computed:{ // 简写 fullName(){ console.log('get被调用了') return this.firstName + '-' + this.lastName } } }) </script></html>123456789101112131415161718192021222324252627282930313233343536<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>天气案例</title> <!-- 引入Vue --> <script type="text/javascript" src="./js/vue.js"></script> </head> <body> <!-- 准备好一个容器--> <div id="root"> <h2>今天天气很{{info}}</h2>
<!-- 绑定事件的时候:@xxx="yyy", yyy可以写一些简单的语句 --> <button @click="isHot = !isHot">切换天气</button> </div> </body>
<script type="text/javascript">
// 阻止 vue 在启动时生成生产提示 Vue.config.productionTip = false const vm = new Vue({ el:'#root', data:{ isHot:true, }, computed:{ info(){ return this.isHot ? '炎热' : '凉爽' } } }) </script></html>JS正则表达式/01_正则表达式初步使用.htmlAdded+40
JS正则表达式/02_字符串方法.htmlAdded+30
JS正则表达式/03_匹配规则1_字面量字符.htmlAdded+25
JS正则表达式/03_匹配规则2_元字符.htmlAdded+39
JS正则表达式/03_匹配规则3_转义符.htmlAdded+27
JS正则表达式/03_匹配规则4_字符类.htmlAdded+43
JS正则表达式/03_匹配规则5_预定义模式和重复类.htmlAdded+41
JS正则表达式/03_匹配规则6_量词符和贪婪模式.htmlAdded+46
JS正则表达式/03_匹配规则7_修饰符和组匹配.htmlAdded+41
JS正则表达式/04_正则表达式的应用.htmlAdded+73
JS面向对象/01_生成对象.htmlAdded+27
JS面向对象/02_new命令.htmlAdded+51
JS面向对象/03_prototype原型1_构造函数的缺陷.htmlAdded+46
JS面向对象/03_prototype原型2_原型属性与方法.htmlAdded+42
JS面向对象/03_prototype原型3_原型属性的覆盖.htmlAdded+32
JS面向对象/03_prototype原型4_Array实例.htmlAdded+30
JS面向对象/04_实例方法与静态方法.htmlAdded+60
JS面向对象/05_实例属性与静态属性.htmlAdded+37
JS面向对象/06__proto__属性.htmlAdded+27
JS面向对象/07_constructor属性.htmlAdded+55
JS面向对象/08_原型链.htmlAdded+46
JS面向对象/09_instanceof运算符.htmlAdded+42
JS面向对象/10_Object对象的方法1_getPrototypeOf.htmlAdded+31
JS面向对象/10_Object对象的方法2_setPrototypeOf.htmlAdded+30
JS面向对象/10_Object对象的方法3_create.htmlAdded+31
JS面向对象/10_Object对象的方法4_create进阶.htmlAdded+38
JS面向对象/10_Object对象的方法5_getOwnPropertyNames.htmlAdded+21
JS面向对象/10_Object对象的方法6_hasOwnProperty.htmlAdded+17
JS面向对象/11_对象的继承.htmlAdded+57
JS面向对象/12_多重继承.htmlAdded+58
JS面向对象/13_严格模式.htmlAdded+56
JS面向对象/14_实操1_选项卡.htmlAdded+66
JS面向对象/14_实操2_选项卡_面向对象.htmlAdded+124
JS面向对象/14_实操3_选项卡_面向对象_继承.htmlAdded+120
PyEcharts.ipynbAdded
Vue2/01_Vue快速上手.htmlAdded+34
Vue2/02_Vue模板语法.htmlAdded+40
Vue2/03_数据绑定.htmlAdded+35
Vue2/04_MVVM模型.htmlAdded+46
Vue2/05_数据代理1_回顾defineProperty.htmlAdded+38
Vue2/05_数据代理2_概念.htmlAdded+24
Vue2/05_数据代理3_Vue中的数据代理.htmlAdded+28
Vue2/06_事件处理1_基本使用.htmlAdded+43
Vue2/06_事件处理2_事件修饰符.htmlAdded+100
Vue2/06_事件处理3_键盘事件.htmlAdded+37
Vue2/07_计算属性1_姓名案例_插值语法实现.htmlAdded+31
Vue2/07_计算属性2_姓名案例_methods实现.htmlAdded+36
Vue2/07_计算属性3_姓名案例_计算属性实现.htmlAdded+49
Vue2/07_计算属性4_姓名案例_计算属性简写.htmlAdded+37
Vue2/08_监视属性1_天气案例.htmlAdded+36