随笔分类 -  codewhy模块

摘要:扩展知识 : 1.JavaScript的应用 2.浏览器内核[ WebKit ]由 WebCore 和 JavaScriptCore 组成 WebCore : 负责HTML解析,布局,渲染 JavaScriptCore : 解析,执行JavaScript代码 [js引擎] 3.JavaScript不 阅读全文
posted @ 2022-09-23 17:35 杨建鑫 阅读(36) 评论(0) 推荐(0) 编辑
摘要:1 阅读全文
posted @ 2022-09-23 15:52 杨建鑫 阅读(23) 评论(0) 推荐(0) 编辑
摘要:1 阅读全文
posted @ 2022-09-23 15:51 杨建鑫 阅读(20) 评论(0) 推荐(0) 编辑
摘要:8种基本的数据类型(7种原始类型和1种复杂类型) Number String Boolean Undefined Null Object BigInt(了解) Symbol(了解) typeof 操作符 因为JavaScript的数据类型是动态的,所以需要一种手段来确定任意变量的数据类型,由此产生了 阅读全文
posted @ 2022-09-23 15:51 杨建鑫 阅读(16) 评论(0) 推荐(0) 编辑
摘要:JavaScript的组成 ECMAScript : 定义语言规范 DOM : 操作文档的API BOM : 操作浏览器的API 扩展知识 阅读全文
posted @ 2022-09-23 15:50 杨建鑫 阅读(19) 评论(0) 推荐(0) 编辑
摘要:import { HYEventStore } from "hy-event-store" import { getPlaylistDetail } from "../services/music" const recommendStore = new HYEventStore({ state: { 阅读全文
posted @ 2022-09-23 10:56 杨建鑫 阅读(47) 评论(0) 推荐(0) 编辑
摘要:// 1.引入store const { HYEventStore } = require("hy-event-store") // 引入axios const axios = require("axios") // 创建一个仓库 const userStore = new HYEventStore 阅读全文
posted @ 2022-09-23 10:38 杨建鑫 阅读(131) 评论(0) 推荐(0) 编辑
摘要:Vue是一套用于构建用户界面的渐进式 JavaScript框架 渐进式 JavaScript框架 : 表示我们可以在项目中一点点来引入和使用Vue,而不一定需要全部使用Vue来开发整个项目; 常见的基础指令 v-once : 只执行一次 v-pre : 跳过该元素及其所有子元素的编译 v-cloak 阅读全文
posted @ 2022-09-08 09:44 杨建鑫 阅读(335) 评论(0) 推荐(0) 编辑
摘要:1.中文插件 :chinese 2.颜色主体 :atom one dark 3.文件夹图标 :VSCode Great lcons 4.浏览器打开网页 :Live Sever 5.自动重命名标签 :auto rename tag 6.easy less : 可以转换less文件的 7. ES7+ R 阅读全文
posted @ 2022-09-08 09:43 杨建鑫 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-09-08 09:39 杨建鑫 阅读(24) 评论(0) 推荐(0) 编辑
摘要:跳转 : // pages/11_learn_nav/index.js Page({ data: { name: "kobe", age: 30, message: "哈哈哈" }, onNavTap() { const name = this.data.name const age = this. 阅读全文
posted @ 2022-09-08 09:37 杨建鑫 阅读(642) 评论(0) 推荐(0) 编辑
摘要:// pages2/detail/detail.js Page({ // 按钮事件 onBackTap() { // 1.返回导航 wx.navigateBack() // 2.方式一: 给上一级的页面传递数据 // 2.1. 获取到上一个页面的实例 const pages = getCurrent 阅读全文
posted @ 2022-09-08 09:34 杨建鑫 阅读(37) 评论(0) 推荐(0) 编辑
摘要:// pages2/detail/detail.js Page({ // 销毁组件 onUnload() { // // 获取到上一个页面的实例 const pages = getCurrentPages() const prePage = pages[pages.length-2] // 2.2. 阅读全文
posted @ 2022-09-08 09:32 杨建鑫 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-09-08 09:28 杨建鑫 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-09-07 14:49 杨建鑫 阅读(11) 评论(0) 推荐(0) 编辑
摘要:组件 : 使用 : 阅读全文
posted @ 2022-09-07 14:46 杨建鑫 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-09-07 14:41 杨建鑫 阅读(31) 评论(0) 推荐(0) 编辑
摘要:普通插槽 阅读全文
posted @ 2022-09-07 14:38 杨建鑫 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-09-07 14:31 杨建鑫 阅读(25) 评论(0) 推荐(0) 编辑
摘要:使用 : 阅读全文
posted @ 2022-09-07 14:27 杨建鑫 阅读(23) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示