HarmonyOS NEXT鸿蒙应用开发 ArkTS 教程目录(精华) 作者:马育民 • 2025-10-22 22:59 • 阅读:10000 # 入门 1. [HarmonyOS NEXT鸿蒙开发:ArkTS工程目录结构(Stage模型)](https://www.malaoshi.top/show_1IX8gULxGc9D.html "HarmonyOS NEXT鸿蒙开发:ArkTS工程目录结构(Stage模型)") 2. [HarmonyOS NEXT鸿蒙开发 ArkTS:启动previewer预览](https://www.malaoshi.top/show_1GW1xk0Rfy0x.html "HarmonyOS NEXT鸿蒙开发 ArkTS:启动previewer预览") 3. [HarmonyOS NEXT鸿蒙开发:Index.ets 首页文件](https://www.malaoshi.top/show_1GW1xlt8OeIi.html "HarmonyOS NEXT鸿蒙开发:Index.ets 首页文件") 4. [HarmonyOS NEXT鸿蒙开发:@Entry装饰器表示应用的入口](https://www.malaoshi.top/show_1GW1y5nDSf7y.html "HarmonyOS NEXT鸿蒙开发:@Entry装饰器表示应用的入口") 5. [HarmonyOS NEXT鸿蒙开发 ArkTS:第一个程序打印Hello World](https://www.malaoshi.top/show_1GW1xk4vzSLI.html "HarmonyOS NEXT鸿蒙开发 ArkTS:第一个程序打印Hello World") 6. [HarmonyOS NEXT鸿蒙开发 ArkTS:查看打印日志](https://www.malaoshi.top/show_1GW1xk4ZcVEG.html "HarmonyOS NEXT鸿蒙开发 ArkTS:查看打印日志") # ArkTS 数据类型 1. [HarmonyOS NEXT鸿蒙开发 ArkTS:基础类型(number、string、boolean)](https://www.malaoshi.top/show_1GW1p63kr0M4.html "HarmonyOS NEXT鸿蒙开发 ArkTS:基础类型(number、string、boolean)") 2. [HarmonyOS NEXT鸿蒙开发 ArkTS:联合类型(变量可以是多个类型)](https://www.malaoshi.top/show_1GW1pA7hCyaL.html "HarmonyOS NEXT鸿蒙开发 ArkTS:联合类型(变量可以是多个类型)") 3. [HarmonyOS NEXT鸿蒙开发 ArkTS:数组](https://www.malaoshi.top/show_1GW1wcyg7ZJf.html "HarmonyOS NEXT鸿蒙开发 ArkTS:数组") ### 高级数据类型 1. [HarmonyOS NEXT鸿蒙开发 ArkTS:enum枚举](https://www.malaoshi.top/show_1GW1wi3jZYqT.html "HarmonyOS NEXT鸿蒙开发 ArkTS:enum枚举") # 函数 1. [HarmonyOS NEXT鸿蒙开发 ArkTS:函数](https://www.malaoshi.top/show_1GW1wiHUnlbD.html "HarmonyOS NEXT鸿蒙开发 ArkTS:函数") 2. [HarmonyOS NEXT鸿蒙开发 ArkTS:函数形参的默认值](https://www.malaoshi.top/show_1GW1wiJK5MhJ.html "HarmonyOS NEXT鸿蒙开发 ArkTS:函数形参的默认值") 3. [HarmonyOS NEXT鸿蒙开发 ArkTS:函数形参的默认值是多个-字面量类型](https://www.malaoshi.top/show_1GW1wiNsjYGc.html "HarmonyOS NEXT鸿蒙开发 ArkTS:函数形参的默认值是多个-字面量类型") 4. [HarmonyOS NEXT鸿蒙开发 ArkTS:函数返回值的类型推论(省略类型)](https://www.malaoshi.top/show_1GW1wiPB7Bxi.html "HarmonyOS NEXT鸿蒙开发 ArkTS:函数返回值的类型推论(省略类型)") ### 高级 1. [HarmonyOS NEXT鸿蒙开发 ArkTS:箭头函数](https://www.malaoshi.top/show_1GW1wiYlzaf8.html "HarmonyOS NEXT鸿蒙开发 ArkTS:箭头函数") 2. [HarmonyOS NEXT鸿蒙开发 ArkTS:callback 回调函数(函数作为参数,传递给另一个参数)](https://www.malaoshi.top/show_1GW21W1F3djD.html "HarmonyOS NEXT鸿蒙开发 ArkTS:callback 回调函数(函数作为参数,传递给另一个参数)") ### 内置函数 1. [HarmonyOS NEXT鸿蒙开发 ArkTS:内置函数 parseInt()](https://www.malaoshi.top/show_1GW1xdgje5TF.html "HarmonyOS NEXT鸿蒙开发 ArkTS:内置函数 parseInt()") 2. [HarmonyOS NEXT鸿蒙开发 ArkTS:内置函数 parseFloat()](https://www.malaoshi.top/show_1GW1xe96pXpj.html "HarmonyOS NEXT鸿蒙开发 ArkTS:内置函数 parseFloat()") 3. [HarmonyOS NEXT鸿蒙开发 ArkTS:setInterval()、 clearInterval()](https://www.malaoshi.top/show_1GW1xemkMDDp.html "HarmonyOS NEXT鸿蒙开发 ArkTS:setInterval()、 clearInterval()") 4. [HarmonyOS NEXT鸿蒙开发 ArkTS:setTimeout()、clearTimeout()](https://www.malaoshi.top/show_1GW1xes73v4G.html "HarmonyOS NEXT鸿蒙开发 ArkTS:setTimeout()、clearTimeout()") # 面向对象 1. [HarmonyOS NEXT鸿蒙开发 ArkTS:class类](https://www.malaoshi.top/show_1GW1xj9Rf6GF.html "HarmonyOS NEXT鸿蒙开发 ArkTS:class类") 2. [HarmonyOS NEXT鸿蒙开发 ArkTS:this关键字](https://www.malaoshi.top/show_1GW25csKgBju.html "HarmonyOS NEXT鸿蒙开发 ArkTS:this关键字") 3. [HarmonyOS NEXT鸿蒙开发 ArkTS:class类的继承](https://www.malaoshi.top/show_1GW1xjAHSv0K.html "HarmonyOS NEXT鸿蒙开发 ArkTS:class类的继承") 4. [TypeScript:super关键字](https://www.malaoshi.top/show_1GW20b55Jv6f.html "TypeScript:super关键字") 5. [TypeScript:Abstract Class抽象类](https://www.malaoshi.top/show_1GW20bARcPRy.html "TypeScript:Abstract Class抽象类") 6. [HarmonyOS NEXT鸿蒙开发 ArkTS:interface接口](https://www.malaoshi.top/show_1GW1xj7zn1e4.html "HarmonyOS NEXT鸿蒙开发 ArkTS:interface接口") 7. [HarmonyOS NEXT鸿蒙开发 ArkTS:泛型](https://www.malaoshi.top/show_1GW1xjB7B4eN.html "HarmonyOS NEXT鸿蒙开发 ArkTS:泛型") 8. [HarmonyOS NEXT鸿蒙开发 ArkTS:interface接口数组](https://www.malaoshi.top/show_1GW1xjCOvSRT.html "HarmonyOS NEXT鸿蒙开发 ArkTS:interface接口数组") 9. [TypeScript:访问权限public、protected、private](https://www.malaoshi.top/show_1GW1xjEFEsDZ.html "TypeScript:访问权限public、protected、private") 10. [TypeScript:static静态属性(静态变量)](https://www.malaoshi.top/show_1GW21sgKel8g.html "TypeScript:static静态属性(静态变量)") 11. [TypeScript:static静态方法](https://www.malaoshi.top/show_1GW21uMrRQUt.html "TypeScript:static静态方法") ### this指向问题 [HarmonyOS NEXT鸿蒙开发 ArkTS:this指向问题、箭头函数](https://www.malaoshi.top/show_1GW21oQJkzQx.html "HarmonyOS NEXT鸿蒙开发 ArkTS:this指向问题、箭头函数") # 常量 1. [TypeScript:const常量](https://www.malaoshi.top/show_1GW21rwEXqyI.html "TypeScript:const常量") 2. [TypeScript:readonly只读关键字](https://www.malaoshi.top/show_1GW21ts7dcpL.html "TypeScript:readonly只读关键字") 3. [TypeScript:readonly 和 const 修饰只读数组](https://www.malaoshi.top/show_1GW21tzI5icg.html "TypeScript:readonly 和 const 修饰只读数组") 4. [HarmonyOS NEXT鸿蒙开发 ArkTS:static readonly静态常量](https://www.malaoshi.top/show_1GW21uvmAlv1.html "HarmonyOS NEXT鸿蒙开发 ArkTS:static readonly静态常量") # 内置对象 1. [JavaScript教程:Math 对象](https://www.malaoshi.top/show_1IX7TegZQyQ6.html "JavaScript教程:Math 对象") - [JavaScript教程:Math.random()随机数](https://www.malaoshi.top/show_1IX7TfFKM9m4.html "JavaScript教程:Math.random()随机数") 2. [JavaScript 获取日期时间(Date)](https://www.malaoshi.top/show_1IX2cJiYZyMX.html "JavaScript 获取日期时间(Date)") # 异常处理 1. [异常介绍](https://www.malaoshi.top/show_1GW20bcPhTN0.html "异常介绍") 2. [HarmonyOS NEXT鸿蒙开发 ArkTS:异常处理](https://www.malaoshi.top/show_1GW20c0hudh5.html "HarmonyOS NEXT鸿蒙开发 ArkTS:异常处理") 原文出处:http://malaoshi.top/show_1GW25cuY71D2.html