上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 第一种方式 一、安装 npm install -S file-saver xlsx npm install -D script-loader 1)在src目录下新建vendor文件夹,里面放入Blob.js和Export2Excel.js及Export2Zip.js三个JS文件 链接:https:/ 阅读全文
posted @ 2019-09-05 10:43 sosolucky 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-08-26 11:27 sosolucky 阅读(681) 评论(0) 推荐(0) 编辑
摘要: 1、下载ckplayer.zip包 http://www.ckplayer.com/down/ 2、解压把ckplayer放进vue的static下 3、index.html引入ckplayer.js 4、组件简单页面使用 html: script: 阅读全文
posted @ 2019-08-22 16:02 sosolucky 阅读(2833) 评论(0) 推荐(0) 编辑
摘要: 1、官网下载js包 https://open.ys7.com/mobile/download.html 2、(把下载好的ezuikit.js js包)放进vue 的 static 下 3、在index.html引入 4、关闭eslint config/index.js 5、组件中使用 <video 阅读全文
posted @ 2019-08-18 18:48 sosolucky 阅读(5238) 评论(1) 推荐(0) 编辑
摘要: 判断是否是顶层窗口(父窗口) 如果不是让其在顶层窗口打开<script type="text/javascript"> if(top.location!=self.location){ top.location.href = self.location.href; } else { // conso 阅读全文
posted @ 2019-08-13 09:23 sosolucky 阅读(415) 评论(0) 推荐(0) 编辑
摘要: 1 node.js安装 https://nodejs.org/en/ 下载好 安装点下一步 2 vue 安装 npm install --global vue-cli // 全局安装 查看安装成功 vue -V // 大V 3 webpack 安装 npm install webpack -g // 阅读全文
posted @ 2019-08-07 15:21 sosolucky 阅读(153) 评论(0) 推荐(0) 编辑
摘要: input { border: 0; // 去除未选中状态边框 outline: none; // 去除选中状态边框 background-color: rgba(0, 0, 0, 0);// 透明背景 } .placeholder input::-webkit-input-placeholder 阅读全文
posted @ 2019-07-30 16:13 sosolucky 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 1、typeof返回值undefined(未定义) boolean(布尔值) string(字符串) number(数字)含NaN object(对象)含null console.log(typeof a); //'undefined' console.log(typeof(true)); //'b 阅读全文
posted @ 2019-07-26 13:17 sosolucky 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 说明: Flex容器(flex container),简称"容器"。它的所有子元素自动成为容器成员,称为Flex项目(flex item),简称"项目" 水平的主轴(main axis)和垂直的交叉轴(cross axis)。主轴的开始位置(与边框的交叉点)叫做main start,结束位置叫做ma 阅读全文
posted @ 2019-07-25 19:13 sosolucky 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1:npm install axios 2:在main.js引入 阅读全文
posted @ 2019-07-25 09:40 sosolucky 阅读(131) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页