var stylerem6 = `*{margin: 0;padding: 0;} .insert_template6{margin: 15px 1px;text-indent: 0!important;line-height: initial;} .insert_template6 .it_content{display: flex;justify-content: space-between;gap: 15px; background-color: #F3F3F3;padding: 0.2rem 0.4rem;box-sizing: border-box;} .insert_template6 .it_content .it_content_info{overflow: hidden;padding:0!important;} .insert_template6 .it_content .it_content_info img{display: inline-block;width: 1.3rem!important;height: 1.3rem!important;border-radius: 15px!important;float: left;margin:0 15px 0 0!important;} .insert_template6 .it_content .it_content_info h2{color: #ff0013!important;font-size: 15px;font-weight: 500;margin: 0!important;border-bottom:none;display: block;} .insert_template6 .it_content .it_content_info h2:before, .insert_template6 .it_content .it_content_info h2:after{display:none;} .insert_template6 .it_content .it_content_info .info_text{font-size: 15px;line-height: 0.4rem;color: #333;overflow: hidden;text-overflow: ellipsis;white-space: normal;margin-top: 0.1rem;} .insert_template6 .it_content .it_content_info .info_text span{color:#FC3E35;display: contents;} .insert_template6 .it_content .btn_info{margin-top: 0.4rem;display: flex;justify-content: space-between;flex: none;} .insert_template6 .it_content .btn_info a{display: inline-block;text-decoration: none!important;font-size: 0.28rem; width: 45%;height: 0.72rem;line-height: 0.72rem;text-decoration: none;text-align: center;color: #fff;background: linear-gradient(to right, #359FFF, #48B5FB);border-radius: 0.16rem;font-weight: 400;padding: 0 6px;min-width: 1.8rem;} .insert_template6 .it_content .btn_info a.r{margin-left:15px;} .sentence_html .content_box .content h2, .sentence_html .content_box .content h3, .sentence_html .content_box .content h4, .sentence_html .content_box .content h5,.sentence_html .content_box .content p{ font-size: inherit; } @media screen and (max-width: 768px) { .insert_template6 .it_content{flex-direction: column;align-items: initial; padding: 13px 20px!important;gap:0;} .insert_template6 .it_content .btn_info{margin-top: 0.4rem;min-width: auto;} .insert_template6 .it_content .btn_info a{width: 100%;} }`; var stylepx6 = `*{margin: 0;padding: 0;} .insert_template6{margin: 15px 1px;text-indent: 0!important;line-height: initial;} .insert_template6 .it_content{display: flex;justify-content: space-between;gap: 15px; background-color: #F3F3F3;padding: 15px!important; box-sizing: border-box;align-items: center;} .insert_template6 .it_content .it_content_info{overflow: hidden;padding:0!important;flex: 1;} .insert_template6 .it_content .it_content_info img{display: inline-block;width: 65px!important;height: 65px!important;border-radius: 15px!important;float: left;margin:0 15px 0 0!important;} .insert_template6 .it_content .it_content_info h2{color: #ff0013!important;font-size: 15px;font-weight: 500;margin: 0!important;background: transparent;line-height: initial;padding: 0;border-bottom:none;display: block;} .insert_template6 .it_content .it_content_info h2:before, .insert_template6 .it_content .it_content_info h2:after{display:none;} .insert_template6 .it_content .it_content_info .info_text{font-size: 15px;line-height: 20px;color: #333;white-space: normal;margin-top: 10px;overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;} .insert_template6 .it_content .it_content_info .info_text span{color:#FC3E35;display: contents;} .insert_template6 .it_content .btn_info{display: flex;flex-direction: column;gap: 5px;flex: none;} .insert_template6 .it_content .btn_info a{display: inline-block;text-decoration: none!important;font-size: 14px; height: 36px;line-height: 36px;text-decoration: none;text-align: center;color: #fff;background: linear-gradient(to right, #359FFF, #48B5FB);border-radius: 5px;font-weight: 400;padding: 0 6px;min-width: 90px;} @media screen and (max-width: 768px) { .insert_template6 .it_content{flex-direction: column;align-items: initial; padding: 13px 13px!important;gap:0;} .insert_template6 .it_content .btn_info{margin-top: 20px;min-width: auto;} .insert_template6 .it_content .btn_info a{width: 100%;} }`;var uAgent = window.navigator.userAgent , isIOS = uAgent.match(/iphone/i) , isYIXIN = uAgent.match(/yixin/i) , is2345 = uAgent.match(/Mb2345/i) , ishaosou = uAgent.match(/mso_app/i) , isSogou = uAgent.match(/sogoumobilebrowser/gi) , isLiebao = uAgent.match(/liebaofast/i) , isGnbr = uAgent.match(/GNBR/i) , $fixed = document.getElementById("fixed"); function resizeRoot() { var e, i = screen.width > 0 && (window.innerWidth >= screen.width || 0 == window.innerWidth) ? screen.width : window.innerWidth, n = screen.height > 0 && (window.innerHeight >= screen.height || 0 == window.innerHeight) ? screen.height : window.innerHeight; window.devicePixelRatio && window.devicePixelRatio, isIOS && (i = screen.width, n = screen.height), i > n && (i = n), (e = (e = i > 1080 ? 144 : i / 7.5) > 32 ? e : 32) > 100 && (e = 100), window.screenWidth_ = i, isYIXIN || is2345 || ishaosou || isSogou || isLiebao || isGnbr ? setTimeout(function() { i = 0 < screen.width && (window.innerWidth >= screen.width || 0 == window.innerWidth) ? screen.width : window.innerWidth, n = 0 < screen.height && (window.innerHeight >= screen.height || 0 == window.innerHeight) ? screen.height : window.innerHeight, e = 32 < (e = 1080 < i ? 144 : i / 7.5) ? e : 32, document.getElementsByTagName("html")[0].style.fontSize = e + "px", $fixed && ($fixed.style.display = "none") }, 500) : (document.getElementsByTagName("html")[0].style.fontSize = e + "px", $fixed && ($fixed.style.display = "none")) } resizeRoot(); window.onresize = function() { resizeRoot(); } ;function createTemplate6() { const style = document.createElement('style'); if(document.querySelector('html').style.cssText.length > 0 && window.innerWidth < 768){ style.textContent = stylerem6;console.log(document.querySelector('html').style.cssText.length,window.innerWidth < 768 ); }else{ style.textContent = stylepx6;console.log(document.querySelector('html').style.cssText.length,window.innerWidth < 768); } let dataArr = [ { imgSrc: "https://www.enjoybar.com/uploads/20250829/1756435374145527.png", h2Text: "夸克 AI搜索·AI助手", divText: "让每一次搜索都精准、智能,快速找到你想要的答案和信息。", aHref1: "https://ai.quark.cn/", aText1: "👉 免费使用", }, ]; let index = 0; document.head.appendChild(style); const template = `