<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[github_turboemily的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/github_35549695</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; github_35549695]]></copyright><item><title><![CDATA[ERROR in Entry module not found: SyntaxError: C:\Users\Administrator\...编译出错（webpack）]]></title><link>https://blog.csdn.net/github_35549695/article/details/85115298</link><guid>https://blog.csdn.net/github_35549695/article/details/85115298</guid><author>github_35549695</author><pubDate>Thu, 20 Dec 2018 11:45:12 +0800</pubDate><description><![CDATA[今天得空用webpack启动一个新demo，按照官网的步骤一步一步操作，没想到一开始打包就挂了......

执行命令行：npx webpack 报了以下错误：



 最重要看“ERROR in Entry module not found: SyntaxError: C:\Users\Administrator\Desktop\webpack\webpack-demo\package.json...]]></description><category></category></item><item><title><![CDATA[Vant-list源码详解]]></title><link>https://blog.csdn.net/github_35549695/article/details/83008683</link><guid>https://blog.csdn.net/github_35549695/article/details/83008683</guid><author>github_35549695</author><pubDate>Thu, 11 Oct 2018 12:46:41 +0800</pubDate><description><![CDATA[一、源码理解基础之scroll.js

1、1 &amp;gt;&amp;gt;&amp;gt; getScrollEventTarget


export default {
getScrollEventTarget(element, rootParent = window) {
    let currentNode = element;
    while (currentNode &amp;amp;&amp;amp; curre...]]></description><category></category></item><item><title><![CDATA[修改复选框select的默认样式]]></title><link>https://blog.csdn.net/github_35549695/article/details/82778059</link><guid>https://blog.csdn.net/github_35549695/article/details/82778059</guid><author>github_35549695</author><pubDate>Wed, 19 Sep 2018 20:53:29 +0800</pubDate><description><![CDATA[
//html
&amp;lt;p&amp;gt;
   &amp;lt;select&amp;gt;
      &amp;lt;option value=&quot;volvo&quot;&amp;gt;aabb&amp;lt;/option&amp;gt;
   &amp;lt;/select&amp;gt;
&amp;lt;/p&amp;gt;

//css
p:nth-child(3){
    border:1px solid #868686;
    position: relative;
 ]]></description><category></category></item><item><title><![CDATA[Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-]]></title><link>https://blog.csdn.net/github_35549695/article/details/82770044</link><guid>https://blog.csdn.net/github_35549695/article/details/82770044</guid><author>github_35549695</author><pubDate>Wed, 19 Sep 2018 11:53:38 +0800</pubDate><description><![CDATA[
父组件
&amp;lt;popup :show=&quot;showpopup&quot; @closepop=&quot;closepop&quot;&amp;gt;&amp;lt;/popup&amp;gt;



子组件
&amp;lt;template&amp;gt;
  &amp;lt;div :class=&quot;show?'container show':'hide'&quot; @click=&quot;close&quot;&amp;gt;
    
  &amp;lt;/div&a]]></description><category></category></item><item><title><![CDATA[Error: listen EADDRNOTAVAIL 192.168.0.144:8088问题解决]]></title><link>https://blog.csdn.net/github_35549695/article/details/82768640</link><guid>https://blog.csdn.net/github_35549695/article/details/82768640</guid><author>github_35549695</author><pubDate>Wed, 19 Sep 2018 10:42:34 +0800</pubDate><description><![CDATA[前一天启动项目还还好好的，第二天来发现项目启动不起来了。。。

npm run dev



 

解决：

输入ipconfig后发现 DHCP重新分配了IP，所以在index.js中将host修改为新的ip地址即可...]]></description><category></category></item><item><title><![CDATA[javaScript之变量提升]]></title><link>https://blog.csdn.net/github_35549695/article/details/82468625</link><guid>https://blog.csdn.net/github_35549695/article/details/82468625</guid><author>github_35549695</author><pubDate>Thu, 06 Sep 2018 22:17:50 +0800</pubDate><description><![CDATA[在平时开发过程中，我们都会遇到变量提升。

但却没有好好研究过，重视基础很重要！！！

一、变量

定义：变量是存储信息的容器。

特点：是松散类型的，也就是说可以用来保存任何类型的数据。


var turbo;
//未经初始化的变量，会保存一个特殊的值undefined；
console.log(turbo)  //undefined


function test(){
    var a ...]]></description><category></category></item><item><title><![CDATA[JavaScript之事件队列（event loop）]]></title><link>https://blog.csdn.net/github_35549695/article/details/82390345</link><guid>https://blog.csdn.net/github_35549695/article/details/82390345</guid><author>github_35549695</author><pubDate>Tue, 04 Sep 2018 22:38:33 +0800</pubDate><description><![CDATA[一、前言

