自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (11)
  • 收藏
  • 关注

原创 vue cli打包后浏览的页面是空白页

@vue/cli创建项打包后打开页面为空白的问题解决命令行输入:npm run build打包出来后项目中就会多了一个文件夹dist,这就是我们打包过后的项目。第一个问题,文件引用路径。我们直接运行打包后的文件夹中的index.html文件,会看到网页一片空白,f12调试,全是css,js路径引用错误的问题。解决:在根目录新建vue.config.js文件,打开后进行修改// vue....

2020-03-12 17:05:13 433

原创 h5调用摄像头

1、getUserMedia要播放摄像头的影像,首先需要一个video标签:获取摄像头影像主要是通过navigator.getUserMedia这个接口,这个接口的支持情况已经逐渐变好了:点这里navigator.getUserMedia = navigator.getUserMedia|| navigator.webkitGetUserMedia|| navigator.mozGet...

2019-12-15 21:08:59 913

原创 vue从入门到进阶:Vuex状态管理(十)

文章目录State在 Vue 组件中获得 Vuex 状态mapState 辅助函数对象展开运算符GettermapGetters 辅助函数Mutation使用常量替代 Mutation 事件类型在组件中提交 MutationAction分发 Action在组件中分发 ActionModule一般项目结构总结安装vuex配置vuexstore.j...

2019-11-20 17:56:52 179

原创 纯Vue 原生JS JQuery 三种方式实现无限滚动到底部加载更多

原生js实现思路需要三个高度:scrollHeight(文档内容实际高度,包括超出视窗的溢出部分)、scrollTop(滚动条滚动距离)、clientHeight(窗口可视范围高度)。当 clientHeight + scrollTop >= scrollHeight 时,表示已经抵达内容的底部了,可以加载更多内容。scrollHeight:通过 document.documentEle...

2019-11-04 17:48:19 822

原创 VUE路由router-link和router.push用法

一、  to里的值可以是一个字符串路径,或者一个描述地址的对象。例如:  // 字符串<router-link to="apple"> to apple</router-link>// 对象<router-link :to="{path:'apple'}"> to apple</router-link>// 命名路由<router...

2019-11-03 11:42:17 1294

原创 eCharts 属性详解

