摘要: 通过CDN使用: <script src="//cdn.bootcss.com/eruda/1.4.2/eruda.min.js"></script> <script>eruda.init();</script> 通过npm安装: npm install eruda --save 在页面中加载脚本: 阅读全文
posted @ 2018-07-21 11:03 你的名字~ 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 在index页面加上这个就行了<meta name="referrer" content="no-referrer" /> 阅读全文
posted @ 2018-07-20 16:01 你的名字~ 阅读(1739) 评论(1) 推荐(2) 编辑
摘要: 如果需要在一个元素中既要显示背景图片也要显示背景颜色。我们都知道背景图片可以使用background-image:url(.../)来指定。也可以省略image。但是如果我们既显示背景图片又要显示背景颜色。那么我们可以将background:url()来指定要显示的图片,background-col 阅读全文
posted @ 2018-07-20 14:03 你的名字~ 阅读(5857) 评论(0) 推荐(0) 编辑
摘要: 一、配置环境 1.安装node.js 直接点https://pan.baidu.com/s/1kWz6PYv或者到中文官网http://nodejs.cn/下载安装包。 二、初始化 vue-cli 1.安装vue-cli 直接全局安装 vue-cli,用cnpm 会快一些 2. vue init w 阅读全文
posted @ 2018-06-27 17:44 你的名字~ 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 安装yarn 添加一个依赖 通过 yarn add 添加依赖会更新 package.json 以及 yarn.lock 文件 更新一个依赖 yarn upgrade 用于更新包到基于规范范围的最新版本 移除一个依赖 yarn remove <packageName> 安装 package.json 阅读全文
posted @ 2018-06-22 11:18 你的名字~ 阅读(10879) 评论(1) 推荐(0) 编辑
摘要: 一、要点: [html] view plain copy <input type="checkbox" ng-checked="m" ng-model="n"> [html] view plain copy [html] view plain copy 如上所示是一个复选框,它有两个angular 阅读全文
posted @ 2018-04-11 14:04 你的名字~ 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 用文本编辑工具创建配置文件uvs-001.ovpn,内容如下 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 client # 表示openvpn客户端 dev tun # 与服务器端的配置对应,之前tun proto udp # 协议要与 阅读全文
posted @ 2018-04-11 10:22 你的名字~ 阅读(4344) 评论(0) 推荐(0) 编辑
摘要: 名,然后 ,show history, copy你想要回退版本的reversion number, ,然后在branches里check out你想要回退的版本 阅读全文
posted @ 2018-04-10 16:01 你的名字~ 阅读(221) 评论(0) 推荐(0) 编辑
摘要: ::-webkit-scrollbar{ width:12px; height:12px;}::-webkit-scrollbar-thumb{ border-radius: 1em; background-color: rgba(150, 50, 50, 0.47);} /* 滑块颜色 */::- 阅读全文
posted @ 2018-03-26 18:12 你的名字~ 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 11.track-by 的用法 <div id="app"> 2 <ul class="star"> 3 <span v-for="(itemClass,index) in itemClasses" :class="itemClass" class="star-item" track-by="ind 阅读全文
posted @ 2018-03-26 17:40 你的名字~ 阅读(145) 评论(0) 推荐(0) 编辑