/* 搜烦 */ var helangSearch={ els:{}, searchIndex:0, init:function(){ var _this=this; this.els={ pickerBtn:$(".picker"), pickerList:$(".picker-list"), logo:$(".logo"), hotList:$(".hot-list"), input:$("#search-input"), button:$(".search---") }; /* 讄热门搜烦列表 */ this.els.hotList.html(function () { var str=''; $.each(_this.hot.list,function (index,item) { str+='' +'
'+(index+1)+'
' +'
'+item+'
' +'
'; }); return str; }); /* 注册事g */ /* 搜烦cd选择按钮 */ this.els.pickerBtn.click(function () { if(_this.els.pickerList.is(':hidden')) { setTimeout(function () { _this.els.pickerList.show(); },100); } }); /* 搜烦cd选择列表 */ this.els.pickerList.on("click",">li",function () { _this.els.logo.css("background-image",('url(img/'+$(this).data("logo")+')')); _this.searchIndex=$(this).index(); _this.els.pickerBtn.html($(this).html()) }); /* 搜烦 输入?点击*/ this.els.input.click(function () { if(!$(this).val()){ setTimeout(function () { _this.els.hotList.show(); },100); } }); /* 搜烦 输入?输入*/ this.els.input.on("input",function () { if($(this).val()){ _this.els.hotList.hide(); } }); /* 搜烦按钮 */ this.els.button.click(function () {}); /* 文 */ $(document).click(function () { _this.els.pickerList.hide(); _this.els.hotList.hide(); }); } }; /* 搜烦 */ var helangSearchCopy={ /* 元素?*/ els:{}, /* 搜烦cd序号 */ searchIndex:0, /* 火热的搜索列?*/ hot:{ /* 颜色 */ color:['#ff2c00','#ff5a00','#ff8105','#fd9a15','#dfad1c','#6bc211','#3cc71e','#3cbe85','#51b2ef','#53b0ff'], /* 列表 */ list:[ 'helang.love@qq.com', 'qq:1846492969', 'web前端梦之?, '公众Pweb-7258', 'jQuery插g?, 'CSDN-IT博客', 'jQuery之美-CSDN博客专栏', 'jq22.com', 'csdn.net', 'mydarling.gitee.io' ] }, /* 初始?*/ init:function(){ var _this=this; this.els={ pickerBtn:$(".picker01"), pickerList:$(".picker-list01"), logo:$(".logo"), hotList:$(".hot-list"), input:$("#search-inputCopy"), button:$(".search") }; /* 讄热门搜烦列表 */ this.els.hotList.html(function () { var str=''; $.each(_this.hot.list,function (index,item) { str+='' +'
'+(index+1)+'
' +'
'+item+'
' +'
'; }); return str; }); /* 注册事g */ /* 搜烦cd选择按钮 */ this.els.pickerBtn.click(function () { if(_this.els.pickerList.is(':hidden')) { setTimeout(function () { _this.els.pickerList.show(); },100); } }); /* 搜烦cd选择列表 */ this.els.pickerList.on("click",">li",function () { _this.els.logo.css("background-image",('url(img/'+$(this).data("logo")+')')); _this.searchIndex=$(this).index(); _this.els.pickerBtn.html($(this).html()) }); /* 搜烦 输入?点击*/ this.els.input.click(function () { if(!$(this).val()){ setTimeout(function () { _this.els.hotList.show(); },100); } }); /* 搜烦 输入?输入*/ this.els.input.on("input",function () { if($(this).val()){ _this.els.hotList.hide(); } }); /* 搜烦按钮 */ this.els.button.click(function () { // var searchArr=['癑ֺ','搜狗','必应','h']; // alert(searchArr[_this.searchIndex]+"搜烦Q?+_this.els.input.val()); }); /* 文 */ $(document).click(function () { _this.els.pickerList.hide(); _this.els.hotList.hide(); }); /* 搜烦按钮 */ } }; 99视频在线精品免费_亚洲乱码一区二三四区ava_mm1313亚洲国产精品无码_色偷偷91综合久久噜噜噜
  • <progress id="xufy2"><code id="xufy2"></code></progress>
    <acronym id="xufy2"><address id="xufy2"><label id="xufy2"></label></address></acronym>

      <ruby id="xufy2"><table id="xufy2"></table></ruby>

      <track id="xufy2"><i id="xufy2"><tbody id="xufy2"></tbody></i></track>
      <progress id="xufy2"><u id="xufy2"></u></progress>