Fork me on GitHub

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

摘要: Document ERROR in main: Module not found: Error: Can't resolve 'index.js' in 'D:\Study\JSstudy\WEBPACK\myp 解决: webpack2版本中: webpack 入口(相对路径) 出口(这里仅是一个 阅读全文
posted @ 2020-10-29 11:25 365/24/60 阅读(202) 评论(0) 推荐(0) 编辑
摘要: ...... 阅读全文
posted @ 2020-10-27 20:54 365/24/60 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-10-19 16:40 365/24/60 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Document javaScript是单线程,一个线程只有唯一的事件循环,每一个任务必须执行完才能进行下一个任务 同步任务 主线程上直接按顺序执行 异步任务 不在主线程中,而是在“任务队列”中 只有任务队列通知主线程,异步任务才能进入主线程执行 宏任务(macro-task): script(整体 阅读全文
posted @ 2020-10-18 20:02 365/24/60 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 小写字母转大写 var UP = function(s){ return s.toUpperCase().split(' ').join('_') } UP('Hedge number') 将格式为 CONTRACT_NUM 转换为驼峰形式 var upFirst = function(s){ // 阅读全文
posted @ 2020-10-18 15:47 365/24/60 阅读(615) 评论(0) 推荐(0) 编辑
摘要: 数字 转换为 字母: const num = 'a'.charCodeAt() // num = 97 字母 转换为 数字: var str = String.fromCharCode(97) // str = 'a' 阅读全文
posted @ 2020-10-14 15:21 365/24/60 阅读(329) 评论(0) 推荐(0) 编辑
摘要: const http = require('http') // 引入http模块 http.createServer(function(req,res){ // 创建一个http服务器 // 这里是一个回调函数 console.log('服务器'); res.writeHead(200,{'Cont 阅读全文
posted @ 2020-10-10 16:30 365/24/60 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 通过 scale(1.2) translateY(-7px) 两者同时控制,实现放大同时、向上移动,2个动画的速率是一样的 .pro-box-list a img{ width: 90px; height: 90px; transition: all 0.5s; box-shadow: 0 1px 阅读全文
posted @ 2020-09-28 09:49 365/24/60 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 组件名首字母必须大写,区分原生html标签 会使用到JSX语法 function方式创建组件 function Func(props){ return ( <div ><h1>测试函数组件{props.name}</h1></div> ) } ES6 class方式 class Cls extend 阅读全文
posted @ 2020-09-27 11:23 365/24/60 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-09-27 10:54 365/24/60 阅读(2097) 评论(0) 推荐(0) 编辑
摘要: 1.模块化:将重复的(可复用的)代码抽离为单个模块 2.组件化:将重复的 (可复用的) 的前端页面元素抽离单个组件 * Vue中实现组件化:1.Vue.component() 2.Vue.extend() 3.'.vue模板文件'。一个组件包含template、script、style编译整合的文件 阅读全文
posted @ 2020-09-20 17:41 365/24/60 阅读(124) 评论(0) 推荐(0) 编辑
摘要: slot内容分发是Vue的Api来源 作用域插槽 <div id="app"> <my-list> {{msg}} </my-list> </div> <script> Vue.component("my-list", { template: `<div><slot></slot></div>`, 阅读全文
posted @ 2020-09-18 16:52 365/24/60 阅读(168) 评论(0) 推荐(0) 编辑
摘要: html当前版本的可用特性:https://html.spec.whatwg.org/ 易读的版本:https://developer.mozilla.org/zh-CN/docs/Web/Guide/HTML/HTML5 目前是html5 DOM相对发展较慢 DOM当前版本:https://dom 阅读全文
posted @ 2020-08-03 13:26 365/24/60 阅读(327) 评论(0) 推荐(0) 编辑
摘要: npm不同安装方式区别 npm init 初始化package.json文件,package.json文件存储着项目的 依赖包 / 模块 npm install/i(简写) node_modules中存在 package.json中未记录 npm install/i --save / -S(简写) 阅读全文
posted @ 2020-07-31 08:38 365/24/60 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 浏览器页面左上角出现undefined, js文档中: let list; list += html代码; 解决办法: let list = html代码; 阅读全文
posted @ 2020-06-13 18:07 365/24/60 阅读(699) 评论(0) 推荐(0) 编辑
摘要: ssh -T git@github.com 验证时 报错Could not open a connection to your authentication agent. 删除前面生成的.ssh文件 ,重新生成 然后再操作 阅读全文
posted @ 2020-06-07 11:47 365/24/60 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 一、需求分析 1. 功能性需求 交互式多媒体图书平台包括读者端和作者端,这两个客户端的需求是不同的,分别如下: 作者端: 可以编排图书的目录结构、章节内容 章节内容中包括图片、视频、文字 集成第三方软件边学边练,能定义常见练习题比如问答题、选择题 设定阅读顺序 编辑时可以预览读者端的效果 读者端包括 阅读全文
posted @ 2020-04-21 23:21 365/24/60 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 工作目录不能放在python的安装目录下 阅读全文
posted @ 2020-04-21 14:35 365/24/60 阅读(592) 评论(0) 推荐(0) 编辑
摘要: ubuntu基于VSCode的C++编程语言的构建调试环境搭建指南 首先安装g++ sudo apt install g++ 检查是否安装成功: 在插件栏安装插件c/c++、code runner: 首先写一个简单的demo.cpp文件: ''' include using namespace st 阅读全文
posted @ 2020-03-30 01:56 365/24/60 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 一、编译并运行 help、version命令执行正常,但quit命令出错 二、Debug 从命令输入到执行过程: 源代码: 更改后: 运行结果:能正确运行quit命令 Callback接口学习成果: CALLBACK,即回调函数,是一个通过函数指针调用的函数。如果你把函数的指针(地址)作为参数传递给 阅读全文
posted @ 2020-03-18 21:26 365/24/60 阅读(109) 评论(0) 推荐(0) 编辑