2019年7月11日
摘要: 1、按F12打开开发者工具 2、ctrl+shift+p 3、输入框中输入screen,选择Capture full size screenshot 4、完成 参考: https://jingyan.baidu.com/article/1974b289342468f4b1f77428.html 阅读全文
posted @ 2019-07-11 17:19 奇迹般若果 阅读(527) 评论(1) 推荐(0) 编辑
  2019年6月10日
摘要: 1、手机号:^1[34578]\d{9}$ 2、邮箱:^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$ 3、电话:^(\(\d{3,4}-)|\d{3.4}-)?\d{7,8}$ 【"XXX-XXXXXXX"、"XXXX-XXXX 阅读全文
posted @ 2019-06-10 19:29 奇迹般若果 阅读(200) 评论(0) 推荐(0) 编辑
  2019年4月22日
摘要: 1、官网:http://visjs.org/docs/network/ 2、示例: <!doctype html> <html> <head> <title>vis.js</title> <script type="text/javascript" src="vis.js"></script> <l 阅读全文
posted @ 2019-04-22 10:49 奇迹般若果 阅读(1237) 评论(0) 推荐(0) 编辑
  2019年4月12日
摘要: 1、git小乌龟一次性设置密码问题 在[系统盘]:\Users[你的用户名]下面,有一个.gitconfig目录,这个是记录git配置信息的。在该文件后面加上 [user] name = XXX email = XXXXX@XXX.com // 新加[credential] helper = sto 阅读全文
posted @ 2019-04-12 09:01 奇迹般若果 阅读(1818) 评论(0) 推荐(0) 编辑
  2019年3月27日
摘要: 1、说明参照:https://www.cnblogs.com/miaoying/p/6518285.html 2、代码 /* 设置滚动条的样式 */ ::-webkit-scrollbar{ width: 3px; } /*滚动槽*/ ::-webkit-scrollbar-track{ -webk 阅读全文
posted @ 2019-03-27 09:48 奇迹般若果 阅读(205) 评论(0) 推荐(0) 编辑
  2019年3月25日
摘要: 引入three.min.ts 1、ts文件 import { Component, OnInit, ViewChild, ElementRef, AfterViewInit } from '@angular/core'; @Component({ selector: 'app-comp', temp 阅读全文
posted @ 2019-03-25 17:55 奇迹般若果 阅读(257) 评论(0) 推荐(0) 编辑
  2019年3月19日
摘要: 1、下载ckeditor 地址:https://ckeditor.com/ckeditor-4/download/,选择合适的版本 2、将下载的压缩文件解压后放在项目相关目录下 3、在index.html中引入 <!-- 引入ckeditor --> <script src="assets/cked 阅读全文
posted @ 2019-03-19 14:41 奇迹般若果 阅读(1010) 评论(0) 推荐(0) 编辑
  2019年1月31日
摘要: 1、service文件 创建xxx.service.ts文件 import { Injectable, Inject } from '@angular/core';import { Observable } from 'rxjs';import { map } from 'rxjs/operator 阅读全文
posted @ 2019-01-31 16:40 奇迹般若果 阅读(1774) 评论(0) 推荐(0) 编辑
  2019年1月29日
摘要: 1、问题:使用angular构建项目,部署后图标无法正常显示(内外网影响不同) 2、影响: 1)目录下: 2)目录下: 3、解决:下载font放在自己本地文件中,在css顶层样式中重写上面影响的代码,覆盖上述代码 注:不要使用之前的icon-url,自己重写一个名字,否则打包时路径找不到会报错!!! 阅读全文
posted @ 2019-01-29 11:19 奇迹般若果 阅读(810) 评论(0) 推荐(0) 编辑
  2019年1月24日
摘要: 一、环境准备 1、安装node:https://nodejs.org/en/(npm -v查看是否安装成功及安装版本) 若npm太慢,建议安装yarn(npm install yarn) 2、安装TypeScript:npm install -g typescript (tsc -v查看版本) 3、 阅读全文
posted @ 2019-01-24 15:37 奇迹般若果 阅读(241) 评论(0) 推荐(0) 编辑