09 2022 档案

摘要:扩展知识 : 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) 编辑
摘要: 阅读全文
posted @ 2022-09-13 16:43 杨建鑫 阅读(20) 评论(0) 推荐(0) 编辑
摘要:这里采用的是uniPush1.0版本 1.现在 HBuilder 的 manifest.json 的 push 消息推送 打钩 2.点击 uniPush 1.0 下面的 配置 可直接跳转到 应用信息 [ 最好登录到DC控制台 ] 3 .如果使用自有证书,请使用jdk中自带的keytool工具 , k 阅读全文
posted @ 2022-09-08 18:26 杨建鑫 阅读(460) 评论(0) 推荐(0) 编辑
摘要:1.华为 : 2.vivo vivo 点击 管理中心 - 开发能力 oppo 小米 阅读全文
posted @ 2022-09-08 18:25 杨建鑫 阅读(384) 评论(0) 推荐(0) 编辑
摘要:Vue是一套用于构建用户界面的渐进式 JavaScript框架 渐进式 JavaScript框架 : 表示我们可以在项目中一点点来引入和使用Vue,而不一定需要全部使用Vue来开发整个项目; 常见的基础指令 v-once : 只执行一次 v-pre : 跳过该元素及其所有子元素的编译 v-cloak 阅读全文
posted @ 2022-09-08 09:44 杨建鑫 阅读(335) 评论(0) 推荐(0) 编辑
摘要:一.小程序基础信息 uniapp 和 taro 都可以开发小程序 并且 可以开发ios Android 原生开发APP : ReactNative 和 Flutter 小程序是双线程模型 : WXML模块和WXSS样式运行于渲染层 JS脚本运行于 逻辑层 注册账户申请APPID : 地址 微信开发者 阅读全文
posted @ 2022-09-08 09:44 杨建鑫 阅读(246) 评论(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) 编辑
摘要:使用 : 阅读全文
posted @ 2022-09-07 14:17 杨建鑫 阅读(24) 评论(0) 推荐(0) 编辑
摘要:使用 : 阅读全文
posted @ 2022-09-07 14:08 杨建鑫 阅读(14) 评论(0) 推荐(0) 编辑
摘要:<!--pages/06_learn_event/index.wxml--> <!-- 1.事件的基本使用 --> <button bindtap="onBtnTap">按钮</button> <!-- 2.event中target和currentTarget区别 --> <view id="out 阅读全文
posted @ 2022-09-07 13:52 杨建鑫 阅读(42) 评论(0) 推荐(0) 编辑
摘要:第一步,创建wxs并导出 function formatPrice(price) { return "¥" + price } function calcPrice(books) { return "¥" + books.reduce(function(preValue, item) { retur 阅读全文
posted @ 2022-09-07 13:40 杨建鑫 阅读(57) 评论(0) 推荐(0) 编辑
摘要:<!--pages/04_learn_wxml/index.wxml--> <h1>Mustache语法</h1> <view>{{ message }}</view> <view>{{ firstname + " " + lastname }}</view> <view>{{ date }}</v 阅读全文
posted @ 2022-09-07 13:33 杨建鑫 阅读(133) 评论(0) 推荐(0) 编辑
摘要:<!--pages/03_learn_wxss/index.wxml--> <text>pages/03_learn_wxss/index.wxml</text> <!-- 1.样式的编写方式 --> <!-- 1.1.应用全局样式 --> <view class="title">learn wxs 阅读全文
posted @ 2022-09-07 11:40 杨建鑫 阅读(37) 评论(0) 推荐(0) 编辑
摘要:// pages/profile/profile.js Page({ //数据 data: { avatarURL: "", listCount: 30 }, // 监听下拉刷新 onPullDownRefresh() { console.log("用户进行下拉刷新~"); // 模拟网络请求: 定 阅读全文
posted @ 2022-09-07 11:05 杨建鑫 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-09-07 10:56 杨建鑫 阅读(17) 评论(0) 推荐(0) 编辑

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