网络推广入门知识之META标签

阅读量:10225

什么是META标签

通常所说的META标签,是在HTML网页源代码中一个重要的html标签。META标签用来描述一个HTML网页文档的属性,例如作者、日期和时间、网页描述、关键词、页面刷新等。

META标签的作用

META标签是HTML标记HEAD区的一个关键标签,它位于HTML文档的和之间(有些也不是在<head>和<title>之间)。它提供的信息虽然用户不可见,但却是文档的最基本的元信息。<<a href="http://www.yidianzixun.com/channel/w/meta" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">meta</a>>除了提供文档字符集、使用语言、作者等基本信息外,还涉及对关键词和网页等级的设定。 </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> 所以有关搜索引擎注册、<a href="http://www.yidianzixun.com/channel/w/%E6%90%9C%E7%B4%A2%E5%BC%95%E6%93%8E%E4%BC%98%E5%8C%96" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">搜索引擎优化</a>排名等<a href="http://www.yidianzixun.com/channel/w/%E7%BD%91%E7%BB%9C%E8%90%A5%E9%94%80" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">网络营销</a>方法内容中,通常都要谈论META标签的作用,我们甚至可以说,META标签的内容设计对于<a href="http://www.yidianzixun.com/channel/w/%E6%90%9C%E7%B4%A2%E5%BC%95%E6%93%8E%E8%90%A5%E9%94%80" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">搜索引擎营销</a>来说是至关重要的一个因素,合理利用 Meta标签的<a href="http://www.yidianzixun.com/channel/w/description" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">Description</a>和<a href="http://www.yidianzixun.com/channel/w/keywords" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">Keywords</a>属性,加入网站的关键字或者网页的关键字,可使网站更加贴近用户体验。 </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> 从<a href="http://www.yidianzixun.com/channel/w/html%E4%BB%A3%E7%A0%81" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">HTML代码</a>实例中可以看到,一段代码中有3个含有meta的地方,并且meta并不是独立存在的,而是要在后面连接其他的属性,如description、<a href="http://www.yidianzixun.com/channel/w/keywords" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">Keywords</a>、http-equiv等。下面简单介绍一些<a href="http://www.yidianzixun.com/channel/w/%E6%90%9C%E7%B4%A2%E5%BC%95%E6%93%8E%E8%90%A5%E9%94%80" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">搜索引擎营销</a>中常见的META标签的组成及其作用。 </p> <h2 style="margin:0px 0px 17px;padding:0px 0px 0px 7px;font-size:17px;color:#222222;line-height:18px;border-left:9px solid #00AEEF;font-family:PingFangSC-Regular, "text-align:justify;white-space:normal;background-color:#FFFFFF;"> META标签的组成 </h2> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> <a href="http://www.yidianzixun.com/channel/w/meta%E6%A0%87%E7%AD%BE" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">META标签</a>可分为两大部分:HTTP-EQUIV和NAME变量。 </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> <strong style="margin:0px;padding:0px;">HTTP</strong><strong style="margin:0px;padding:0px;">实例</strong> </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> HTML代码实例中有一项内容是 </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> <meta http-equiv="Content-Type" content="<a href="http://www.yidianzixun.com/channel/w/text" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">text</a>/html; charset=gb2312"> </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> 其作用是指定了当前文档所使用的<span style="margin:0px;padding:0px;">字符编码</span>为gb2312,也就是中文简体字符。根据这一行代码,浏览器就可以识别出这个网页应该用中文简体字符显示。类似地,如果将"gb2312"换为"big5",就是我们熟知的中文繁体字符了。 </p> <div type="image" options="src:http://si1.go2yd.com/get-image/0Ur8oXCCcWe;format:JPEG;title:" style="margin:20px 0px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> <span id="article-img-1" class="a-image" style="margin:0px;padding:0px;"><img src="http://i1.go2yd.com/image.php?url=0LN6tZLGBC" style="margin:0px auto 20px;padding:0px;vertical-align:middle;border-width:initial;border-style:none;max-width:100%;display:block;background:url("" /></span> <div class="image-caption" style="margin:20px 0px;padding:0px !important;width:650px;color:#888888;text-align:center;font-size:13px;text-indent:2em;line-height:1.8;"> </div> </div> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> <strong style="margin:0px;padding:0px;">HTTP</strong><strong style="margin:0px;padding:0px;">使用方法</strong> </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> 1、<meta http-equiv="Content-Type" content="<a href="http://www.yidianzixun.com/channel/w/text" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">text</a>/<a href="http://www.yidianzixun.com/channel/w/html" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">html</a>;charset=gb_2312-80">和<meta http-equiv="Content-Language" content="zh-CN">用以说明主页制作所使用的文字以及语言;又如英文是ISO-8859-1字符集,还有BIG5、utf-8、shift-Jis、Euc、Koi8-2等<span style="margin:0px;padding:0px;">字符集</span>; </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> 2、<meta http-equiv="<a href="http://www.yidianzixun.com/channel/w/refresh" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">Refresh</a>" content="n;url=http://yourlink">定时让网页在指定的时间n内,跳转到你的页面; </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> 3、<meta http-equiv="Expires" content="Mon,12 May 2001 00:20:00 GMT">可以用于设定网页的到期时间,一旦过期则必须到<a href="http://www.yidianzixun.com/channel/w/%E6%9C%8D%E5%8A%A1%E5%99%A8" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">服务器</a>上重新调用。需要注意的是必须使用GMT时间格式; </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> 4、<meta http-equiv="Pragma" content="no-cache">是用于设定禁止浏览器从本地机的缓存中调阅页面内容,设定后一旦离开网页就无法从Cache中再调出; </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> 5、<meta http-equiv="set-<a href="http://www.yidianzixun.com/channel/w/cookie" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">cookie</a>" content="Mon,12 May 2001 00:20:00 GMT">cookie设定,如果网页过期,存盘的<a href="http://www.yidianzixun.com/channel/w/cookie" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">cookie</a>将被删除。需要注意的也是必须使用GMT时间格式; </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> 6、<meta http-equiv="Pics-label" content="">网页等级评定,在<a href="http://www.yidianzixun.com/channel/w/ie" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">IE</a>的internet选项中有一项内容设置,可以防止浏览一些受限制的网站,而网站的限制级别就是通过meta属性来设置的; </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> 7、<meta http-equiv="windows-Target" content="_top">强制页面在当前窗口中以独立页面显示,可以防止自己的网页被别人当作一个<a href="http://www.yidianzixun.com/channel/w/frame" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">frame</a>页调用; </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> 8、<meta http-equiv="Page-Enter" content="<a href="http://www.yidianzixun.com/channel/w/revealtrans" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">revealTrans</a>(<a href="http://www.yidianzixun.com/channel/w/duration" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">duration</a>=10,<a href="http://www.yidianzixun.com/channel/w/transition" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">transition</a>= 50)">和<meta http-equiv="Page-Exit" content="<a href="http://www.yidianzixun.com/channel/w/revealtrans" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">revealTrans</a>(<a href="http://www.yidianzixun.com/channel/w/duration" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">duration</a>=20,<a href="http://www.yidianzixun.com/channel/w/transition" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">transition</a>=6)">设定进入和离开页面时的特殊效果,这个功能即FrontPage中的"格式/网页过渡",不过所加的页面不能够是一个<a href="http://www.yidianzixun.com/channel/w/frame" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">frame</a>页面。 </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> HTTP-EQUIV用于向浏览器提供一些说明信息,从而可以根据这些说明做出反应。HTTP-EQUIV其实并不仅仅只有说明网页的<span style="margin:0px;padding:0px;">字符编码</span>这一个作用,常用的HTTP-EQUIV类型还包括:网页到期时间、默认的<span style="margin:0px;padding:0px;">脚本语言</span>、默认的风格页语言、网页自动刷新时间等。 </p> <div type="image" options="src:http://si1.go2yd.com/get-image/0Ur8lpR3ZAG;format:JPEG;title:" style="margin:20px 0px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> <span id="article-img-2" class="a-image" style="margin:0px;padding:0px;"><img src="http://i1.go2yd.com/image.php?url=0LN6tZGFeo" style="margin:0px auto 20px;padding:0px;vertical-align:middle;border-width:initial;border-style:none;max-width:100%;display:block;background:url("" /></span> <div class="image-caption" style="margin:20px 0px;padding:0px !important;width:650px;color:#888888;text-align:center;font-size:13px;text-indent:2em;line-height:1.8;"> </div> </div> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> <strong style="margin:0px;padding:0px;">description</strong> </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> <a href="http://www.yidianzixun.com/channel/w/html%E4%BB%A3%E7%A0%81" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">HTML代码</a>实例中有关"description"的代码为: </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> <<a href="http://www.yidianzixun.com/channel/w/meta" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">meta</a> name="description" content="网络营销教学网站提供《<span style="margin:0px;padding:0px;">网络营销基础与实践</span>》教学支持:网络营销课件,<span style="margin:0px;padding:0px;">网络营销论文</span>,网络营销实验教学,电子商务论文,<a href="http://www.yidianzixun.com/channel/w/%E7%BD%91%E7%BB%9C%E8%90%A5%E9%94%80" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">网络营销</a>与电子商务书籍等"> </p> <p style="margin-top:20px;margin-bottom:20px;padding:0px;text-indent:32px;line-height:1.8;color:#1D1D1D;font-family:PingFangSC-Regular, "font-size:16px;text-align:justify;white-space:normal;background-color:#FFFFFF;"> "description"中的content="网页描述",是对一个网页概况的介绍,这些信息可能会在搜索结果中出现,因此需要根据网页的实际情况来设计,尽量避免与网页内容不相关的"描述",另外,最好对每个网页有自己相应的描述(至少是同一个栏目的网页有相应的描述),而不是整个网站都采用同样的描述内容,因为一个网站有多个网页,每个网页的内容肯定是不同的,如果采用同样的<a href="http://www.yidianzixun.com/channel/w/description" style="margin:0px;padding:0px;color:#129AEE;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:24px;-webkit-font-smoothing:antialiased;border:none;transition:all 0.3s;text-decoration-line:none;outline:none;">description</a>,显然会有一些网页内容没有直接关系,这样不仅不利于搜索引擎对网页的排名,也不利于用户根据搜索结果中的信息来判断是否点击进入网站获取进一步的信息。 </p> </div> </div> </div> <div class="grid_6 foss_right_pt30" style="width:320px;"> <div class="mb8 oh btm" style="font-weight:normal;font-size:12px;font-family:微软雅黑;line-height:24px; margin-left: 5px;margin-top: 15px;padding-bottom:10px;"> <div class="mb8 oh" id="tuiguangimg" style="position: relative;"> <span class="foss_bq"><i class="fa fa-tag"></i> 热门标签</span> <div class="clear"></div> </div> </div> <div class="content_right_title clear"> <h2 class="left">文章热搜<span class="tltle_span"></span></h2> </div> <div class="set_top clear"> <ul> <li> <i style="background: #FC1414">1</i> <a href="/news/explain/id/103.html">搜索引擎优化指南教程</a> </li> <li> <i style="background: #FC6014">2</i> <a href="/news/explain/id/10.html">如何操作“百度霸屏”才能对产品推广有效果</a> </li> <li> <i style="background: #FC9F14">3</i> <a href="/news/explain/id/713.html">魅族的求生欲</a> </li> <li> <i style="background: #FC9F14">4</i> <a href="/news/explain/id/715.html">很多公司为啥要借壳上市,而不是直接上市?</a> </li> <li> <i style="background: #FC9F14">5</i> <a href="/news/explain/id/731.html">成也营销败也营销 六个核桃等植物蛋白饮料企业该往哪走</a> </li> <li> <i style="background: #FC9F14">6</i> <a href="/news/explain/id/741.html">名创优品不为人知的另一面,校园贷、暴力催收&hellip;&hellip;</a> </li> <li> <i style="background: #FC9F14">7</i> <a href="/news/explain/id/722.html">他是纽交所历史上最年轻CEO,如今跌下神坛,公司市值蒸发352亿元</a> </li> <li> <i style="background: #FC9F14">8</i> <a href="/news/explain/id/723.html">顺丰“危机”时分:净利快被中通追上,NO.1交椅不保?</a> </li> <li> <i style="background: #FC9F14">9</i> <a href="/news/explain/id/726.html">在非洲,9.9 美元的国产机,才是他们的“iPhone”</a> </li> <li> <i style="background: #FC9F14">10</i> <a href="/news/explain/id/297.html">网站活跃度是什么意思</a> </li> <li> <a href="/news/explain" style="float: right;">更多</a><div style="clear: both"></div> </li> </ul> </div> </div> </div> <link rel="stylesheet" href="/assets/css/front_pc/bottom.css?v=1.0.1"> <style type="text/css"> .myFooter { font-size: 12px; color: #fff; text-align: center; float: left; width: 100%; background: url("//img.333.sc.cn/myFooter.png") no-repeat; background-size: cover; } .myFooter a:hover { color: #ff7900; } .myFooterul1 { display: flex; margin: 10px 0; } .myFooterul1 > li { border-right: 1px solid #363b44; padding: 0 15px; } .myFooterul2 { display: flex; flex-wrap: wrap; width: 800px; } .myFooterul2 > li { padding-right: 20px; margin-bottom: 10px; } </style> <div class="myFooter"> <div class="top"> <div> <ul class="myFooterul1"> <li> <a href="/"> 首页</a> </li> <li> <a href="/nav/34"> 效果营销 </a> </li> <li> <a href="/nav/55"> 头条抖音 </a> </li> <li> <a href="/nav/3"> 竞价开户 </a> </li> <li> <a href="/nav/54"> 竞价托管 </a> </li> <li> <a href="/nav/4"> 优化推广 </a> </li> <li> <a href="/nav/14"> 下拉推广 </a> </li> <li> <a href="/nav/7"> 加盟共赢 </a> </li> <li> <a href="/news/list.html"> 新闻动态</a> </li> <li> <a href="/article/list.html"> 公告&FAQ</a> </li> <li> <a href="/nav/56"> 关于平台 </a> </li> </ul> <span class="fontff6900">官方客服 400-666-3155</span> </div> </div> <div class="bottom"> <div>友情链接</div> <div> <ul class="myFooterul2"> <li><a href="http://wanghi.cn" target="_blank">王海SEO</a></li> <li><a href="http://www.iwanshang.cn" target="_blank">企业网站建设</a></li> <li><a href="http://www.hdmfzz.com" target="_blank">种植头发多少钱</a></li> <li><a href="http://www.cddaqi.com" target="_blank">成都快印</a></li> <li><a href="http://www.zhuanyeseo.com" target="_blank">深圳SEO</a></li> <li><a href="https://www.baodaren.net/" target="_blank">包大人</a></li> </ul> </div> <div> © 2019 dxm.so 《中华人民共和国增值电信业务经营许可证》编号:川B2-20170249号 ICP证:蜀ICP备14008752号 </div> <div> <a href="http://www.beian.miit.gov.cn" target="_blank"> <img style="width: 150px;height: 40px;" src="db4ce069f12f65303ca1bcb017176005.png"></a> <a href="http://credit.chengdu.gov.cn/www/index.html#/m///cinfo/538381659/1/1/Z201901311877230794/510100000257290/%E5%9B%9B%E5%B7%9D%E5%88%9B%E9%94%90%E7%A7%91%E6%8A%80%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8////" target="_blank"> <img style="width: 150px;height: 40px;" src="4eb79b6100120ca3a07d5a14ddd0456b.jpeg"></a> <a href="https://www.creditchina.gov.cn" target="_blank"> <img style="width: 150px;height: 40px;" src="c8211bb5efc5b0af52a9e22bf88cc67b.png"></a> <a href="https://tsm.miit.gov.cn/FineReport/base/publicField/%E5%B7%9DB2-20170249" target="_blank"> <img style="width: 150px;height: 40px;" src="aefdeecf03ca2c3a8602dab99cb9417c.jpg"></a> <a href="http://www.tfse.com.cn" target="_blank"> <img style="width: 150px;height: 40px;" src="3d04e07a4e5b0d941c24ff855f9cc1bc.png"></a> </div> </div> </div> <script> $(function () { $("#login").click(function () { var data = $("#log").find("input").serialize(); $.ajax({ url: "/api/user/login.html", data: data, type: 'POST', success: function (info) { if (info.code == 1) { layer.msg("登陆成功!", {time: 2000}, function () { $.cookie('token', info.data.userinfo.token, {path: '/'}); window.localStorage.setItem('token', info.data.userinfo.token); window.location.href = ""; }); } else { layer.msg("登陆失败"); } }, error: function () { layer.msg("服务器正在维护中"); } }); }); $("#loginout").click(function () { window.localStorage.removeItem('token'); $.removeCookie('token', {path: '/'}); window.location.href = '/'; }); //图片验证 $("#images").click(function () { createCaptcha("#images", "input[name='captcha']"); }); function createCaptcha(image, input) { $.ajax({ url: "/api/captcha/create_captcha", data: {width: 90, height: 32}, type: 'post', success: function (data) { $(image).attr('src', data.data.content); $(input).attr('value', data.data.id); } }); } function setText(textObj, seconds, text) { if (seconds > 1) { seconds--; textObj.text(seconds + "s").attr("disabled", true);//禁用按钮 setTimeout(function () { setText(textObj, seconds, text); }, 1000); } else { textObj.text(text).attr("disabled", false);//启用按钮 } } createCaptcha("#images", "input[name='captcha']"); $("#submit").click(function () { $.ajax({ url: "/api/captcha/check_captcha", data: $("form").serialize(), type: 'post', success: function (data) { console.log(data); } }); }); $("#seed3").click(function () { var data = {"captcha": $("input[name='captcha']").val(), "code": $("input[name='code']").val()}; $.ajax({ url: "/api/captcha/check_captcha", data: data, type: 'post', success: function (data) { if (!data.data) { layer.msg('验证码错误'); return false; } var mobile = $("input[name='mobile']").val(); var captcha = $("input[name='captcha']").val(); var code = $("input[name='code']").val(); if (sendMsg(mobile, captcha, code)) { setText($("#seed3"), 60, '立即获取'); } } }); }); function sendMsg(mobile, captcha, code, event) { event = event ? event : 'register'; var data = {"mobile": mobile, "captcha": captcha, "code": code, "event": event}; var info; $.ajax({ url: "/api/sms/send", data: data, type: 'post', async: false, success: function (data) { info = data; } }); if (info.code == 1) { layer.msg('发送成功'); return true; } else { layer.msg(info.msg); return false; } } $(".registerBtn").click(function () { var data = $("#reg input").serialize(); $.ajax({ url: "/api/user/register", data: data, type: 'post', success: function (info) { if (!info.data) { layer.msg('注册失败'); return false; } layer.msg('注册成功', {time: 2000}, function () { $.cookie('token', info.data.userinfo.token); window.localStorage.setItem('token', info.data.userinfo.token); window.location.href = ""; }) } }); }); //需求规划 // start $(".tuijianchanpin li").click(function () { $(".tuijianchanpin li").each(function (i) { $(this).removeClass('active') }); $(this).addClass('active') }); createCaptcha("#getSpreadImg", "#captchaCodeRound"); //图片验证 $("#getSpreadImg").click(function () { createCaptcha("#getSpreadImg", "#captchaCodeRound"); }); //发送验证码 $(".getSpreadMsg").click(function () { var mobile = $("#phoneNumber").val(); var captcha = $("#captchaCodeRound").val(); var code = $("#captchaCode").val(); if (sendMsg(mobile, captcha, code, 'user_auth')) { setText($(this), 60, '立即获取'); } }); $(".spread").click(function () { var product = $(".tuijianchanpin .active").data('product'); if (typeof product == 'undefined') { layer.msg("请选择你要咨询的产品!"); return false; } var temp = $(".fabuxuqiu .right input,.fabuxuqiu .right textarea").serializeArray(); var data = {"product": product, "event": 'user_auth'}; for (index in temp) { var obj = {}; obj[temp[index].name] = temp[index].value; $.extend(data, obj); } $.ajax({ url: '/api/publish/add', data: data, dataType: 'json', type: "post", success: function (info) { layer.msg(info.msg); } }); }); // end }) </script> <script type="text/javascript"> </script> </body> </html>