我们都知道，javaScript是一门单线程、非阻塞的脚本语言。

单线程意味着，在程序执行时，所走的程序路径按照连续顺序排下来，前面的必须处理好，后面的才会执行。

为什么要单线程呢？

因为作为浏览器脚本语言JavaScript的主要用途是与用户互动，以及操作DOM。这决定了它只能是单线程。

非阻塞是当代码需要进行一项异步任务（无法立刻返回结果，需要花一定时间才能返回的任务，如I...]]></description><category></category></item><item><title><![CDATA[JavaScript之执行栈和堆]]></title><link>https://blog.csdn.net/github_35549695/article/details/82355428</link><guid>https://blog.csdn.net/github_35549695/article/details/82355428</guid><author>github_35549695</author><pubDate>Mon, 03 Sep 2018 22:00:09 +0800</pubDate><description><![CDATA[一、栈

栈：英文为“stack”；

定义：一种存放数据的内存区域；

特点：

①LIFO，后进先出；

可视化描述：



②调用栈，函数或者子例程像堆积木一样存放，以实现层层调用；

函数调用形成一个栈帧：


fucntion tur(b){
    var a = 4;
    return a+b;
}

function emy(y){
    var x = 3;
    ret...]]></description><category></category></item><item><title><![CDATA[gulp基础使用]]></title><link>https://blog.csdn.net/github_35549695/article/details/80175831</link><guid>https://blog.csdn.net/github_35549695/article/details/80175831</guid><author>github_35549695</author><pubDate>Thu, 03 May 2018 10:22:06 +0800</pubDate><description><![CDATA[一、安装1、全局安装：npm install gulp -g     （通过它执行gulp任务)2、本地安装：npm install gulp --save-dev  (项目目录中安装)gulp的其他插件也按照类似操作。二、使用gulp.task('polarless',function(){   //执行一个gulp-less转译css任务
	gulp.src(['app/less/index....]]></description><category></category></item><item><title><![CDATA[for循环中输出同一变量值]]></title><link>https://blog.csdn.net/github_35549695/article/details/79758225</link><guid>https://blog.csdn.net/github_35549695/article/details/79758225</guid><author>github_35549695</author><pubDate>Fri, 30 Mar 2018 16:08:41 +0800</pubDate><description><![CDATA[
//循环输出通一变量值
for(var i=0;i&amp;lt;5;i++){  console.log(i)   //0,1,2,3,4  全局
   setTimeout(function(){
       console.log(i)                   //5,5,5,5,5  内部 
   },1000);
}
为什么会产生这样的结果？首先,这里的i属于全部变量，即函数中所...]]></description><category></category></item><item><title><![CDATA[Vue之filters--v-bind]]></title><link>https://blog.csdn.net/github_35549695/article/details/78845271</link><guid>https://blog.csdn.net/github_35549695/article/details/78845271</guid><author>github_35549695</author><pubDate>Tue, 19 Dec 2017 17:36:14 +0800</pubDate><description><![CDATA[Vue之filters–v-bind样式显示以及内容显示目前有一个列表，类似微博粉丝关注。 
列表中有两种情况：已关注和关注，需要在加载页面时进行样式区分。html代码
<div id="vue">
    <div v-for="item in list">
        <p :class="item | filtersColor">{{item|filtersContent}}</p>]]></description><category></category></item><item><title><![CDATA[移动端tap轻触事件封装]]></title><link>https://blog.csdn.net/github_35549695/article/details/54894552</link><guid>https://blog.csdn.net/github_35549695/article/details/54894552</guid><author>github_35549695</author><pubDate>Mon, 06 Feb 2017 16:51:26 +0800</pubDate><description><![CDATA[function my_tap(dom,callBack){  
//第一不能超过延时时间，第二不能使移动  
//获取一些必要的值开始时间，延时时间，是否是移动  
    var startTime=0;  
    var delayTime=200;  
    var isMove=false;  
    dom.addEventListener("touchstart",functi]]></description><category></category></item><item><title><![CDATA[$(window).height()与$(document).height()]]></title><link>https://blog.csdn.net/github_35549695/article/details/53927545</link><guid>https://blog.csdn.net/github_35549695/article/details/53927545</guid><author>github_35549695</author><pubDate>Thu, 29 Dec 2016 14:29:00 +0800</pubDate><description><![CDATA[$(document).height()  //是获取整个页面的高度。$(window).height()  //是获取当前 也就是你浏览器所能看到的页面的那部分的高度 ,这个大小会在缩放浏览器窗口大小时改变，放大窗口时，$(window).height()变小；缩小窗口时，$(window).height()变大。]]></description><category></category></item><item><title><![CDATA[git使用]]></title><link>https://blog.csdn.net/github_35549695/article/details/53728116</link><guid>https://blog.csdn.net/github_35549695/article/details/53728116</guid><author>github_35549695</author><pubDate>Sun, 18 Dec 2016 16:32:20 +0800</pubDate><description><![CDATA[最近有接触到git，需要clone和push项目。之前只用过webstorm连接github,这次在项目中用到的是gitLab,其实是和github一样的吧，都是使用git。
