摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script src="vue3.js"></script> <style> .c1{ color: red; } .c2{ } </ 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script src="vue3.js"></script> <style> .c1{ color: red; } .c2{ } </ 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script src="vue3.js"></script> <style> .c1{ color: red; } .c2{ } </ 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script src="vue3.js"></script></head><body><div id="app"> <p>消息:{{m 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script src="vue3.js"></script></head><body><div id="app"> <p>消息:{{m 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script src="vue3.js"></script></head><body><div id="app"> <p @click 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/3.0.5/vue.gl 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/3.0.5/vue.gl 阅读全文
摘要:
VUE3框架 2021年8月30日 一、介绍 Vue (读音 /vjuː/,类似于 view) 是一套用于构建用户界面的渐进式框架。与其它大型框架不同的是,Vue 被设计为可以自底向上逐层应用。Vue 的核心库只关注视图层,不仅易于上手,还便于与第三方库或既有项目整合。另一方面,当与现代化的工具链以 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body><div id="i1" class="c1">yuan</div><div class="c1">rain</ 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> #i1{ color: red; } </style> <script> function show() { // 查找 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script> // window.alert("磁盘已满") // window.confirm("是否继续") // window 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script> // 函数声明 function foo(){ // 函数体 console.log("hello huchangxi 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script> console.log(Math.abs(-100)) // 100 #绝对值 console.log(Math.ce 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script> // 获取当前日期对象 var date = new Date() console.log(date) // Sat 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title>、 <script> // 方法1 var obj = new Object(); obj.name = "huchangxi" obj. 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script> var arr = ["huchangxi",23,true] console.log(arr.length) // 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script> // 条件循环 遍历循环 // while for // 无限循环 /*while (true){ console.l 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script> var x = 10 // var ret = x++ // x +=1 // x = x+1 //先赋值再计算 va 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script> var age = 20 // 成年人观看 if (age > 18){ console.log("成年人观看") } 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script> var num1 ="3.14" var ret1 = parseFloat(num1) // #将字符串转换为数字 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script> // undefined场景1 var a; console.log(a,typeof a) // undefined 阅读全文
摘要:
知识点1:除数字0和字符串为空外全是true<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script> var ret = 2 > 1 console.log(ret,typeo 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script> // 声明字符串 var s1 = "hellow huchangxi" var s2 = 'hellow hucha 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script> var num1 = 3.14 var num2 = 100 console.log(typeof num1,type 阅读全文