theme = { // 全图默认背景 // backgroundColor: 'rgba(0,0,0,0)', // 默认色板 color: ['#ff7f50','#87cefa','#da70d6','#32cd32','#6495ed', '#ff69b4','#ba55d3','#cd5c5c','#ffa500','#4...

2019-11-02 13:55:09 479

原创 echarts 河北省人口迁徙图

使用js和echarts结合制作的人口迁徙图,辐射图,带动画效果。下载链接:https://download.youkuaiyun.com/download/qq_42362347/11950590

2019-11-02 11:01:50 1018

原创 数组方法:filter()和find()的用法区别

1.filter()用法详解应用场景1:假定有一个对象数组A,获取数组中指定类型的对象放到B数组中。var products = [ { name: "cucumber", type: "vegetable" }, { name: "apple", type: "fruit" }, { name: "orange", type...

2019-09-27 10:34:36 1462

原创 仿淘宝 阿里云登录 密码和扫码切换登录

仿淘宝网、阿里云登录界面的静态界面,采用密码输入和扫码切换登录方式,模板内涵CSS,使用jquery方式实现切换,纯粹的切换界面。点击下载地址

2018-11-19 11:20:51 2659

echarts 河北省人口迁徙图

使用js和echarts结合制作的人口迁徙图,带动画效果,可以到博客中看效果。

2019-11-01

学习正则表达式 Michael Fitzgerald

经典的图灵, Michael Fitzgerald 作者,kindle和PC可选,epub+mobi格式,学习好帮手。

2018-12-05

仿淘宝 阿里云登录 密码和扫码切换登录

仿淘宝网、阿里云登录界面的静态界面,采用密码输入和扫码切换登录方式,模板内涵CSS,使用jquery方式实现切换,纯粹的切换界面。

2018-11-19

Design User Experience and Usability 设计 用户体验 可用性 2018

Design, User Experience, and Usability: Designing Interactions Aaron Marcus, Wentao Wang Year: 2018 Edition: 1st ed. Language: English ISBN 13: 978-3-319-91803-7 Series: Lecture Notes in Computer Science 10919

2018-11-12

Designing interactions Bill Moggridge 交互设计圣经

《Designing Interactions》是2006年MIT Press (MA)出版的图书,作者是Bill Moggridge。 Language: English Pages: 791 英文完整清晰版

2018-11-12

Interaction Design - Beyond Human-Computer Interaction 超越人机交互的互动设计 第4版

全英文的文档。ISBN 13:978-3-319-91803-7 人机交互、交互设计、网页设计、软件工程、数字媒体、信息系统,以及信息研究。 它也将吸引广泛的专业人士和技术用户深入了解。 它被称为交互设计:超越人机交互,因为交互设计涉及更广泛的与传统的人机交互(HCI)相比,问题、主题和方法,重点放在设计和评估过程。我们将交互设计定义为设计交互式产品以支持人们在日常生活和工作生活中交流和互动的方式。 这依赖于对人的能力和欲望的理解以及依赖于交互的技术种类帮助设计师如何识别需求,并将其发展为一个合适体系。我们的教科书提供所有这些领域的发展以及讨论可能技术和设计方案。 当今的交互设计者可用的不同类型的接口的数量继续稳步增加,所以我们的教科书,同样,已经扩大到覆盖这一点。例如,我们讨论并提供脑、移动、机器人、可穿戴的例子,可共享、混合现实和多模型接口以及更传统的桌面、多媒体和Web界面。 这本书有15章,包括讨论现在可用的各种接口、认知、社交以及情感问题应用于交互设计,以及如何收集、分析和呈现交互设计的数据。中心主题是设计和评估是交错的、高度迭代的过程,在理论上有一些根源,但强烈依赖于良好实践创建可用的产品。

2018-11-12

Pro TypeScript with Steve Fenton 2018 2版

Pro TypeScript. Application-Scale JavaScript Development Steve Fenton page 300 TypeScript is a language created and maintained by Microsoft, and released under an open-source Apache 2.0 License (2004). The language is focused on making the development of JavaScript programs scale to many thousands of lines of code. In fact, Microsoft has written both the Azure Management Portal (1.2 million lines of code) and the Visual Studio Code editor (300,000 lines of code) in TypeScript. The language attacks the large-scale JavaScript programming problem by offering better design-time tooling, compiletime checking, and dynamic module loading at runtime. As you might expect from a language created by Microsoft, there is excellent support for TypeScript within Visual Studio, but plenty of other development tools have also added support for the language, including VS Code, WebStorm, Eclipse, Sublime Text, Vi, Atom, IntelliJ, and Emacs among others. The widespread support from these tools as well as the permissive open-source license makes TypeScript a viable option outside of the traditional Microsoft ecosystem. The TypeScript language is a typed superset of JavaScript, which is compiled to plain JavaScript in the flavor of your choosing. This makes programs written in TypeScript highly portable as they can run on almost any machine — in web browsers, on web servers, and even in native applications on operating systems that expose a JavaScript API, such as WinJS. The language features found in TypeScript can be divided into three categories based on their relationship to JavaScript (see Figure 1). The first two sets are related to versions of the ECMA-262 ECMAScript Language Specification, which is the official specification for JavaScript. The ECMAScript 5 specification forms the basis of TypeScript and supplies the largest number of features in the language. Subsequent versions of the ECMAScript specification are rolled into TypeScript releases, often as early previews that feature down-level compilation to older versions of the specication. The third and final set of language features includes items that are not planned to become part of the ECMAScript standard, such as generics and type annotations. All the additional features of TypeScript can be output to a number of widely supported versions of JavaScript. TypeScript has several native frameworks, including Angular, Ionic, RxJs 5, and Dojo 2. Additionally, because TypeScript is such a close relative of JavaScript, you can consume the myriad of existing libraries and frameworks written in JavaScript; Aurelia, Backbone, Bootstrap, Durandal, jQuery, Knockout, Modernizr, PhoneGap, Prototype, Raphael, React, Underscore, Vue, and many more are all usable in TypeScript programs. Correspondingly, once your TypeScript program has been compiled it can be consumed from any JavaScript program too. TypeScript's similarity to JavaScript is beneficial if you already have experience with JavaScript or other C-like languages. The similarity also aids the debugging process as the generated JavaScript correlates closely to the original TypeScript code. Source maps can also be generated to aid debugging, with browser developer tools displaying your TypeScript code during in-browser debugging.

2018-10-25

The Modern JavaScript Collection 2018最新JS汇总

The Modern JavaScript Collection with Alex Walker JS的现代技术汇总,含2本书。涉及es6以及es2016,es2017,es2018。 Book 1: Practical ES6 Book 2: Best Practice

2018-10-25

JavaScript和jQuery实战手册 高清文字版 pdf+txt+epub+mobi

JavaScript和jQuery实战手册(原书第2版)高清文字版 pdf+txt+epub+mobi格式

2018-09-24

Angular6实例 使用Angular构建现代真实世界Web应用程序

最新版Angular 6的实例演示,代码清晰可复制,英文版哟。尝鲜也需要勇气。

2018-09-20

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除