我觉得自己在学习使用git的时候还是花了比较多时间的，找到好的学习资料真的很重要，这里请推荐廖雪峰的Git教程，真的很详细易懂http://www.liaoxuefeng.com/wiki/0013739516305929]]></description><category></category></item><item><title><![CDATA[函数式编程之柯里化函数]]></title><link>https://blog.csdn.net/github_35549695/article/details/53694141</link><guid>https://blog.csdn.net/github_35549695/article/details/53694141</guid><author>github_35549695</author><pubDate>Fri, 16 Dec 2016 15:51:30 +0800</pubDate><description><![CDATA[1、柯里化函数
 function add(num){
        return function(x){
            return num+x;
        }
    }
    var add5 = add(5);
    var addRes = add5(1);
    console.log(addRes);
2、页面刷新
function up]]></description><category></category></item><item><title><![CDATA[app跳转app]]></title><link>https://blog.csdn.net/github_35549695/article/details/53523802</link><guid>https://blog.csdn.net/github_35549695/article/details/53523802</guid><author>github_35549695</author><pubDate>Thu, 08 Dec 2016 20:31:16 +0800</pubDate><description><![CDATA[一、从app跳转至QQ加群
 

很简单，只要点击a 标签就可以从当前的app跳转至QQ加群


二、如果手机中不存在QQ
如果是ios ：'
如果是安卓：'

function statToQq(){
        // 通过iframe的方式试图打开APP，如果能正常打开，会直接切换到APP，并自动阻止a标签的默认行为
        // 否则打开a标签的href链]]></description><category></category></item><item><title><![CDATA[pc端粘贴复制插件使用ZeroClipboard]]></title><link>https://blog.csdn.net/github_35549695/article/details/53410085</link><guid>https://blog.csdn.net/github_35549695/article/details/53410085</guid><author>github_35549695</author><pubDate>Wed, 30 Nov 2016 16:45:21 +0800</pubDate><description><![CDATA[通过点击按钮，进行复制粘贴
1、先去官网ZeroClipboard.org现在v2.2.0.zip
2、解压后，找到ZeroClipboard.js和ZeroClipboard.swf，放入开发项目中。注意路径
3、var client = new ZeroClipboard(document.getElementById("copy-button"));    //document.get]]></description><category></category></item><item><title><![CDATA[select默认文字，不出现在下拉选项中]]></title><link>https://blog.csdn.net/github_35549695/article/details/53288569</link><guid>https://blog.csdn.net/github_35549695/article/details/53288569</guid><author>github_35549695</author><pubDate>Tue, 22 Nov 2016 17:15:08 +0800</pubDate><description><![CDATA[choose
    0
    1]]></description><category></category></item><item><title><![CDATA[拖动div框]]></title><link>https://blog.csdn.net/github_35549695/article/details/53263794</link><guid>https://blog.csdn.net/github_35549695/article/details/53263794</guid><author>github_35549695</author><pubDate>Mon, 21 Nov 2016 20:28:32 +0800</pubDate><description><![CDATA[function drag(ele){
    ele.mousedown(function(event){


        var offset=ele.offset();


        x1=event.clientX-offset.left;


        y1=event.clientY-offset.top;


        ele.mous]]></description><category></category></item><item><title><![CDATA[h5键盘遮挡输入框问题 、模仿微信输入框失去焦点时隐藏iphone的软键盘和聚焦时出现输入框]]></title><link>https://blog.csdn.net/github_35549695/article/details/53232144</link><guid>https://blog.csdn.net/github_35549695/article/details/53232144</guid><author>github_35549695</author><pubDate>Sat, 19 Nov 2016 17:22:43 +0800</pubDate><description><![CDATA[最近的项目做得是混合开发，其实比较尴尬的啦，手机端的安卓与ios挺多兼容问题的。
1、手机端h5页面中输入法键盘会遮挡输入框的问题。
      $('input').on('focus',function(event){      
       //自动反弹 输入法高度自适应
        var target = this;
        setTimeout(function]]></description><category></category></item></channel></rss>