怎么寻找最佳的SEO竞争对手

2021-02-04 22:51:24发布

1条回答
相思
2楼-- · 2021-02-21 23:03:46

寻找你想模仿的竞争对手(或者像比尔·盖茨说的“接受并扩展”)——一般是针对一系列流行关键词并且和你的目标受众相关,占据了搜索结果页面上半部分的网站。


注意你的“导师”竞争对手不仅仅表现优秀,他们还需要展示出他们对SEO是很了解的。要想评估竞争对手在SEO方面的竞争力,你需要回答以下问题:


·他们的网站是否全部被谷歌或者Bing收录?也就是说,是否他们所有的网页,包括产品页面都在搜索引擎的数据库中?你可以访问搜索引擎并且输入site:来验证。谷歌如果仅仅收录了竞争对手网站的一小部分,很可能含有一个对搜索爬虫不友好的站点。

如何寻找最佳的竞争对手

·他们的产品和类别页面的标题是否富含关键词(标签)并且对每个页面来说都是独一无二的?你可以通过在谷歌和Bing搜索site:<www>完整地浏览网站的页面标题。</p><p><br></p><p>有的时候,这种类型的搜索会导出机密信息。很多网站管理员并没有意识到谷歌已经发现并且将他们网站埋藏得很深的敏感内容做了分类检索。例如,在谷歌搜索商业规划机密文件类型的文档时会在样本中掺杂很多真正的商业机密文档。</p><p><br></p><p>·他们的产品和分类页是否具有较为合理的高排名分数?</p><hr><p>·在网站的锚文本中,特别是在导航中的锚文本,是否具有描述性而且没有填充太多的关键词?</p><p>·网站是否受了处罚?你可能会造成SEO过度。重复太多次关键词或者太多可疑的优化文本链接可能会招来过度优化之责。网站可能会因为过度重复内容、缺少优质内容而受到处罚(也称之为内容“单薄”)以及掺杂名人微博/文章内容。你可以在第9章中了解更多关于搜索引擎处罚的信息。</p> <div class="appendcontent"> </div> </div> <div class="tool-group"> <a class="button_agree dianzan" id='1276'><i class="fa fa-eject"></i> <span>0人赞</span></a> <a class="icon_discuss jsslideshowcomment showcommentid" data-id="1276" onclick="show_comment('1276');"><i class="fa fa-cloud"></i> <span> 添加讨论(0)</span></a> <a class="report" onclick="openinform(1272,'怎么寻找最佳的SEO竞争对手',1276)"><span>举报</span></a> <!----> </div> </div> </div> <div class="comments-mod " style="display: none; float:none;padding-top:10px;" id="comment_1276"> <div class="areabox clearfix" > <div class="input-group"> <input type="text" placeholder="请输入评论内容,不少于5个字" AUTOCOMPLETE="off" class="comment-input form-control" name="content" /> <input type='hidden' value='0' name='replyauthor' /> <span class="input-group-btn"><input type="button" value="评论" class="btn btn-green" name="submit" onclick="addcomment(1276);"/> </span> </div> </div> <ul class="my-comments-list nav"> <li class="loading text-left"><img src='https://www.randengseo.com/static/css/default/loading.gif' align='absmiddle' /> 加载中...</li> </ul> </div> </div> <div class="pages" ></div> </div> </div> <div> </div> </div> <div class="new-answer bb"> <h3 class="title">一周热门 <a href="https://www.randengseo.com/ask/" target="_blank" class="more">更多<font>> </font></a></h3> <div class="inf-list"> <ul class="clearfix"> <li><a href="https://www.randengseo.com/ask-1302.html" title="discuz是什么东西">discuz是什么东西</a></li> <li><a href="https://www.randengseo.com/ask-1322.html" title="网站何时使用TLD而非.com?">网站何时使用TLD而非.com?</a></li> <li><a href="https://www.randengseo.com/ask-1321.html" title="如何做微型网站?">如何做微型网站?</a></li> <li><a href="https://www.randengseo.com/ask-1320.html" title="网站何时使用独立域名?">网站何时使用独立域名?</a></li> <li><a href="https://www.randengseo.com/ask-1319.html" title="网站何时使用子域名?">网站何时使用子域名?</a></li> <li><a href="https://www.randengseo.com/ask-1318.html" title="网站何时使用字文件夹?">网站何时使用字文件夹?</a></li> <li><a href="https://www.randengseo.com/ask-1317.html" title="何时使用子文件夹以及何时使用微型网站">何时使用子文件夹以及何时使用微型网站</a></li> <li><a href="https://www.randengseo.com/ask-1316.html" title="搜索适应性网站导航">搜索适应性网站导航</a></li> <li><a href="https://www.randengseo.com/ask-1315.html" title="平面网站结构和纵向网站结构">平面网站结构和纵向网站结构</a></li> <li><a href="https://www.randengseo.com/ask-1314.html" title="网站结构设计流程">网站结构设计流程</a></li> </ul> </div> </div> </div> </div> </div> </div> <div class="col-md-7 aside "> <div class="ad_vip" style="margin-bottom:10px;"><a href="javascript:login()"><img style="width:100%;" src="https://www.randengseo.com/static/images/ad_vip.png"/></a></div> <div class="standing"> <div class="positions bb" id="rankScroll"> <h3 class="title">相关问答</h3> <ul> </ul> </div> </div> <!--广告位5--> </div> </div> </div> <div class="modal fade" id="dialogadopt"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button> <h4 class="modal-title">采纳回答</h4> </div> <div class="modal-body"> <form class="form-horizontal" name="editanswerForm" method="post" > <input type="hidden" value="1272" id="adopt_qid" name="qid"/> <input type="hidden" id="adopt_answer" value="0" name="aid"/> <table class="table "> <tr valign="top"> <td>向帮助了您的网友说句感谢的话吧!</td> </tr> <tr> <td> <div class="inputbox mt15"> <textarea class="form-control" id="adopt_txtcontent" name="content">非常感谢!</textarea> </div> </td> </tr> <tr> <td><button type="button" id="adoptbtn" class="btn btn-success" >确 认</button></td> </tr> </table> </form> </div> </div> </div> </div> <script> if(typeof($(".work-show-box").find("img").attr("data-original"))!="undefined"){ var imgurl=$(".work-show-box").find("img").attr("data-original"); $(".work-show-box").find("img").attr("src",imgurl); } $(".work-show-box,.answercontent").find("img").attr("data-toggle","lightbox").attr("data-lightbox-group",Date.parse( new Date() ).toString()); $("#adoptbtn").click(function(){ var data={ content:$("#adopt_txtcontent").val(), qid:$("#adopt_qid").val(), aid:$("#adopt_answer").val() } $.ajax({ //提交数据的类型 POST GET type:"POST", //提交的网址 url:"https://www.randengseo.com/question/ajaxadopt.html", //提交的数据 data:data, //返回数据的格式 datatype: "json",//"xml", "html", "script", "json", "jsonp", "text". //在请求之前调用的函数 beforeSend:function(){}, //成功返回之后调用的函数 success:function(data){ var data=eval("("+data+")"); if(data.message=='ok'){ new $.zui.Messager('采纳成功!', { type: 'success', close: true, placement: 'center' // 定义显示位置 }).show(); setTimeout(function(){ window.location.reload(); },1500); }else{ new $.zui.Messager(data.message, { close: true, placement: 'center' // 定义显示位置 }).show(); } } , //调用执行后调用的函数 complete: function(XMLHttpRequest, textStatus){ }, //调用出错执行的函数 error: function(){ //请求出错处理 } }); }) </script> </div> <!-- 编辑标签 --> <div class="modal fade" id="dialog_tag"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button> <h4 class="modal-title">编辑标签</h4> </div> <div class="modal-body"> <form onsubmit=" return checktagsubmit()" class="form-horizontal" name="edittagForm" action="https://www.randengseo.com/question/edittag.html" method="post" > <input type="hidden" value="1272" name="qid"/> <p>最多设置5个标签!</p> <div class="inputbox mar-t-1"> <div class=" dongtai "> <div class="tags"> </div> <input type="text" autocomplete="off" data-toggle="tooltip" data-placement="bottom" title="" placeholder="检索标签,最多添加5个,添加标签更容易被回答" data-original-title="检索标签,最多添加5个" name="topic_tagset" value="" class="txt_taginput" > <i class="fa fa-search"></i> <div class="tagsearch"> </div> </div> <input type="hidden" class="form-control" id="qtags" name="qtags" value=""/> </div> <div class="mar-t-1"> <button type="submit" class="btn btn-success">保存</button> <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button> </div> </form> </div> </div> </div> </div> <!-- 举报 --> <div class="modal fade panel-report" id="dialog_inform"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button> <h4 class="modal-title">举报内容</h4> </div> <div class="modal-body"> <form id="rp_form" class="rp_form" action="https://www.randengseo.com/inform/add.html" method="post"> <input value="" type="hidden" name="qid" id="myqid"> <input value="" type="hidden" name="aid" id="myaid"> <input value="" type="hidden" name="qtitle" id="myqtitle"> <div class="js-group-type group group-2"> <h4>检举类型</h4><ul> <li class="js-report-con"> <label><input type="radio" name="group-type" value="1"><span>检举内容</span></label> </li> <li class="js-report-user"> <label><input type="radio" name="group-type" value="2"><span>检举用户</span></label> </li> </ul> </div> <div class="group group-2"> <h4>检举原因</h4><div class="list"> <ul> <li> <label class="reason-btn"><input type="radio" name="type" value="4"><span>广告推广</span></label> </li> <li> <label class="reason-btn"><input type="radio" name="type" value="5"><span>恶意灌水</span></label> </li> <li> <label class="reason-btn"><input type="radio" name="type" value="6"><span>回答内容与提问无关</span> </label> </li> <li> <label class="copy-ans-btn"><input type="radio" name="type" value="7"><span>抄袭答案</span></label> </li> <li> <label class="reason-btn"><input type="radio" name="type" value="8"><span>其他</span></label> </li> </ul> </div> </div> <div class="group group-3"> <h4>检举说明(必填)</h4> <div class="textarea"> <ul class="anslist" style="display:none;line-height:20px;overflow:auto;height:171px;"> </ul> <textarea name="content" maxlength="200" placeholder="请输入描述200个字以内"> </textarea> </div> </div> <div class="mar-t-1"> <button type="submit" id="btninform" class="btn btn-success">提交</button> <button type="button" class="btn btn-default mar-ly-1" data-dismiss="modal">关闭</button> </div> </form> </div> </div> </div> </div> <!-- 微信分享 --> <div class="modal share-wechat animated" style="display: none;"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" data-dismiss="modal" class="close">×</button></div> <div class="modal-body"><h5>打开微信“扫一扫”,打开网页后点击屏幕右上角分享按钮</h5> <div data-url="https://www.randengseo.com/ask-1272.html" class="qrcode" title="https://www.randengseo.com/ask-1272.html"><canvas width="170" height="170" style="display: none;"></canvas> <div id="qr_wxcode"> </div></div></div> <div class="modal-footer"></div></div></div></div> <!-- 设置付费金额 --> <div class="modal pay-money animated" style="display: none;"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" data-dismiss="modal" class="close">×</button> </div> <div class="modal-body"> <h5>付费偷看金额在0.1-10元之间</h5> <div class="mar-t-1"> <input type="number" value="0" id="chakanjine" class="form-control" /> </div> <button id="comfirm_pay" class="btn btn-success mar-t-1">确定</button> </div> <div class="modal-footer"> </div> </div> </div> </div> <!-- 邀请回答 --> <div class="modal fade" id="dialog_invate" > <div class="modal-dialog" style="width:700px;top:-30px;"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button> <h4 class="modal-title"></h4> <div class="m_invateinfo"> <span class="m_i_text""> 您已邀请<span class="m_i_persionnum">15</span>人回答</span> <span data-toggle="popover" data-tip-class="popover-info" data-html="ture" data-placement="bottom" data-content="" title="我的邀请列表" class="m_i_view">查看邀请</span> <div class="m_i_warrper"> <input data-qid="1272" type="text" id="m_i_searchusertxt" class="m_i_search" placeholder="搜索你想邀请的人"> <i class="fa fa-search"></i> </div> </div> </div> <div class="modal-body" > <!-- 邀请回答 --> <ul class="trigger-menu m_invate_tab" data-pjax-container="#list-container"> <li class="active" data-qid="1272" data-item="1"><a href="javascript:">擅长该话题的人</a></li> <li class="" data-qid="1272" data-item="2"><a href="javascript:"> 回答过该话题的人</a></li> <li class="" data-qid="1272" data-item="3"><a href="javascript:">我关注的人</a></li> </ul> <!-- 邀请回答列表 --> <div class="m_invatelist"> </div> </div> </div> </div> <link rel="stylesheet" type="text/css" href="https://www.randengseo.com/static/js/neweditor/code/styles/tomorrow-night-eighties.css"> <script src="https://www.randengseo.com/static/js/neweditor/code/highlight.pack.js" type="text/javascript"></script> <script>hljs.initHighlightingOnLoad();</script> <script src="https://www.randengseo.com/static/js/jquery.lazyload.min.js" type="text/javascript"></script> <script> $("img.lazy").lazyload({effect: "fadeIn" }); </script> <div class="side-tool" id="to_top"> <ul> <li data-placement="left" data-toggle="tooltip" data-container="body" data-original-title="回到顶部" > <a href="#" class="function-button"><i class="fa fa-angle-up"></i></a> </li> </ul> </div> <script> window.onload = function(){ $(".edui-upload-video").attr("preload",""); var oTop = document.getElementById("to_top"); var screenw = document.documentElement.clientWidth || document.body.clientWidth; var screenh = document.documentElement.clientHeight || document.body.clientHeight; window.onscroll = function(){ var scrolltop = document.documentElement.scrollTop || document.body.scrollTop; if(scrolltop<=screenh){ oTop.style.display="none"; }else{ oTop.style.display="block"; } if(scrolltop>30){ $(".scrollshow").show(); }else{ $(".scrollshow").hide(); } } oTop.onclick = function(){ document.documentElement.scrollTop = document.body.scrollTop =0; } } </script> <!--新底部--><!-- footer --> <div class="footer"> <div class="auto clearfix"> <div class="footer-floor1"> <div class="footer-list"> <ul> <li class="flist-title">关于我们</li> <li class="flist-title2">燃灯学习 照亮未来!</li> <li class="info">湖南燃灯教育SEO搜索学院,是一群拥有11年SEO搜索引擎行业背景的导师组成</li> <li class="info">SEO技术研发始于2009-2019,导师均为行业知名大咖,带过的学生超4万多名。</li> <li class="info"></li> </ul> <div class="clear-float"></div> </div> <div class="footer-right"> <div class="telephone" title="联系我们"> <div class="tel-number">联系我们</div> </div> <div class="official-plat"> <p class="weixin"><img src="/data/attach/logo/wxlogo.jpg"/>官方微信号</p> <p class="weixin2"><img src="/course/static/images/weixinkefu.jpg"/>解答老师微信</p> <ul> <!--<li><a ><span class="weixin-logo"></span>燃灯教育官方微信</a></li>--> <li title="点击打开官方微博"><a href="https://weibo.com/u/7318027738" target="_blank" rel="nofollow"><span class="weibo-logo"></span>燃灯教育官方微博</a></li> <li title="点击打开官方客服"><a href="https://dwz.cn/I5HnjekT" target="_blank" rel="nofollow"><span class="qq-logo"></span>燃灯教育官方客服</a></li> </ul> </div> </div> <div class="clear-float"></div> </div> </div> </div> <div class="footer-floor2"> <p> Copyright © 2009-2019 湖南燃灯教育科技有限公司 版权所有 <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">湘ICP备19023095号-1</a> <a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=43011102001830" target="_blank" rel="nofollow"><img src="https://www.randengseo.com/gongan.png" />湘公网安备 43011102001830号</a> <a href="https://www.randengseo.com/rss/clist.xml" target="_blank">问答XML地图</a> <a href="https://www.randengseo.com/rss/articlelist.xml" target="_blank">文章xml地图</a> </p> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?2f4ab10eb3112b80d46b4e0223d5bbee"; 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> <!--360自动--> <script> (function(){ var src = "https://jspassport.ssl.qhimg.com/11.0.1.js?d182b3f28525f2db83acfaaf6e696dba"; document.write('<script src="' + src + '" id="sozz"><\/script>'); })(); </script> <a href="https://webscan.qianxin.com/safe/detail/?query=www.randengseo.com" rel="nofollow" target="_blank"><img border="0" src="https://webscan.qianxin.com/api/authcode?code=b34eeb61db41aeac8b4123f3eb60db8e"/></a></div> <!-- footer end --> </div> </body> </html> <script> $(".btnshowall").click(function(){ $(".shortquestioncontent").toggle(); $(".hidequestioncontent").toggle(); }); //根据分类读取改分类下有回答的人 function showeditor(){ $(".canwirteanswer").slideDown(); scrollTo(0,$('#showanswerform').offset().top-200); $(".noreplaytext").hide(); } $("#normal-comment-list .answercontent").each(function(){ if($(this).height()>150){ $(this).parent().find(".readmore").show(); }else{ $(this).parent().find(".readmore").hide(); } }); var needcode=0; var g_id = 6; var qid = 1272; function listertext(){ var _content=$("#anscontent").val(); if(_content.length>0&&g_id!=1){ $(".code_hint").show(); }else{ $(".code_hint").hide(); } } var mobile_localyuyin=0; // var userAgent = window.navigator.userAgent.toLowerCase(); // $.browser.msie8 = $.browser.msie && /msie 8\.0/i.test(userAgent); // if($.browser.msie8==true){ // var mobile_localyuyin=0; // } var targetplay=null; function checktagsubmit(){ if(gettagsnum()<=0){ alert("请设置标签"); return false; } if(gettagsnum()>5){ alert("最多添加5个标签"); return false; } var _tagstr=gettaglist(); $("#qtags").val(_tagstr); } $(".txt_taginput").on(" input propertychange",function(){ var _txtval=$(this).val(); if(_txtval.length>1){ //检索标签信息 var _data={tagname:_txtval}; var _url="https://www.randengseo.com/tags/ajaxsearch.html"; function success(result){ console.log(result) if(result.code==200){ console.log(_txtval) $(".tagsearch").html(""); for(var i=0;i<result.taglist.length;i++){ var _msg=result.taglist[i].tagname $(".tagsearch").append('<div class="tagitem" tagid="'+result.taglist[i].id+'">'+_msg+'</div>'); } $(".tagsearch").show(); $(".tagsearch .tagitem").click(function(){ var _tagname=$.trim($(this).html()); var _tagid=$.trim($(this).attr("tagid")); if(gettagsnum()>=5){ alert("标签最多添加5个"); return false; } if(checktag(_tagname)){ alert("标签已存在"); return false; } $(".dongtai .tags").append('<div class="tag"><span tagid="'+_tagid+'">'+_tagname+"</span><i class='fa fa-close'></i></div>"); $(".dongtai .tags .tag .fa-close").click(function(){ $(this).parent().remove(); }); $(".tagsearch").html(""); $(".tagsearch").hide(); $(".txt_taginput").val(""); }); } } ajaxpost(_url,_data,success); }else{ $(".tagsearch").html(""); $(".tagsearch").hide(); } }) function checktag(_tagname){ var tagrepeat=false; $(".dongtai .tags .tag span").each(function(index,item){ var _tagnametmp=$.trim($(this).html()); if(_tagnametmp==_tagname){ tagrepeat=true; } }) return tagrepeat; } function gettaglist(){ var taglist=''; $(".dongtai .tags .tag span").each(function(index,item){ var _tagnametmp=$.trim($(this).attr("tagid")); taglist=taglist+_tagnametmp+","; }) taglist=taglist.substring(0,taglist.length-1); return taglist; } function gettagsnum(){ return $(".dongtai .tags .tag").length; } $(".tagsearch .tagitem").click(function(){ var _tagname=$.trim($(this).html()); if(gettagsnum()>=5){ alert("标签最多添加5个"); return false; } if(checktag(_tagname)){ alert("标签已存在"); return false; } $(".dongtai .tags").append('<div class="tag"><span>'+_tagname+"</span><i class='fa fa-close'></i></div>"); $(".dongtai .tags .tag .fa-close").click(function(){ $(this).parent().remove(); }); $(".tagsearch").html(""); $(".tagsearch").hide(); $(".txt_taginput").val(""); }); $(".dongtai .tags .tag .fa-close").click(function(){ $(this).parent().remove(); }); $(".yuyinplay").click(function(){ targetplay=$(this); var _serverid=targetplay.attr("id"); if(_serverid == '') { alert('语音文件丢失'); return; } $(".wtip").html("免费偷听"); targetplay.find(".wtip").html("播放中.."); if(mobile_localyuyin==1){ $(".htmlview").removeClass("hide"); $(".ieview").addClass("hide"); var myAudio =targetplay.find("#voiceaudio")[0]; // myAudio.pause(); //myAudio.play(); if(myAudio.paused){ targetplay.find(".wtip").html("播放中.."); myAudio.play(); }else{ targetplay.find(".wtip").html("暂停.."); myAudio.pause(); } function endfun(){ targetplay.find(".wtip").html("播放结束");alert("播放结束!")} var is_playFinish = setInterval(function(){ if( myAudio.ended){ endfun(); window.clearInterval(is_playFinish); } }, 10); }else{ $(".ieview").removeClass("hide"); $(".htmlview").addClass("hide"); } }) function deleteanswer(current_aid){ window.location.href=g_site_url + "index.php" + query + "question/deleteanswer/"+current_aid+"/1272"; } function adoptanswer(aid) { $("#adopt_answer").val(aid); $('#dialogadopt').modal('show'); } //编辑标签 function edittag() { $('#dialog_tag').modal('show'); } if(typeof($(".show-content").find("img").attr("data-original"))!="undefined"){ var imgurl=$(".show-content").find("img").attr("data-original"); $(".show-content").find("img").attr("src",imgurl); } $(".show-content,.answercontent").find("img").attr("data-toggle","lightbox").attr("data-lightbox-group",Date.parse( new Date() ).toString()); var category1 = [["10","SEO优化"],["11","网站域名"],["12","空间服务器"],["13","网站搭建"],["14","搜索引擎优化"],["48","网络推广"]]; var category2 = [["48","166","抖音推广"],["48","167","快手推广"],["48","168","小红书推广"],["10","52","网站关键词排名"],["10","53","网站降权"],["10","54","网站收录"],["10","55","关键词挖掘"],["10","56","百度快照"],["10","57","死链检查"],["10","58","外链"],["10","60","robots"],["13","61","织梦dedecms"],["13","62","wordpress"],["13","71","网站伪静态"],["14","40","百度搜索"],["48","160","微信营销"]]; var category3 = [["160","165","抖音"]]; var selectedcid = "10,0,0"; //修改分类 function change_category() { var category1 = $("#category1 option:selected").val(); var category2 = $("#category2 option:selected").val(); var category3 = $("#category3 option:selected").val(); if (category1 > 0) { $("#categoryid").val(category1); } if (category2 > 0) { $("#categoryid").val(category2); } if (category3 > 0) { $("#categoryid").val(category3); } $("#catedialog").model("hide"); $("form[name='editcategoryForm']").submit(); } //投诉 function openinform(qid ,qtitle,aid) { $("#myqid").val(qid); $("#myqtitle").val(qtitle); $("#myaid").val(aid); $('#dialog_inform').modal('show'); } $(".showcommentid").each(function(){ var dataid=$(this).attr("data-id"); show_comment(dataid); }); function show_comment(answerid) { if ($("#comment_" + answerid).css("display") === "none") { load_comment(answerid); $("#comment_" + answerid).slideDown(); } else { $("#comment_" + answerid).slideUp(); } } //添加评论 function addcomment(answerid) { var content = $("#comment_" + answerid + " input[name='content']").val(); var replyauthor = $("#comment_" + answerid + " input[name='replyauthor']").val(); if (g_uid == 0){ login(); return false; } if (bytes($.trim(content)) < 5){ alert("评论内容不能少于5字"); return false; } $.ajax({ type: "POST", url: "https://www.randengseo.com/answer/addcomment.html", data: "content=" + content + "&answerid=" + answerid+"&replyauthor="+replyauthor, success: function(status) { if (status == '1') { $("#comment_" + answerid + " input[name='content']").val(""); load_comment(answerid); }else{ if(status == '-2'){ alert("问题已经关闭,无法评论"); } } } }); } //删除评论 function deletecomment(commentid, answerid) { if (!confirm("确认删除该评论?")) { return false; } $.ajax({ type: "POST", url: "https://www.randengseo.com/answer/deletecomment.html", data: "commentid=" + commentid + "&answerid=" + answerid, success: function(status) { if (status == '1') { load_comment(answerid); }else{ alert(status); } } }); } //加载评论 function load_comment(answerid){ $.ajax({ type: "GET", cache:false, url: "https://www.randengseo.com/index.php?answer/ajaxviewcomment/" + answerid, success: function(comments) { $("#comment_" + answerid + " .my-comments-list").html(comments); } }); } function replycomment(commentauthorid,answerid){ var comment_author = $("#comment_author_"+commentauthorid).attr("title"); $("#comment_"+answerid+" .comment-input").focus(); $("#comment_"+answerid+" .comment-input").val("回复 "+comment_author+" :"); $("#comment_" + answerid + " input[name='replyauthor']").val(commentauthorid); } $(function(){ initcategory(category1); fillcategory(category2, $("#category1 option:selected").val(), "category2"); fillcategory(category3, $("#category2 option:selected").val(), "category3"); var qrurl="https://www.randengseo.com/ask-1272.html"; //微信二维码生成 $('#qr_wxcode').qrcode(qrurl); //显示微信二维码 $(".share-weixin").click(function(){ $(".share-wechat").show(); }); //关闭微信二维码 $(".close").click(function(){ $(".share-wechat").hide(); $(".pay-money").hide(); }); $(".button_agree").click(function(){ var supportobj = $(this); var answerid = $(this).attr("id"); $.ajax({ type: "GET", url:"https://www.randengseo.com/index.php?answer/ajaxhassupport/" + answerid, cache: false, success: function(hassupport){ if (hassupport != '1'){ $.ajax({ type: "GET", cache:false, url: "https://www.randengseo.com/index.php?answer/ajaxaddsupport/" + answerid, success: function(comments) { supportobj.find("span").html(comments+"人赞"); } }); }else{ alert("您已经赞过"); } } }); }); }) </script> <link rel="stylesheet" type="text/css" href="https://www.randengseo.com/static/js/neweditor/code/styles/tomorrow-night-eighties.css"> <script src="https://www.randengseo.com/static/js/neweditor/code/highlight.pack.js" type="text/javascript"></script> <script>hljs.initHighlightingOnLoad();</script> <script src="https://www.randengseo.com/static/js/jquery.lazyload.min.js" type="text/javascript"></script> <script> $("img.lazy").lazyload({effect: "fadeIn" }); </script> <div class="side-tool" id="to_top"> <ul> <li data-placement="left" data-toggle="tooltip" data-container="body" data-original-title="回到顶部" > <a href="#" class="function-button"><i class="fa fa-angle-up"></i></a> </li> </ul> </div> <script> window.onload = function(){ $(".edui-upload-video").attr("preload",""); var oTop = document.getElementById("to_top"); var screenw = document.documentElement.clientWidth || document.body.clientWidth; var screenh = document.documentElement.clientHeight || document.body.clientHeight; window.onscroll = function(){ var scrolltop = document.documentElement.scrollTop || document.body.scrollTop; if(scrolltop<=screenh){ oTop.style.display="none"; }else{ oTop.style.display="block"; } if(scrolltop>30){ $(".scrollshow").show(); }else{ $(".scrollshow").hide(); } } oTop.onclick = function(){ document.documentElement.scrollTop = document.body.scrollTop =0; } } </script> <!--新底部--><!-- footer --> <div class="footer"> <div class="auto clearfix"> <div class="footer-floor1"> <div class="footer-list"> <ul> <li class="flist-title">关于我们</li> <li class="flist-title2">燃灯学习 照亮未来!</li> <li class="info">湖南燃灯教育SEO搜索学院,是一群拥有11年SEO搜索引擎行业背景的导师组成</li> <li class="info">SEO技术研发始于2009-2019,导师均为行业知名大咖,带过的学生超4万多名。</li> <li class="info"></li> </ul> <div class="clear-float"></div> </div> <div class="footer-right"> <div class="telephone" title="联系我们"> <div class="tel-number">联系我们</div> </div> <div class="official-plat"> <p class="weixin"><img src="/data/attach/logo/wxlogo.jpg"/>官方微信号</p> <p class="weixin2"><img src="/course/static/images/weixinkefu.jpg"/>解答老师微信</p> <ul> <!--<li><a ><span class="weixin-logo"></span>燃灯教育官方微信</a></li>--> <li title="点击打开官方微博"><a href="https://weibo.com/u/7318027738" target="_blank" rel="nofollow"><span class="weibo-logo"></span>燃灯教育官方微博</a></li> <li title="点击打开官方客服"><a href="https://dwz.cn/I5HnjekT" target="_blank" rel="nofollow"><span class="qq-logo"></span>燃灯教育官方客服</a></li> </ul> </div> </div> <div class="clear-float"></div> </div> </div> </div> <div class="footer-floor2"> <p> Copyright © 2009-2019 湖南燃灯教育科技有限公司 版权所有 <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">湘ICP备19023095号-1</a> <a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=43011102001830" target="_blank" rel="nofollow"><img src="https://www.randengseo.com/gongan.png" />湘公网安备 43011102001830号</a> <a href="https://www.randengseo.com/rss/clist.xml" target="_blank">问答XML地图</a> <a href="https://www.randengseo.com/rss/articlelist.xml" target="_blank">文章xml地图</a> </p> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?2f4ab10eb3112b80d46b4e0223d5bbee"; 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> <!--360自动--> <script> (function(){ var src = "https://jspassport.ssl.qhimg.com/11.0.1.js?d182b3f28525f2db83acfaaf6e696dba"; document.write('<script src="' + src + '" id="sozz"><\/script>'); })(); </script> <a href="https://webscan.qianxin.com/safe/detail/?query=www.randengseo.com" rel="nofollow" target="_blank"><img border="0" src="https://webscan.qianxin.com/api/authcode?code=b34eeb61db41aeac8b4123f3eb60db8e"/></a></div> <!-- footer end --> </div> </body> </html>