上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要: 链接:demo1 要点:采用三个固定定位 css代码: 链接:demo2 要点: 1.设置csshtml,body{height:100%} 2.滚动内容区域的父级设置css{height100%;overflow:hidden}, 3.滚动区域设置{height: calc(100% - 60px 阅读全文
posted @ 2018-06-06 18:19 zph前端 阅读(311) 评论(0) 推荐(0) 编辑
摘要: pc端 插件: https://pdfobject.com/ 使用: 移动端(兼容pc) 插件:http://mozilla.github.io/pdf.js/ 使用 1.点击download 2.将下载下来的文件解压, 将解压之后的文件放到web目录,通过浏览器可以放到viewer.html文件 阅读全文
posted @ 2018-06-05 11:08 zph前端 阅读(1179) 评论(0) 推荐(0) 编辑
摘要: 1.安装sass npm i sass-loader node-sass --save-dev 2.安装stylus cnpm install stylus --save-dev cnpm install stylus-loader --save-dev 3.安装导出excel 参考文档:https 阅读全文
posted @ 2018-06-04 17:06 zph前端 阅读(1334) 评论(0) 推荐(0) 编辑
摘要: 1.使用this.arr[0] 去更新array的内容,视图没有刷新 例子 2.使用Vue.set(this.arr, 0, !this.arr[0]) 去更新array的内容,视图被刷新 例子 3.使用 this.arr[0] = !this.arr[0] 和 this.obj.a = !this 阅读全文
posted @ 2018-05-17 12:59 zph前端 阅读(1043) 评论(0) 推荐(0) 编辑
摘要: export const dateFormatter = (nows) => { if (!nows) return '' var now = new Date(nows) var year = now.getFullYear() var month = now.getMonth() + 1 month = checkAddZone(month) var date =... 阅读全文
posted @ 2018-04-19 10:30 zph前端 阅读(6767) 评论(0) 推荐(0) 编辑
摘要: import时,文件引入的路径描述不统一,所以保留一种引入风格即可解决。 第一种,我选择统一用第一种 第二种 参考文档:https://blog.csdn.net/tionsu/article/details/78591962 阅读全文
posted @ 2018-04-19 10:09 zph前端 阅读(869) 评论(0) 推荐(0) 编辑
摘要: 第一个是我自己写的 计算结果不对, 因为余数取值错误 7÷3 = 2 ······1,如果用以上方法取余数,此时7÷3 = 2······33333,显然是不对的正确的方法后面补充。。。 也可以写成setTimeout 方式 还有一种维持djs函数独立的写法,我喜欢这种 阅读全文
posted @ 2018-04-18 15:24 zph前端 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 这边先存地址: https://www.cnblogs.com/jiayongji/p/5771444.html 阅读全文
posted @ 2018-04-11 11:07 zph前端 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 我最后用{$html|raw}解决了 阅读全文
posted @ 2018-02-27 10:37 zph前端 阅读(486) 评论(0) 推荐(0) 编辑
摘要: 问题:无论输什么密码,都显示#1130,找半天在终于在百度知道找到了,其他帖子都是水贴,暂时不知道为什么要这么加,反正加了重置服务就好了,重新打开phpMyAdmin 输入默认密码root既可 解决办法: 找到phpstudy安装目录下的my.ini我的在D:\phpStudy\PHPTutoria 阅读全文
posted @ 2018-01-16 16:50 zph前端 阅读(704) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页