关键词布局与优化的注意事项有哪些?(企业网站优化技巧)

关键词布局与优化
关键词布局与优化的注意事项有哪些?

注意简洁的网站代码

蛛蛛是从网页代码而读取网页内容的,如果代码过长而乱蜘蛛是很难知道哪为重点甚至会截断蜘蛛的爬行。
注意关键词选择
避免错误的关键词,站长们选择关键词,在他们心中是描述自己的网站,但对于普通用户未必搜寻他们。用户关键词搜索需求分析是SEO优化的前提,确定正确的关键词是SEO的关键。
 

注意外链的质量

众多垃圾链接、链接惩罚域名 使用群发软件群发垃圾链接,认为链接越多总是更好的,其实搜索引擎要的是链接的质量

注意多个域名使用

网站重复、桥页有的网站为了增加自己站点的“出镜率”,多个域名指向一个内容几乎一样的站点,但这是非常危险的。搜索引擎是很注重网站内容唯一性的。
 

注意标签的使用

Title标题及标签全部一样 离开标签是空洞的,也是非常普遍的现象。这个最重要的地方一定要有一个关键词,因为它不仅帮你优化,而且你的<title>标签是要在搜索结果中显示作为你的网页标题。<br /> 注意缺乏关键词内容或堆彻关键词<br /> 页面要在适当密度(2%-6%)内突出关键词,可以加大加粗下划线,使用H1等标签,当然关键词在链接中也很关键。<br />   <h3> 谨慎使用视频和Flash</h3> 页面全Flash或图片 Flash和图片固然有吸引力,但不是相对用户需求及搜索引擎而言的。搜索引擎蜘蛛是不能读取Flash内容。<br />  <br /> <br /> 原标题:关键词布局与优化的注意事项有哪些?(企业网站优化技巧) <div class="clear"></div> <div class="page-nav" style="float:right"></div> <div class="clear"></div> </div> <div class="clear"></div> </div> <!--/.entry--> </div> <!--/.post-inner--> </article> <!--/.post--> <div class="clear"></div> <p class="post-tags"><span>标签:</span> <a href="/tags/%E4%BC%81%E4%B8%9A%E7%BD%91%E7%AB%99%E4%BC%98%E5%8C%96%E6%8A%80%E5%B7%A7.html" target="_blank">企业网站优化技巧</a><a href="/tags/%E7%BD%91%E7%AB%99%E5%85%B3%E9%94%AE%E8%AF%8D%E5%B8%83%E5%B1%80.html" target="_blank">网站关键词布局</a></p> <div class="pcd_ad"><script src='/plus/ad_js.php?aid=5' language='javascript'></script></div> <div class="mbd_ad"> <table width="100%" height="90" bgcolor="#33CCCC"> <tr align="center"> <td><script src='/plus/ad_js.php?aid=5' language='javascript'></script></td> </tr> </table> </div> </div> <div class="post-navigation"> <div class="post-previous">上一篇:<a href='/baidupaiming/4852.html'>高效的orange文章关键词布局方法有哪些?(企业网站优化技巧)</a> </div> <div class="post-next">下一篇:<a href='/baidupaiming/4854.html'>不同页面的关键词要如何选择?(企业网站优化技巧)</a> </div> </div> <div> <h3 class=""><span>相关文章</span></h3> <li><a href="/baidupaiming/4853.html">关键词布局与优化的注意事项有哪些?(企业网站优化技巧)</a></li> <li><a href="/baidupaiming/4858.html">外贸独立网站站内SEO优化关键词应该怎么做?(企业网站优化技巧)</a></li> <li><a href="/baidupaiming/4857.html">网站外链建设中关键词要怎么布局?(企业网站优化技巧)</a></li> <li><a href="/baidupaiming/4856.html">布局关键词优先选择放置的地方(企业网站优化技巧)</a></li> <li><a href="/baidupaiming/4855.html">如何运用好关键词布局进行优化?(企业网站优化技巧)</a></li> <li><a href="/baidupaiming/4854.html">不同页面的关键词要如何选择?(企业网站优化技巧)</a></li> </div> </div> <!--/.pad--> </section> <!--/.content--> <aside class="sidebar side-right hide-sidebar"> <a class="sidebar-toggle" title="展开侧边栏"><i class="fa icon-sidebar-toggle"></i></a> <div class="sidebar-content"> <div class="widget-box widget text-html"> <div class="widget-content"> <div class="text text-center"> <script src='/plus/ad_js.php?aid=1' language='javascript'></script> </div> <div class="clear"></div> </div> </div> <div id="tag_cloud-2" class="widget-box widget widget_tag_cloud"> <h3 class="widget-title"><span><a href="javascrip:;" rel="nofollow">标签</a></span></h3> <div class="widget-content"> <div id="tag_cloud_widget"> <div class="tagcloud"> <script src="/skin/js/3dtag.js" type="text/javascript"></script> <a href="/tags/%E7%BD%91%E7%AB%99%E5%BB%BA%E8%AE%BE.html" title="网站建设">网站建设</a> <a href="/tags/%E6%90%9C%E7%B4%A2%E5%BC%95%E6%93%8E.html" title="搜索引擎">搜索引擎</a> <a href="/tags/%E7%BD%91%E7%BB%9C%E6%8E%A8%E5%B9%BF.html" title="网络推广">网络推广</a> <a href="/tags/%E6%A0%87%E9%A2%98.html" title="标题">标题</a> <a href="/tags/%E7%BD%91%E7%AB%99%E5%AF%BC%E8%88%AA.html" title="网站导航">网站导航</a> <a href="/tags/%E4%BC%81%E4%B8%9A%E7%BD%91%E7%AB%99%E4%BC%98%E5%8C%96%E6%8A%80%E5%B7%A7.html" title="企业网站优化技巧">企业网站优化技巧</a> <a href="/tags/%E7%BD%91%E7%AB%99%E5%86%85%E5%AE%B9%E4%BC%98%E5%8C%96.html" title="网站内容优化">网站内容优化</a> <a href="/tags/%E7%A7%BB%E5%8A%A8%E6%8E%92%E5%90%8D.html" title="移动排名">移动排名</a> <a href="/tags/%E7%BD%91%E7%AB%99%E5%85%B3%E9%94%AE%E8%AF%8D%E5%B8%83%E5%B1%80.html" title="网站关键词布局">网站关键词布局</a> <a href="/tags/%E4%BA%8C%E7%BA%A7%E5%9F%9F%E5%90%8D.html" title="二级域名">二级域名</a> <a href="/tags/%E5%85%B3%E9%94%AE%E8%AF%8D%E6%8E%92%E5%90%8D.html" title="关键词排名">关键词排名</a> <a href="/tags/%E9%95%BF%E5%B0%BE%E5%85%B3%E9%94%AE%E8%AF%8D.html" title="长尾关键词">长尾关键词</a> <a href="/tags/orange.html" title="orange">orange</a> <a href="/tags/%E5%85%B3%E9%94%AE%E8%AF%8D.html" title="关键词">关键词</a> <a href="/tags/%E5%86%85%E9%83%A8%E4%BC%98%E5%8C%96.html" title="内部优化">内部优化</a> <a href="/tags/SEO%E4%BC%98%E5%8C%96%E6%95%99%E7%A8%8B.html" title="SEO优化教程">SEO优化教程</a> <a href="/tags/%E7%BD%91%E7%AB%99%E6%8E%A8%E5%B9%BF.html" title="网站推广">网站推广</a> <a href="/tags/%E7%BD%91%E7%AB%99%E6%90%9C%E7%B4%A2.html" title="网站搜索">网站搜索</a> <a href="/tags/%E5%8E%9F%E5%88%9B%E6%96%87%E7%AB%A0.html" title="原创文章">原创文章</a> <a href="/tags/%E5%85%B3%E9%94%AE%E8%AF%8D%E5%AF%86%E5%BA%A6.html" title="关键词密度">关键词密度</a> <a href="/tags/%E7%BD%91%E7%AB%99%E6%96%87%E7%AB%A0%E8%B4%A8%E9%87%8F.html" title="网站文章质量">网站文章质量</a> <a href="/tags/%E7%BD%91%E7%AB%99%E6%9D%83%E9%87%8D.html" title="网站权重">网站权重</a> <a href="/tags/%E5%85%B3%E9%94%AE%E5%AD%97.html" title="关键字">关键字</a> <a href="/tags/%E7%BD%91%E7%AB%99%E5%88%86%E6%9E%90.html" title="网站分析">网站分析</a> <a href="/tags/%E5%86%85%E9%93%BE.html" title="内链">内链</a> <a href="/tags/%E7%BD%91%E7%AB%99%E4%BC%98%E5%8C%96.html" title="网站优化">网站优化</a> <a href="/tags/SEO%E4%BC%98%E5%8C%96.html" title="SEO优化">SEO优化</a> <a href="/tags/%E6%9C%8D%E5%8A%A1%E5%99%A8.html" title="服务器">服务器</a> <a href="/tags/%E5%8E%9F%E5%88%9B.html" title="原创">原创</a> <a href="/tags/%E7%99%BE%E5%BA%A6SEO.html" title="百度SEO">百度SEO</a> <a href="/tags/%E5%8D%95%E9%A1%B5%E9%9D%A2.html" title="单页面">单页面</a> <a href="/tags/%E7%9B%B8%E5%85%B3%E6%80%A7.html" title="相关性">相关性</a> <a href="/tags/%E7%BD%91%E7%AB%99SEO%E4%BC%98%E5%8C%96.html" title="网站SEO优化">网站SEO优化</a> <a href="/tags/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5.html" title="友情链接">友情链接</a> <a href="/tags/%E9%87%8D%E5%AE%9A%E5%90%91.html" title="重定向">重定向</a> <a href="/tags/nofollow.html" title="nofollow">nofollow</a> <a href="/tags/%E7%BD%91%E7%AB%99%E9%A6%96%E9%A1%B5.html" title="网站首页">网站首页</a> <a href="/tags/%E7%99%BE%E5%BA%A6%E6%8E%92%E5%90%8D.html" title="百度排名">百度排名</a> <a href="/tags/%E5%8F%8B%E9%93%BE.html" title="友链">友链</a> <a href="/tags/%E7%BD%91%E7%AB%99%E5%85%B3%E9%94%AE%E8%AF%8D.html" title="网站关键词">网站关键词</a> <a href="/tags/%E7%94%A8%E6%88%B7%E4%BD%93%E9%AA%8C.html" title="用户体验">用户体验</a> <a href="/tags/robots.html" title="robots">robots</a> <a href="/tags/%E5%8F%8D%E9%93%BE.html" title="反链">反链</a> <a href="/tags/SEO%E6%8E%A8%E5%B9%BF.html" title="SEO推广">SEO推广</a> <a href="/tags/%E9%A1%B6%E7%BA%A7%E5%9F%9F%E5%90%8D.html" title="顶级域名">顶级域名</a> <a href="/tags/%E7%BD%91%E7%AB%99%E5%9C%B0%E5%9B%BE.html" title="网站地图">网站地图</a> <a href="/tags/%E7%BD%91%E7%AB%99%E6%94%B6%E5%BD%95.html" title="网站收录">网站收录</a> <a href="/tags/wordpress.html" title="wordpress">wordpress</a> <a href="/tags/%E7%9B%B8%E5%85%B3%E5%BA%A6.html" title="相关度">相关度</a> <a href="/tags/%E7%BD%91%E7%AB%99%E9%93%BE%E6%8E%A5.html" title="网站链接">网站链接</a> <a href="/tags/robots.txt.html" title="robots.txt">robots.txt</a> <a href="/tags/%E5%A6%82%E4%BD%95%E6%8F%90%E9%AB%98%E7%94%A8%E6%88%B7%E4%BD%93%E9%AA%8C.html" title="如何提高用户体验">如何提高用户体验</a> <a href="/tags/%E7%BD%91%E7%AB%99%E5%86%85%E5%AE%B9%E8%A6%81%E6%80%8E%E4%B9%88%E4%BC%98%E5%8C%96.html" title="网站内容要怎么优化">网站内容要怎么优化</a> <a href="/tags/%E6%8F%90%E5%8D%87%E5%85%B3%E9%94%AE%E8%AF%8D%E6%8E%92%E5%90%8D%E7%9A%84%E6%96%B9%E6%B3%95.html" title="提升关键词排名的方法">提升关键词排名的方法</a> <a href="/tags/%E7%AE%97%E6%B3%95%E5%8E%9F%E7%90%86.html" title="算法原理">算法原理</a> <a href="/tags/%E5%BF%AB%E9%80%9F%E6%8E%92%E5%90%8D.html" title="快速排名">快速排名</a> <a href="/tags/%E5%86%85%E5%AE%B9%E4%BC%98%E5%8C%96.html" title="内容优化">内容优化</a> <a href="/tags/%E5%9F%9F%E5%90%8D%E9%80%89%E6%8B%A9.html" title="域名选择">域名选择</a> <a href="/tags/%E6%8F%90%E9%AB%98%E7%94%A8%E6%88%B7%E4%BD%93%E9%AA%8C.html" title="提高用户体验">提高用户体验</a> <a href="/tags/%E7%BD%91%E7%AB%99%E5%86%85%E5%AE%B9.html" title="网站内容">网站内容</a> <div class="clear"></div> </div> </div> </div> </div> <div id="posts-list-widget-6" class="widget-box widget widget-posts"> <h3 class="widget-title"><span>热门文章排行 </span></h3> <div class="widget-content"> <ul> <li class="item-1"> <div class="widget-thumb group"> <a class="post-thumbnail" href="/baidupaiming/4853.html" title="关键词布局与优化的注意事项有哪些?(企业网站优化技巧)" rel="bookmark" target="_blank"> <img src="/skin/images/grey.gif" data-lazy-type="image" lazydata-src="/uploads/allimg/200211/1-200211213F1957-lp.jpg" class="lazy lazy-hidden" alt="关键词布局与优化的注意事项有哪些?(企业网站优化技巧)" width="100" height="80" /> </a> <div class="post-info"> <a class="post-title" href="/baidupaiming/4853.html" title="关键词布局与优化的注意事项有哪些?(企业网站优化技巧)" target="_blank">关键词布局与优化的注意事项有哪些?(企业网站优化技巧)</a> </div> </div> </li> <li class="item-1"> <div class="widget-thumb group"> <a class="post-thumbnail" href="/baidupaiming/219.html" title="外链代发包收录(发布外链选代发包收录服务靠谱吗" rel="bookmark" target="_blank"> <img src="/skin/images/grey.gif" data-lazy-type="image" lazydata-src="/uploads/allimg/190214/2126244057_lit.jpg" class="lazy lazy-hidden" alt="外链代发包收录(发布外链选代发包收录服务靠谱吗" width="100" height="80" /> </a> <div class="post-info"> <a class="post-title" href="/baidupaiming/219.html" title="外链代发包收录(发布外链选代发包收录服务靠谱吗" target="_blank">外链代发包收录(发布外链选代发包收录服务靠谱吗</a> </div> </div> </li> <li class="item-1"> <div class="widget-thumb group"> <a class="post-thumbnail" href="/baidupaiming/226.html" title="百度上不去排名?一个绝招帮你轻松搞定" rel="bookmark" target="_blank"> <img src="/skin/images/grey.gif" data-lazy-type="image" lazydata-src="/uploads/allimg/190215/162GG124_lit.jpg" class="lazy lazy-hidden" alt="百度上不去排名?一个绝招帮你轻松搞定" width="100" height="80" /> </a> <div class="post-info"> <a class="post-title" href="/baidupaiming/226.html" title="百度上不去排名?一个绝招帮你轻松搞定" target="_blank">百度上不去排名?一个绝招帮你轻松搞定</a> </div> </div> </li> <li class="item-1"> <div class="widget-thumb group"> <a class="post-thumbnail" href="/baidupaiming/225.html" title="orange人才必备技能,95%的人都不知道" rel="bookmark" target="_blank"> <img src="/skin/images/grey.gif" data-lazy-type="image" lazydata-src="/uploads/allimg/190215/162632X27_lit.jpg" class="lazy lazy-hidden" alt="orange人才必备技能,95%的人都不知道" width="100" height="80" /> </a> <div class="post-info"> <a class="post-title" href="/baidupaiming/225.html" title="orange人才必备技能,95%的人都不知道" target="_blank">orange人才必备技能,95%的人都不知道</a> </div> </div> </li> <li class="item-1"> <div class="widget-thumb group"> <a class="post-thumbnail" href="/baidupaiming/170.html" title="【济南orange培训】SEO经常犯的错误有这些-SEO服务sz-orange" rel="bookmark" target="_blank"> <img src="/skin/images/grey.gif" data-lazy-type="image" lazydata-src="/uploads/allimg/190214/1613502X6_lit.jpg" class="lazy lazy-hidden" alt="【济南orange培训】SEO经常犯的错误有这些-SEO服务sz-orange" width="100" height="80" /> </a> <div class="post-info"> <a class="post-title" href="/baidupaiming/170.html" title="【济南orange培训】SEO经常犯的错误有这些-SEO服务sz-orange" target="_blank">【济南orange培训】SEO经常犯的错误有这些-SEO服务sz-orange</a> </div> </div> </li> <li class="item-1"> <div class="widget-thumb group"> <a class="post-thumbnail" href="/baidupaiming/95.html" title="《深圳orange》如何挖掘长尾关键词" rel="bookmark" target="_blank"> <img src="/skin/images/grey.gif" data-lazy-type="image" lazydata-src="/uploads/allimg/190130/14045O150_lit.png" class="lazy lazy-hidden" alt="《深圳orange》如何挖掘长尾关键词" width="100" height="80" /> </a> <div class="post-info"> <a class="post-title" href="/baidupaiming/95.html" title="《深圳orange》如何挖掘长尾关键词" target="_blank">《深圳orange》如何挖掘长尾关键词</a> </div> </div> </li> <li class="item-1"> <div class="widget-thumb group"> <a class="post-thumbnail" href="/baidupaiming/223.html" title="https和http有什么区别(内附详细分析)" rel="bookmark" target="_blank"> <img src="/skin/images/grey.gif" data-lazy-type="image" lazydata-src="/uploads/allimg/190215/16243U154_lit.jpg" class="lazy lazy-hidden" alt="https和http有什么区别(内附详细分析)" width="100" height="80" /> </a> <div class="post-info"> <a class="post-title" href="/baidupaiming/223.html" title="https和http有什么区别(内附详细分析)" target="_blank">https和http有什么区别(内附详细分析)</a> </div> </div> </li> <li class="item-1"> <div class="widget-thumb group"> <a class="post-thumbnail" href="/baidupaiming/4182.html" title="orange游戏平台" rel="bookmark" target="_blank"> <img src="/skin/images/grey.gif" data-lazy-type="image" lazydata-src="/uploads/allimg/190522/111K63135_lit.jpg" class="lazy lazy-hidden" alt="orange游戏平台" width="100" height="80" /> </a> <div class="post-info"> <a class="post-title" href="/baidupaiming/4182.html" title="orange游戏平台" target="_blank">orange游戏平台</a> </div> </div> </li> <li class="item-1"> <div class="widget-thumb group"> <a class="post-thumbnail" href="/baidupaiming/4547.html" title="「成都网站优化」浅析中小型企业网站被降权的" rel="bookmark" target="_blank"> <img src="/skin/images/grey.gif" data-lazy-type="image" lazydata-src="/uploads/allimg/190823/104J92459-0-lp.jpg" class="lazy lazy-hidden" alt="「成都网站优化」浅析中小型企业网站被降权的" width="100" height="80" /> </a> <div class="post-info"> <a class="post-title" href="/baidupaiming/4547.html" title="「成都网站优化」浅析中小型企业网站被降权的" target="_blank">「成都网站优化」浅析中小型企业网站被降权的</a> </div> </div> </li> <li class="item-1"> <div class="widget-thumb group"> <a class="post-thumbnail" href="/baidupaiming/221.html" title="网站排名提高(如何让网站关键词排名快速提高)" rel="bookmark" target="_blank"> <img src="/skin/images/grey.gif" data-lazy-type="image" lazydata-src="/uploads/allimg/190214/214204GB_lit.jpg" class="lazy lazy-hidden" alt="网站排名提高(如何让网站关键词排名快速提高)" width="100" height="80" /> </a> <div class="post-info"> <a class="post-title" href="/baidupaiming/221.html" title="网站排名提高(如何让网站关键词排名快速提高)" target="_blank">网站排名提高(如何让网站关键词排名快速提高)</a> </div> </div> </li> <li class="item-1"> <div class="widget-thumb group"> <a class="post-thumbnail" href="/baidupaiming/4848.html" title="如何做长尾关键词排名?(提高百度排名方法)" rel="bookmark" target="_blank"> <img src="/skin/images/grey.gif" data-lazy-type="image" lazydata-src="/uploads/allimg/200114/1-2001141FG6203-lp.jpg" class="lazy lazy-hidden" alt="如何做长尾关键词排名?(提高百度排名方法)" width="100" height="80" /> </a> <div class="post-info"> <a class="post-title" href="/baidupaiming/4848.html" title="如何做长尾关键词排名?(提高百度排名方法)" target="_blank">如何做长尾关键词排名?(提高百度排名方法)</a> </div> </div> </li> </ul> <div class="clear"></div> </div> </div> <div class="widget-box widget text-html"> <div class="widget-content"> <div class="text text-center"> <script src='/plus/ad_js.php?aid=2' language='javascript'></script> </div> <div class="clear"></div> </div> </div> <div class="widget-box widget text-html"> <div class="widget-content"> <div class="text"> <script src='/plus/ad_js.php?aid=3' language='javascript'></script> </div> <div class="clear"></div> </div> </div> </div> </aside> </div> <!--/.main-inner--> </div> <!--/.main--> </div> <!--/.container-inner--> </div> <!--/.container--> <footer id="footer"> <nav class="nav-container group" id="nav-footer"> <div class="nav-toggle"><i class="fa fa-bars"></i></div> <div class="nav-text"><!-- put your mobile menu text here --></div> <div class="nav-wrap"> <ul id="menu-footer" class="nav container group"> <li id="menu-item-1"><a href="/SEOyouhua/"><i class="fa fa-question-circle fa-fw"></i> SEO优化</a></li> <li id="menu-item-2"><a href="/SEOanli/"><i class="fa fa-paper-plane fa-fw"></i> SEO案例</a></li> <li id="menu-item-3"><a href="/tuiguang/"><i class="fa fa-heart fa-fw"></i> 网络推广</a></li> <li id="menu-item-4"><a href="/baidupaiming/"><i class="fa fa-cutlery fa-fw"></i> 百度排名</a></li> </ul> </div> </nav> <!--/#nav-footer--> <section class="container" id="footer-bottom"> <div class="container-inner"> <div class="pad group"> <div id="copyright"> <p>orange橘子雷霆SEO快排,团队实战经验丰富,提供整站SEO优化外包服务,网站SEO优化关键词排名上首页再付款,专注于google搜索引擎优化,网站关键词快速上首页</p> <a href="/sitemap.xml" target="_blank">网站地图</a> <script type="text/javascript" src="//js.users.51.la/19954543.js"></script> <div class="ewkf-box"><div class="open-im"></div><div class="im-box"><div class="ewclose"></div><div class="qq-con"></div><div class="qq-hover-c"><img src="/images/qq.png"class="img-qq"alt="QQ"/></div><span>QQ在线咨询</span></a><div class="im-tel"><div class="tel-ti">SEO优化咨询热线</div><div id="phone2" class="tel-num">153-6181-4016</div></div><div class="im-foot"><div class="wx-con" style="background-image:url(/images/weixing-icon.png)"><div class="wx-show"><div class="wx-txt">手机扫一扫 与博主直接沟通</div><img id="qrcode2" class="wx-pic"src="/images/ewqrcode.png"width="144"/><div class="wx-arrow"></div><div class="wx-arrow-big"></div></div></div><div class="go-top" style="background-image:url(/images/totop-icon.png)"></div></div></div></div> <link href="/images/pic/ewkefu.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> $(function(){ var ewkefuhtml=''; $("body").append(ewkefuhtml); var xstime=200; $(".ewclose").click(function(){ $(".im-box").hide(xstime); $(".open-im").show(xstime); }); $(".open-im").click(function(){ $(this).hide(xstime); $(".im-box").show(xstime); }); $(".wx-con").click(function(){ $(".wx-show").toggle(xstime); }); $(".go-top").click(function () { $("html,body").animate({ scrollTop : '0' }, xstime*2); }); }); </script> <script src="/images/jquery-1.8.3.min.js" type="text/javascript"></script> <link href="/images/code.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> $(document).ready(function(){ /* ----- 侧边悬浮 ---- */ $(document).on("mouseenter", ".suspension .a", function(){ var _this = $(this); var s = $(".suspension"); var isService = _this.hasClass("a-service"); var isServicePhone = _this.hasClass("a-service-phone"); var isQrcode = _this.hasClass("a-qrcode"); if(isService){ s.find(".d-service").show().siblings(".d").hide();} if(isServicePhone){ s.find(".d-service-phone").show().siblings(".d").hide();} if(isQrcode){ s.find(".d-qrcode").show().siblings(".d").hide();} }); $(document).on("mouseleave", ".suspension, .suspension .a-top", function(){ $(".suspension").find(".d").hide(); }); $(document).on("mouseenter", ".suspension .a-top", function(){ $(".suspension").find(".d").hide(); }); $(document).on("click", ".suspension .a-top", function(){ $("html,body").animate({scrollTop: 0}); }); $(window).scroll(function(){ var st = $(document).scrollTop(); var $top = $(".suspension .a-top"); if(st > 400){ $top.css({display: 'block'}); }else{ if ($top.is(":visible")) { $top.hide(); } } }); }); var username=document.cookie.split(";")[0].split("=")[1]; //JS操作cookies方法! //写cookies function setCookie(name,value) { var Days = 30; var exp = new Date(); exp.setTime(exp.getTime() + Days*24*60*60*1000); document.cookie = name + "="+ escape (value) + ";expires=" + exp.toGMTString(); } function getCookie(name) { var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)"); arr=document.cookie.match(reg); if(arr) return unescape(arr[2]); else return null; } function randomNum(minNum,maxNum){ switch(arguments.length){ case 1: return parseInt(Math.random()*minNum+1,10); break; case 2: return parseInt(Math.random()*(maxNum-minNum+1)+minNum,10); break; default: return 0; break; } } var qrcode_map = [ {"name":"13","qq":"1695661002","phone":"18927470632","qrcode_path":"13.jpg"}, ]; // 二维码数量 var qrcode_num = qrcode_map.length - 1; console.log(qrcode_num); if(getCookie("pic_number") != null){ var pic_number = getCookie("pic_number"); pic_number++; if(pic_number > qrcode_num){ pic_number = 0 } $("#qrcode").attr("src","/images/qrcode_pic/"+ qrcode_map[pic_number]['qrcode_path']); $("#phone").html(qrcode_map[pic_number]['phone']); $("#qq_").attr("href","tencent://message/?uin="+ qrcode_map[pic_number]['qq']); $("#qrcode2").attr("src","/images/qrcode_pic/"+ qrcode_map[pic_number]['qrcode_path']); $("#phone2").html(qrcode_map[pic_number]['phone']); $("#qq_2").attr("href","tencent://message/?uin="+ qrcode_map[pic_number]['qq']); console.log(pic_number); setCookie("pic_number",pic_number); }else{ var random_number = randomNum(0,qrcode_num); $("#qrcode").attr("src","/images/qrcode_pic/"+ qrcode_map[random_number]['qrcode_path']); $("#phone").html(qrcode_map[random_number]['phone']); $("#qq_").attr("href","tencent://message/?uin="+ qrcode_map[random_number]['qq']); setCookie("pic_number",random_number); } </script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?7e05e71ecc0c1e1b26e0f81c52b43071"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> <link href="/skin/css/index_fot.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="/skin/js/fot_lx.js"></script> <div class="mb"> <div class="tc" style="background-image: url('/skin/images/c2.png');"> <div class="qc"></div> <p>需要搜索引擎优化服务,请联系客服:</p> <img src="/templets/default/images/图片2.jpg" alt="微信二维码"> <p>添加QQ,提升网站排名:<a class="an" href="tencent://Message/?Uin=1695661002&websiteName=q-zone.qq.com&Menu=yes">加好友</a></p> </div> </div> </div> <!--/#copyright--> </div> <!--/.pad--> </div> <!--/.container-inner--> </section> <!--/.container--> </footer> <!--/#footer--> </div> <!--/.wrapper-inner--> </div> <!--/#wrapper--> <script type='text/javascript' src='/skin/js/side-buttons.js'></script> <script type='text/javascript' src='/skin/js/lazyload.min.js'></script> <script type='text/javascript' src='/skin/js/wp-embed.min.js'></script> <div class="side-buttons" id="side-buttons"> <!--<div class="side-buttons-box relative sb-comment "> <a href="/guestbook" rel="nofollow" target="_blank"><i class="sb-icon fa fa-comment-o" title="我要留言"></i></a> </div>--> <div class="side-buttons-box relative sb-bookmark"> <a href="javascript:;" id="bookmark"><i class="sb-icon fa fa-star-o" title="收藏本页"></i></a> </div> <div class="side-buttons-box relative sb-share"> <a href="#"><i class="sb-icon fa fa-share-square-o" title="一键分享"></i></a> <div class="side-buttons-triangle"> <em class="border-sj">◆</em> <span class="con-sj">◆</span> </div> <div class="sb-layer bdsharebuttonbox" data-tag="share_1"> <a href="#" class="bds_mshare" data-cmd="mshare" title="一键分享">一键分享</a> <a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博">新浪微博</a> <a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博">腾讯微博</a> <a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网">人人网</a> <a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信">微信</a> <a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间">QQ空间</a> <a href="#" class="bds_douban" data-cmd="douban" title="分享到豆瓣">豆瓣</a> <a href="#" class="bds_twi" data-cmd="twi" title="分享到 Twitter">Twitter</a> <a href="#" class="bds_fbook" data-cmd="fbook" title="分享到 Facebook">Facebook</a> </div> </div> <div class="side-buttons-box relative sb-qr"> <a href="#"><i class="sb-icon fa fa-qrcode" title="扫二维码"></i></a> <div class="side-buttons-triangle"> <em class="border-sj">◆</em> <span class="con-sj">◆</span> </div> <div class="sb-layer"> <p class="qr-img"><img alt="欢迎扫描关注我们的微信公众平台!" src="/skin/images/weixin.jpg" width="200"></p> <p class="qr-text">欢迎扫描关注我们的微信公众平台!</p> </div> </div> <div class="side-buttons-box relative sb-top"> <a href="#"><i class="sb-icon fa fa-chevron-up" title="返回顶部"></i></a> </div> </div> <script type="text/javascript">copybq();shangxia();</script> <style type="text/css"> .ewkf-box{position:fixed;right:10px;top:200px;} .ewkf-box .im-box{display:block;} .ewkf-box .open-im{display:none;float:right;} </style> <style type="text/css"> .BB{width:100%;height:100px;padding:0;margin:0 auto;} .BB-1{width:100%;height:100%;margin:0 auto;} .BB img{width:auto;height:100%;display:block;float:left;} .BB table{width:100%;height:100px;line-height:23px;font-weight:bold;text-align:center;} .BB table tr td{font-size:1vw;padding-top:1%;} .BB table span{color:#fff} </style>