
出错解决
出错解决
珎珎啊
珎珎的菜园子。。。。。。
展开
-
cursor,click失效原因
设置了 pointer-events: none;上面有遮罩层 z-index提高层次原创 2020-09-23 10:55:42 · 1089 阅读 · 0 评论 -
移动端双击不放大
user-scalable=no原创 2020-07-19 13:40:21 · 283 阅读 · 0 评论 -
VUE index报错
引入vue报错vue.js:634 [Vue warn]: Property or method “$index” is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property...原创 2020-07-06 20:36:16 · 475 阅读 · 0 评论 -
创建nodejs项目
1.在项目文件夹路径下打开终端执行 express -e two就是创建一个名为two的文件夹,会自动生成以下文件原创 2020-07-06 12:04:00 · 135 阅读 · 0 评论 -
解决图片资源加载403的问题
部分网站可解决<meta name="referrer" content="no-referrer" />原创 2020-07-03 14:40:26 · 470 阅读 · 0 评论 -
JS ES6转换成ES5
将ES6转换成ES5const babel = require(“gulp-babel”);原创 2020-06-29 08:48:19 · 1705 阅读 · 0 评论 -
写项目遇到的问题
17素材网、(https://www.bootcss.com)Bootstrap中文文档(css插件)项目提交(https://gitee.com/)(https://github.com/)先创建文件,在复制文件HTTP路径,鼠标右击,克隆,把要传的项目写入这个克隆文件(要下载TortoiseGit-2.10.0.2-64bit.msi,TortoiseGit-LanguagePack-2.10.0.0-64bit-zh_CN.msi(汉化版)),右击提交git 提交master(首次提交git ba.原创 2020-06-27 23:53:13 · 279 阅读 · 0 评论 -
Jq获取数据排序
data.sort(function (a,b) { return b.price-a.price;}); sort((a,b)=>{return a.price-b.price})$.get("http://api.cat-shop.penkuoer.com/books.json", { }, function (data) { let str=""; data.原创 2020-06-28 18:09:08 · 327 阅读 · 0 评论 -
浏览器清空缓存
CTRL+SHIFT+DEL:直接进入“清除浏览数据”页面,包括清除浏览历史记录、清空缓存、删除Cookie等。原创 2020-06-28 18:06:45 · 111 阅读 · 0 评论 -
JS上下固定,中间自适应失效
需要自适应的标签属性 要加下面这两个属性,否则不能自适应!.con{ flex: 1; overflow: auto; }*{margin: 0;padding: 0;}html,body{ height:100%}.top{height: 50px; width: 100% ; }.con{ flex: 1; overflow: auto; } .footer{height: 50px; width: 100%;}<div class="main">原创 2020-06-28 16:50:43 · 170 阅读 · 0 评论