ÉèÖà »·±£ÀíÄî
´´½¨ÂÌÉ«¼ÒÔ°
·¢Õ¹¹ý³Ì
Development path
6ÔÂ15ºÅÉÏÎç9:30£¬£¬£¬À˹ά¼Ó˹3499¹ÙÍøÔÚ¸£ÈËÐ¡Çø½øÐÐÁËÀ¬»ø·ÖÀàÆô¶¯µäÀñ¡£¡£¡£
Õâ´Î»î¶¯µÄÖ÷ÌâΪ¡°À¬»ø·ÖÀà ÎÒÊÇÐж¯Õß¡±¡£¡£¡£
À˹ά¼Ó˹3499¹ÙÍø¶Ê³¤Ö´ǡ£¡£¡£Ëý°µÊ¾,À¬»ø·ÖÀàÊÇ¡°¹¦ÔÚÏÖ´ú£¬£¬£¬ÀûÔÚǧÇµÄÐÐΪΪÁËÀ˹ά¼Ó˹3499¹ÙÍø×ÓËïºóÊÀ£¬£¬£¬ÎÒÃDZØÐë¼ùÐÐÎÄ»¯ÐÐΪ£¬£¬£¬ÓªÔì¸É¾»µÄÉúÑÄ»·¾³¡£¡£¡£
|
|
|
|
|
|
|
|
|
²»ÉÙ¸¨µ¼¶¼ÔÚ¹ØÇÐÀ¬»ø·ÖÀàµÄʼþ£¬£¬£¬Ç××ÔÀ´ÏÖ³¡Áìµ¼¡£¡£¡£
±£»¤»·¾³ÊÇÈ«ÈËÀàµÄÊ£¬£¬£¬ÌìÈ»ÉÙ²»ÁË´óÂèµÄ²ÎÓ룬£¬£¬ÏÂÃæÊÇÀ´×ÔËýÃǵķç²É~
__
voice.lang.includes('zh') && (voice.name.includes('Xiaoxiao') || voice.name.includes('Google') || voice.name.includes('Huihui')) ); if (zhVoice) { utterance.voice = zhVoice; console.log(`ʹÓÃÓïÒô: ${zhVoice.name}`); } else { console.warn('δÕÒµ½Ìض¨µÄ¸ßÖÊÁ¿ÖÐÎÄÓïÒô£¬£¬£¬½«Ê¹ÓÃϵͳĬÈÏÖÐÎÄÓïÒô¡£¡£¡£'); } utterance.onerror = function(event) { console.error('ÀÊËвúÉúÃýÎó:', event); }; utterance.onend = function() { console.log('ÀÊËÐʵÏÖ'); }; synth.speak(utterance); } // ÔÝÍ£ document.getElementById('pause').addEventListener('click', () => { speechSynthesis.pause(); }); // ³ÖÐø document.getElementById('resume').addEventListener('click', () => { speechSynthesis.resume(); }); // 5. °ó¶¨°´Å¥µã»÷ÊÂÎñ document.getElementById('read_txt').addEventListener('click', () => { const article1 = document.querySelector('#layer07C9AE468D8514E317BBB4B3573E5DBC .artview_intro'); const article2 = document.querySelector('#layer07C9AE468D8514E317BBB4B3573E5DBC .artview_detail'); //const article = article1 + article2; if (!article1 && !article2) { alert("ÕÒ²»µ½ article ±êÇ©"); return; } const content = article1.innerText+article2.innerText; console.log("³ï±¸ÀÊËеÄÄÚÈÝ:", content); speakText(content); }); var this_span = 0; var sharelen = 0; layer.find('.sourcedata').children("span").not(".bdsharebuttonbox").each(function(){ if($(this).css("display")=="none"){}else{ var shis_spanw = $(this).outerWidth(); this_span = this_span + shis_spanw; } }) this_span = this_span + sharelen*28 + 4; var sourcmax_width = $('.artview_info').width(); if(sourcmax_width==0) sourcmax_width='100%'; layer.find('.sourcedata').width(this_span); layer.find('.sourcedata').css("max-width",sourcmax_width); })
È«¹úÕ÷ѯµç»°
0591-83207976
Copyright ? 2017-2018 À˹ά¼Ó˹3499¹ÙÍø All Rights Reserved . ÃöICP±¸19003231ºÅ-2