博客信源

网页制作如何创建站点信息

发布日期:2023-06-04 10:15:49   浏览量 :368
发布日期:2023-06-04 10:15:49  
368

网页制作是一个非常重要的技能,无论是个人还是企业,都需要一个**己的网站来展示**己的信息和产品。在创建一个网站之前,我们需要先了解如何创建站点信息。

站点信息是指网站的基本信息,包括网站名称、网站描述、关键词等。这些信息对于搜索引擎优化和用户体验都非常重要。

下面是如何创建站点信息的步骤:

1. 网站名称:网站名称是网站的标识,应该简洁明了,易于记忆。在创建网站时,我们需要在HTML代码中添加一个标签,将网站名称放在其中。</p> <p>2. 网站描述:网站描述是对网站内容的简要介绍,应该包含关键词,以便搜索引擎更好地理解网站内容。在HTML代码中,我们需要添加一个<meta>标签,将网站描述放在其中。</p> <p>3. 关键词:关键词是指与网站内容相关的词语,应该包含在网站描述中。在HTML代码中,我们需要添加一个<meta>标签,将关键词放在其中。</p> <p>4. 网站图标:网站图标是指在浏览器标签页中显示的小图标,也称为“favicon”。我们需要在HTML代码中添加一个<link>标签,将网站图标链接到网站中。</p> <p>5. 版权信息:版权信息是指网站内容的所有权归属和使用规定。我们需要在网站底部添加版权信息,以便用户了解网站内容的使用规定。</p> <p>总之,创建站点信息是网站制作的重要一步,它能够帮助我们更好地展示网站内容,提高用户体验和搜索引擎优化效果。</p> </article> <script src="https://static.ltdcdn.com/assets/share/js/article_keyword.js?_v=202603181713"></script> <script>articleKeywordLink([{"keyword":"\u72ec\u7acb\u7ad9","url":"https:\/\/patrev.com"},{"keyword":"\u6570\u5b57\u8425\u9500","url":"https:\/\/patrev.com"},{"keyword":"\u5165\u7ad9\u8425\u9500","url":"https:\/\/ltd.com\/fangfalun"},{"keyword":"\u5916\u8d38\u72ec\u7acb\u7ad9","url":"https:\/\/ltd.com"},{"keyword":"\u793e\u5a92\u77e9\u9635","url":"https:\/\/patrev.com"},{"keyword":"\u7f51\u7ad9\u8fd0\u8425","url":"https:\/\/patrev.com"},{"keyword":"\u5185\u5bb9\u8fd0\u8425","url":"https:\/\/patrev.com"},{"keyword":"\u4e92\u8054\u7f51\u8fd0\u8425","url":"https:\/\/patrev.com"},{"keyword":"\u505a\u7f51\u7ad9","url":"https:\/\/ltd.com\/wangzhanjianshe"},{"keyword":"\u7f51\u7ad9\u8fd0\u8425","url":"https:\/\/patrev.com"},{"keyword":"\u4f01\u4e1a\u7f51\u7ad9","url":"https:\/\/ltd.com"},{"keyword":"\u7ad9\u70b9\u5730\u56fe","url":"https:\/\/patrev.com"},{"keyword":"\u57df\u540d","url":"http:\/\/22.cn"},{"keyword":"\u57df\u540d\u6ce8\u518c","url":"http:\/\/22.cn"},{"keyword":"\u5546\u6807","url":"http:\/\/32.cn"},{"keyword":"\u5546\u6807\u6ce8\u518c","url":"http:\/\/t.22.cn"},{"keyword":"\u77e5\u8bc6\u4ea7\u6743","url":"http:\/\/32.cn"},{"keyword":"\u4f01\u4e1a\u670d\u52a1","url":"http:\/\/epower.cn"},{"keyword":"\u9f99\u4e95\u8336","url":"http:\/\/longjingcha.com"},{"keyword":"longjingcha.com","url":"http:\/\/longjingcha.com"},{"keyword":"\u897f\u6e56\u9f99\u4e95","url":"http:\/\/longjingcha.com"},{"keyword":"\u897f\u6e56\u9f99\u4e95\u8336","url":"http:\/\/longjingcha.com"},{"keyword":"\u7f51\u7ad9","url":"https:\/\/zhandian.cn"},{"keyword":"\u667a\u80fd","url":"https:\/\/zhandian.cn"},{"keyword":"ai","url":"https:\/\/zhandian.cn"},{"keyword":"ltd","url":"http:\/\/ltd.com"},{"keyword":"22","url":"http:\/\/22.vip"},{"keyword":"co.,ltd","url":"http:\/\/www.co.ltd"}], '.article-detail-content');</script> <script> $(document).ready(function() { $('.gw-download-file').click(function() { var id = $(this).data('id'); var name = $(this).data('name'); var href = '/editor/file/download/' + id; var a = document.createElement('a'); a.href = href; a.download = name; a.target = '_blank'; a.click(); a.remove(); }); }); </script> <div class='article'> <div class="left" style="width:600px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;"> <div class="article-url"> 上一篇 : <a href="/article/5348651693204469.html" target="_blank"> 济宁网站建设是什么 </a> </div> <div class="article-url"> 下一篇 : <a href="/article/5348651189092046.html" target="_blank"> 常州专业网站建设怎么样 </a> </div> </div> <div class="right"> <div class="article-share-me hidden-xs clearfix"> <span class="pull-left">分享到: </span> <div class='pull-left'> <!--分享工具--> <link rel="stylesheet" href="https://static.ltdcdn.com/assets/js/goods_text_course_detail/share.min.css?_v=202603181713"> <script src="https://static.ltdcdn.com/assets/js/goods_text_course_detail/jquery.share.min.js?_v=202603181713"></script> <script src="https://static.ltdcdn.com/assets/share/js/poster-generator.js?_v=202603181713"></script> <style> .share-panel .copy-btn, .share-panel .poster-btn { width: 32px; height: 32px; font-size: 20px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #b2bac2; text-align: center; vertical-align: middle; transition: background 0.6s ease-out 0s; margin: 4px; cursor: pointer; } .share-panel .copy-btn:hover, .share-panel .poster-btn:hover { color: #fff; background: #666A8C; border: 1px solid #666A8C; } .share-panel .poster-btn { margin-bottom: 0; } .share-panel .poster-btn .iconfont-copyright{ font-family: "iconfont-copyright" !important; text-align: center; font-weight: normal; } .share-panel .poster-btn-container{ display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; color: #b2bac2; } .share-panel .poster-btn .share-poster{ font-size: 24px; } .share-panel .poster-btn-container .icon-title { font-size: 10px; font-weight: 500; text-align: center; line-height: 13px; margin-bottom: 5px; width: 29px; } .share-panel .poster-btn .iconfont-copyright.share-poster::before { content: '\e60c'; } .horizontal { display: flex; align-items: center; } .horizontal_grey .social-share-icon { border: none; color: #b2bac2; border-color: #b2bac2; } .horizontal_grey .social-share-icon:hover { color: #fff; } </style> <div class='share-panel horizontal horizontal_grey'> <div class="copy-btn" title='复制分享链接'> <i class="fa fa-chain"></i> </div> <div id="share-content"> </div> <!-- 只有中文版才显示海报分享 --> </div> <script> if ($("#_language_type").val() == 'zh' || $("#_language_type").val() == 'zh-cn') { $('#share-content').share({sites: ['qzone', 'qq', 'weibo', 'wechat']}); } else { $('#share-content').share({sites: ['qzone', 'qq', 'weibo', 'wechat', 'facebook', 'twitter']}); $('.poster-btn-container .icon-title').hide(); } $('.copy-btn').click(() => { copyText("网页制作如何创建站点信息 http://2b2c.com/article/5348651448929258.html") }) $('.poster-btn-container').click(() => { let id = 0; let websiteID = 480837; if (id) { PosterGenerator.generatePoster(id, websiteID) } }) function copyText(text) { let inputEle = document.createElement('input') inputEle.value = text inputEle.style.opacity = 0 inputEle.style.position = 'absolute' document.body.insertBefore(inputEle, document.body.childNodes[0]) inputEle.select() document.execCommand('copy') alert('复制成功') inputEle.remove() } </script> </div> <!-- <div class="bdsharebuttonbox pull-left"> <a href="#" class="bds_more" data-cmd="more"></a> <a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></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> </div> --> <!-- <script>window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdMiniList": false, "bdPic": "", "bdStyle": "0", "bdSize": "24" }, "share": {} }; with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = '/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)]; </script> --> </div> </div> </div> </div> <div class="col-sm-2 hidden-xs article-link-qrcode"> <script>document.write('<img src="' + 'https://wei.ltd.com/file/qrcode?format=text&data=' + encodeURIComponent(window.location.href) + '">')</script> <p>扫一扫 在手机上阅读</p> <div class="details-look hidden-xs "> <div class="title"> <div class="left-border common-border"></div> <div class="title-text">看了又看</div> <div class="right-border common-border"></div> </div> <div class="img-item"> <a href="/article/5356473817627036.html"> <img src="https://uploadfile.ltdcdn.com/uploadfilev2/remote/0/480/837/2023-06/16877547078201.png"> <!-- <span>app咋样?</span> --> <div class="mask-bg"> <p>app咋样?</p> </div> </a> </div> <div class="img-item"> <a href="/article/5356470215930363.html"> <img src="https://uploadfile.ltdcdn.com/uploadfilev2/remote/0/480/837/2023-06/16877538282664.png"> <!-- <span>python编译环境怎么搭建?</span> --> <div class="mask-bg"> <p>python编译环境怎么搭建?</p> </div> </a> </div> <div class="img-item"> <a href="/article/5356466557062973.html"> <img src="https://uploadfile.ltdcdn.com/uploadfilev2/remote/0/480/837/2023-06/16877529354237.png"> <!-- <span>h5做app和原生app有什么区别?</span> --> <div class="mask-bg"> <p>h5做app和原生app有什么区别?</p> </div> </a> </div> <div class="img-item"> <a href="/article/5356466535796835.html"> <img src="https://uploadfile.ltdcdn.com/uploadfilev2/remote/0/480/837/2023-06/16877529295992.png"> <!-- <span>Photoshop套用PSD模板,请您详细说一下?</span> --> <div class="mask-bg"> <p>Photoshop套用PSD模板,请您详细说一下?</p> </div> </a> </div> </div> </div> </div> </div> </div> <script> // 点击订阅更新提醒 $(".article-detail-container .goto-dingyue").click(function () { const websiteID = 480837 const type = $(this).data('type') if (type && type == 'useSourceWebsite') { let sourceWebsiteID = $('#source_website_id').val().trim() let sourceWebsiteName = $('#source_website_name').val().trim() if (sourceWebsiteID) { dingyue.init(sourceWebsiteID, { title: sourceWebsiteName }) } } else { if (websiteID) { dingyue.init(websiteID) } } }) </script> <!--自定义html目前不适用 2019 11 04--> <div class="gw-browse-module " data-full="" data-fixed-position="" id="gw-module-14709231" name="空白模块" data-anchor-id="anchor-1655183157773-8260" style="background-color:rgb(51, 51, 51);background-repeat:repeat;background-size:auto;"> <style > #gw-module-14709231.module-bg-card { --gw-module-content-max-width: 1200px; --gw-module-content-background: rgb(51, 51, 51); } </style> <div class="gw-browse-module-content clearfix" style="background-repeat:repeat;background-size:auto;width:1440px;max-width:1440px;"> <div class="gw-grid-col grid-col-pc-12"> <div class=" gw-browse-grid" style="height:369px;"> <div class="gw-browse-grid-content"> <div class="gw-browse-container" style="height:322.98614692688px;" data-editable="0"> <div class="gw-browse-container-content"> <div class="text-component"> <div class="gw-browse-component" id="module-14709231-component-text-1641989255150-9565" style="top:38px;left:134px;width:89px;height:25.000001907349px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <div class="gw-browse-component-content " style="font-family:微软雅黑;font-size:18px;font-weight:normal;font-style:normal;color:rgb(255, 255, 255);background-color:transparent;line-height:26px;text-decoration:none;text-align:left;"> <span>关于我们</span> </div> </div> </div> <div class="text-component"> <div class="gw-browse-component" id="module-14709231-component-text-1641989272687-6080" style="top:40px;left:423px;width:89px;height:25.000001907349px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <div class="gw-browse-component-content " style="font-family:微软雅黑;font-size:18px;font-weight:normal;font-style:normal;color:rgb(255, 255, 255);background-color:transparent;line-height:26px;text-decoration:none;text-align:left;"> <span>热门推荐</span> </div> </div> </div> <div class="text-component"> <div class="gw-browse-component" id="module-14709231-component-text-1641989296687-4803" style="top:41px;left:749px;width:89px;height:25.000001907349px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <div class="gw-browse-component-content " style="font-family:微软雅黑;font-size:18px;font-weight:normal;font-style:normal;color:rgb(255, 255, 255);background-color:transparent;line-height:26px;text-decoration:none;text-align:left;"> <span>合作伙伴</span> </div> </div> </div> <div class="nav-component"> <div class="gw-browse-component" id="module-14709231-component-nav-1642059494783-7772" style="top:83px;left:422px;width:105px;height:25.000001907349px;line-height:25.000001907349px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <style> #module-14709231-component-nav-1642059494783-7772 .gw-nav{ height:40px;font-family:微软雅黑;font-size:14px;color:rgb(238, 238, 238);font-weight:normal;font-style:normal;text-decoration:none;display:inline-block;text-align:center;border-radius:0;shadow-type:0 0 ;line-height:40px; } #module-14709231-component-nav-1642059494783-7772 .gw-nav-cont{ margin-left:0;margin-right:30px; } #module-14709231-component-nav-1642059494783-7772 .gw-nav-cont-row{ margin-left:0;margin-right:30px; } #module-14709231-component-nav-1642059494783-7772 .sec-menu{ font-family:微软雅黑;font-size:14px;font-style:normal;font-weight:normal;background-color:#eeeeee;color:#666666;height:38px; } #module-14709231-component-nav-1642059494783-7772 .three-menu{ font-family:微软雅黑;font-size:14px;font-style:normal;font-weight:normal;background-color:#eeeeee;color:#666666;height:38px; } #module-14709231-component-nav-1642059494783-7772 .menu-list{ position:absolute;top:40px;margin-left:0;width:100px !important; } #module-14709231-component-nav-1642059494783-7772 .gw-nav-cont-mobile .menu-list{ width: 100%!important; } #module-14709231-component-nav-1642059494783-7772 .menu-list ul{ background-color:#eeeeee;line-height:38px; } #module-14709231-component-nav-1642059494783-7772 .menu-list-row{ position:absolute;top:40px; } #module-14709231-component-nav-1642059494783-7772 .menu-list-row ul{ background-color:#eeeeee;line-height:38px !important; } #module-14709231-component-nav-1642059494783-7772 .menu-list-row ul li{ margin-left:0;width:100px !important; } #module-14709231-component-nav-1642059494783-7772 .has-three-child-row .three-list{ top:38px; } #module-14709231-component-nav-1642059494783-7772 .three-list ul{ background-color:#eeeeee;line-height:38px !important; } #module-14709231-component-nav-1642059494783-7772 .three-list-row{ position:absolute;top:40px; } #module-14709231-component-nav-1642059494783-7772 .three-list-row ul{ background-color:#eeeeee;top:38px; } #module-14709231-component-nav-1642059494783-7772 .three-list-row ul li{ margin-left:0;width:100px !important; } #module-14709231-component-nav-1642059494783-7772 .menu-list .triangle_border_up{ border-bottom-color:#eeeeee; } #module-14709231-component-nav-1642059494783-7772 .sec-menu a{ color:#666666;text-decoration:none;font-weight:normal; } #module-14709231-component-nav-1642059494783-7772 .sec-menu:hover .three-menu a{ color:#666666;text-decoration:none;font-weight:normal; } #module-14709231-component-nav-1642059494783-7772 .gw-nav-cont:hover .gw-nav{ font-family:微软雅黑;font-size:14px;color:rgb(255, 255, 255);font-weight:normal;font-style:normal;text-decoration:none;display:inline-block;text-align:center; } #module-14709231-component-nav-1642059494783-7772 .gw-nav-cont-row:hover .gw-nav{ font-family:微软雅黑;font-size:14px;color:rgb(255, 255, 255);font-weight:normal;font-style:normal;text-decoration:none;display:inline-block;text-align:center; } #module-14709231-component-nav-1642059494783-7772 .first-nav-cont:hover .gw-nav{ font-family:微软雅黑;font-size:14px;color:rgb(255, 255, 255);font-weight:normal;font-style:normal;text-decoration:none;display:inline-block;text-align:center; } #module-14709231-component-nav-1642059494783-7772 .gw-nav-cont:hover{ margin-left:0 !important;margin-right:30px !important; } #module-14709231-component-nav-1642059494783-7772 .gw-nav-cont-row:hover{ margin-left:0 !important;margin-right:30px !important; } #module-14709231-component-nav-1642059494783-7772 .sec-menu:hover{ background-color:#eeeeee;font-size:14px;height:38px;font-weight:normal; } #module-14709231-component-nav-1642059494783-7772 .sec-menu:hover a{ color:#000000;font-family:微软雅黑;font-weight:normal;font-style:normal;text-decoration:none; } #module-14709231-component-nav-1642059494783-7772 .three-menu:hover{ background-color:#eeeeee;font-size:14px;height:38px;font-weight:normal; } #module-14709231-component-nav-1642059494783-7772 .sec-menu .three-menu:hover a{ color:#000000;font-family:微软雅黑;font-weight:normal;font-style:normal;text-decoration:none; } .mobile #module-14709231-component-nav-1642059494783-7772 .three-menu:hover a{ color:#000000;font-family:微软雅黑;font-weight:normal;font-style:normal;text-decoration:none; } #module-14709231-component-nav-1642059494783-7772 .gw-nav.active{ font-family:微软雅黑;font-size:14px;color:rgb(255, 255, 255);font-weight:normal;font-style:normal;text-decoration:none;display:inline-block;text-align:center; } #module-14709231-component-nav-1642059494783-7772{ --nav-effect-color:#FFFFFF;--nav-color:rgb(238, 238, 238);--nav-active-color:rgb(255, 255, 255); } </style> <div class="module-14709231-component-nav-1642059494783-7772 gw-browse-component-content hover-effect-" style="background-color: transparent; box-shadow:0 0 #000; border-radius:0px; "> <div class="gw-nav-cont"><a target="_self" class="gw-nav" data-alt="热门标签" style="">热门标签</a></div><div class="gw-nav-cont"><a target="_self" class="gw-nav" data-alt="热门搜索" style="">热门搜索</a></div><div class="gw-nav-cont"><a target="_self" class="gw-nav" data-alt="热门资讯" style="">热门资讯</a></div><div class="gw-nav-cont"><a target="_self" class="gw-nav" data-alt="热门产品" style="">热门产品</a></div> </div> </div> </div> <script> // //移动端展开三级级导航 // $(document).off('click', '.gw-nav-cont-mobile .menu-list>ul>li>a').on('click', '.gw-nav-cont-mobile .menu-list>ul>li>a', function () { // var topDom= $(this).parents("li") // topDom.parent('ul').find(".three-list").slideToggle() // var secondIcon=topDom.find(".second-icon") // secondIcon.hasClass("rotate")?secondIcon.removeClass("rotate"): secondIcon.addClass("rotate") // }); </script><div class="nav-component"> <div class="gw-browse-component" id="module-14709231-component-nav-1642059581880-6497" style="top:86px;left:133px;width:199px;height:25.000001907349px;line-height:25.000001907349px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <style> #module-14709231-component-nav-1642059581880-6497 .gw-nav{ height:40px;font-family:微软雅黑;font-size:14px;color:rgb(238, 238, 238);font-weight:normal;font-style:normal;text-decoration:none;display:inline-block;text-align:center;border-radius:0;shadow-type:0 0 ;line-height:40px; } #module-14709231-component-nav-1642059581880-6497 .gw-nav-cont{ margin-left:0;margin-right:30px; } #module-14709231-component-nav-1642059581880-6497 .gw-nav-cont-row{ margin-left:0;margin-right:30px; } #module-14709231-component-nav-1642059581880-6497 .sec-menu{ font-family:微软雅黑;font-size:14px;font-style:normal;font-weight:normal;background-color:#eeeeee;color:#666666;height:38px; } #module-14709231-component-nav-1642059581880-6497 .three-menu{ font-family:微软雅黑;font-size:14px;font-style:normal;font-weight:normal;background-color:#eeeeee;color:#666666;height:38px; } #module-14709231-component-nav-1642059581880-6497 .menu-list{ position:absolute;top:40px;margin-left:0;width:100px !important; } #module-14709231-component-nav-1642059581880-6497 .gw-nav-cont-mobile .menu-list{ width: 100%!important; } #module-14709231-component-nav-1642059581880-6497 .menu-list ul{ background-color:#eeeeee;line-height:38px; } #module-14709231-component-nav-1642059581880-6497 .menu-list-row{ position:absolute;top:40px; } #module-14709231-component-nav-1642059581880-6497 .menu-list-row ul{ background-color:#eeeeee;line-height:38px !important; } #module-14709231-component-nav-1642059581880-6497 .menu-list-row ul li{ margin-left:0;width:100px !important; } #module-14709231-component-nav-1642059581880-6497 .has-three-child-row .three-list{ top:38px; } #module-14709231-component-nav-1642059581880-6497 .three-list ul{ background-color:#eeeeee;line-height:38px !important; } #module-14709231-component-nav-1642059581880-6497 .three-list-row{ position:absolute;top:40px; } #module-14709231-component-nav-1642059581880-6497 .three-list-row ul{ background-color:#eeeeee;top:38px; } #module-14709231-component-nav-1642059581880-6497 .three-list-row ul li{ margin-left:0;width:100px !important; } #module-14709231-component-nav-1642059581880-6497 .menu-list .triangle_border_up{ border-bottom-color:#eeeeee; } #module-14709231-component-nav-1642059581880-6497 .sec-menu a{ color:#666666;text-decoration:none;font-weight:normal; } #module-14709231-component-nav-1642059581880-6497 .sec-menu:hover .three-menu a{ color:#666666;text-decoration:none;font-weight:normal; } #module-14709231-component-nav-1642059581880-6497 .gw-nav-cont:hover .gw-nav{ font-family:微软雅黑;font-size:14px;color:rgb(255, 255, 255);font-weight:normal;font-style:normal;text-decoration:none;display:inline-block;text-align:center; } #module-14709231-component-nav-1642059581880-6497 .gw-nav-cont-row:hover .gw-nav{ font-family:微软雅黑;font-size:14px;color:rgb(255, 255, 255);font-weight:normal;font-style:normal;text-decoration:none;display:inline-block;text-align:center; } #module-14709231-component-nav-1642059581880-6497 .first-nav-cont:hover .gw-nav{ font-family:微软雅黑;font-size:14px;color:rgb(255, 255, 255);font-weight:normal;font-style:normal;text-decoration:none;display:inline-block;text-align:center; } #module-14709231-component-nav-1642059581880-6497 .gw-nav-cont:hover{ margin-left:0 !important;margin-right:30px !important; } #module-14709231-component-nav-1642059581880-6497 .gw-nav-cont-row:hover{ margin-left:0 !important;margin-right:30px !important; } #module-14709231-component-nav-1642059581880-6497 .sec-menu:hover{ background-color:#eeeeee;font-size:14px;height:38px;font-weight:normal; } #module-14709231-component-nav-1642059581880-6497 .sec-menu:hover a{ color:#000000;font-family:微软雅黑;font-weight:normal;font-style:normal;text-decoration:none; } #module-14709231-component-nav-1642059581880-6497 .three-menu:hover{ background-color:#eeeeee;font-size:14px;height:38px;font-weight:normal; } #module-14709231-component-nav-1642059581880-6497 .sec-menu .three-menu:hover a{ color:#000000;font-family:微软雅黑;font-weight:normal;font-style:normal;text-decoration:none; } .mobile #module-14709231-component-nav-1642059581880-6497 .three-menu:hover a{ color:#000000;font-family:微软雅黑;font-weight:normal;font-style:normal;text-decoration:none; } #module-14709231-component-nav-1642059581880-6497 .gw-nav.active{ font-family:微软雅黑;font-size:14px;color:rgb(255, 255, 255);font-weight:normal;font-style:normal;text-decoration:none;display:inline-block;text-align:center; } #module-14709231-component-nav-1642059581880-6497{ --nav-effect-color:#FFFFFF;--nav-color:rgb(238, 238, 238);--nav-active-color:rgb(255, 255, 255); } </style> <div class="module-14709231-component-nav-1642059581880-6497 gw-browse-component-content hover-effect-" style="background-color: transparent; box-shadow:0 0 #000; border-radius:0px; "> <div class="gw-nav-cont"><a target="_self" class="gw-nav" data-alt="城市加盟" style="">城市加盟</a></div><div class="gw-nav-cont"><a target="_self" class="gw-nav" data-alt="商务合作" style="">商务合作</a></div><div class="gw-nav-cont"><a target="_self" class="gw-nav" data-alt="寻求报道" style="">寻求报道</a></div><div class="gw-nav-cont"><a target="_self" class="gw-nav" data-alt="关于我们" style="">关于我们</a></div><div class="gw-nav-cont"><a target="_self" class="gw-nav" data-alt="我要入驻" style="">我要入驻</a></div><div class="gw-nav-cont"><a target="_self" class="gw-nav" data-alt="联系我们" style="">联系我们</a></div><div class="gw-nav-cont"><a target="_self" class="gw-nav" data-alt="投资关系" style="">投资关系</a></div><div class="gw-nav-cont"><a target="_self" class="gw-nav" data-alt="加入我们" style="">加入我们</a></div> </div> </div> </div> <script> // //移动端展开三级级导航 // $(document).off('click', '.gw-nav-cont-mobile .menu-list>ul>li>a').on('click', '.gw-nav-cont-mobile .menu-list>ul>li>a', function () { // var topDom= $(this).parents("li") // topDom.parent('ul').find(".three-list").slideToggle() // var secondIcon=topDom.find(".second-icon") // secondIcon.hasClass("rotate")?secondIcon.removeClass("rotate"): secondIcon.addClass("rotate") // }); </script><div class="images-component"> <div class="gw-browse-component gw-browse-component--image" id="module-14709231-component-images-1642059766828-4597" style="top:88px;left:751px;width:82px;height:44px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <style> #module-14709231-component-images-1642059766828-4597 .gw-image-hoverShadow:hover img { box-shadow:8px 8px 20px 0 #ababab !important; } </style> <style> #module-14709231-component-images-1642059766828-4597 .gw-imageText-shadow:hover img{ box-shadow:0px 8px 12px rgba(0,0,0,.14) !important; } </style> <style> #module-14709231-component-images-1642059766828-4597 .gw-imageText-card:hover img{ box-shadow:0 10px 16px rgba(0,0,0,.24) !important; } </style> <img class="gw-browse-component-content" style="width:82px;max-width:none;height:44px;max-height:none;opacity:0.8;box-shadow:0px 0px 10px 1px transparent;" alt="" src="https://uploadfile.ltdcdn.com/uploadfile/image/0/468/793/2022-01/16420597861324.png" /> </div> </div><div class="images-component"> <div class="gw-browse-component gw-browse-component--image" id="module-14709231-component-images-1642059815823-6384" style="top:145px;left:751px;width:81px;height:34px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <style> #module-14709231-component-images-1642059815823-6384 .gw-image-hoverShadow:hover img { box-shadow:8px 8px 20px 0 #ababab !important; } </style> <style> #module-14709231-component-images-1642059815823-6384 .gw-imageText-shadow:hover img{ box-shadow:0px 8px 12px rgba(0,0,0,.14) !important; } </style> <style> #module-14709231-component-images-1642059815823-6384 .gw-imageText-card:hover img{ box-shadow:0 10px 16px rgba(0,0,0,.24) !important; } </style> <img class="gw-browse-component-content" style="width:81px;max-width:none;height:34px;max-height:none;opacity:0.8;box-shadow:0px 0px 10px 1px transparent;" alt="" src="https://uploadfile.ltdcdn.com/uploadfile/image/0/468/793/2022-01/16420597858566.png" /> </div> </div><div class="images-component"> <div class="gw-browse-component gw-browse-component--image" id="module-14709231-component-images-1642059834218-9747" style="top:193px;left:752px;width:80px;height:42px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <style> #module-14709231-component-images-1642059834218-9747 .gw-image-hoverShadow:hover img { box-shadow:8px 8px 20px 0 #ababab !important; } </style> <style> #module-14709231-component-images-1642059834218-9747 .gw-imageText-shadow:hover img{ box-shadow:0px 8px 12px rgba(0,0,0,.14) !important; } </style> <style> #module-14709231-component-images-1642059834218-9747 .gw-imageText-card:hover img{ box-shadow:0 10px 16px rgba(0,0,0,.24) !important; } </style> <img class="gw-browse-component-content" style="width:80px;max-width:none;height:42px;max-height:none;opacity:0.8;box-shadow:0px 0px 10px 1px transparent;" alt="" src="https://uploadfile.ltdcdn.com/uploadfile/image/0/468/793/2022-01/16420597851489.png" /> </div> </div><div class="images-component"> <div class="gw-browse-component gw-browse-component--image" id="module-14709231-component-images-1642059854933-9381" style="top:91px;left:855px;width:80px;height:36px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <style> #module-14709231-component-images-1642059854933-9381 .gw-image-hoverShadow:hover img { box-shadow:8px 8px 20px 0 #ababab !important; } </style> <style> #module-14709231-component-images-1642059854933-9381 .gw-imageText-shadow:hover img{ box-shadow:0px 8px 12px rgba(0,0,0,.14) !important; } </style> <style> #module-14709231-component-images-1642059854933-9381 .gw-imageText-card:hover img{ box-shadow:0 10px 16px rgba(0,0,0,.24) !important; } </style> <img class="gw-browse-component-content" style="width:80px;max-width:none;height:36px;max-height:none;opacity:0.8;box-shadow:0px 0px 10px 1px transparent;" alt="" src="https://uploadfile.ltdcdn.com/uploadfile/image/0/468/793/2022-01/16420597854230.png" /> </div> </div><div class="images-component"> <div class="gw-browse-component gw-browse-component--image" id="module-14709231-component-images-1642059884426-6428" style="top:145px;left:856px;width:80px;height:36px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <style> #module-14709231-component-images-1642059884426-6428 .gw-image-hoverShadow:hover img { box-shadow:8px 8px 20px 0 #ababab !important; } </style> <style> #module-14709231-component-images-1642059884426-6428 .gw-imageText-shadow:hover img{ box-shadow:0px 8px 12px rgba(0,0,0,.14) !important; } </style> <style> #module-14709231-component-images-1642059884426-6428 .gw-imageText-card:hover img{ box-shadow:0 10px 16px rgba(0,0,0,.24) !important; } </style> <img class="gw-browse-component-content" style="width:80px;max-width:none;height:36px;max-height:none;opacity:0.8;box-shadow:0px 0px 10px 1px transparent;" alt="" src="https://uploadfile.ltdcdn.com/uploadfile/image/0/468/793/2022-01/16420597844642.png" /> </div> </div><div class="images-component"> <div class="gw-browse-component gw-browse-component--image" id="module-14709231-component-images-1642059900086-1363" style="top:194px;left:857px;width:83px;height:35px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <style> #module-14709231-component-images-1642059900086-1363 .gw-image-hoverShadow:hover img { box-shadow:8px 8px 20px 0 #ababab !important; } </style> <style> #module-14709231-component-images-1642059900086-1363 .gw-imageText-shadow:hover img{ box-shadow:0px 8px 12px rgba(0,0,0,.14) !important; } </style> <style> #module-14709231-component-images-1642059900086-1363 .gw-imageText-card:hover img{ box-shadow:0 10px 16px rgba(0,0,0,.24) !important; } </style> <img class="gw-browse-component-content" style="width:83px;max-width:none;height:35px;max-height:none;opacity:0.8;box-shadow:0px 0px 10px 1px transparent;" alt="" src="https://uploadfile.ltdcdn.com/uploadfile/image/0/468/793/2022-01/16420597843446.png" /> </div> </div><div class="images-component"> <div class="gw-browse-component gw-browse-component--image" id="module-14709231-component-images-1642059927949-2951" style="top:92px;left:956px;width:83px;height:35px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <style> #module-14709231-component-images-1642059927949-2951 .gw-image-hoverShadow:hover img { box-shadow:8px 8px 20px 0 #ababab !important; } </style> <style> #module-14709231-component-images-1642059927949-2951 .gw-imageText-shadow:hover img{ box-shadow:0px 8px 12px rgba(0,0,0,.14) !important; } </style> <style> #module-14709231-component-images-1642059927949-2951 .gw-imageText-card:hover img{ box-shadow:0 10px 16px rgba(0,0,0,.24) !important; } </style> <img class="gw-browse-component-content" style="width:83px;max-width:none;height:35px;max-height:none;opacity:0.8;box-shadow:0px 0px 10px 1px transparent;" alt="" src="https://uploadfile.ltdcdn.com/uploadfile/image/0/468/793/2022-01/16420597848740.png" /> </div> </div><div class="images-component"> <div class="gw-browse-component gw-browse-component--image" id="module-14709231-component-images-1642059946527-5717" style="top:147px;left:956px;width:83px;height:35px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <style> #module-14709231-component-images-1642059946527-5717 .gw-image-hoverShadow:hover img { box-shadow:8px 8px 20px 0 #ababab !important; } </style> <style> #module-14709231-component-images-1642059946527-5717 .gw-imageText-shadow:hover img{ box-shadow:0px 8px 12px rgba(0,0,0,.14) !important; } </style> <style> #module-14709231-component-images-1642059946527-5717 .gw-imageText-card:hover img{ box-shadow:0 10px 16px rgba(0,0,0,.24) !important; } </style> <img class="gw-browse-component-content" style="width:83px;max-width:none;height:35px;max-height:none;opacity:0.8;box-shadow:0px 0px 10px 1px transparent;" alt="" src="https://uploadfile.ltdcdn.com/uploadfile/image/0/468/793/2022-01/16420597837134.png" /> </div> </div><div class="images-component"> <div class="gw-browse-component gw-browse-component--image" id="module-14709231-component-images-1642059956359-6390" style="top:91px;left:1063px;width:83px;height:35px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <style> #module-14709231-component-images-1642059956359-6390 .gw-image-hoverShadow:hover img { box-shadow:8px 8px 20px 0 #ababab !important; } </style> <style> #module-14709231-component-images-1642059956359-6390 .gw-imageText-shadow:hover img{ box-shadow:0px 8px 12px rgba(0,0,0,.14) !important; } </style> <style> #module-14709231-component-images-1642059956359-6390 .gw-imageText-card:hover img{ box-shadow:0 10px 16px rgba(0,0,0,.24) !important; } </style> <img class="gw-browse-component-content" style="width:83px;max-width:none;height:35px;max-height:none;opacity:0.8;box-shadow:0px 0px 10px 1px transparent;" alt="" src="https://uploadfile.ltdcdn.com/uploadfile/image/0/468/793/2022-01/16420597836985.png" /> </div> </div><div class="images-component"> <div class="gw-browse-component gw-browse-component--image" id="module-14709231-component-images-1642059970902-2555" style="top:147px;left:1063px;width:83px;height:35px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <style> #module-14709231-component-images-1642059970902-2555 .gw-image-hoverShadow:hover img { box-shadow:8px 8px 20px 0 #ababab !important; } </style> <style> #module-14709231-component-images-1642059970902-2555 .gw-imageText-shadow:hover img{ box-shadow:0px 8px 12px rgba(0,0,0,.14) !important; } </style> <style> #module-14709231-component-images-1642059970902-2555 .gw-imageText-card:hover img{ box-shadow:0 10px 16px rgba(0,0,0,.24) !important; } </style> <img class="gw-browse-component-content" style="width:83px;max-width:none;height:35px;max-height:none;opacity:0.8;box-shadow:0px 0px 10px 1px transparent;" alt="" src="https://uploadfile.ltdcdn.com/uploadfile/image/0/468/793/2022-01/16420597826348.png" /> </div> </div><div class="divide-component"> <div class="gw-browse-component" id="module-14709231-component-divide-1642060040078-8474" style="top:269px;left:118px;width:1198px;height:26px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <div class="gw-browse-component-content" style="border-color:rgba(255, 255, 255, 0.22);border-bottom-style:solid;border-width:1px;height:13.5px;"></div> </div> </div><div class="text-component"> <div class="gw-browse-component" id="module-14709231-component-text-1642060116945-5147" style="top:297px;left:117px;width:1203px;height:25.000001907349px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <div class="gw-browse-component-content " style="font-family:微软雅黑;font-size:12px;font-weight:normal;font-style:normal;color:rgb(238, 238, 238);background-color:transparent;line-height:26px;text-decoration:none;text-align:center;"> <span>免责声明:本站部分资讯来源于网络,如有侵权请及时联系客服,我们将尽快处理</span> </div> </div> </div> <link rel="stylesheet" href="https://static.ltdcdn.com/assets/css/frcss.css?_v=202603181713"> <div class="rich-component"> <div class="gw-browse-component" id="module-14709231-component-rich-1655174508586-6234" style="top:317px;left:120px;width:1200px;height:52px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <div class="gw-browse-component-content"> <div class="rich-view fr-view" style="border-color:rgba(0, 0, 0, 0);border-width:1px;shadow-type:0 0 ;border-radius:0;box-shadow:0 0 #000;"> <p style="text-align: center;"><a href="https://beian.miit.gov.cn/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(153, 153, 153); font-size: 12px;">Copyright ©2022-2024 2B2C 版权所有 浙ICP备16025413号-9 营业执照</span></a></p> </div> </div> </div> </div><div class="text-component"> <div class="gw-browse-component" id="module-14709231-component-text-1685598257031-3854" style="top:298px;left:961px;width:80px;height:26px;" data-gw-component-custom-type="" data-gw-component-custom-name=""> <div class="gw-browse-component-content " style="font-family:微软雅黑;font-size:18px;font-weight:normal;font-style:normal;color:rgb(255, 255, 255);background-color:transparent;line-height:26px;text-decoration:none;text-align:left;"> <a style="color:rgb(255, 255, 255);" class="gw-jump-wechat" data-toggle="modal" data-target="#mydialogForm_164803" data-backdrop="1" data-form="form" data-form-id="164803">立即咨询</a> </div> </div> </div> </div> </div> </div> </div> </div> </div> <script> </script> </div> <script> </script> <script> module_onload('gw-module-14709231'); </script> <!-- 微信弹出二维码模态框 --> <div class="modal fade gw-modal wechatModal" id="myWechatModal" tabindex="-1" role="dialog"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span> </button> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-body"> <img class="wechat-img" src="https://static.ltdcdn.com/images/qrcode.jpg?_v=202603181713"> </div> <p class="wechat-tips tips-mobile">长按屏幕识别二维码</p> <p class="wechat-tips tips-pc">打开手机扫描二维码</p> </div> </div> </div> <!-- 表单弹出窗口模态框 --> <div class="modal fade bs-example-modal-sm gw-modal formModal" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" id="mydialog_form"> </div> <div class="modal fade bs-example-modal-sm gw-modal newformModal" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" id="mydialog_form_new"></div> <style> .xshare .collect-btn{ display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; font-size: 20px; cursor: pointer; border-radius: 50%; border: 1px solid #E0E0E0; color:#E0E0E0; margin: 4px; transition: all 0.6s ease-out 0s; } .xshare .collect-btn:hover{ color: #fff; background-color: #f0ad4e; border-color: #f0ad4e; } .xshare .collect-btn.has-collected{ color: #f0ad4e; background-color: #fff; border-color:#f0ad4e; } </style> <script> //取消收藏 function unlike(goods_id){ $.ajax({ method:"POST", url:"/shop/user/like/unlike?type=4&type_id="+goods_id, success:function(res){ if(res.code === 0){ $(".xshare .collect-btn").removeClass("has-collected"); } // layer.msg(res.msg); layer.msg(res.msg, {icon: 5}); } }) } //收藏 function like(goods_id){ $.ajax({ method:"POST", url:"/shop/user/like/like?type=4&type_id="+goods_id, success:function(res){ if(res.code === 0){ $(".xshare .collect-btn").addClass("has-collected"); } // layer.msg(res.msg); layer.msg(res.msg, {icon: 5}); } }) } </script> <!-- 视频弹出窗口播放模态框 --> <div class="modal fade gw-modal videoModal" id="myVideoModal" tabindex="-1" role="dialog"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span> </button> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-body"> <!-- <iframe class="video-iframe" frameborder="0" allowfullscreen=""></iframe> --> <video class="video-iframe" autoplay controls style="width:500px;height:400px;"></video> </div> </div> </div> </div> <div class="modal fade gw-modal mapModal " tabindex="-1" role="dialog" id="mydialog_map"> <div class="modal-dialog modal-sm" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title">请选择一种导航方式</h4> </div> <div class="modal-body"> <ul class="map-modal-container"></ul> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">取消</button> </div> </div> </div> </div> <!-- 图片弹出模态框 --> <div class="imageModal"> <div class="img-content"><img class="img-dialog" src="https://static.ltdcdn.com/images/qrcode.jpg?_v=202603181713"> </div> </div> <div class="pswp" tabindex="-1" role="dialog" aria-hidden="true"> <div class="pswp__bg"></div> <div class="pswp__scroll-wrap"> <div class="pswp__container"> <div class="pswp__item"></div> <div class="pswp__item"></div> <div class="pswp__item"></div> </div> <div class="pswp__ui pswp__ui--hidden"> <div class="pswp__top-bar"> <div class="pswp__counter"></div> <button class="pswp__button pswp__button--close" title="Close (Esc)"></button> <button class="pswp__button pswp__button--share" title="Share"></button> <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button> <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button> <div class="pswp__preloader"> <div class="pswp__preloader__icn"> <div class="pswp__preloader__cut"> <div class="pswp__preloader__donut"></div> </div> </div> </div> </div> <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap"> <div class="pswp__share-tooltip"></div> </div> <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)"> </button> <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)"> </button> <div class="pswp__caption"> <div class="pswp__caption__center"></div> </div> </div> </div> </div> <!-- 站点统计代码 --> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?982d5cade5f4dfbc0f66238f473c321f"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script> <script>LA.init({id:"JJApe8kj4XJOUMR2",ck:"JJApe8kj4XJOUMR2"})</script> <div style="display:none"> <img src="https://testuploadfile.ltdcdn.com/17066817035254.jpeg" width="0" height="0"> </div> <div class="friendly_link friendly_link-mobile friendly_link-pc"> <p>友情链接:</p> <a target="_blank" href="http://www.eb.ac.cn">杭州电子商务研究院</a> <a target="_blank" href="http://qitongshe.com">企通社</a> <a target="_blank" href="http://www.epower.cn">epower企服引擎</a> <a target="_blank" href="http://22.co.ltd">二十二科技集团</a> <a target="_blank" href="http://eb.com.cn">第一商务</a> <a target="_blank" href="http://am.22.cn">域名交易</a> <a target="_blank" href="http://i.am.cn">爱名奖</a> <a target="_blank" href="http://eb.ac.cn/fangfalun">LTD方法论</a> <a target="_blank" href="http://ltd.com">营销SaaS</a> <a target="_blank" href="http://32.CN">22知协</a> <a target="_blank" href="http://22.cn/coltd">.Co.Ltd数字门户</a> <a target="_blank" href="http://tobcxo.com">ToB总监联盟</a> <a target="_blank" href="http://ltd.com/bjq">网站编辑器</a> <a target="_blank" href="https://ltd.com/mingpian">官微名片</a> <a target="_blank" href="http://lishuishanquan.com">丽水山泉</a> <a target="_blank" href="http://zhegongda.cn">浙工大校友企业家联谊会</a> <a target="_blank" href="http://zhandian.vip">站点智能</a> <a target="_blank" href="http://eb.ac.cn/dmp">DMP</a> <a target="_blank" href="http://longjingcha.com">西湖龙井茶官网</a> <a target="_blank" href="https://www.biaonuo.cn">标诺网</a> </div> <div class="report-mobile report-pc report"> <a href="https://ltd.com/?s=jishuzhichi" class='flex-box' target="_blank"> <!-- <img src="https://uploadfile.ltdcdn.com/images/bottomlogo.png" alt="" height="16"/> --> <i class="iconfont-copyright icon-ltd-copyright-logo-iconfont-line-new font-size-24"></i> <span>支持</span> </a> <a href="/report" id="report-click" class='flex-box'> <!-- <img src="https://static.ltdcdn.com/images/ring.png?_v=202603181713" alt="" height="16"/> --> <i class="iconfont-copyright icon-ltd-copyright-feedback-iconfont-line-new"></i> <span>反馈</span> </a> <a href="javascript:void(0)" id="notice-click" class='flex-box notice-click' data-subscribe="notice-click"> <i class="iconfont-copyright icon-ltd-copyright-notify-iconfont-line"></i> <span>订阅</span> </a> <a href="/admin/login" class='flex-box' target="_blank"> <!-- <img src="https://static.ltdcdn.com/images/analyst.png?_v=202603181713" alt="" height="16"> --> <i class="iconfont-copyright icon-ltd-copyright-chart-iconfont-line-new"></i> <span>数据</span> </a> </div> <!-- 任意html代码 --> <style> .sticky-header .logo-box, .main-header .outer-box .logo-box { width: 170px; padding-left: 50px } </style> <script> //常见问题文章页底部添加图片 if (location.href.includes('/article/')) { setTimeout(() => { $('#article-detail-container .article-detail-content').append( `<a href="https://www.32.cn/zhuce/" rel="noopener noreferrer" target="_blank"><img src="https://uploadfile.ltdcdn.com/uploadfilev2/image/0/480/837/2023-07/16898345334243.jpg" class="fr-fic fr-dib" style="width: 424px;"></a>` ) console.log('添加成功!') }, 2000) } </script> <script> // 文章详情页图片跳转外链 $(() => { if (!location.pathname.includes('article')) return if (!$('#article-detail-container .article-detail-content .fr-fic.fr-dib').length) return $('#article-detail-container .article-detail-content .fr-fic.fr-dib').parent().attr('href', 'https://ltd.com/f/130805') console.log(new Date()) }) </script> <!-- 第一张轮播图隐藏 --> <script> $(function() { const swiperDom = document.querySelector('.case-style2 .main-swiper') if (swiperDom) { var mySwiper = swiperDom.swiper mySwiper.removeSlide(0); } }) </script> <script> /* $(function() { function setScale() { const left = ($(window).width() - $("#module-14820171-component-bglayer-1655773708485-6907").width()) / 2 const top = $("#module-14820171-component-bglayer-1655773708485-6907").offset().top $("#gw-module-14820167").css({ "left": left - 100, "top": top - 190 }) $("#gw-module-14820167").css("opacity",'1') } setTimeout(() => { setScale() }, 0) $(window).resize(function() { setScale() }); $(window).scroll(function() { const isFixedTop = $(document).scrollTop() - $("div[name=常用工具]").offset().top > 0 if (isFixedTop) { $("#gw-module-14820167").css({ "top": -194 }) } else { setScale() } }) }) */ </script> <!-- 搜索栏 --> <!--<script> $(function() { const contentArr = [{ name: '站内', left: 17.5, arr: [{ name: '营销获客', link: "/search", extra: '营销获客' }, { name: '人力资源', link: "/search", extra: '人力资源' }, { name: '设计服务', link: "/search", extra: '设计服务' }, { name: '知识产权', link: "/search", extra: '知识产权' } ] }, { name: '搜索', left: 87.5, arr: [{ name: '百度', link: "https://www.baidu.com/s?wd=", extra: '百度一下' }, { name: '360', link: "https://www.so.com/s?q=", extra: '360好搜' }, { name: '搜狗', link: "https://www.sogou.com/web?query=", extra: '搜狗搜索' }, { name: 'Bing', link: "https://cn.bing.com/search?q=", extra: '微软Bing搜索' }, { name: '神马', link: "https://www.baidu.com/s?wd=", extra: 'UC移动端搜索' }, { name: '今日头条', link: "https://so.toutiao.com/search?dvpf=pc&source=input&keyword=", extra: '今日头条' }, ] }, { name: '工具', left: 157.5, arr: [{ name: '权重查询', link: "https://rank.chinaz.com/all", extra: '' }, { name: '友链检测', link: "https://link.chinaz.com/", extra: '' }, { name: '备案查询', link: "https://icp.aizhan.com:6666/", extra: '' }, { name: 'PING检测', link: "https://ping.chinaz.com/", extra: '' }, { name: '死链检测', link: "https://ntool.chinaz.com/tools/links", extra: '' }, { name: '关键词挖掘', link: "https://www.5118.com/ci", extra: '' } ] }, { name: '社群', left: 227.5, arr: [] }, { name: '活动', left: 297.5, arr: [] }, { name: '求职', left: 367.5, arr: [] }] let curActive = contentArr[0] //当前上层选中 let secActive = contentArr[0].arr[0] //当前 const searchHtml = `<div class="search-wrap-box"> <div class="search-list-menu"> <div class="anchor"></div> </div> <div class="input-wrap"> <input type="text" id="search-input" placeholder="站内搜索" autocomplete="off"> <i class="fa fa-search"></i> </div> <div class="search-list"></div> </div>` $("#gw-module-14820163 .gw-browse-container-content").append(searchHtml) contentArr.forEach((item, index) => { $(".search-wrap-box .search-list-menu").append(` <div class="item ${index?'':'active'}">${item.name}</div> `) }) //点击上面一排 $(".search-wrap-box .search-list-menu .item").click(function(a) { $(this).addClass("active").siblings(".item").removeClass("active") const i = $(this).index() - 1 curActive = contentArr[i] secActive = contentArr[i].arr[0] const html = renderList(curActive.arr) $(".search-wrap-box .search-list").html(html) $(".search-wrap-box .anchor").css("left", curActive.left) $(".search-wrap-box #search-input").attr("placeholder", curActive.name) if (curActive.name == '搜索') { $(".search-wrap-box #search-input").attr("placeholder", secActive.extra) }else if(curActive.name == '工具'){ $(".search-wrap-box #search-input").attr("placeholder", '请输入网址(不带https://)') } }) //下面一排的html结构 function renderList(list) { let res = '' list.forEach((item, index) => { res += `<div class="item ${index?'':'active'}">${item.name}</div>` }) return res } const html = renderList(contentArr[0].arr) $(".search-wrap-box .search-list").html(html) //点击二级 $(".search-wrap-box .search-list").on("click", ".item", function() { const i = $(this).index() $(this).addClass('active').siblings(".item").removeClass("active") secActive = curActive.arr[i] if (curActive.name == '搜索') { $(".search-wrap-box #search-input").attr("placeholder", secActive.extra) } else { } }) //点击搜索 $(".search-wrap-box .input-wrap i").click(function() { if(curActive.name == '站内'){ window.open(secActive.link) return } const query = $(this).siblings('input').val().trim() window.open(secActive.link + query) }) //回车搜索 $(".search-wrap-box .input-wrap input").keyup(function(e) { if (e.keyCode == 13) { if(curActive.name == '站内'){ window.open(secActive.link) return } const query = $(this).val().trim() window.open(secActive.link + query) } }) }) </script> --> <style> .search-wrap-box { display: flex; flex-direction: column; align-items: center; position: absolute; top: 0; left: 250px; } .search-wrap-box .search-list-menu { display: flex; position: relative; } .search-wrap-box .search-list-menu .anchor { position: absolute; transition: .25s; background-color: #0086ff; height: 4px; bottom: 5px; border-radius: 100px; width: 35px; left: 17.5px; } .search-wrap-box .input-wrap { position: relative; } .search-wrap-box .input-wrap i { position: absolute; cursor: pointer; right: 20px; top: 50%; transform: translateY(-50%); color: #0086ff; font-size: 18px; } .search-wrap-box .search-list-menu .item { color: #0086ff; padding: 10px 20px; cursor: pointer; font-size: 15px; opacity: .5; transition: opacity .3s; position: relative; } .search-wrap-box .search-list-menu .item::after { content: ""; position: absolute; width: 4px; height: 4px; bottom: 5px; border-radius: 2px; margin-left: -2px; left: 50%; transition: .3s; background-color: rgba(255, 255, 255, 0); } .search-wrap-box .search-list-menu .item:hover { opacity: 1; } .search-wrap-box .search-list-menu .item:hover::after { background-color: #0086ff; } .search-wrap-box .search-list { display: flex; } .search-wrap-box .search-list .item { color: #0086ff; padding: 5px 20px; cursor: pointer; opacity: .5; transition: opacity .3s; } .search-wrap-box .search-list .item.active { opacity: 1; } .search-wrap-box .search-list-menu .item.active { opacity: 1; } .search-wrap-box #search-input { border-radius: 50px; color: rgba(0, 0, 0, .6); background-color: #fff; padding: 9px 20px; border: 1px solid rgba(255, 255, 255, .05); backdrop-filter: blur(5px); height: 50px; transition: .3s; outline: none; width: 800px; } .search-wrap-box #search-input::-webkit-input-placeholder { color: rgb(185, 184, 184); font-size: 16px; } </style> <script> // 22/32. 区分首页 if (window.location.pathname !== '/') { const outlinkHTML = '<div class="gw-browse-module gw-responsive-scale" data-full="" data-fixed-position="" name="广告" style="--gw-module-content-height: 150;">\ <div class="gw-browse-module-content" style=" width: 1580px;max-width: 1580px; ">\ <div style=" padding-top:16px; padding-bottom:16px">\ <div style="width: 100%;padding-bottom:calc(105/1445 * 100%);; position:relative; background-size:cover; background-position: center;background-repeat: no-repeat; background-image: url(\'https://static.xcx.gw66.vip/uploadfilev3/image/0/480/837/2025-12/17665606316003.png\');" >\ <a style="position: absolute;top: 0;bottom: 0;width: 50%;left:0;" href="https://www.22.cn/?s=202304202b2c" target="__blank"></a>\ <a style="position: absolute;top: 0;bottom: 0;width: 50%;right:0;" href="https://zhandian.cn/?s=2b2c_bottom" target="__blank"></a>\ </div>\ </div>\ </div>\ </div>'; $("div.gw-browse-module[name='底部']").before(outlinkHTML); } else { const outlinkHTML = '<div class="gw-browse-module gw-responsive-scale" data-full="" data-fixed-position="" name="广告" style="background-color:rgb(244, 247, 250); --gw-module-content-height: 150;">\ <div class="gw-browse-module-content" style=" width: 1580px;max-width: 1580px; ">\ <div style="padding-left: 128px; padding-top:16px; padding-bottom:16px">\ <div style="width: 100%;padding-bottom:calc(105/1445 * 100%);; position:relative; background-size:cover; background-position: center;background-repeat: no-repeat; background-image: url(\'https://static.xcx.gw66.vip/uploadfilev3/image/0/480/837/2025-12/17665606316003.png\');" >\ <a style="position: absolute;top: 0;bottom: 0;width: 50%;left:0;" href="https://www.22.cn/?s=202304202b2c" target="__blank"></a>\ <a style="position: absolute;top: 0;bottom: 0;width: 50%;right:0;" href="https://zhandian.cn/?s=2b2c_bottom" target="__blank"></a>\ </div>\ </div>\ </div>\ </div>'; $("div.gw-browse-module[name='底部']").before(outlinkHTML); } </script> <script> { const bannerHtml = ` <div style="max-width: 1580px; margin: 12px auto; width: 100%; overflow: hidden;"> <a href="https://zhandian.cn/?s=2b2c_top" target="_blank" style="display: block;"> <img src="https://uploadfile.ltdcdn.com/uploadfilev3/image/0/480/837/2025-12/17665615545177.png" style="width: 100%; height: auto; display: block; border: 0;"> </a> </div> `; const target = document.querySelector('[name="顶部导航"]'); if (target) { target.insertAdjacentHTML('afterend', bannerHtml); } } </script> <!-- 页面级自定义代码 --> <!-- 友链 --> <script> /** * 全局给手机号邮箱加上link * @param container * @param regex * @param replacement */ function gw_data_detector_run_on_container(container, regex, replacement) { var nodeIterator = document.createNodeIterator(container, NodeFilter.SHOW_TEXT, function (node) { if (node.parentNode) { const skippedTagNames = ['a', 'script', 'style', 'link', 'textarea', 'input', 'button', 'option', 'area'] if (skippedTagNames.includes(node.parentNode.tagName.toLowerCase())) { return NodeFilter.FILTER_SKIP } } return (node.nodeValue.trim() !== "") ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT }); var nodesToBeReplaced = [] while (nodeIterator.nextNode()) { var node = nodeIterator.referenceNode var text = node.nodeValue replaced = text.replace(regex, replacement); if (replaced && replaced != text) { nodesToBeReplaced.push({'node': node, 'value': replaced}) } } for (var i = 0; i < nodesToBeReplaced.length; i++) { $(nodesToBeReplaced[i].node).replaceWith(nodesToBeReplaced[i].value) } } var gw_data_detector_email_regex = /(\w+([\.-]?\w+)+@\w+([\.:]?\w+)+(\.[a-zA-Z0-9]{2,3})+)/g var gw_data_detector_link_schemed_regex = /(([a-z]+:\/\/)(([a-z0-9\-]+\.)+([a-z]{2}|aero|arpa|biz|com|coop|edu|gov|info|int|jobs|mil|museum|name|nato|net|org|pro|travel|local|internal|ws|vip|ltd))(:[0-9]{1,5})?(\/[a-z0-9_\-\.~]+)*(\/([a-z0-9_\-\.]*)(\?[a-z0-9+_\-\.%=&]*)?)?(#[a-zA-Z0-9!$&'()*+.=-_~:@/?]*)?)(\s+|$)/gi var gw_data_detector_link_no_schemed_regex = /((([a-z0-9\-]+\.)+([a-z]{2}|aero|arpa|biz|com|coop|edu|gov|info|int|jobs|mil|museum|name|nato|net|org|pro|travel|local|internal|ws|vip|ltd))(:[0-9]{1,5})?(\/[a-z0-9_\-\.~]+)*(\/([a-z0-9_\-\.]*)(\?[a-z0-9+_\-\.%=&]*)?)?(#[a-zA-Z0-9!$&'()*+.=-_~:@/?]*)?)(\s+|$)/gi var gw_data_detector_phone_regex = /((0\d{2,3}-\d{7,8})|([1]([3-9])[0-9]{9})|([1]([3-9])[0-9]-[0-9]{4}-[0-9]{4})|([1]([3-9])[0-9]\s[0-9]{4}\s[0-9]{4})|(400-\d{3,4}-\d{3,4})|(400\d{7})|(400\s\d{3,4}\s\d{3,4}))/g var gw_data_detector_icp_beian_regex = /([\u4eac\u6d25\u664b\u5180\u8499\u8fbd\u5409\u9ed1\u6caa\u82cf\u6d59\u7696\u95fd\u8d63\u9c81\u8c6b\u9102\u6e58\u7ca4\u6842\u743c\u6e1d\u5ddd\u8d35\u4e91\u85cf\u9655\u7518\u9752\u5b81\u65b0]ICP备\d{8}号?(-\d{1,2})?)/gi function gw_run_data_detectors_on_container(container) { gw_data_detector_run_on_container(container, gw_data_detector_icp_beian_regex, '<a style="text-decoration: inherit; text-color: inherit; color: inherit;" href="https://beian.miit.gov.cn">$1</a>') gw_data_detector_run_on_container(container, gw_data_detector_link_schemed_regex, '<a style="text-decoration: inherit; text-color: inherit; color: inherit;" href="$1">$1</a>') // gw_data_detector_run_on_container(container, gw_data_detector_link_no_schemed_regex, '<a style="text-decoration: inherit; text-color: inherit; color: inherit;" href="http://$1">$1</a>') } function gw_data_detector() { var containerClasses = ['text-component', "article-detail-container", "goods-detail-container", "case-detail-container", "goods_text_course_detail-container"]; for (let j = 0; j < containerClasses.length; j++) { let className = containerClasses[j]; var containerEls = document.getElementsByClassName(className); for (let i = 0; i < containerEls.length; i++) { gw_run_data_detectors_on_container(containerEls[i]) } } } gw_data_detector(); </script> <!-- 分享 --> <div class="share"> <i class="iconfont icon-fenxiang"></i> </div> <div class="share-phone"> <span></span> </div> <div class="wechatShare"> <img src="" alt="" style="width:100%;"> </div> <div class="browserShare"> <img src="https://static.ltdcdn.com/images/wshare.png?_v=202603181713" alt="" style="width:200px;"> </div> <script type="text/javascript"> $(function () { var shareImg = '' var config = {} var websiteTitle = $('#wx_share_title').val()//"产业互联网资源导航-2B2C产业数字化网址导航-2B2C网址导航" var websiteLogo = $('#wx_share_logo').val()//"https://uploadfile.ltdcdn.com/uploadfilev2/image/0/480/837/2022-06/16550921633902.png" var description = $('#wx_share_description').val()//"2B2C产业数字化网址导航:收录2B2C产业数字化企业资讯的综合平台,打造一站式2B2C产业流量入口" var uid = '' $(function () { $('[data-toggle="popover"]').popover() // getWebsiteInfo() getWechatInfo() $('.share').on('click', function () { share() }) $('.browserShare').on('click', function () { $('.browserShare').css('display', 'none') }) $('.wechatShare').on('click', function () { $('.wechatShare').css('display', 'none') }) $('#report-click').on('click', function () { location.href = '/report' }) }) // 获取微信config function getWechatInfo() { $.ajax({ url: '/gzh/self/jsInfo', headers: { "Gw-Shop-User-Token": window.localStorage.getItem("GwShopUserToken") }, data: { url: window.location.href }, type: 'get', success: function (res) { if (res.code === 0) { config = JSON.parse(res.data.jsInfo) wechatShare() // 判断是否是微信浏览器 主要是地图组件小程序环境用到 if(navigator.userAgent.toLowerCase().match(/MicroMessenger/i)=="micromessenger") { //ios的ua中无miniProgram,但都有MicroMessenger(表示是微信浏览器) wx.miniProgram.getEnv((res)=>{ // 是小程序环境 if (res.miniprogram) { if(config && config.appId){ $('img[data-target="#mydialog_map"]').removeClass('hide') } }else{ $('img[data-target="#mydialog_map"]').removeClass('hide') } }) }else{ $('img[data-target="#mydialog_map"]').removeClass('hide') } } } }) } function getUserInfo() { var token = window.localStorage.getItem("GwShopUserToken") ? window.localStorage.getItem("GwShopUserToken") : '' if (token) { $.ajax({ url: '/shop/frontend/share/isshare', headers: { "Gw-Shop-User-Token": token }, dataType: 'json', type: 'get', success: function (res) { if (res.code === 0) { if (res.data.is_share == 1) { //开启分享 shareImg = res.data.share_url $('.share').css('display', 'block') getWechatInfo() } else { $('.share').css('display', 'none') } } } }) } } function getWebsiteInfo() { $.ajax({ url: '/shop/user/me/getProfile', type: 'get', success: function (res) { if(res.code == 0){ uid = res.data.u_id // websiteLogo = res.data.website.company_logo.url // websiteTitle = res.data.website.name // description = res.data.tdk.description getUserInfo() } } }) } function share() { let browser = { versions: (function () { let u = navigator.userAgent return { // 移动终端浏览器版本信息 trident: u.indexOf('Trident') > -1, // IE内核 presto: u.indexOf('Presto') > -1, // opera内核 webKit: u.indexOf('AppleWebKit') > -1, // 苹果、谷歌内核 gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') === -1, // 火狐内核 mobile: !!u.match(/AppleWebKit.*Mobile.*/), // 是否为移动终端 ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), // os终端 android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, // android终端或uc浏览器 iPhone: u.indexOf('iPhone') > -1, // 是否为iPhone或者QQHD浏览器 iPad: u.indexOf('iPad') > -1, // 是否iPad webApp: u.indexOf('Safari') === -1 // 是否web应该程序,没有头部与底部 } })(), language: (navigator.browserLanguage || navigator.language).toLowerCase() } if (browser.versions.mobile) { // 判断是否是移动设备打开 let ua = navigator.userAgent.toLowerCase() // 获取判断用的对象 if (ua.match(/MicroMessenger/i) == 'micromessenger' || ua.match(/WeiBo/i) == 'weibo') { $('.wechatShare img').attr('src', '/images/wshare.png') $('.wechatShare').css('display', 'block') } else if (ua.match(/QQ/i) == 'qq') { $('.wechatShare img').attr('src', '/images/wshare.png') $('.wechatShare').css('display', 'block') } else { $('.browserShare img').attr('src', shareImg) $('.browserShare').css('display', 'block') } } else { // 否则就是PC浏览器打开 $('.browserShare img').attr('src', shareImg) $('.browserShare').css('display', 'block') } } function wechatShare() { wx.config({ debug: config.debug, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 appId: config.appId, // 必填,公众号的唯一标识 timestamp: config.timestamp, // 必填,生成签名的时间戳 nonceStr: config.nonceStr, // 必填,生成签名的随机串 signature: config.signature, // 必填,签名 jsApiList: config.jsApiList, // 必填,需要使用的JS接口列表 openTagList: ['wx-open-launch-weapp'] // 可选,需要使用的开放标签列表,例如['wx-open-launch-app'] }) wx.ready(function () { // 需在用户可能点击分享按钮前就先调用 //分享好友 var shareData = { title: websiteTitle, desc: description, dataUrl: '', type: 'link', imgUrl: websiteLogo, link: location.href //'http://' + location.host + location.pathname + '/?u=' + uid }; /* jsApi 0: "onMenuShareTimeline" 1: "onMenuShareAppMessage" 2: "onMenuShareQQ" 3: "onMenuShareQZone" 4: "updateAppMessageShareData" 5: "updateTimelineShareData */ wx.onMenuShareTimeline(shareData); wx.onMenuShareAppMessage(shareData); wx.onMenuShareQQ(shareData); wx.onMenuShareWeibo(shareData); wx.onMenuShareQZone(shareData); }) /* wx.ready(function () { // 需在用户可能点击分享按钮前就先调用 //分享好友 wx.updateAppMessageShareData({ title: websiteTitle, // 分享标题 desc: description, // 分享描述 link: 'http://' + location.host + '/?u=' + uid, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 imgUrl: websiteLogo // 分享图标 }) wx.onMenuShareAppMessage({ title: websiteTitle, // 分享标题 desc: description, // 分享描述 link: 'http://' + location.host + '/?u=' + uid, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 imgUrl: websiteLogo, // 分享图标 type: '', // 分享类型,music、video或link,不填默认为link dataUrl: '' // 如果type是music或video,则要提供数据链接,默认为空 }) wx.onMenuShareQQ({ title: websiteTitle, // 分享标题 desc: description, // 分享描述 link: 'http://' + location.host + '/?u=' + uid, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 imgUrl: websiteLogo // 分享图标 }) }) */ } }); </script> <script> function GetQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if (r != null) return unescape(r[2]); return null; } var url = window.location.href if (url.indexOf("?") != -1) { var id = GetQueryString('recommend') localStorage.setItem("recommend_id", id) } if (localStorage.getItem('GwShopUserToken')) { $('.user-btn').attr('href', '/shop/#/user') } </script> <script> if ('WebSocket' in window) { var url = 'wss://ws.ltd.com/9051'; socket = new WebSocket(url); socket.onopen = function () { var gmac = _ga.getCookie('gmac'); socket.send(JSON.stringify({ "cmd": "hello", "params": { "referer": window.location.href, "gmac": gmac ? gmac : '', "request_id": "79be329e2a9d634f91c01934950aa23b", "website_id": "480837" } })); if (!gmac) { //ga的cookie还没来得及设置,延迟再发一次hello setTimeout(function () { socket.send(JSON.stringify({ "cmd": "hello", "params": { "gmac": _ga.getCookie('gmac'), } })); }, 1000); } setInterval(function () { socket.send(JSON.stringify({ "cmd": "ping" })); }, 30000); } $('a').on('click', function () { //记录浏览器跳转 并且没有data-fancybox属性 if ($(this).attr('href') && !$(this).attr('data-fancybox')) { socket.send(JSON.stringify({ "cmd": "jump", "params": { "href": $(this).attr('href'), } })); } }).on('mousedown', function (e) { if (e.button === 1) { //中键打开新页面,click时间获取不到 socket.send(JSON.stringify({ "cmd": "jump", "params": { "href": $(this).attr('href'), } })); } }) } </script> <script> $('.laydate-year').each(function () { laydate.render({ elem: this , zIndex: '198910161' , theme: '#49A7E0' }); }); $('.laydate-year-range').each(function () { laydate.render({ elem: this , range: true , zIndex: '198910161' , theme: '#49A7E0' , ready: function () { if (window.screen.width <= 480) { var top = '50px'; if (window.screen.height < 600) { top = '-5px'; $('.layui-laydate-content').css({padding: '5px 10px'}) } $('.layui-laydate-range').css({ left: '50%', top: top, marginLeft: '-137px', width: '250px' }); $('.layui-laydate-main').css({display: 'block'}) } } }); }); $('.gw-copyright-close-box').on('click', function () { $('.gw-copyright').addClass('hidden'); }); //底部广告幻灯片 new Swiper('.swiper-container.gw-copyright-swiper', { effect: 'fade', autoHeight: true, autoplay: 3000,//可选选项,自动滑动 loop: true }) </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> <script type="text/javascript" src="https://static.ltdcdn.com/assets/js/esitrevda.js?_v=202603181713"></script> <script> function sendFormEventsAnalyst(data) { if (_ga.url !== '') { var img = document.createElement("img"); var params = []; var eventData = {} Object.assign(eventData, data); eventData.referer = window.location.href; eventData.gmac = _ga.params.gmac; eventData.type = 101; eventData.duration = parseInt(Date.now() / 1000) - _ga['timestamp']; for (key in eventData) { params.push(key + '=' + encodeURIComponent(eventData[key])) } img.src = [_ga.url + '/event', '?', params.join('&')].join(''); img.style.display = 'none'; document.body.insertBefore(img, document.body.childNodes[0]); } } function getElementDataAttributes($element) { var data_attribute_regex = /^data\-(\w+)$/; var data_attributes = {}; if ($element.is(':checkbox')) { data_attributes.value = $element.prop('checked') } else { data_attributes.value = $element.val() || ""; } data_attributes.name = $element.attr('name') || ""; $($element[0].attributes).each(function () { if (data_attribute_regex.test(this.name)) { attribute_name = data_attribute_regex.exec(this.name)[1] data_attributes[attribute_name] = this.value; } }); return data_attributes; }// end getDataAttributes() function getNewElementDataAttributes($element) { var data_attributes = {}; if ($element.is(':checkbox')) { data_attributes.value = $element.prop('checked') } else { data_attributes.value = $element.val() || ""; } var label_el = $element.closest(".el-form-item").find(".el-form-item__label"); if (label_el) { data_attributes.name = label_el.text(); } data_attributes.name = data_attributes.name || ""; return data_attributes; } $(document).ready(function () { $("form").each(function () { // 新版表单 var form_id = $(this).parent().attr("id"); var form_id_regex = /^form\_(\d+)$/; if (form_id_regex.test(form_id)) { form_id = form_id_regex.exec(form_id)[1]; } if (!form_id) { form_id = 0; } var form_name = $(this).find(".inputs-title").text(); if (!form_name) { form_name = "表单"; } var form_data = { form_uuid: Math.random().toString(36).substr(2, 9), form_name: form_name, form_id: form_id, }; // input $(this).find('input:visible').on("change", function () { var event_data = {}; Object.assign(event_data, form_data); Object.assign(event_data, getNewElementDataAttributes($(this))); sendFormEventsAnalyst(event_data); }); // textarea $(this).find('textarea:visible').on("change", function () { var event_data = {}; Object.assign(event_data, form_data); Object.assign(event_data, getNewElementDataAttributes($(this))); sendFormEventsAnalyst(event_data); }); }); }); </script> <div class="back-top"> <div class="icon-wrap"> <img src="https://static.ltdcdn.com/visual-editor/images/article-detail-style3/back-top.png?_v=202603181713"> <div class="bubble">回到顶部</div> </div> </div> <style> .back-top{ position: fixed; //right: 15px; //bottom: 80px; right: 40px; bottom: 45px; cursor: pointer; z-index: 9999; display: none; } .back-top .icon-wrap{ box-shadow: 0 2px 30px rgba(54,56,79,.08); border-radius: 50%; width: 32px; height: 32px; line-height: 32px; text-align: center; position: relative; background-color: rgba(255,255,255,.8); } .back-top .icon-wrap img{ width: 16px; height: auto; opacity: .6; } .back-top .icon-wrap .bubble{ display: none; line-height: 16px; color: #fff; background-color:rgba(0,0,0,.8); padding: 7px 8px; border-radius: 4px; position: absolute; white-space:nowrap; left: -11px; font-size: 12px; top: 50%; transform: translate(-100%,-50%); } @media (any-hover: hover) { .back-top:hover .bubble{ display: block } } @media (max-width: 768px) { .back-top{ right: 15px; bottom: 15px; } } </style> <script> //点击回到顶部 $('.back-top').click(function () { $('html,body').animate({ scrollTop: 0 }, 400); }); //回到顶部按钮出现 $(document).scroll(function () { if ($(document).scrollTop() > 1000) { $(".back-top").show() } else { $(".back-top").hide() } }) </script> </body> </html> <script> // 动态获取表单 $("a[data-form='form']").click(function () { const dataset = $(this)[0].dataset, form_id = dataset.formId; $.ajax({ url: "/web/editor/page/html?type=1&id=" + form_id, success: function (res) { if (res.code === 0) { if (res.data.version === 1) { $("#mydialog_form").html(res.data.html); $("#mydialog_form").modal(); } else { $("#mydialog_form_new").html(res.data.html); $("#mydialog_form_new").modal(); } } } }) }) /// 新版弹窗(目前在文章详情页样式3 招聘模块起作用) $("*[data-custommodal]").click(function () { const dataset = $(this)[0].dataset, _id = dataset.custommodalId, _type = dataset.custommodalType, modelType = dataset.custommodal; var $loading = '<div class="spinner-loading"><div class="double-bounce1"></div><div class="double-bounce2"></div></div>' if (modelType == 'merchant' || modelType == 'iframe') { $("#mydialog_form_new").removeClass() $("#mydialog_form_new").addClass('modal fade in') $("#mydialog_form_new").html(`<div class="modal-dialog" role="document"><div class="modal-content">${$loading} </div></div>`) $("#mydialog_form_new").modal(); } // loading if (modelType != 'merchant' && modelType != 'form') { $("#mydialog_form_new").removeClass() $("#mydialog_form_new").addClass('modal fade in') $("#mydialog_form_new").html(`${$loading}`) $("#mydialog_form_new").modal(); } if (modelType == 'iframe') { $("#mydialog_form_new").html(` <div class="modal-dialog" role="document" style='width: 80%; height: 90%;'> <div class="modal-content" style='height: 100%;'> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> <h4 class="modal-title">${dataset.custommodalTitle}</h4> </div> <div class="modal-body" style='height: 100%;'> <iframe src='${dataset.custommodalSrc}' frameborder=0 width='100%' height='90%' ></iframe> </div> </div> </div>`); return; } $.ajax({ url: `/web/editor/page/html?type=${_type}&id=${_id}`, success: function (res) { if (res.code === 0) { if (modelType == 'form') { if (res.data.version === 1) { $("#mydialog_form").html(res.data.html); $("#mydialog_form").modal(); } else { $("#mydialog_form_new").addClass('') $("#mydialog_form_new").attr('data-form-version', res.data.version); $("#mydialog_form_new").attr('data-form-id', _id); $("#mydialog_form_new").html(res.data.html); $("#mydialog_form_new").modal(); } } else if (modelType == 'merchant') { $("#mydialog_form_new").addClass('inviteModal') $("#mydialog_form_new").html(res.data.html); } else if (modelType == 'goods_compare') { $("#mydialog_form_new").html(res.data.html); if ($('body').hasClass('side-nav-open-' + dataset.custommodalStyle)) { $('body').removeClass('side-nav-open-' + dataset.custommodalStyle) } else { $('body').addClass('side-nav-open-' + dataset.custommodalStyle) } } } } }) }) // 视频弹出框 关闭的时候 视频不播放 $('#myVideoModal').on('hidden.bs.modal', function (e) { // $('#myVideoModal').find('iframe').attr('src', ''); $('#myVideoModal').find('video').attr('src', ''); }) /*// 表单模态框 关闭的时候 $('#mydialog_form_new').on('hidden.bs.modal', function (e) { let $modal = $(this); let modalType = $modal.attr('data-custommodal'); let formVersion = $modal.attr('data-form-version'); // 如果是新版表单 关闭的时候 需要销毁表单 if (modalType =='form' && formVersion == '2') { let formApp = `form_app_${formId}`; if(formApp){ formApp.$destroy(); formApp = null; } } })*/ </script> <script src="https://static.ltdcdn.com/assets/js/iframe-resizer/iframeResizer.js?_v=202603181713"></script> <script type="text/javascript"> <!-- 无需改动直接复制即可 --> iFrameResize({ log: false,//开启日志:插件调用过程中相关信息 heightCalculationMethod: 'max', autoResize: true //注意:ifream高度计算方式,若返回ifream高度固定为150px或0px时,请自己灵活调整计算方式(具体设置请点击传送门进入官网查看),博主在使用过程中就碰到了该问题,查阅好久资料才得到解决。 }); </script> <script> </script> <script> // 初始化订阅功能的通用方法 function initDingyueSubscribe() { const websiteID = 480837 const websiteName = "2B2C网址导航" const type = $(this).data('type') if (type && type == 'useSourceWebsite') { let sourceWebsiteID = $('#source_website_id').val().trim() let sourceWebsiteName = $('#source_website_name').val().trim() if (sourceWebsiteID) { dingyue.init(sourceWebsiteID, { title: sourceWebsiteName }) } } else { if (websiteID) { dingyue.init(websiteID, { title: websiteName }) } } } // 统一绑定订阅相关点击事件(事件委托优化) $(document).on('click', '*[data-subscribe="notice-click"]', function() { initDingyueSubscribe(); }); </script>