摘要: 项目中写组件一般是在component文件夹下,注册过的组件想要全局使用则需要在main.js中引入,局部使用的话就在需要的地方引入。我是全局引入: (一)父组件向子组件传值(子组件通过props接收父组件的值) 父组件代码:app.vue 子组件代码:SonComponent.vue 效果如下: 阅读全文
posted @ 2019-05-16 15:10 林玖女神 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.csdn.net/u012863664/article/details/72813941 第一步:写了一个导出模块 export.js 第二步:写了一个导入模块 import.js,导入了export中的属性和方法 然后想在浏览器运行一下,但是不行哦 第三步:下载no 阅读全文
posted @ 2019-05-15 11:00 林玖女神 阅读(5220) 评论(0) 推荐(1) 编辑
摘要: 摘自:https://www.cnblogs.com/qiuyueding/p/9167689.html#_label0 阅读全文
posted @ 2019-05-13 09:05 林玖女神 阅读(184) 评论(0) 推荐(0) 编辑
摘要: HTML代码 CSS代码 Jquery代码 仅供自己以后复习 阅读全文
posted @ 2019-04-22 10:07 林玖女神 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 查看当前分支 git branch 新建分支并切换到新分支: git checkout -b new_branch 推送新分支到远程: git push origin new_branch 合并分支: git merge 合并的分支名 git本地分支和远程分支改名字 (1)改本地分支名: git b 阅读全文
posted @ 2019-04-22 09:24 林玖女神 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 总结:为了以后方便查阅 阅读全文
posted @ 2019-04-19 18:22 林玖女神 阅读(124) 评论(0) 推荐(0) 编辑
摘要: this指向分几种情况,不光是谁调用就指向谁 (六) 特殊情况(函数自调的时候,this指向window) 阅读全文
posted @ 2019-04-18 17:42 林玖女神 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.csdn.net/u010613363/article/details/79772686 阅读全文
posted @ 2019-04-03 16:52 林玖女神 阅读(1781) 评论(0) 推荐(0) 编辑
摘要: 官网加动画特效,哇哦,下面我介绍一下WOW.js 官网地址:https://www.delac.io/wow/ 点击github可以找到wow.js和wow.min.js 以及animate.css者animate.min.css wow.js依赖于animate.css,首先在头部引用animat 阅读全文
posted @ 2019-03-27 10:01 林玖女神 阅读(30602) 评论(0) 推荐(2) 编辑
摘要: 头部... 内容内容内容内容内容内容 底部。。。 *{margin:0;padding:0}.HolyGrail { display: flex; min-height: 100vh; flex-direction: column; } header, footer { height:80px; line-heigh... 阅读全文
posted @ 2019-03-22 16:45 林玖女神 阅读(2127) 评论(0) 推荐(0) 编辑