其他
留学新加坡必看:解密寄宿家庭与监护人行业
Original
新加坡鱼尾文
')); } else { desc = desc.replace(/\r/g, '').replace(/\n/g, '
').replace(/\s/g, ' '); } if (itemShowType * 1 === 8) { var descDom = document.getElementById('js_image_desc'); descDom && (descDom.innerHTML = desc); if (location.href.indexOf('immerse_style=1') > -1 && descDom) { var r = window.innerHeight - descDom.getBoundingClientRect().y - document.getElementById('wx_expand_bottom').offsetHeight; var l = window.getComputedStyle(descDom).lineHeight; window.__immersiveFullDesc = desc; window.__immersiveOmited = 1; textOverflow(descDom, { value: { lineClamp: Math.floor(r / parseFloat(l)), html: '... Show More' } }); } } 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 (isAudioPage(itemShowType)) { 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一起跟随《联合早报》走进新加坡寄宿家庭,深入了解监护人这个行业。'; var TextContentNoEncode = window.a_value_which_never_exists || ''; var ContentNoEncode = window.a_value_which_never_exists || '近年来,越来越多留学生涌入新加坡。除了学校宿舍外,选择寄宿家庭的学生也不在少数。然而,并非所有寄宿家庭都能带来“家”的体验,监护人与留学生的相处成为关注焦点。\x0a\x0a一起跟随《联合早报》走进新加坡寄宿家庭,深入了解监护人这个行业。'; 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一起跟随《联合早报》走进新加坡寄宿家庭,深入了解监护人这个行业。'; var superVoteId = window.a_value_which_never_exists || ''; var extData = { superVoteId: superVoteId }; 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; })();