'); tpHolders.forEach(function (raw, i) { str = str.split("".concat(GETDESC_TP_HOLD_PREFIX).concat(i, "__")).join(sanitizeHeldEditorTimepointHtml(raw)); }); return str; } function modifySecondRendContent(str) { var blockquoteRegex = /(
')); } else { desc = desc.replace(/r/g, '').replace(/n/g, '
').replace(/s/g, ' '); } if (itemShowType * 1 === 8) { var descDom = document.createElement('div'); descDom && (descDom.innerHTML = desc); if (descDom) { descDom.childNodes.forEach(function (child, idx) { var lastNode; if (idx > 0) { lastNode = descDom.childNodes[idx - 1]; } if (lastNode && lastNode.nodeName === 'BR' || idx === 0) { var isLeft = calLanguageRatio(child.textContent); if (isLeft) { if (child.nodeType === Node.TEXT_NODE) { var span = document.createElement('span'); span.classList.add('wx_english_text_left'); span.textContent = child.nodeValue; descDom.replaceChild(span, child); } else if (child.nodeType === Node.ELEMENT_NODE && child.classList && child.classList.contains('text-node-wrapper')) { child.classList.add('wx_english_text_left'); } } } }); desc = descDom.innerHTML; } } else if (isAudioPage$1(itemShowType)) { desc = applyContentTimePointScan(desc); } desc = markLink(desc); return { desc: desc, endPoiInfo: endPoiInfo }; }; function isAudioPage(itemShowType) { return itemShowType * 1 === 7; } var __setDesc = function __setDesc(desc, isNoEncode, itemShowType) { var extData = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; desc = getDesc(desc, isNoEncode, itemShowType, extData).desc; if (itemShowType * 1 === 8) { var descDom = document.getElementById('js_image_desc'); descDom && (descDom.innerHTML = desc); } else if (itemShowType * 1 === 10) { var dom = document.querySelector('.js_share_notice_dom'); var _descDom = document.getElementById('js_text_desc'); _descDom && (_descDom.innerHTML = desc); if (extData.superVoteId) dom && dom.classList.add('no_min_height'); var titleDom = document.getElementById('js_text_title'); var titleRect = titleDom ? titleDom.getBoundingClientRect() : undefined; var descRect = _descDom ? _descDom.getBoundingClientRect() : undefined; if (titleRect && titleRect.height > 17 * 1.4 + 2 || descRect && descRect.height > 17 * 1.6 + 2 || extData.superVoteId) { dom && dom.classList.add('text_align_left'); } } else if (itemShowType * 1 === 7) { document.querySelector('#js_audio_desc') && (document.querySelector('#js_audio_desc').innerHTML = desc); } else { var _descDom2 = document.getElementById('js_common_share_desc'); var descDomWrap = document.getElementById('js_common_share_desc_wrap'); if (!_descDom2 || !descDomWrap) { return; } _descDom2.innerHTML = desc; if (itemShowType * 1 !== 5) { setTimeout(function () { var folderSwitcher = document.getElementById('js_folder_text_switch'); if (_descDom2.offsetHeight - descDomWrap.offsetHeight > 1) { descDomWrap.className += ' weui-ellipsis_multi'; folderSwitcher.style.display = 'block'; } else { folderSwitcher.style.display = 'none'; } }, 300); } } }; if (!window.__second_open__) { var videoContentNoEncode = window.a_value_which_never_exists || '旅途“杏” 运加倍💖x0a初冬季节,银杏正盛🌟x0a来齐云山,一起金光闪闪✨x0ax3ca class=x22wx_topic_linkx22 topic-id=x22mx1dpnwk-frgf0ox22 style=x22color: var(--weui-LINK) !important;x22 data-topic=x221x22 data-recommend=x22x22x3e#安徽齐云山x3c/ax3e x3ca class=x22wx_topic_linkx22 topic-id=x22mx1dpnyw-onl4hmx22 style=x22color: var(--weui-LINK) !important;x22 data-topic=x221x22 data-recommend=x22x22x3e#来齐云山做逍遥客x3c/ax3e x3ca class=x22wx_topic_linkx22 topic-id=x22mx1dpo1r-dncwi8x22 style=x22color: var(--weui-LINK) !important;x22 data-topic=x221x22 data-recommend=x22x22x3e#银杏x3c/ax3e x3ca class=x22wx_topic_linkx22 topic-id=x22mx1dpo84-21cisyx22 style=x22color: var(--weui-LINK) !important;x22 data-topic=x221x22 data-recommend=x22x22x3e#祥源文旅x3c/ax3e '; var TextContentNoEncode = window.a_value_which_never_exists || ''; var ContentNoEncode = window.a_value_which_never_exists || '旅途“杏” 运加倍💖x0a初冬季节,银杏正盛🌟x0a来齐云山,一起金光闪闪✨x0ax3ca class=x22wx_topic_linkx22 topic-id=x22mx1dpnwk-frgf0ox22 style=x22color: var(--weui-LINK) !important;x22 data-topic=x221x22 data-recommend=x22x22x3e#安徽齐云山x3c/ax3e x3ca class=x22wx_topic_linkx22 topic-id=x22mx1dpnyw-onl4hmx22 style=x22color: var(--weui-LINK) !important;x22 data-topic=x221x22 data-recommend=x22x22x3e#来齐云山做逍遥客x3c/ax3e x3ca class=x22wx_topic_linkx22 topic-id=x22mx1dpo1r-dncwi8x22 style=x22color: var(--weui-LINK) !important;x22 data-topic=x221x22 data-recommend=x22x22x3e#银杏x3c/ax3e x3ca class=x22wx_topic_linkx22 topic-id=x22mx1dpo84-21cisyx22 style=x22color: var(--weui-LINK) !important;x22 data-topic=x221x22 data-recommend=x22x22x3e#祥源文旅x3c/ax3e '; var itemShowType = window.a_value_which_never_exists || '5'; var content = window.a_value_which_never_exists || ''; var desc = window.a_value_which_never_exists || '旅途“杏” 运加倍💖x0a初冬季节,银杏正盛🌟x0a来齐云山,一起金光闪闪✨x0ax26lt;a class=x26quot;wx_topic_linkx26quot; topic-id=x26quot;mx1dpnwk-frgf0ox26quot; style=x26quot;color: var(--weui-LINK) !important;x26quot; data-topic=x26quot;1x26quot; data-recommend=x26quot;x26quot;x26gt;#安徽齐云山x26lt;/ax26gt; x26lt;a class=x26quot;wx_topic_linkx26quot; topic-id=x26quot;mx1dpnyw-onl4hmx26quot; style=x26quot;color: var(--weui-LINK) !important;x26quot; data-topic=x26quot;1x26quot; data-recommend=x26quot;x26quot;x26gt;#来齐云山做逍遥客x26lt;/ax26gt; x26lt;a class=x26quot;wx_topic_linkx26quot; topic-id=x26quot;mx1dpo1r-dncwi8x26quot; style=x26quot;color: var(--weui-LINK) !important;x26quot; data-topic=x26quot;1x26quot; data-recommend=x26quot;x26quot;x26gt;#银杏x26lt;/ax26gt; x26lt;a class=x26quot;wx_topic_linkx26quot; topic-id=x26quot;mx1dpo84-21cisyx26quot; style=x26quot;color: var(--weui-LINK) !important;x26quot; data-topic=x26quot;1x26quot; data-recommend=x26quot;x26quot;x26gt;#祥源文旅x26lt;/ax26gt; '; var superVoteId = window.a_value_which_never_exists || ''; var quoteList = null; try { quoteList = JSON.parse('[]'); } catch (e) { console.error(e); } var imgList = null; try { var imgListStr = '[]'; imgList = JSON.parse(imgListStr); } catch (e) { console.error(e); } var extData = { superVoteId: superVoteId, quoteList: quoteList, isFinderImage: false, transAppmsgData: +itemShowType === 8 ? window.cgiData && window.cgiData.trans_appmsg_info : null, send_source: window.a_value_which_never_exists || '' * 1, imgList: imgList }; if (videoContentNoEncode) { __setDesc(videoContentNoEncode, true, itemShowType, extData); } else if (itemShowType * 1 === 10 && (ContentNoEncode || superVoteId) || isAudioPage(itemShowType) && ContentNoEncode) { __setDesc(ContentNoEncode, true, itemShowType, extData); } else if (TextContentNoEncode) { __setDesc(TextContentNoEncode, true, itemShowType, extData); } else if (itemShowType * 1 === 8) { __setDesc(content || desc, true, itemShowType, extData); } else { __setDesc(desc, false, itemShowType, extData); } window.__setDesc = __setDesc; } return __setDesc; })();
声明:本文由专栏撰稿人或通讯员供稿,内容仅供信息交流与学习参考,不代表本平台观点。相关版权归原作者所有,未经许可不得擅自篡改;如需转载,请注明来源:长三角城市网。联系电话:15301592670;广告合作:19951968733。







