CINXE.COM
日職》少林18銅人?辰己涼介「全身金」亮相 透露超狂打扮用意 - 自由體育
<!DOCTYPE html> <html lang="zh-TW"> <head> <script> let cdnDate = '20241201113758'; </script> <script> var pvDomain = 'pv.ltn.com.tw'; </script> <script> var pvServer = 'pv.ltn.com.tw'; </script> <script>var interstitialSlot;</script> <script>var staticSlot = false;</script> <script src="https://cache.ltn.com.tw/js/c.js"></script> <base href="https://sports.ltn.com.tw/" /> <meta name="ltn:device" content="R" /> <title>日職》少林18銅人?辰己涼介「全身金」亮相 透露超狂打扮用意 - 自由體育</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, minimum-scale=1.0" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta property="og:site_name" name="application-name" content="自由時報電子報" /> <meta name="author" itemprop="author" content="自由時報電子報" /> <meta name="dcterms.rightsHolder" content="自由時報電子報" /> <meta name="copyright" content="自由時報電子報" /> <meta property="og:title" itemprop="name" content="日職》少林18銅人?辰己涼介「全身金」亮相 透露超狂打扮用意 - 自由體育" /> <meta name="title" itemprop="headline" content="日職》少林18銅人?辰己涼介「全身金」亮相 透露超狂打扮用意 - 自由體育" /> <meta name="keywords" content="日職,棒球,12強" /> <meta name="news_keywords" itemprop="keywords" content="日職,棒球,12強" /> <meta property="og:image" itemprop="image" content="https://img.ltn.com.tw/Upload/sports/page/800S/2024/11/28/phpqWkLqV.jpg" /> <meta property="og:image:type" content="image/jpeg" /> <meta property="og:image:width" content="1108" /> <meta property="og:image:height" content="778" /> <meta property="article:section" name="section" itemprop="articleSection" content="sport" /> <meta property="article:section2" content="baseball" /> <meta property="article:section3" content="npb" /> <meta name="description" itemprop="description" content="日職今天舉辦第53屆三井金手套頒獎儀式,樂天金鷲球星辰己涼介再度有驚人之舉,打扮成「一身金」,臉部和頭部都弄成金色,再度引發話題。辰己涼介表示,「主題是三井金手套獎,就是這樣。」現年27歲的辰己涼介是今年洋聯安打王,並連4年勇奪金手套、榮獲洋聯最佳十人。辰己涼介" /> <meta property="og:description" itemprop="description" content="日職今天舉辦第53屆三井金手套頒獎儀式,樂天金鷲球星辰己涼介再度有驚人之舉,打扮成「一身金」,臉部和頭部都弄成金色,再度引發話題。辰己涼介表示,「主題是三井金手套獎,就是這樣。」現年27歲的辰己涼介是今年洋聯安打王,並連4年勇奪金手套、榮獲洋聯最佳十人。辰己涼介" /> <meta property="og:url" itemprop="url" content="https://sports.ltn.com.tw/news/breakingnews/4877911" /> <meta property="og:type" content="article" /> <meta name="pubdate" property="article:published_time" itemprop="datePublished" content="2024-11-28T15:31:00+08:00" /> <meta property="article:published_time" content="2024-11-28T15:31:00+08:00" /> <meta property="fb:pages" content="511286612305978" /> <meta property="fb:app_id" content="140490219413038" /> <meta property="twitter:card" content="summary" /> <meta property="twitter:site" content="@ltntw" /> <meta property="twitter:creator" content="@ltntw" /> <meta name="robots" content="index,follow" /> <meta name="googlebot" content="index,follow" /> <link rel="shortcut icon" type="image/x-icon" sizes="192x192" href="https://sports.ltn.com.tw/assets/images/rwd/logo24-sport.png" /> <link rel="apple-touch-icon" sizes="180x180" href="https://sports.ltn.com.tw/assets/images/rwd/1200_sport.png" /> <link rel="apple-touch-icon-precomposed" sizes="180x180" href="https://sports.ltn.com.tw/assets/images/rwd/1200_sport.png" /> <link rel="image_src" type="image/jpeg" href="https://img.ltn.com.tw/Upload/sports/page/800S/2024/11/28/phpqWkLqV.jpg" /> <link rel="canonical" itemprop="mainEntityOfPage" href="https://sports.ltn.com.tw/news/breakingnews/4877911" /> <link rel="amphtml" href="https://sports.ltn.com.tw/amp/news/breakingnews/4877911" /> <script> var article_status = '0'; </script> <link rel="stylesheet" href="https://cache.ltn.com.tw/css/reset.css?20241018"> <link rel="stylesheet" href="assets/css/rwd/swiper.min.css"> <link rel="stylesheet" href="assets/css/rwd/sport_global.css?20240801"> <link rel="stylesheet" href="assets/css/rwd/sport_right.css"> <link rel="stylesheet" href="assets/css/rwd/jqcloud.min.css"> <!-- 奧運專用 --> <link rel="stylesheet" href="assets/2024/olympic/css/oly2024_right.css?20240801"> <link rel="stylesheet" href="assets/2024/olympic/css/oly2024_sport.css?202404801"> <link href="https://fonts.googleapis.com/css?family=Noto+Sans+TC:300,400,500,700,900" rel="stylesheet"> <script src="https://cache.ltn.com.tw/js/jquery-3.4.1.min.js"></script> <!-- Swiper JS --> <script src="assets/js/rwd/swiper.min.js"></script> <script src="assets/js/rwd/sport_global.min.js"></script> <script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script> <script> if(window.outerWidth <= 1100) { // 只有手機顯示 //設定coverUnits let coverUnits = { "news" : "02-mobile-page-H2", "auto" : "03-auto-mobile-H2", "3c" : "04-3C-mobile-H2", "talk" : "05-talk-mobile-H2", "ec" : "06-ec-mobile-H2", "ent" : "07-ent-mobile-H2", "istyle" : "08-style-mobile-H2", "playing" : "09-playing-mobile-H2", "sports" : "10-sports-mobile-H2", "estate" : "11-estate-mobile-H2", "food" : "12-food-mobile-H2", "health" : "13-health-mobile-H2", "art" : "14-art-mobile-H2", "video" : "15-video-mobile-H2", "features" : "99-feature-mobile-H2", }; let CoverHost = location.hostname.toLowerCase().replace(".ltn.com.tw", ""); let unitId = coverUnits[CoverHost] || coverUnits["news"]; window.googletag = window.googletag || {cmd: []}; googletag.cmd.push(function() { interstitialSlot = googletag.defineOutOfPageSlot( '/21202031/'+ unitId, googletag.enums.OutOfPageFormat.INTERSTITIAL); if (interstitialSlot) interstitialSlot.addService(googletag.pubads()); googletag.enableServices(); } ); googletag.cmd.push(function() { googletag.pubads().addEventListener('slotRenderEnded', function(event) { if (interstitialSlot === event.slot) { staticSlot = true; console.log('staticSlot = true'); } }); }); $(function(){ googletag.cmd.push(function() { // Ensure the first call to display comes after static ad slot // divs are defined. googletag.display(interstitialSlot); }); }); } </script> <script> var adDevice = cookies_m.isPC() ? 'P' : 'M'; </script> <script src="https://cache.ltn.com.tw/js/lazyload.min.js"></script> <script src="assets/js/rwd/jqcloud.min.js"></script> <script type='text/javascript'> var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; (function() { var gads = document.createElement('script'); gads.async = true; gads.type = 'text/javascript'; var useSSL = 'https:' == document.location.protocol; gads.src = (useSSL ? 'https:' : 'http:') + '//securepubads.g.doubleclick.net/tag/js/gpt.js'; var node = document.getElementsByTagName('script')[0]; node.parentNode.insertBefore(gads, node); })(); </script> <script type='text/javascript'> googletag.cmd.push(function() { var dfp = {"pc":{"K1":{"slot":"\/21202031\/10-sports-sub-P-K1","size":"[[1, 1], [970, 90], [970, 160], [970, 250], [1260, 90], [1260, 160], [1260, 250]]","div":"ad-K1","class":"suggestTop adHeight250","collapse":0},"PCIR1":{"slot":"\/21202031\/10-sports-sub-P-IR1","size":"[ 'fluid', [1, 1], [650, 610], [650, 250], [640, 360]]","div":"ad-PCIR1","class":"adHeight250","collapse":1},"C1":{"slot":"\/21202031\/10-sports-sub-P-sponsors-B1","size":"[[300, 250]]","div":"ad-C1","class":"adHeight250","collapse":1},"C2":{"slot":"\/21202031\/10-sports-sub-P-sponsors-B2","size":"[[300, 250]]","div":"ad-C2","class":"adHeight250","collapse":1},"BD1":{"slot":"\/21202031\/10-sports-sub-P-BD1","size":"[[300, 250], [300, 600]]","div":"ad-BD1","class":"suggestBottom adHeight250","collapse":1},"BD2":{"slot":"\/21202031\/10-sports-sub-P-BD2","size":"[[300, 250], [300, 600]]","div":"ad-BD2","class":"suggestBottom adHeight250","collapse":1},"BD3":{"slot":"\/21202031\/10-sports-sub-P-BD3","size":"[[300, 250], [300, 600]]","div":"ad-BD3","class":"adHeight250","collapse":1}},"m":{"B1-ATF":{"slot":"\/21202031\/10-sports-mobile-sub-P-B1-ATF","size":"['fluid', [1, 1], [300, 250], [336, 280]]","div":"ad-B1-ATF","class":"suggestTop suggestBottom adHeight359","collapse":0},"IR1":{"slot":"\/21202031\/10-sports-mobile-sub-P-IR1","size":"['fluid', [1, 1], [300, 250], [336, 280], [320, 480]]","div":"ad-IR1","class":"adHeight280","collapse":1},"B2":{"slot":"\/21202031\/10-sports-mobile-sub-P-B2","size":"['fluid', [1, 1], [300, 250], [336, 280], [320, 480]]","div":"ad-B2","class":"suggestBottom adHeight280","collapse":1},"I1-bottom":{"slot":"\/21202031\/10-sports-mobile-sub-P-I1-bottom","size":"['fluid', [1, 1], [320, 50], [320, 100]]","div":"ad-I1-bottom","class":"door-bottom door-bottom-head","collapse":1}}}; var device = cookies_m.isPC() ? 'pc' : 'm'; dfp = dfp[device] || []; for (var key in dfp) { // 蓋台廣告由cache_ads_h1.php控制 if (key === 'H1') { continue; } if (dfp.hasOwnProperty(key)) { var ad = dfp[key]; var adSize = eval(ad['size']); var bodyWidth = $('body').width(); ad['size'] = []; for (var i in adSize) { if (adSize[i][0] > bodyWidth) { continue; } ad['size'].push(adSize[i]); } if (ad['collapse']) { googletag.defineSlot( ad['slot'], ad['size'], ad['div'] ).addService(googletag.pubads()).setCollapseEmptyDiv(true, false); } else { googletag.defineSlot( ad['slot'], ad['size'], ad['div'] ).addService(googletag.pubads()).setCollapseEmptyDiv(false, false); } } } googletag.pubads().addEventListener('slotRenderEnded', function(event) { // google回傳的廣告標籤(ex:ad-B1) var slotElementId = event.slot.getSlotElementId(); // === 無廣告時要做的事 === if (event.isEmpty) { // 記錄沒有廣告 console.log('沒有' + slotElementId); return; } // === 有廣告時要做的事 === // 置底浮水印廣告,調整畫面不要蓋住footer if (slotElementId == 'ad-I1-bottom') { // 廣告的高度 var ad_height = event.size[1]; var $adI1Bottom = $('#ad-I1-bottom'); // 調整廣告位置與footer墊底高度 $adI1Bottom.css('height', ad_height + 'px'); $('.door-bottom-space').show().css('height', ad_height + 'px'); // 顯示關閉按鈕並綁定關閉事件 if (ad_height > 50) { console.log('ad_height: ' + ad_height); // 調整Top按鈕高度 $('#top').css('bottom', (ad_height + 20) + 'px'); // 監聽關閉按鈕 $adI1Bottom.prepend('<i class="close"></i>'); $adI1Bottom.find('.close').click(function() { $adI1Bottom.fadeOut(100); $('.door-bottom-space').fadeOut(100); $('#top').css('bottom', '100px'); }); } return; } // 有IR1時顯示「請繼續往下閱讀...」 if (slotElementId == 'ad-IR1' || slotElementId == 'ad-PCIR1') { // 顯示「請繼續往下閱讀...」(class="before_ir"在cache中寫的) var suggest_rwd = 'suggest_' + (slotElementId == 'ad-PCIR1' ? 'pc' : 'm'); $('p.before_ir').addClass(suggest_rwd).fadeIn(200); $('p.after_ir').addClass(suggest_rwd).fadeIn(200); } }); googletag.enableServices(); }); </script> <script> // 判斷裝置 並只呼叫相同裝置的廣告 function displayDFP(div, dfpDevice) { var realDevice = cookies_m.isPC() ? 'pc' : 'm'; if (dfpDevice !== realDevice) { $('.suggest_' + dfpDevice).remove(); $('#' + div).remove(); return; } googletag.cmd.push(function() { googletag.display(div); }); } </script> <script> var interstitial = 0; var userAgent = navigator.userAgent; var platform = navigator.platform; var iOSDevice = ['iPhone', 'iPad']; function isiPhone() { return (userAgent.indexOf('iPhone') >= 0) ? true : false; } function isAndroid() { return (userAgent.indexOf('Android') >= 0) ? true : false; } function isFB() { return (userAgent.indexOf('FB') >= 0) ? true : false; } function isLine() { return (userAgent.indexOf(' Line') >= 0) ? true : false; } function isChrome() { return (userAgent.indexOf('Chrome') >= 0 || userAgent.indexOf('CriOS') >= 0) ? true : false; } function isSimulator(device) { var i; var isDevice = true; for (i = 0; i < device.length; i++) { isDevice = (platform.indexOf(device[i]) >= 0) ? false : true; if (!isDevice) { break; } } return isDevice; } if (isFB()) { interstitial = 1; } else if (isLine()) { interstitial = 1; } else if (isAndroid() && !isChrome()) { interstitial = 1; } else if (isiPhone() && !isSimulator(iOSDevice) && !isChrome()) { interstitial = 1; } console.log('interstitial = ' + interstitial); var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; googletag.cmd.push(function() { googletag.pubads().setTargeting("ltn_interstitial", [interstitial.toString()]); }); </script> <!-- DV360 Floodlight Tag --> <script async src="https://www.googletagmanager.com/gtag/js?id=DC-9530821"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'DC-9530821'); </script> <!-- Floodlight Tag --> <script> window.dataLayer = window.dataLayer || []; dataLayer.push({ 'event': 'testEvent', 'article': { 'authorName': '自由時報' } }); </script> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-P98PP75');</script> <!-- End Google Tag Manager --> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P98PP75" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <!-- Google Analytics PageView --> <script> (function(i,s,o,g,r,a,m) {i['GoogleAnalyticsObject']=r;i[r]=i[r]||function() { (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-31404335-1', 'auto'); ga('require', 'displayfeatures'); ga('require', 'linkid', 'linkid.js'); ga('send', 'pageview'); </script> <!-- Google Analytics PageView --> <script> var keywords = $('meta[name="keywords"]').attr('content'); var keywordsArr = keywords.split(','); for(var i = 0; i < keywordsArr.length; i++){ keywordsArr[i] = keywordsArr[i].trim() } var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; googletag.cmd.push(function() { googletag.pubads().setTargeting("ltn_keywords", [keywordsArr]); }); </script> <script> $(document).ready(function() { // GA event ch_ga_event(); }); function ch_ga_event() { var base_root_org = $('base').attr('href') || 'https://sports.ltn.com.tw/'; $(document.body).on('click.ga', '.boxInput', function() { // 按照裝置寬度來判斷電腦版或手機版 var deviceDesc = $("meta[name='ltn:device']").attr('content') || 'U'; var _pageDesc = $('.page-name').attr('data-desc'); var pageDesc =deviceDesc+':'+_pageDesc; var obj = $(this); var objDesc = obj.attr('data-desc'); var par = obj.parents('.boxTitle'); var boxDesc = par.attr('data-desc'); var category = pageDesc; var action = boxDesc; var label = objDesc || ''; /*使用自定義說明*/ ga_send_event(category,action,label); }); $('.boxTitle').on('click.count', 'a', function(e){ if(e.button!=0){return;} var lightboxName = this.className; if (lightboxName == 'image-popup-vertical-fit') { if(getinfo($(this), true)) { if (!staticSlot) { e.preventDefault(); } } } else { if(getinfo($(this), false)) { if (!staticSlot) { e.preventDefault(); } } } }).on('mouseup.count', 'a', function(e){ if(e.button!=1){return;} getinfo($(this), true); if (!staticSlot) { e.preventDefault(); } }); function getinfo(obj, SendOnly) { // 按照裝置寬度來判斷電腦版或手機版 var deviceDesc = $("meta[name='ltn:device']").attr('content') || 'U'; var _pageDesc = $('.page-name').attr('data-desc'); var pageDesc =deviceDesc+':'+_pageDesc; var objText = obj.text(); var objDesc = obj.attr('data-desc'); var par = obj.parents('.boxTitle'); /*取區塊說明*/ var boxDesc = par.attr('data-desc'); /*是否用連結文字*/ var useText = par.hasClass('boxText'); var category = pageDesc; var action = boxDesc; var label = objDesc || ''; /*使用自定義說明*/ if (useText && label=='') { label = objText || ''; /*使用連結文字*/ } var labelA = label; var idx = $('a', par).index(obj); if (label=='') { /*記錄該區塊第幾則*/ label = '第'+idx+'則'; } var target = obj.attr('target'); var href = ''; var _href = obj.attr('href'); if (_href) { href = check_url(_href); } var send_type = 'send'; if (!target && href!='') { send_type = 'redirect'; } if (SendOnly) send_type = 'send'; if (staticSlot) { send_type = 'send'; } setltncookies(action, idx, labelA); if (send_type=='send') { ga_send_event(category,action,label); return false; } else { send2ga2page(category,action,label,href); return true; } function setltncookies(area, item, elem) { var ov_sec = 30; ltncookies_news("ltn_device", deviceDesc, ov_sec); ltncookies_news("ltn_page", _pageDesc, ov_sec); ltncookies_news("ltn_area", area, ov_sec); ltncookies_news("ltn_item", item, ov_sec); ltncookies_news("ltn_elem", elem, ov_sec); } function ltncookies_news(key, value, time_sec) { var fn = ltncookies || function () {}; fn(key, value, time_sec); } } function check_url(_url) { if((/^http:/).test(_url)) { return _url; } else if((/^https:/).test(_url)) { return _url; } else if((/^\/\//).test(_url)) { return _url; } else if((/^javascript/).test(_url)) { return ''; } else if((/^#/).test(_url)) { return ''; } else { var base_root = $('base').attr('href') || base_root_org; return base_root+_url; } } /*GA事件追蹤:頁面不轉換*/ function ga_send_event(category, title, label) { ga_send_event_callback(category, title, label, function(){}); } /*GA事件追蹤:頁面轉換*/ function ga_send_event_callback(category, title, label, fn_callback) { //return fn_callback(); ga('send', 'event', category, title, label, {'hitCallback': function() { fn_callback(); } }); } /*GA事件追蹤:連結點擊*/ function send2ga2page(category, title, label, url) { var redirectTriggered = false; ga_send_event_callback(category, title, label, function() { redirectTriggered = true; document.location = url; }); setTimeout(function() { if (!redirectTriggered) { document.location = url; } }, 1500); } } </script> <script> var domain=location.hostname; //sports.ltn.com.tw var type="sports"; var a_group="breakingnews"; var a_no="4877911"; getScrNews(domain, type, a_group, a_no); </script> <div id="fb-root"></div> <!-- 熱門 --> <script src="https://cache.ltn.com.tw/js/hotNewsUrl.js"></script> <!--更新時間:2024/12/01 11:37:58--><script> let webPushOrigin = 'https://www.ltn.com.tw'; let webPushFile = webPushOrigin + '/webNotificationCheck'; let webPushNotification = webPushOrigin + '/webNotification'; // 監聽檢查回應 window.addEventListener('message',function(e) { if (e.origin == webPushOrigin) { if (e.data == 'isOK') { let checkIframe = document.getElementById('checkIframe'); checkIframe.contentWindow.postMessage('getPermission', webPushOrigin); } else if (e.data == 'granted') { $("#checkIframe").remove(); console.log(e.data); } else if (e.data == 'denied' || e.data == 'default') { //default or denied $("#checkIframe").remove(); console.log(e.data); setTimeout(() => { softConfirm(); }, 20000); } } },false); $(function() { let webPush = getCookie("softPush"); if (webPush === undefined || webPush < 1) { if (userAgent.indexOf('Chrome') >= 0 || userAgent.indexOf('Firefox') >= 0 || userAgent.indexOf('Edge/') >= 0) { initFcm(); } else if (userAgent.indexOf('Safari') >= 0) { } } }); //檢查notification function initFcm() { console.log('check notification'); if ('Notification' in window) { checkFcm(); } } //檢查notification permission function checkFcm() { console.log('checkFcm'); let checkIframe = document.createElement('iframe'); checkIframe.setAttribute('id', 'checkIframe'); checkIframe.setAttribute('src', webPushFile); checkIframe.setAttribute('allow', 'payment'); document.body.appendChild(checkIframe); } //觸發軟詢問 function softConfirm() { let softPushNotificaton = document.createElement('div'); softPushNotificaton.setAttribute('class', 'softPush_notification'); let softPushNotificationImg = document.createElement('img'); softPushNotificationImg.setAttribute('src', 'https://news.ltn.com.tw/assets/images/all/ltn.png'); softPushNotificationImg.setAttribute('alt', '自由時報'); softPushNotificaton.appendChild(softPushNotificationImg); let softPushNotificationSpan = document.createElement('span'); softPushNotificationSpan.setAttribute('class', 'softPush_word'); let softPushNotificationText = document.createTextNode('感謝您的訂閱 自由時報電子報隨時提供您最即時、熱門的新聞訊息。'); softPushNotificationSpan.appendChild(softPushNotificationText); softPushNotificaton.appendChild(softPushNotificationSpan); let softPushNotificationButton = document.createElement('button'); softPushNotificationButton.setAttribute('class', 'softPush_confirm'); softPushNotificationText = document.createTextNode('訂閱'); softPushNotificationButton.appendChild(softPushNotificationText); softPushNotificaton.appendChild(softPushNotificationButton); softPushNotificationButton = document.createElement('button'); softPushNotificationButton.setAttribute('class', 'softPush_refuse'); softPushNotificationText = document.createTextNode('暫時不要'); softPushNotificationButton.appendChild(softPushNotificationText); softPushNotificaton.appendChild(softPushNotificationButton); document.body.appendChild(softPushNotificaton); } //設定軟詢問時間 function setSoftPushCookie(extension = 0) { let st = ""; let expires = new Date(); //延展時間 extension = (extension == 0) ? 7 * 24 * 60 * 60 * 1000 : extension; expires.setTime(expires.getTime() + extension); let ti = getCookie("softPush"); if (ti === undefined) ti = 0; st = "softPush=" + (Number(ti)+1) +"; domain=ltn.com.tw;expires=" + expires.toGMTString() +"; path=/"; document.cookie = st; } $(document).on("click",".softPush_confirm",function() { window.open(webPushNotification); getScrNews('www.webPush.ask', 'ask', '', '1'); $(".softPush_notification").remove(); }); $(document).on("click",".softPush_refuse",function(){ $(".softPush_notification").remove(); getScrNews('www.webPush.ask', 'ask', '', '0'); setSoftPushCookie(); }); </script> <style> /******************** 瀏覽器推播通知 ********************/ .softPush_notification { width: 400px; height: 170px; padding: 20px; border-radius: 10px; position: fixed; left: 50%; margin-left: -200px; top: 28%; background: #fbfbfb; box-shadow: 0px 0px 30px 6px rgb(0 0 0 / 40%); z-index: 300; text-align: justify;} .softPush_notification img { width: 80px; height: auto; float: left; margin-right: 10px; } .softPush_notification span.softPush_word { margin-bottom: 10px; font-size: 18px; line-height: 30px; font-family: 'Noto Sans TC', "微軟正黑體";} .softPush_notification button { border-radius: 5px; padding: 5px 8px; letter-spacing: 1px; cursor: pointer; border: 0px; font-size: 16px;} .softPush_notification button.softPush_confirm { position: absolute; right: 25px; bottom: 20px; background: #daa01c; color: #fff; transition: .2s linear;} .softPush_notification button.softPush_refuse { position: absolute; right: 80px; bottom: 20px; color: #8e8e8e; transition: .2s linear;} .softPush_notification button.softPush_confirm:hover { background: #c58901; } .softPush_notification button.softPush_refuse:hover { background: #dedede; } @media screen and (max-width:500px) { /* 瀏覽器推播通知 */ .softPush_notification { width: 280px; height: 140px; padding: 16px; margin-left: -140px; } .softPush_notification img { width: 60px; } .softPush_notification span.softPush_word { font-size: 16px; line-height: 24px; } .softPush_notification button { padding: 6px 12px; font-size: 12px; } .softPush_notification button.softPush_confirm, .softPush_notification button.softPush_refuse { bottom: 12px; } .softPush_notification button.softPush_confirm { right: 16px; } } </style> <script> let checkDevice = cookies_m.isPC() ? 'pc' : 'm'; </script> <script> //fetch hotNews data /** * 戳機器學習api * array categoryAndType 分類跟文章類別 * int limit 出幾則 * string section 渲染的位置/區塊 */ function fetchHotNews(categoryAndType, limit, section, fn = null) { if (Array.isArray(categoryAndType)) { return fetchNews(hotNewsUrl, { "category": categoryAndType[0], "article_type": categoryAndType[1] ? categoryAndType[1] : "", "limit": limit, "rh_guid": "guid string", "utm_source": hotNewsSource, "utm_medium": section }, 'recommendations'); } let requestData = { "category": hotNewsCategory, "article_type": categoryAndType, "limit": limit, "rh_guid": "guid string", "utm_source": hotNewsSource, "utm_medium": section }; if (fn) { let url = new URL(hotNewsUrl); url.search = new URLSearchParams(requestData).toString(); return fetch(url, { // method: 'GET', headers: { 'Content-Type': 'application/json', 'Authorization': hotNewsAuth }, }) .then(response => { if (!response.ok) { throw new Error('response error:' + response.status); } return response.json(); }) .then(data => { fn(data); }) .catch(error => { console.error('fetch error:', error); }); } else { return fetchNews(hotNewsUrl, requestData, 'recommendations'); } }; /** * 取機器學習的相關新聞 */ function fetchRelatedNews(ltc_no, ltc_group, limit, utmSource='') { let requestData = { "ltc_no": ltc_no, "ltc_group": ltc_group, "limit": limit, "utm_source": utmSource, "utm_medium": "relatedNews" }; return fetchNews(relatedNewsUrl, requestData, 'related_news'); } // 相關新聞與熱門新聞共用fetch function fetchNews(url, requestData, resultKey) { let urlWithGET = new URL(url); urlWithGET.search = new URLSearchParams(requestData).toString(); return fetch(urlWithGET, { headers: { "Content-Type": "application/json" } }) .then(response => { if (!response.ok) { throw new Error('response error: ' + response.status); } return response.json(); }) .then(data => { if (data && data[resultKey]) { return data[resultKey]; } else { return []; } }) .catch(error => { console.error('fetch error:', error); return []; }); } /** * 檢查originalMoreNews是否有ad並塞入FetchRelatedNews * data fetch回來的 * originalMoreNews 原始的 */ function insertAdToFetchRelatedNews(data, originalMoreNews) { var hasAd = originalMoreNews.some(function(news) { return news.buy; }); if (hasAd) { var adNews = originalMoreNews.filter(function(news) { return news.buy; }); for (var i = 0; i < adNews.length; i++) { insertAdAtPosition(data, adNews[i], (3 + i * 3)); } } return data; } /** * 在指定位置塞入廣告 * data 整包資料 * adNews 新聞 * position 寫入位置 */ function insertAdAtPosition(data, adNews, position) { (data.length >= position) ? data.splice(position - 1, 0, adNews) : data.push(adNews); return data; } //if no data remove dom function removeHotnewsDOM(sectionClass) { const elements = document.querySelectorAll('.' + sectionClass); elements.forEach(element => { element.remove(); }); } </script> </head> <body id="sport_rwd"> <!-- Event snippet for LTN_Website_Audience on : Please do not remove. Place this snippet on pages with events you’re tracking. Creation date: 07/18/2019 --> <script> // console.log('channel:sports', 'type:棒球', 'no:4877911'); gtag('event', 'conversion', { 'allow_custom_scripts': true, 'u1': 'sports', 'u2': '棒球', 'u3': '4877911', 'u4': '', 'u5': '', 'send_to': 'DC-9530821/invmedia/ltn_w0+standard' }); </script> <noscript> <img src="https://ad.doubleclick.net/ddm/activity/src=9530821;type=invmedia;cat=ltn_w0;u1=sports;u2=棒球;u3=4877911;u4=;u5=;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;ord=1?" width="1" height="1" alt=""/> </noscript> <!-- End of event snippet: Please do not remove --> <link rel="stylesheet" href="https://cache.ltn.com.tw/css/rwd_head_tail.css?20241104" /> <link rel="stylesheet" href="https://cache.ltn.com.tw/css/rwd_head_cover.css?20241115" /> <script src="https://cache.ltn.com.tw/js/rwd_mobile_search.js?20200609"></script> <!-- Header 開始 --> <div class="ltnheader boxTitle boxText" data-desc="置頂選單"> <div class="Hcon"> <div class="logo"> <a title="自由時報" href="https://www.ltn.com.tw" data-desc="自由時報" class="logo_B"><img src="https://cache.ltn.com.tw/images/rwd_ltnlogo.png" alt="自由時報" title="自由時報"></a> <a title="自由時報" href="https://www.ltn.com.tw" data-desc="自由時報" class="logo_S"><img src="https://cache.ltn.com.tw/images/logo_foot.png" alt="自由時報" title="自由時報"></a> </div> <!-- 手機側邊欄選單用 --> <div class="ltnSearch"></div> <div class="nav_bar"></div> <!-- Header 選單 --> <div class="useMobi"> <ul> <li><a title="即時" href="https://news.ltn.com.tw/list/breakingnews" data-desc="即時">即時</a></li> <li><a title="熱門" href="https://news.ltn.com.tw/list/breakingnews/popular" data-desc="熱門">熱門</a></li> <li><a title="政治" href="https://news.ltn.com.tw/list/breakingnews/politics" data-desc="政治">政治</a></li> <li class="li_rich"> <img class="newChannel" src="https://cache.ltn.com.tw/images/new2.gif" alt="newChannel" title="newChannel"> <a title="財富自由" href="https://stock.ltn.com.tw" data-desc="財富自由" target="_blank">財富自由</a></li> <li><a title="軍武" href="https://def.ltn.com.tw" data-desc="軍武">軍武</a></li> <li><a title="社會" href="https://news.ltn.com.tw/list/breakingnews/society" data-desc="社會">社會</a></li> <li><a title="生活" href="https://news.ltn.com.tw/list/breakingnews/life" data-desc="生活">生活</a></li> <li><a title="健康" href="https://health.ltn.com.tw" data-desc="健康">健康</a> <li><a title="國際" href="https://news.ltn.com.tw/list/breakingnews/world" data-desc="國際">國際</a></li> <li><a title="地方" href="https://news.ltn.com.tw/list/breakingnews/local" data-desc="地方">地方</a></li> <li><a title="蒐奇" href="https://news.ltn.com.tw/list/breakingnews/novelty" data-desc="蒐奇">蒐奇</a></li> <li><a title="影音" href="https://video.ltn.com.tw" data-desc="影音">影音</a></li> <li><a title="財經" href="https://ec.ltn.com.tw" data-desc="財經">財經</a></li> <li><a title="娛樂" href="https://ent.ltn.com.tw" data-desc="娛樂">娛樂</a></li> <li><a title="汽車" href="https://auto.ltn.com.tw" data-desc="汽車">汽車</a></li> <li><a title="時尚" href="https://istyle.ltn.com.tw" data-desc="時尚">時尚</a></li> <li><a title="體育" href="https://sports.ltn.com.tw" data-desc="體育">體育</a></li> <li><a title="3C" href="https://3c.ltn.com.tw" data-desc="3C">3 C</a></li> <li><a title="評論" href="https://talk.ltn.com.tw" data-desc="評論">評論</a></li> <li><a title="藝文" href="https://art.ltn.com.tw" data-desc="藝文">藝文</a></li> <li><a title="玩咖" href="https://playing.ltn.com.tw" data-desc="玩咖">玩咖</a></li> <li><a title="食譜" href="https://food.ltn.com.tw" data-desc="食譜">食譜</a></li> <li><a title="地產" href="https://estate.ltn.com.tw" data-desc="地產">地產</a></li> <li class="li_project"><a title="專區" href="https://features.ltn.com.tw/" data-desc="專區">專區</a></li> <li class="li_TT"><a title="TAIPEI TIMES" href="http://www.taipeitimes.com/" data-desc="TAIPEI TIMES" target="_blank">TAIPEI TIMES</a></li> <li><a title="求職" href="https://ltn_jobs.yes123.com.tw/index.asp" data-desc="求職" target="_blank">求職</a></li> </ul> </div> <div class="function boxTitle boxText" data-desc="其它"> <div class="weather" data-desc="天氣"> <img id="weather_img" src="https://cache.ltn.com.tw/images/weather/wi_0002_day.png" alt="晴時多雲" title="晴時多雲"> <p id="weather_text"></p> </div> <div class="icon"> <a title="Facebook" href="https://www.facebook.com/m.ltn.tw/?fref=ts" class="Facebook" target="_blank" data-desc="Facebook"></a> <a title="Line" href="https://line.me/R/ti/p/%40ltnnews" class="Line" target="_blank" data-desc="Line"></a> <a title="Twitter" href="https://twitter.com/ltntw" class="Twitter" target="_blank" data-desc="Twitter"></a> <a title="YouTube" href="https://www.youtube.com/user/tvforltn" class="YouTube" target="_blank" data-desc="YouTube"></a> <a title="我要爆料" href="https://service.ltn.com.tw/complain" class="Boom" data-desc="爆料"><p>爆</p></a> <a title="search" class="iconSearch" data-desc="search"></a> <!-- 展開搜尋 --> <div class="ltnsch_show boxTitle boxText" title="搜尋" data-desc="搜尋"> <form action="https://search.ltn.com.tw/list" method="get" name="search" onsubmit="return send();"> <input name="keyword" id="cacheSearch" type="text" placeholder="Search..."> </form> </div> </div> </div> </div> <div id="marqueeHeader"></div> </div> <!-- 行動裝置:搜尋 --> <div class="M_LTN_Search"> <div class="mobileMask" style=""></div> <div class="MSearch_con"> <div class="searchltn_close"></div> <form class="formSearch" action="https://search.ltn.com.tw/list" method="get" onsubmit='return search_for_all_news();'> <input placeholder="請輸入關鍵字" name="keyword" type="text" id="rwd_qs" value=""> <div class="sbox03"><button type="submit" class="formSearchbt" data-desc="Search" id="search_submit_btn">Search</button></div> </form> </div> </div> <!-- 行動裝置:搜尋 結束 --> <!-- 天氣使用經緯度取資料 --> <script> applyWeather(); // 天氣主程式 function applyWeather() { if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { isWeather(); } } function setCity(lat, lon) { // city array var cityNameArr = [ '新北市', '臺北市', '基隆市', '桃園市', '新竹市', '宜蘭縣', '新竹縣', '臺中市', '苗栗縣', '彰化縣', '南投縣', '雲林縣', '臺南市', '高雄市', '嘉義市', '嘉義縣', '屏東縣', '澎湖縣', '臺東縣', '臺東市', '花蓮縣', '花蓮市', '台中市', '連江縣', '金門縣' ]; let url = "https://api.bigdatacloud.net/data/reverse-geocode-client?latitude="+lat+"&longitude="+lon+"&localityLanguage=zh"; let request = new XMLHttpRequest(); request.open('GET', url, true); request.onload = function () { let data = JSON.parse(this.response); let cityName = '臺北市'; if (request.status >= 200 && request.status < 400) { let cityArr = data.localityInfo.administrative; let result = cityArr.find(obj => {return cityNameArr.includes(obj.name)}); if (result != undefined) { cityName = (result.name == '台中市')? '臺中市' : result.name; } } addWeather(cityName, 1); }; request.send(); } function isWeather() { var isWeather = document.getElementById('ltnRWD') ? 1 : 0; // 判斷是否顯示天氣 if (isWeather) { $( document ).ready(function() { // 先取用cookie先前天氣資料 if (getCookie('city') && getCookie('temperature') && getCookie('icon') && getCookie('status')) { let data = {temperature: getCookie('temperature'), icon: getCookie('icon'), status: getCookie('status')}; let city = getCookie('city'); setAttribute(city, data); return; } // 還沒確認地理位置前先預設 addWeather('臺北市', 1); // cookie沒值則抓取user位置天氣 if (window.navigator.geolocation) { geo = window.navigator.geolocation; geo.getCurrentPosition(function(position) {setCity(position.coords.latitude, position.coords.longitude);}, addWeather('臺北市', 0) ); } }); } } function addWeather(city, isGEO) { // isGEO 0:無法取得定位 1:可以取得定位 let weatherUrl = 'https://cache.ltn.com.tw' + '/getWeather/' + city; let xmlHttp = new XMLHttpRequest(); xmlHttp.open( "GET", weatherUrl, true); // false for synchronous request xmlHttp.onload = function () { let data = JSON.parse(this.response); data.city = city; setCookie(data, isGEO);// 設定cookie setAttribute(city, data);// 設定天氣html }; xmlHttp.send(); } function setCookie(data, isGEO) { let cityNow = new Date(); let weatherNow = new Date(); var expireCityTime = (isGEO == 0)? 24 : 2; var expireWeatherTime = 8; cityNow.setTime(cityNow.getTime() + expireCityTime * 3600 * 1000); weatherNow.setTime(weatherNow.getTime() + expireWeatherTime * 3600 * 1000); for (let key in data) { document.cookie = (key == 'city')? key + '=' + data[key] + '; expires=' + cityNow.toUTCString() + '; domain=.ltn.com.tw; path=/' : key + '=' + data[key] + '; expires=' + weatherNow.toUTCString() + '; domain=.ltn.com.tw; path=/'; } } function setAttribute(city, data) { //設定天氣html document.getElementById('weather_text').innerHTML = city + ' ' + data.temperature; document.getElementById('weather_img').setAttribute("src", 'https://cache.ltn.com.tw/images/weather/' + data.icon); document.getElementById('weather_img').setAttribute("alt", data.status); document.getElementById('weather_img').setAttribute("title", data.status); } function getCookie(name) { // 依名字取cookie const value = `; ${document.cookie}`; const parts = value.split(`; ${name}=`); if (parts.length === 2) return parts.pop().split(';').shift(); } </script> <!-- 天氣使用經緯度取資料 結束--> <script> var count = 0; function send() { if (count == 0) { count++; key = document.getElementById("cacheSearch").value.replace(/( )+/g, ' '); key = key.replace(/( )+/g, ' '); key = key.replace(/^[\s]*/gi, ""); //去除左邊空白 key = key.replace(/[\s]*$/gi, ""); //去除右邊空白 document.getElementById("cacheSearch").value = key; kw = key.split(" "); if (key.length > 50) { alert("關鍵字數過長"); count = 0; return false; } else if (kw.length > 3) { alert("超過三組關鍵字"); count = 0; return false; } else if ((kw.length == 1 && kw[0].length < 2)) { alert("關鍵字需兩個字以上"); count = 0; return false; } else return true; } } </script> <script> /*滑動隱藏header*/ var startScroll = false; var firstScrollTop = 0; $(window).on('scroll', function() { if (!startScroll || this.scrollY <= $('#marquee').find('li').outerHeight(true)) { $('body').removeClass('hideUp'); return; } if (firstScrollTop == 0) { firstScrollTop = this.scrollY; } firstScrollTop = hideUp(firstScrollTop, this.scrollY); }); setTimeout(function () { startScroll = true; }, 3000); function hideUp(startY, endY) { var moveY = endY - startY; var targetUp = 0; var targetDown = 0; if ($(window).outerWidth(true) <= 828) { //手機版條件 targetUp = 5; targetDown = -100; } if (moveY > targetUp) { // 往上滑 $('body').addClass('hideUp'); startY = 0; } else if (moveY < targetDown) { // 往下滑 body移除hideUp以顯示header $('body').removeClass('hideUp'); startY = 0; } return startY; } </script> <style> /*滑動隱藏header*/ .ltnheader { transition: all 0.8s; } .hideUp .ltnheader {top: -90px;} </style> <style> @charset "utf-8"; /* CSS Document */ #mobileMenu * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; } #mobileMenu{width:200px; /*width:100%;*/ height:100vh; overflow-y:scroll; overflow-x:hidden; transition:all 0.1s linear; font-size:16px; } #mobileMenu::-webkit-scrollbar { display: none; /*Chorme*/} #mobileMenu { scrollbar-width: none; /*FF*/} #mobileMenu { -ms-overflow-style: none; /*IE*/} #mobileMenu a { color:#fff; cursor:pointer; } #mobileMenu .MM { width:200px; background-color:#5e5e5e; position:absolute; top:0; z-index:50; box-shadow:0px 0px 8px 3px rgba(0,0,0,0.3), -6px 0px 10px 0px rgba(0,0,0,0.3) inset; } .mobileMenu { display:none; height:100%; position:fixed; top:0; z-index:3001; } /* ----------- ltn 相關 ----------- */ #mobileMenu div.MM div.ltn_home { display:block; width:100%; } #mobileMenu .ltn_home a { display:block; height:50px; line-height:50px; position:relative; color:#fff; padding:0px 0px 0px 40px; } #mobileMenu .ltn_home a.home { border-bottom:2px solid #7d7d7d; } #mobileMenu .ltn_home a.icon_item, #mobileMenu .ltn_home a.dot { border-top:1px solid #000; margin:0; } #mobileMenu .ltn_home a.home:before, #mobileMenu .ltn_home a.dot:before, #mobileMenu .ltn_home a.icon_item:before { content:""; display:block; width:18px; height:20px; position:absolute; left:13px; top:15px; } #mobileMenu .ltn_home a.home:before, #mobileMenu .ltn_home a.icon_item:before { background-size: 18px; background-repeat: no-repeat; background-position: center 1px; } #mobileMenu .ltn_home a.home:before { background-image: url(https://cache.ltn.com.tw/images/icon/mobileBT_home.svg); } #mobileMenu .ltn_home a.app:before { background-image: url(https://cache.ltn.com.tw/images/icon/mobileBT_app.svg); } #mobileMenu .ltn_home a.fb:before { background-image: url(https://cache.ltn.com.tw/images/icon/mobileBT_fb.svg); } #mobileMenu .ltn_home a.line:before { background-image: url(https://cache.ltn.com.tw/images/icon/mobileBT_line.svg); } #mobileMenu .ltn_home a.twitter:before { background-image: url(https://cache.ltn.com.tw/images/icon/mobileBT_x.svg); } #mobileMenu .ltn_home a.dot:before { width: 6px; height: 6px; background-color: #fff; border-radius: 50%; left: 18px; top: 20px; } /* --- 調整IOS用 --- */ #mobileMenu .ltn_home .spacing { width:100%; height:120px; } #mobileMenu .ltn_home a.dot { border-bottom:1px solid #000; } /* --- 頻道調整用 --- */ #mobileMenu .MM .ltn_home a.app { background-color:transparent; border:none; border-radius:0; } #mobileMenu .MM .ltn_home a.line { float:none; } /* ----------- 所有頻道選單 ----------- */ #mobileMenu div.MM .mainM { background-color:#4a4947; border-bottom:4px solid #000; overflow:hidden; letter-spacing:4px; } #mobileMenu .mainM .ltnM { background-color:#625d5a; border-bottom:3px solid #000; overflow:hidden; float:left;} #mobileMenu .mainM a { display:block; float:left; width:50%; height:50px; line-height:50px; text-align:center; border-bottom:1px solid #000; border-right:1px solid #000; } #mobileMenu .mainM a.full { width:100%; float:left; text-align:left; padding-left:30px; border-bottom:1px solid #000; border-right:none; } #mobileMenu .mainM .ltnM a:nth-child(even) { border-right:none; } /* ----------- 側邊陰影 ----------- */ #mobileMenu div.MM .channel, #mobileMenu div.MM .mainM, #mobileMenu div.MM .mainM .ltnM { box-shadow:-6px 0px 10px 0px rgba(0,0,0,0.2) inset, 3px 0px 7px 0px rgba(0,0,0,0.2) inset; } /* ----------- 目前頻道選單 ----------- */ #mobileMenu div.MM .channel { background-color:#888; border-bottom:10px solid #000; overflow:hidden; padding:0;margin:0; } #mobileMenu .channel .tit { height:25px; background-color:#000; color:#fff; font-size:0.85rem; line-height:25px; text-align:left; padding-left:10px; margin:0; } #mobileMenu .channel a { padding-left:10px; display:block; float:left; width:50%; height:50px; line-height:50px; border-bottom:1px solid #000; border-right:1px solid #000; } #mobileMenu .channel a.full { width:100%; float:left; border-bottom:1px solid #000; } #mobileMenu .channel a.half img, #mobileMenu .channel a.full img { width:16px; vertical-align:middle; margin:0px 4px 3px 0px; } #mobileMenu .channel a.half span, #mobileMenu .channel a.full span { letter-spacing:normal; } #mobileMenu .channel a.half { clear:none; }/*程式用*/ #mobileMenu .channel a.word { line-height:1.3; padding-top:4px; }/*選項折行(5個字以上:廚房生活小知識)*/ /* --- 左側選單 --- */ .mobileMenu_left { left:-200px; } #mobileMenu .mobileMenu_left_close { left: 200px; } #mobileMenu .mobileMenu_left_MM { left: 0; } /* --- 右側選單 --- */ .mobileMenu_right { right:-200px; } #mobileMenu .mobileMenu_right_close { right: 200px; } #mobileMenu .mobileMenu_right_MM { right:0; } /* --- 遮罩 --- */ .maskMM { background:rgba(255,255,255,0.7); width:100vw; height:100vh; position:fixed; z-index:3000; top:0; left:0; right:0; overflow:hidden; transition:all 0.1s linear; display:none; } .opacity { overflow-y:hidden; } .VB { display:block; } /* --- 側邊欄bt ---*/ .nav_bar { -webkit-tap-highlight-color:rgba(0,0,0,0); display:inline-block; vertical-align:middle; width:45px; height:45px; cursor:pointer; position:absolute; right:10px; top:0; background:url(https://cache.ltn.com.tw/images/icon/g_menu.svg) no-repeat center; background-size:20px; } #mobileMenu .close { display:inline-block; vertical-align:middle; width:50px; height:50px; cursor:pointer; position:absolute; top:0; left:150px; z-index:55; background:url(https://cache.ltn.com.tw/images/icon/g_close.svg) no-repeat center, #aaa; background-size:30px; -webkit-tap-highlight-color:rgba(0,0,0,0); } /* --- rwd頻道需要 ---*/ @media screen and (min-width:800px){ #estate .maskbg, #talk .maskbg, #partner .maskbg { display:none; } #estate .nav_bar, #talk .nav_bar, #partner .nav_bar { display:none; }/*800以上隱藏手機版漢堡*/ } /* --- google廣告 amp格式 修正 ---*/ div[id^='google_ads_iframe'] { margin: 0 auto; } /* [MOBILE CSS] */ </style> <script src="https://cache.ltn.com.tw/js/mobilemenu.js?20190708"></script> <div id="mobileMenu" class="mobileMenu mobileMenu_right"> <div class="close mobileMenu_right_close"></div> <div class="MM mobileMenu_right_MM"> <!-- ltn首頁 --> <div class="ltn_home boxTitle boxText" data-desc="側邊選單:自由時報電子報"> <a title="自由時報電子報" href="https://www.ltn.com.tw/" class="home">自由電子報</a> </div> <!-- 目前頻道選單 --> <div class="channel partner boxTitle boxText" data-desc="側邊選單:自由體育"> <div class="tit" data-desc="自由體育">自由體育</div> <a title="體育首頁" href="https://sports.ltn.com.tw/" class="half" target="_self">體育首頁</a> <a title="即時" href="https://sports.ltn.com.tw/breakingnews" class="half" target="_self">即時</a> <a title="棒球" href="https://sports.ltn.com.tw/baseball" class="half" target="_self">棒球</a> <a title="籃球" href="https://sports.ltn.com.tw/basketball" class="half" target="_self">籃球</a> <a title="競技" href="https://sports.ltn.com.tw/athletics" class="half" target="_self">競技</a> <a title="網球" href="https://sports.ltn.com.tw/tennis" class="half" target="_self">網球</a> <a title="足球" href="https://sports.ltn.com.tw/football" class="half" target="_self">足球</a> <a title="休閒" href="https://sports.ltn.com.tw/leisure" class="half" target="_self">休閒</a> <a title="電競" href="https://sports.ltn.com.tw/gaming" class="half" target="_self">電競</a> <a title="實況" href="https://sports.ltn.com.tw/live" class="half" target="_self">實況</a> <a title="影音" href="https://sports.ltn.com.tw/video" class="half" target="_self">影音</a> <a title="專訪" href="https://sports.ltn.com.tw/interview" class="half" target="_self">專訪</a> <a title="看報紙" href="https://sports.ltn.com.tw/newspaper" class="half" target="_self">看報紙</a> <a title="粉絲團" href="https://www.facebook.com/sport.ltn.tw" class="half" target="_blank"><img width='16' height='16' src='https://cache.ltn.com.tw/images/icon/mobileBT_fb.svg' alt='粉絲團' title='粉絲團'>粉絲團</a> </div> <!-- 所有頻道選單 --> <div class="mainM boxTitle boxText" data-desc="側邊選單:頻道選單"> <a title="自由影音" href="https://video.ltn.com.tw" class="full">自由影音</a> <!-- 即時 --> <div class="ltnM boxText"> <a title="即時" href="https://news.ltn.com.tw/list/breakingnews">即時</a> <a title="熱門" href="https://news.ltn.com.tw/list/breakingnews/popular">熱門</a> <a title="政治" href="https://news.ltn.com.tw/list/breakingnews/politics">政治</a> <a title="軍武" href="https://def.ltn.com.tw">軍武</a> <a title="社會" href="https://news.ltn.com.tw/list/breakingnews/society">社會</a> <a title="生活" href="https://news.ltn.com.tw/list/breakingnews/life">生活</a> <a title="健康" href="https://health.ltn.com.tw">健康</a> <a title="國際" href="https://news.ltn.com.tw/list/breakingnews/world">國際</a> <a title="地方" href="https://news.ltn.com.tw/list/breakingnews/local">地方</a> <a title="蒐奇" href="https://news.ltn.com.tw/list/breakingnews/novelty">蒐奇</a> </div> <!-- 頻道 --> <a title="財富自由" href="https://stock.ltn.com.tw" class="full" target="_blank">財富自由</a> <a title="財經" href="https://ec.ltn.com.tw">財經</a> <a title="娛樂" href="https://ent.ltn.com.tw">娛樂</a> <a title="藝文" href="https://art.ltn.com.tw">藝文</a> <a title="汽車" href="https://auto.ltn.com.tw">汽車</a> <a title="時尚" href="https://istyle.ltn.com.tw">時尚</a> <a title="體育" href="https://sports.ltn.com.tw">體育</a> <a title="3C" href="https://3c.ltn.com.tw">3 C</a> <a title="評論" href="https://talk.ltn.com.tw">評論</a> <a title="玩咖" href="https://playing.ltn.com.tw">玩咖</a> <a title="食譜" href="https://food.ltn.com.tw">食譜</a> <a title="地產" href="https://estate.ltn.com.tw">地產</a> <!--<a style="cursor: default;"></a>--> <a title="專區" href="https://features.ltn.com.tw">專區</a> <a title="服務" href="https://service.ltn.com.tw">服務</a> </div> <!-- 其他 --> <div class="ltn_home boxTitle boxText" data-desc="側邊選單:其他選單"> <a title="自由時報電子報APP" href="https://service.ltn.com.tw/app" target="_blank" class="icon_item app">自由電子報 APP</a> <a title="自由時報電子報粉絲團" href="https://www.facebook.com/m.ltn.tw" target="_blank" class="icon_item fb">自由電子報粉絲團</a> <a title="自由時報電子報Line" href="https://line.me/R/ti/p/%40ltnnews" target="_blank" class="icon_item line">自由電子報 Line</a> <a title="自由時報電子報Twitter" href="https://twitter.com/ltntw" target="_blank" class="icon_item twitter">自由電子報 X</a> <a title="熱門新訊" href="https://market.ltn.com.tw/m" class="dot">熱門新訊</a> <div class="spacing"></div> </div> </div> </div> <div id="maskMM" class="maskMM"></div> <header class="sportHeader boxTitle boxText" data-desc="選單"> <div class="con"> <a href="https://sports.ltn.com.tw/" data-desc="體育Logo" title="體育" class="sportLogo"> <img title="自由體育" alt="自由體育" src="https://sports.ltn.com.tw/assets//images/rwd/sport_logo.png"> </a> <ul class="level1"> <li class="color01"><a href="breakingnews" title="即時" data-desc="即時" class="L1">即時</a></li> <li class="color02"><a href="baseball" title="棒球" data-desc="棒球" class="L1">棒球</a> <ul class="level2"> <li><a href="mlb" title="MLB" data-desc="MLB">MLB</a></li> <li><a href="cpbl" title="中職" data-desc="中職">中職</a></li> <li><a href="npb" title="日職" data-desc="日職">日職</a></li> <li><a href="kbo" title="韓職" data-desc="韓職">韓職</a></li> <li><a href="amateur" title="業餘" data-desc="業餘">業餘</a></li> <li><a href="baseball_students" title="學生棒球" data-desc="學生棒球">學生棒球</a></li> <li><a href="baseball_travel" title="棒球旅外" data-desc="棒球旅外">旅外</a></li> <li><a href="baseball_other" title="棒球其它" data-desc="棒球其它">其它</a></li> </ul> </li> <li class="color03"><a href="basketball" title="籃球" data-desc="籃球" class="L1">籃球</a> <ul class="level2"> <li><a href="nba" title="NBA" data-desc="NBA">NBA</a></li> <li><a href="sbl" title="SBL" data-desc="SBL">SBL/WSBL</a></li> <li><a href="plg" title="PLG" data-desc="PLG">PLG</a></li> <li><a href="tpbl" title="TPBL" data-desc="TPBL">TPBL</a></li> <li><a href="basketball_students" title="學生籃球" data-desc="學生籃球">學生籃球</a></li> <li><a href="basketball_travel" title="籃球旅外" data-desc="籃球旅外">旅外</a></li> <li><a href="jeremy_lin" title="林書豪" data-desc="林書豪">林書豪</a></li> <li><a href="basketball_other" title="籃球其它" data-desc="籃球其它">其它</a></li> </ul> </li> <li class="color04"><a href="athletics" class="L1" title="競技" data-desc="競技">競技</a> <ul class="level2"> <li><a href="golf" title="高球" data-desc="高球">高球</a></li> <li><a href="badminton" title="羽球" data-desc="羽球">羽球</a></li> <li><a href="table_tennis" title="桌球" data-desc="桌球">桌球</a></li> <li><a href="volleyball" title="排球" data-desc="排球">排球</a></li> <li><a href="olympic" title="奧運" data-desc="奧運">奧運</a></li> <li><a href="athletics_other" title="競技其它" data-desc="競技其它">其它</a></li> </ul> </li> <li class="color05"><a href="tennis" title="網球" data-desc="網球" class="L1">網球</a></li> <li class="color06"><a href="football" title="足球" data-desc="足球" class="L1">足球</a></li> <li class="color07"><a href="leisure" title="休閒" data-desc="休閒" class="L1">休閒</a> <ul class="level2"> <li><a href="running" title="路跑" data-desc="路跑">路跑</a></li> <li><a href="bike" title="自由車" data-desc="自由車">自由車</a></li> <li><a href="leisure_other" title="休閒其它" data-desc="休閒其它">其它</a></li> </ul> </li> <li class="color08"><a href="gaming" title="電競" data-desc="電競" class="L1">電競</a></li> <li class="color09"><a href="live" title="賽況" data-desc="賽況" class="L1">賽況</a></li> <li class="color10"><a href="video" title="影音" data-desc="影音" class="L1">影音</a></li> <li class="color11"><a href="interview" title="專訪" data-desc="專訪" class="L1">專訪</a></li> <li class="color12"><a href="newspaper" title="看報紙" data-desc="看報紙" class="L1">看報紙</a></li> </ul> <div class="nav_bar"></div> <a id="search_btn" title="搜尋鈕" data-desc="搜尋鈕" class="Hsearch"></a> <a class="yt_icon" title="FB" data-desc="FB" href="https://www.youtube.com/channel/UCZJKndxqxuBkoN6qu19ZeDw" target="_blank"></a> <a class="fb_icon" title="FB" data-desc="FB" href="https://www.facebook.com/sport.ltn.tw/" target="_blank"></a> <!-- 搜尋 --> <div class="mask_search" style="" data-desc="搜尋"> <div class="mask" style=""></div> <div class="mask_content"> <div class="channel_search_close"></div> <form class="form-search" id="search" action="https://sports.ltn.com.tw/search" name="form1" method="get"> <input type="text" id="qs" name="search" placeholder="輸入關鍵字"> <button type="submit" data-desc="Search">Search</button> </form> </div> </div> </div> </header> <!-- 插入計分板 Start --> <!-- 計分板 --> <div class="scorebox boxTitle" data-desc="計分板"> <div class="score_wrapper"> <ul class="score_menu boxInput" data-desc="標籤"> <li id="on_26" onclick="classon(this.id)">NBA</li> <li id="on_37" onclick="classon(this.id)">TPBL</li> <li id="on_35" onclick="classon(this.id)">PLG</li> </ul> <ul class="score_list"> <li class="on_26 "> <ul class="times"> <li class="daytomove6"> <div class="s_time">2024年11月30日<span>(10場)</span></div> <a href="live/43992" title="比賽結果"> 結果 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/244.gif" title="尼克" alt="尼克"></li> <li><span>99</span>尼克</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/245.gif" title="黃蜂" alt="黃蜂"></li> <li><span class="win">98</span>黃蜂</li> </ul> </div> </a> <a href="live/43993" title="比賽結果"> 結果 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/253.png" title="騎士" alt="騎士"></li> <li><span>101</span>騎士</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/262.gif" title="老鷹" alt="老鷹"></li> <li><span class="win">117</span>老鷹</li> </ul> </div> </a> <a href="live/43994" title="比賽結果"> 結果 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/247.gif" title="鵜鶘" alt="鵜鶘"></li> <li><span>109</span>鵜鶘</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/237.gif" title="灰熊" alt="灰熊"></li> <li><span class="win">120</span>灰熊</li> </ul> </div> </a> <a href="live/43995" title="比賽結果"> 結果 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/240.png" title="快艇" alt="快艇"></li> <li><span>92</span>快艇</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/257.png" title="灰狼" alt="灰狼"></li> <li><span class="win">93</span>灰狼</li> </ul> </div> </a> <a href="live/43996" title="比賽結果"> 結果 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/250.gif" title="魔術" alt="魔術"></li> <li><span>123</span>魔術</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/249.gif" title="籃網" alt="籃網"></li> <li><span class="win">100</span>籃網</li> </ul> </div> </a> <a href="live/43999" title="比賽結果"> 結果 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/251.gif" title="活塞" alt="活塞"></li> <li><span>130</span>活塞</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/252.png" title="溜馬" alt="溜馬"></li> <li><span class="win">106</span>溜馬</li> </ul> </div> </a> <a href="live/43998" title="比賽結果"> 結果 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/263.gif" title="暴龍" alt="暴龍"></li> <li><span>111</span>暴龍</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/260.gif" title="熱火" alt="熱火"></li> <li><span class="win">121</span>熱火</li> </ul> </div> </a> <a href="live/43997" title="比賽結果"> 結果 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/246.gif" title="塞爾提克" alt="塞爾提克"></li> <li><span>138</span>塞爾提克</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/261.gif" title="公牛" alt="公牛"></li> <li><span class="win">129</span>公牛</li> </ul> </div> </a> <a href="live/44000" title="比賽結果"> 結果 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/256.png" title="國王" alt="國王"></li> <li><span>106</span>國王</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/241.gif" title="拓荒者" alt="拓荒者"></li> <li><span class="win">115</span>拓荒者</li> </ul> </div> </a> <a href="live/44001" title="比賽結果"> 結果 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/242.gif" title="雷霆" alt="雷霆"></li> <li><span>101</span>雷霆</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/239.gif" title="湖人" alt="湖人"></li> <li><span class="win">93</span>湖人</li> </ul> </div> </a> </li> <li class="daytomove0"> <div class="s_time">2024年12月01日<span>(5場)</span></div> <a href="live/44005" title="比賽結果"> 結果 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/262.gif" title="老鷹" alt="老鷹"></li> <li><span>107</span>老鷹</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/245.gif" title="黃蜂" alt="黃蜂"></li> <li><span class="win">104</span>黃蜂</li> </ul> </div> </a> <a href="live/44006" title="比賽結果"> 結果 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/238.gif" title="七六人" alt="七六人"></li> <li><span>111</span>七六人</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/251.gif" title="活塞" alt="活塞"></li> <li><span class="win">96</span>活塞</li> </ul> </div> </a> <a href="live/44007" title="比賽結果"> 09:00 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/248.gif" title="巫師" alt="巫師"></li> <li><span>0</span>巫師</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/236.gif" title="公鹿" alt="公鹿"></li> <li><span class="win">0</span>公鹿</li> </ul> </div> </a> <a href="live/44008" title="比賽結果"> 10:00 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/254.gif" title="勇士" alt="勇士"></li> <li><span>0</span>勇士</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/259.gif" title="太陽" alt="太陽"></li> <li><span class="win">0</span>太陽</li> </ul> </div> </a> <a href="live/44009" title="比賽結果"> 10:30 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/243.gif" title="獨行俠" alt="獨行俠"></li> <li><span>0</span>獨行俠</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/26/234.png" title="爵士" alt="爵士"></li> <li><span class="win">0</span>爵士</li> </ul> </div> </a> </li> </ul> </li> <li class="on_37 "> <ul class="times"> <li class="daytomove6"> <div class="s_time">2024年11月30日<span>(2場)</span></div> <a href="live/44003" title="比賽結果"> 結果 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/37/412.png" title="夢想家" alt="夢想家"></li> <li><span>90</span>夢想家</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/37/415.png" title="台啤雲豹" alt="台啤雲豹"></li> <li><span class="win">92</span>台啤雲豹</li> </ul> </div> </a> <a href="live/44004" title="比賽結果"> 結果 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/37/413.png" title="攻城獅" alt="攻城獅"></li> <li><span>84</span>攻城獅</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/37/409.png" title="中信特攻" alt="中信特攻"></li> <li><span class="win">85</span>中信特攻</li> </ul> </div> </a> </li> <li class="daytomove0"> <div class="s_time">2024年12月01日<span>(2場)</span></div> <a href="live/44011" title="比賽結果"> 14:30 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/37/410.png" title="高雄海神" alt="高雄海神"></li> <li><span>0</span>高雄海神</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/37/415.png" title="台啤雲豹" alt="台啤雲豹"></li> <li><span class="win">0</span>台啤雲豹</li> </ul> </div> </a> <a href="live/44012" title="比賽結果"> 17:00 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/37/411.png" title="台北戰神" alt="台北戰神"></li> <li><span>0</span>台北戰神</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/37/409.png" title="中信特攻" alt="中信特攻"></li> <li><span class="win">0</span>中信特攻</li> </ul> </div> </a> </li> </ul> </li> <li class="on_35 "> <ul class="times"> <li class="daytomove6"> <div class="s_time">2024年11月30日<span>(1場)</span></div> <a href="live/44002" title="比賽結果"> 結果 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/35/392.png" title="富邦勇士" alt="富邦勇士"></li> <li><span>102</span>富邦勇士</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/35/416.png" title="台鋼獵鷹" alt="台鋼獵鷹"></li> <li><span class="win">99</span>台鋼獵鷹</li> </ul> </div> </a> </li> <li class="daytomove0"> <div class="s_time">2024年12月01日<span>(1場)</span></div> <a href="live/44010" title="比賽結果"> 17:00 <div class="s_01"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/35/393.png" title="桃園領航猿" alt="桃園領航猿"></li> <li><span>0</span>桃園領航猿</li> </ul> </div> <div class="s_02"> <ul> <li class="img resize_imgs_ltn"><img src="https://img.ltn.com.tw/Upload/sports/live/teampic/35/416.png" title="台鋼獵鷹" alt="台鋼獵鷹"></li> <li><span class="win">0</span>台鋼獵鷹</li> </ul> </div> </a> </li> </ul> </li> <div class="left_btn boxInput" data-desc="向左鍵"></div> <div class="right_btn boxInput" data-desc="向右鍵"></div> </ul> </div> </div> <!-- End --> <div class="top boxTitle boxText" id="top" data-desc="top"> <a href="javascript:void(0);" data-desc="top" title="top"></a> </div> <!-- 巨橫幅廣告 --> <div class="suggest suggest_pc"> <!-- /21202031/10-sports-sub-P-K1 --> <div id="ad-K1" class="boxTitle suggest_pc suggestTop adHeight250" data-desc="廣告ad-K1" style="text-align: center;"> <script>displayDFP('ad-K1', 'pc');</script> </div> </div> <script src="assets/js/rwd/sport_content.min.js?202408"></script> <link rel="stylesheet" href="assets/css/rwd/sport_content.css?202410"> <link rel="stylesheet" href="assets/css/rwd/content_oldPhoto.css?20210824"> <!--蓋台廣告--> <link rel="stylesheet" href="https://cache.ltn.com.tw/css/cache_ads_h1.css" /> <div class="splash" align="center" style="display:none;"> <div class="banner_close" id="closeID" style="display:none;"></div> <div id="ad-H1"></div> </div> <script> (function(){ window.show_onead_mic = true; var units = { "m":"02-mobile-page-H1" ,"news":"02-mobile-page-H1" ,"ec":"06-ec-mobile-H1" ,"sports":"10-sports-mobile-H1" ,"ent":"07-ent-mobile-H1" ,"istyle":"08-style-mobile-sub-P-H1" ,"3c":"04-3C-mobile-H1" ,"auto":"03-auto-mobile-H1" ,"health":"13-health-mobile-H1" ,"art":"14-art-mobile-H1" ,"playing":"09-playing-mobile-H1" ,"food":"12-food-mobile-H1" ,"estate":"11-estate-mobile-H1" ,"talk":"05-talk-mobile-H1" ,"video":"15-video-mobile-H1" ,"partners":"17-partners-mobile-H1" ,"features":"99-feature-mobile-H1" }; var check = { "talk": true ,"estate": true }; // 將RWD的domaim加入此陣列 var checkHost = ['test', 'news', 'partners', 'auto', 'ec', 'istyle', 'sports', 'playing', 'video', 'ent', 'health', '3c', 'talk', 'food', 'estate', 'features', 'art']; var host = location.hostname.toLowerCase().replace(".ltn.com.tw", ""); // 檢查是否為RWD的網站 var isRWD = false; for (key in checkHost) { if (host.indexOf(checkHost[key]) >= 0) { isRWD = true; } } var unit_id = units[host] || units["m"]; if(check[host] && window["cookies_m"]){ if(cookies_m.isPC()) window.show_onead_mic = false; } //===== 期間內關閉蓋台(開始) ===== var dfpSwitch = { 'sports' : [ {'start' : '2019-07-01 12:00:00', 'end' : '2019-07-03 11:59:59'}, {'start' : '2019-07-06 12:00:00', 'end' : '2019-07-07 11:59:59'}, {'start' : '2019-07-08 12:00:00', 'end' : '2019-07-09 11:59:59'}, {'start' : '2019-07-10 12:00:00', 'end' : '2019-07-11 11:59:59'}, {'start' : '2019-07-12 12:00:00', 'end' : '2019-07-13 11:59:59'}, {'start' : '2019-07-14 12:00:00', 'end' : '2019-07-15 11:59:59'}, {'start' : '2019-07-18 12:00:00', 'end' : '2019-07-22 11:59:59'} ], 'ec' : [ {'start' : '2019-07-30 12:00:00', 'end' : '2019-08-01 23:59:59'} ], 'istyle' : [ {'start' : '2019-08-20 12:00:00', 'end' : '2019-08-23 23:59:59'} ], 'auto' : [ {'start' : '2019-07-08 11:00:00', 'end' : '2019-07-10 11:59:59'} ] }; if (typeof dfpSwitch[host] != 'undefined') { var date = (new Date()); var now = date.getFullYear()+"-"+('0'+(date.getMonth()+1)).substr(-2,2)+"-"+('0'+date.getDate()).substr(-2,2)+" "+('0'+date.getHours()).substr(-2,2)+":"+('0'+date.getMinutes()).substr(-2,2)+":"+('0'+date.getSeconds()).substr(-2,2); dfpSwitch = dfpSwitch[host]; for (key in dfpSwitch) { var start = dfpSwitch[key]['start']; var end = dfpSwitch[key]['end']; if (now < start || end < now) { continue; } window.show_onead_mic = false; break; } } //===== 期間內關閉蓋台(結束) ===== if (isRWD && window.outerWidth >= 1100) { window.show_onead_mic = false; } if(window.show_onead_mic){ googletag.cmd.push(function() { googletag.defineSlot('/21202031/'+unit_id, [320, 480], 'ad-H1').addService(googletag.pubads()); }); $(function(){call_dfp();}); } })(); </script> <script src="https://cache.ltn.com.tw/js/cache_ads_h1.js"></script> <!--蓋台廣告--> <!-- 網友回應 lazy load --> <script> function loadAPI() { var js = document.createElement('script'); js.src = '//connect.facebook.net/zh_TW/sdk.js#xfbml=1&appId=140490219413038&version=v7.0'; document.body.appendChild(js); } window.onscroll = function () { var rect = document.getElementsByClassName('fb-comments')[0].getBoundingClientRect(); if (rect.top < window.innerHeight) { loadAPI(); window.onscroll = null; } } </script> <!--點圖放大--> <link rel="stylesheet" href="https://cache.ltn.com.tw/css/magnific-popup.css"> <script src="https://cache.ltn.com.tw/js/jquery.magnific-popup.min.js"></script> <script> function beforeClickImageLarge(){ let articleImages = document.getElementsByClassName('imagePopup'); for (let $i = 0; $i < articleImages.length; $i++) { // 取圖片父親節點 let imageParent = articleImages[$i].parentNode; // 取圖說 let imageParentSibling = imageParent.nextSibling; // 如果imageParentSibling不存在,跳過 if (!imageParentSibling) { continue; } imgtext = imageParentSibling.textContent; // 用a標籤去包 let imageOutside = document.createElement('a'); imageOutside.setAttribute('class', 'image-popup-vertical-fit'); imageOutside.setAttribute('title', imgtext); imageOutside.setAttribute('href', articleImages[$i].dataset.src); imageOutside.append(articleImages[$i]); imageParent.append(imageOutside); } } function clickImageLarge(){ $('.image-popup-vertical-fit').magnificPopup({ type: 'image', closeOnContentClick: true, mainClass: 'mfp-img-mobile', image: { verticalFit: true } }); } $(document).ready(function() { beforeClickImageLarge(); clickImageLarge(); }); </script> <style> /* 控制文中嵌入媒體的左右滑動 */ .xscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; } </style> <!--影音高度修復--> <script src="https://cache.ltn.com.tw/js/rwd_video_resize_pc.js"></script> <!--文中表格俢覆--> <script src="https://cache.ltn.com.tw/js/rwd_table_resize.js"></script> <!--文中FB-POST俢覆--> <script src="https://cache.ltn.com.tw/js/rwd_fbpost_resize.js"></script> <script> $(function(){ //pc Fb youtube嵌入影音高度調整 video_resize_pc('.text'); }); $(window).on('load', function () { //pc 表格顯示調整 rwd_table_resize('.text'); // pc fb post調整 rwd_fbpost_resize('.text'); }); </script> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "NewsArticle", "genre": "News", "inLanguage": "zh-Hant-TW", "url": "https://sports.ltn.com.tw/news/breakingnews/4877911", "headline": "日職》少林18銅人?辰己涼介「全身金」亮相 透露超狂打扮用意", "articleSection": "棒球", "datePublished": "2024-11-28T15:31:00+08:00", "dateModified": "2024-11-28T16:14:56+08:00", "description": "李冠霖/核稿編輯〔體育中心/綜合報導〕日職今天舉辦第53屆三井金手套頒獎儀式,樂天金鷲球星辰己涼介再度有驚人之舉,打扮成「一身金」,臉部和頭部都弄成金色,再度引發話題。辰己涼介表示,「主題是三井金手套獎,就是這樣。」現年27歲的辰己涼介是今年洋聯安打王,並連4年勇奪金手套、榮獲洋聯最佳十人。辰己涼介", "articleBody": "樂天金鷲球星辰己涼介(右)打扮一身金,左為摘得二壘金手套的小深田大翔。(圖片取自樂天金鷲官方社群媒體X) 李冠霖/核稿編輯 〔體育中心/綜合報導〕日職今天舉辦第53屆三井金手套頒獎儀式,樂天金鷲球星辰己涼介再度有驚人之舉,打扮成「一身金」,臉部和頭部都弄成金色,再度引發話題。辰己涼介表示,「主題是三井金手套獎,就是這樣。」 現年27歲的辰己涼介是今年洋聯安打王,並連4年勇奪金手套、榮獲洋聯最佳十人。辰己涼介在日前的日職頒獎典禮上,連換三套角色扮演服裝,包含日本武士、開膛手傑克、以及「幕府將軍」的造型,讓一旁隊友都笑翻。請繼續往下閱讀... displayDFP('ad-PCIR1', 'pc'); displayDFP('ad-IR1', 'm'); 辰己涼介今天出席三井金手套頒獎儀式,辰己身穿暗金色的西裝,搭配白襯衫,臉部和頭髮都弄成金色,再度引起網友們熱議。 樂天金鷲球星辰己涼介(左)打扮一身金,右為摘得二壘金手套的小深田大翔。(圖片取自樂天金鷲官方社群媒體X) 日媒《Daily》報導,辰己涼介受訪透露從一年前就開始構思這個造型,「就是為了實現目標而努力的。」 談到為何要以奇特的裝扮引人注目,辰己涼介解釋,「這只是我想做,希望讓儀式能稍微熱鬧一點,個人覺得這類的活動太過拘謹,如果能更有趣一點不是很好嗎。」辰己涼介笑說,「明年希望大家都穿金色來參加。」 辰己涼介今年寫下單季397次刺殺的日職單季最多紀錄,他表示明年希望把紀錄提升至400次刺殺。 辰己涼介是今年12強賽日本隊國手,他曾在台日冠軍賽前發出豪語,若輸給台灣隊要改當投手,結果日本隊以0比4被台灣隊完封,日本隊無緣連霸、也中斷國際賽27連勝。 台灣隊投手江國豪笑稱要送辰己投手手套,辰己涼介也在社群媒體IG的限時動態發文說,「謝謝你江國豪!恭喜台灣,我們正在等待您的棒球用品!我會遵守我的承諾!」江國豪昨天也說,透過經紀公司把手套送給辰己涼介。 樂天金鷲球星辰己涼介(中)打扮一身金,左為獲得外野金手套獎的軟銀鷹周東佑京,右為日本火腿萬波中正。(圖片取自日本火腿官方社群媒體X)", "thumbnailUrl": "https://img.ltn.com.tw/Upload/sports/page/800S/2024/11/28/phpqWkLqV.jpg", "keywords": [ "日職", "棒球", "12強" ], "wordCount": 2445, "identifier": { "@type": "PropertyValue", "propertyID": "newsId", "value": "4877911" }, "speakable": { "@type": "SpeakableSpecification", "xpath": [ "/html/head/meta[@property='og:title']/@content", "/html/head/meta[@name='description']/@content" ] }, "author": { "@type": "Person", "name": "李冠霖", "url": "https://www.ltn.com.tw" }, "publisher": { "@type": "Organization", "name": "自由時報電子報", "logo": { "@type": "ImageObject", "url": "https://sports.ltn.com.tw/assets/images/rwd/180_LTNsport.png", "width": 600, "height": 60 } }, "mainEntityOfPage": { "@type": "WebPage", "@id": "https://sports.ltn.com.tw/news/breakingnews/4877911" }, "image": [ { "@type": "ImageObject", "contentUrl": "https://img.ltn.com.tw/Upload/sports/page/800S/2024/11/28/phpqWkLqV.jpg", "url": "https://img.ltn.com.tw/Upload/sports/page/800S/2024/11/28/phpqWkLqV.jpg", "width": "1108", "height": "778", "name": "phpqWkLqV.jpg" }, { "@type": "ImageObject", "contentUrl": "https://img.ltn.com.tw/Upload/sports/page/800S/2024/11/28/phpCCzOa8.jpg", "url": "https://img.ltn.com.tw/Upload/sports/page/800S/2024/11/28/phpCCzOa8.jpg", "width": "1419", "height": "1091", "name": "樂天金鷲球星辰己涼介(右)打扮一身金,左為摘得二壘金手套的小深田大翔。(圖片取自樂天金鷲官方社群媒體X)" }, { "@type": "ImageObject", "contentUrl": "https://img.ltn.com.tw/Upload/sports/page/800S/2024/11/28/php7X1QVE.jpg", "url": "https://img.ltn.com.tw/Upload/sports/page/800S/2024/11/28/php7X1QVE.jpg", "width": "1600", "height": "1200", "name": "樂天金鷲球星辰己涼介(左)打扮一身金,右為摘得二壘金手套的小深田大翔。(圖片取自樂天金鷲官方社群媒體X)" }, { "@type": "ImageObject", "contentUrl": "https://img.ltn.com.tw/Upload/sports/page/800S/2024/11/28/phpIgyIwP.jpg", "url": "https://img.ltn.com.tw/Upload/sports/page/800S/2024/11/28/phpIgyIwP.jpg", "width": "1108", "height": "1417", "name": "樂天金鷲球星辰己涼介(中)打扮一身金,左為獲得外野金手套獎的軟銀鷹周東佑京,右為日本火腿萬波中正。(圖片取自日本火腿官方社群媒體X)" } ] }</script> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": 1, "item": { "@id": "https://www.ltn.com.tw", "name": "自由時報電子報" } }, { "@type": "ListItem", "position": 2, "item": { "@id": "https://sports.ltn.com.tw/", "name": "自由體育" } }, { "@type": "ListItem", "position": 3, "item": { "@id": "https://sports.ltn.com.tw/baseball", "name": "棒球" } }, { "@type": "ListItem", "position": 4, "item": { "@id": "https://sports.ltn.com.tw/npb", "name": "日職" } }, { "@type": "ListItem", "position": 5, "item": { "@id": "https://sports.ltn.com.tw/news/breakingnews/4877911", "name": "日職》少林18銅人?辰己涼介「全身金」亮相 透露超狂打扮用意" } } ] }</script> <span class="page-name" data-desc="內文頁"></span> <!-- 內文頁 --> <div class="content"> <!-- 940 左側欄 開始 --> <section class="content940" id="outside940" data-page="1"> <div class="breadcrumbs boxTitle boxText" data-desc="麵包屑"> <a href="https://sports.ltn.com.tw/" title="體育" data-desc="麵包屑:體育"> 體育 </a> <span>〉</span> <a href="https://sports.ltn.com.tw/baseball" title="棒球" data-desc="麵包屑:棒球"> 棒球 </a> <span>〉</span> <a href="https://sports.ltn.com.tw/npb" title="日職" data-desc="麵包屑:日職"> 日職 </a> </div> <!-- 公版開始 --> <style> section.content940 div.template{ display: none; } </style> <div class="whitecon template" data-page="0"> <h2></h2> <div class="function boxTitle" data-desc="功能列"> <span class="time"></span> <a href="javascript:void(0)" class="sharefb" data-desc="facebook"></a> <a href="#" class="sharetwitter" data-desc="twitter"></a> <a href="javascript:void(0)" class="shareline" data-desc="line" ></a> </div> <div class="text boxTitle boxText" data-desc="內文"> </div> </div> <!-- 公版結束 --> <!-- 內文 --> <div class="whitecon article boxTitle boxText" data-desc="內文"> <h1>日職》少林18銅人?辰己涼介「全身金」亮相 透露超狂打扮用意</h1> <div class="function"> <span class="time">2024/11/28 15:31</span> <a title="FB分享" data-desc="FB分享" onclick="window.open('https://www.facebook.com/share.php?u=https%3A%2F%2Fsports.ltn.com.tw%2Fnews%2Fbreakingnews%2F4877911%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3DFACEBOOK', 'FB-share', config='height=500,width=500')" class="sharefb"></a> <a title="Twitter分享" data-desc="Twitter分享" onclick="window.open('https://twitter.com/intent/tweet?text=%E6%97%A5%E8%81%B7%E3%80%8B%E5%B0%91%E6%9E%9718%E9%8A%85%E4%BA%BA%EF%BC%9F%E8%BE%B0%E5%B7%B1%E6%B6%BC%E4%BB%8B%E3%80%8C%E5%85%A8%E8%BA%AB%E9%87%91%E3%80%8D%E4%BA%AE%E7%9B%B8+%E9%80%8F%E9%9C%B2%E8%B6%85%E7%8B%82%E6%89%93%E6%89%AE%E7%94%A8%E6%84%8F+-+%E8%87%AA%E7%94%B1%E9%AB%94%E8%82%B2++https%3A%2F%2Fsports.ltn.com.tw%2Fnews%2Fbreakingnews%2F4877911%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3DTWITTER', 'TWITTER-share', config='height=500,width=500')" class="sharetwitter"></a> <a title="Line分享" data-desc="Line分享" onclick="window.open('https://lineit.line.me/share/ui?url=https%3A%2F%2Fsports.ltn.com.tw%2Fnews%2Fbreakingnews%2F4877911%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3DLine', 'Line-share', config='height=500,width=500')" class="shareline"></a> <a title="文字縮放" href="javascript:;" class="fontsize boxText" data-desc="文字縮放"></a> </div> <div class="text"> <p><span class="ph_b ph_d1"><span class="ph_i"><img class="lazy_imgs_ltn imagePopup" src="https://sports.ltn.com.tw/../assets/images/rwd/400S.jpg" data-src="https://img.ltn.com.tw/Upload/sports/page/800/2024/11/28/phpCCzOa8.jpg" alt="樂天金鷲球星辰己涼介(右)打扮一身金,左為摘得二壘金手套的小深田大翔。(圖片取自樂天金鷲官方社群媒體X)"></span><span class="ph_d">樂天金鷲球星辰己涼介(右)打扮一身金,左為摘得二壘金手套的小深田大翔。(圖片取自樂天金鷲官方社群媒體X)</span></span></p> <p>李冠霖/核稿編輯</p> <p>〔體育中心/綜合報導〕日職今天舉辦第53屆三井金手套頒獎儀式,樂天金鷲球星辰己涼介再度有驚人之舉,打扮成「一身金」,臉部和頭部都弄成金色,再度引發話題。辰己涼介表示,「主題是三井金手套獎,就是這樣。」</p> <p>現年27歲的辰己涼介是今年洋聯安打王,並連4年勇奪金手套、榮獲洋聯最佳十人。辰己涼介在日前的日職頒獎典禮上,連換三套角色扮演服裝,包含日本武士、開膛手傑克、以及「幕府將軍」的造型,讓一旁隊友都笑翻。</p><p class="before_ir" style="text-align: center; display: none;">請繼續往下閱讀...</p> <!-- /21202031/10-sports-sub-P-IR1 --> <div id="ad-PCIR1" class="boxTitle suggest_pc adHeight250" data-desc="廣告ad-PCIR1" style="text-align: center;"> <script>displayDFP('ad-PCIR1', 'pc');</script> </div> <!-- /21202031/10-sports-mobile-sub-P-IR1 --> <div id="ad-IR1" class="boxTitle suggest_m adHeight280" data-desc="廣告ad-IR1" style="text-align: center;"> <script>displayDFP('ad-IR1', 'm');</script> </div> <p class="after_ir" style="display: none;"></p> <p>辰己涼介今天出席三井金手套頒獎儀式,辰己身穿暗金色的西裝,搭配白襯衫,臉部和頭髮都弄成金色,再度引起網友們熱議。</p> <p><span><span class="ph_b ph_d1"><span class="ph_i"><img class="lazy_imgs_ltn imagePopup" src="https://sports.ltn.com.tw/../assets/images/rwd/400S.jpg" data-src="https://img.ltn.com.tw/Upload/sports/page/800/2024/11/28/php7X1QVE.jpg" alt="樂天金鷲球星辰己涼介(左)打扮一身金,右為摘得二壘金手套的小深田大翔。(圖片取自樂天金鷲官方社群媒體X)"></span><span class="ph_d">樂天金鷲球星辰己涼介(左)打扮一身金,右為摘得二壘金手套的小深田大翔。(圖片取自樂天金鷲官方社群媒體X)</span></span></span></p> <p>日媒《Daily》報導,辰己涼介受訪透露從一年前就開始構思這個造型,「就是為了實現目標而努力的。」</p> <p>談到為何要以奇特的裝扮引人注目,辰己涼介解釋,「這只是我想做,希望讓儀式能稍微熱鬧一點,個人覺得這類的活動太過拘謹,如果能更有趣一點不是很好嗎。」辰己涼介笑說,「明年希望大家都穿金色來參加。」</p> <p>辰己涼介今年寫下單季397次刺殺的日職單季最多紀錄,他表示明年希望把紀錄提升至400次刺殺。</p> <p>辰己涼介是今年12強賽日本隊國手,他曾在台日冠軍賽前發出豪語,若輸給台灣隊要改當投手,結果日本隊以0比4被台灣隊完封,日本隊無緣連霸、也中斷國際賽27連勝。</p> <p>台灣隊投手江國豪笑稱要送辰己投手手套,辰己涼介也在社群媒體IG的限時動態發文說,「謝謝你江國豪!恭喜台灣,我們正在等待您的棒球用品!我會遵守我的承諾!」江國豪昨天也說,透過經紀公司把手套送給辰己涼介。</p> <p><span><span class="ph_b ph_d1"><span class="ph_i"><img class="lazy_imgs_ltn imagePopup" src="https://sports.ltn.com.tw/../assets/images/rwd/400S.jpg" data-src="https://img.ltn.com.tw/Upload/sports/page/800/2024/11/28/phpIgyIwP.jpg" alt="樂天金鷲球星辰己涼介(中)打扮一身金,左為獲得外野金手套獎的軟銀鷹周東佑京,右為日本火腿萬波中正。(圖片取自日本火腿官方社群媒體X)"></span><span class="ph_d">樂天金鷲球星辰己涼介(中)打扮一身金,左為獲得外野金手套獎的軟銀鷹周東佑京,右為日本火腿萬波中正。(圖片取自日本火腿官方社群媒體X)</span></span></span></p> <p class="appE1121"> 不用抽 不用搶 現在用APP看新聞 保證天天中獎 <a title="點我下載APP" href="https://service.ltn.com.tw/app" target="_blank" class="ga_event" data-vars-box-title="內容頁" data-desc="APP載點" data-vars-desc="APP載點">點我下載APP</a> <a title="按我看活動辦法" href="https://drawpage.ltn.com.tw/slot_v9/" target="_blank" class="ga_event" data-vars-box-title="內容頁" data-desc="活動辦法" data-vars-desc="活動辦法">按我看活動辦法</a> </p> </div> <div class="suggest suggest_pc"> </div> <div id="oneadIRDFPTag"></div> <div id="ad-IR2" class="suggest_m suggestBottom" style="text-align: center; display:none;" ></div> <script> const host = location.hostname.toLowerCase().replace(".ltn.com.tw", ""); var setOnead = false; (function() { var disable_onead_mobile_inread = false; // 設定數值 var IR2units = { 'ent': {'slot': '/21202031/07-ent-mobile-sub-P-IR2', 'size': ['fluid', [1, 1], [300, 250], [320, 480], [336, 280]]}, 'ec': {'slot': '/21202031/06-ec-mobile-sub-P-IR2', 'size': ['fluid', [1, 1], [300, 250], [320, 480], [336, 280]]}, 'istyle': {'slot': '/21202031/08-style-mobile-sub-P-IR2', 'size': ['fluid',[1, 1], [300, 250], [320, 480], [336, 280]]}, 'auto': {'slot': '', 'size': []}, 'sports': {'slot': '', 'size': []}, '3c': {'slot': '/21202031/04-3C-mobile-sub-P-IR2', 'size': ['fluid',[1, 1], [300, 250], [320, 480], [336, 280]]}, 'talk': {'slot': '/21202031/05-talk-mobile-sub-P-IR2', 'size': ['fluid', [336, 280], [1, 1], [300, 250], [320, 480]]}, 'estate': {'slot': '21202031/11-estate-mobile-sub-P-IR2', 'size': ['fluid', [1, 1], [300, 250], [320, 480], [336, 280]]}, 'features': {'slot': '/21202031/99-feature-mobile-sub-P-IR2', 'size': ['fluid', [1, 1], [300, 250], [320, 480], [336, 280]]}, }; if (host.indexOf('estate') === 0 || host.indexOf('features') === 0) { disable_onead_mobile_inread = true; } if (!cookies_m.isPC() && disable_onead_mobile_inread) { $('#oneadIRDFPTag').css('display', 'none'); //IR2 $('#ad-IR2').css('display', 'block'); googletag.cmd.push(function() { googletag.defineSlot(IR2units[host]['slot'], IR2units[host]['size'], 'ad-IR2').addService(googletag.pubads()); googletag.enableServices(); }); $(function(){ googletag.cmd.push(function() { googletag.display('ad-IR2'); }); }); } else { //onead setOnead = true; } })(); function get_now_category(host) { var _category = '-1'; try { switch (host.toLowerCase()) { case 'talk': case 'istyle': case 'ent': case '3c': case 'auto': case 'food': case 'sports': case 'estate': _category = host; break; case 'ec': _category = 'business'; break; default: var secA = uri.split('/')[1]; var secB = uri.split('/')[2]; if (secA.toLowerCase()=='news') _category = secB; break; } } catch (e) { } return _category; } var custom_call_MIR = function (params) { if ( params === null || params.hasAd === false ) { // 客製化 passback } } var custom_call_IR = function (params) { if ( params === null || params.hasAd === false ) { // 客製化 passback } } if (setOnead) { var _ONEAD = {}; _ONEAD.pub = {}; _ONEAD.pub.slotobj = document.getElementById("oneadIRDFPTag"); _ONEAD.pub.slots = ["div-onead-ad"]; _ONEAD.pub.uid = "1000054"; _ONEAD.pub.external_url = "https://onead.onevision.com.tw/"; _ONEAD.pub.scopes = ["spotbuy", "speed"]; _ONEAD.pub.player_mode_div = "div-onead-ad"; _ONEAD.pub.player_mode = cookies_m.isPC() ? "inread" : "mobile-inread"; _ONEAD.pub.category = get_now_category(host); _ONEAD.pub.queryAdCallback = cookies_m.isPC() ? custom_call_IR : custom_call_MIR; _ONEAD.pub.is_same_adUnit = true; var ONEAD_pubs = ONEAD_pubs || []; ONEAD_pubs.push(_ONEAD); } </script> <script type="text/javascript" src = "https://ad-specs.guoshipartners.com/static/js/onead-lib.min.js"></script> <div id="related-news-container" class="related-news-container"> <div class="caption2">相關新聞</div> <ul class="related boxTitle" data-desc="相關新聞"> </ul> </div> <script> var originalMoreNews = [{"url":"https:\/\/sports.ltn.com.tw\/news\/breakingnews\/4877464","title":"\u65e5\u8077\u300b\u5247\u672c\u6602\u5927\u9a5a\u8a1d\u7530\u4e2d\u5c07\u5927\u9000\u5718 \u5c55\u671b\u65b0\u8cfd\u5b63\u7279\u5225\u63d0\u53ca12\u5f37\u5169\u5927\u5c07","no":"4877464","group":"breakingnews","photo_s":"https:\/\/img.ltn.com.tw\/Upload\/sports\/page\/400S\/2024\/11\/28\/php17CPTq.jpg","photo_b":"https:\/\/img.ltn.com.tw\/Upload\/sports\/page\/800S\/2024\/11\/28\/php17CPTq.jpg","status":[],"type":"sports","other":"0"},{"url":"https:\/\/sports.ltn.com.tw\/news\/breakingnews\/4876797","title":"\u65e5\u8077\u300b\u65e5\u672c\u5de6\u6295\u4e95\u4e0a\u6eab\u5927\u7372\u5de8\u4eba\u8ecd\u52a0\u85aa\u7d045\u500d \u5766\u8a0012\u5f37\u8cfd\u9ad4\u9a57\u5230\u6050\u61fc\u611f","no":"4876797","group":"breakingnews","photo_s":"https:\/\/img.ltn.com.tw\/Upload\/sports\/page\/400S\/2024\/11\/27\/phphj2iw9.jpg","photo_b":"https:\/\/img.ltn.com.tw\/Upload\/sports\/page\/800S\/2024\/11\/27\/phphj2iw9.jpg","status":[],"type":"sports","other":"0"},{"url":"https:\/\/sports.ltn.com.tw\/news\/breakingnews\/4876276","title":"\u65e5\u8077\u300b\u6253\u64ca\u73870.030\u30010\u8f5f0\u6253\u9ede \u9ad4\u91cd\u7834\u767e\u7684\u897f\u6b66\u4e00\u6307\u5927\u7269\u88ab\u8feb\u6539\u80cc\u865f","no":"4876276","group":"breakingnews","photo_s":"https:\/\/img.ltn.com.tw\/Upload\/sports\/page\/400S\/2024\/11\/27\/phpofBMm8.jpg","photo_b":"https:\/\/img.ltn.com.tw\/Upload\/sports\/page\/800S\/2024\/11\/27\/phpofBMm8.jpg","status":[],"type":"sports","other":"0"},{"url":"https:\/\/sports.ltn.com.tw\/news\/breakingnews\/4876300","title":"MLB\u300b\u9858\u610f\u53bb\u65e5\u672c\u6253\u7403\uff01 \u524d\u5927\u90fd\u6703\u706b\u7403\u7537\u300c\u96f7\u795e\u300d\u6e34\u671b\u6a5f\u6703","no":"4876300","group":"breakingnews","photo_s":"https:\/\/img.ltn.com.tw\/Upload\/sports\/page\/400S\/2024\/11\/27\/phpW5TSlI.jpg","photo_b":"https:\/\/img.ltn.com.tw\/Upload\/sports\/page\/800S\/2024\/11\/27\/phpW5TSlI.jpg","status":[],"type":"sports","other":"0"},{"url":"https:\/\/sports.ltn.com.tw\/news\/breakingnews\/4876165","title":"\u65e5\u8077\u300b\u770b\u5230\u53f0\u706312\u5f37\u596a\u51a0\u6709\u907a\u61be \u7121\u7de3\u53c3\u8cfd\u7684\u706b\u817f\u738b\u724c\u558a\u8a71WBC\u62ff\u4e16\u754c\u4e00","no":"4876165","group":"breakingnews","photo_s":"https:\/\/img.ltn.com.tw\/Upload\/sports\/page\/400S\/2024\/11\/26\/phpMQZScR.jpg","photo_b":"https:\/\/img.ltn.com.tw\/Upload\/sports\/page\/800S\/2024\/11\/26\/phpMQZScR.jpg","status":[],"type":"sports","other":"0"}]; $(document).ready(function() { var relatedNewsContainer = $('ul.related.boxTitle'); fetchRelatedNews('4877911', 'breakingnews', 6, 'SPORTS') .then(function(data) { if (data.length > 0) { useFetchedRelatedNews(data); } else { (originalMoreNews.length > 0) ? useOriginalRelatedNews(originalMoreNews): removeHotnewsDOM("related-news-container"); } }) .catch(function(error) { (originalMoreNews.length > 0) ? useOriginalRelatedNews(originalMoreNews): removeHotnewsDOM("related-news-container"); }); /** * 從api取相關新聞 */ function useFetchedRelatedNews(data) { var relatedHtml = ''; $.each(data, function(index, news) { relatedHtml += '<li>'; relatedHtml += '<a title="' + news.LTRT_Title + '" href="' + news.LTRT_Url + '" class="boxText" data-desc="P:' + index + ':' + news.LTRT_Title + '">'; relatedHtml += '<h3>'; if (news.LTRT_VideoFlag) { relatedHtml += '<span class="video"></span>'; } relatedHtml += news.LTRT_Title + '</h3></a></li>'; }); relatedNewsContainer.html(relatedHtml); } /** * 使用原本的相關新聞 */ function useOriginalRelatedNews(data) { var relatedHtml = ''; $.each(data, function(index, news) { relatedHtml += '<li>'; relatedHtml += '<a href="' + news.url + '?utm_source=SPORTS&utm_medium=relatedNews&utm_campaign=ltn_customize" title="' + news.title + '" data-desc="T:' + index + ':' + news.title + '">'; relatedHtml += '<h3>'; if (news.status) { $.each(news.status, function(i, status) { if (status == 2) { relatedHtml += '<span class="video"></span>'; } }); } relatedHtml += news.title + '</h3></a></li>'; }); relatedNewsContainer.html(relatedHtml); } }); </script> <div class="suggestWrapper-1-2 "> <div class="suggest suggest-1-2 suggest_pc"> <!-- /21202031/10-sports-sub-P-sponsors-B1 --> <div id="ad-C1" class="boxTitle suggest_pc adHeight250" data-desc="廣告ad-C1" style="text-align: center;"> <script>displayDFP('ad-C1', 'pc');</script> </div> </div> <div class="suggest suggest-1-2 suggest_pc"> <!-- /21202031/10-sports-sub-P-sponsors-B2 --> <div id="ad-C2" class="boxTitle suggest_pc adHeight250" data-desc="廣告ad-C2" style="text-align: center;"> <script>displayDFP('ad-C2', 'pc');</script> </div> </div> </div> <div class="suggest suggest_m"> <!-- /21202031/10-sports-mobile-sub-P-B2 --> <div id="ad-B2" class="boxTitle suggest_m suggestBottom adHeight280" data-desc="廣告ad-B2" style="text-align: center;"> <script>displayDFP('ad-B2', 'm');</script> </div> </div> </div> <div class="caption hotnews_bottom">推薦新聞</div> <div class="whitecon todaynews boxTitle boxText" data-desc="推薦新聞"> <ul class="hotNews"> </ul> </div> <script> //文末推薦新聞 document.addEventListener('DOMContentLoaded', () => { fetchHotNews(["sports", "棒球"], 6, "hotnews_bottom") .then(data => { if (data.length > 0) { hotNewsBottom(data); } else { removeHotnewsDOM('caption.hotnews_bottom'); removeHotnewsDOM('whitecon.todaynews.boxTitle.boxText') } }) .finally(function() { // lazy load images lazyImg = $('img.lazy_imgs_ltn'); lazyload(lazyImg); }) }); // 文末推薦新聞 function hotNewsBottom(data) { if (data.length) { const bottomNews = document.querySelector('.hotNews'); bottomNews.innerHTML = data.map((item, index) => ` <li> <a href="${item.LTRT_Url}" class="boxText" title="${item.LTRT_Title}" data-desc="P:${index}:${item.LTRT_Title}"> <div class="resize_imgs_ltn"> <img class="lazy_imgs_ltn" src="assets/images/rwd/400S.jpg" data-src="${item.LTRT_SmallPhotoPath}" alt="${item.LTRT_Title}" title="${item.LTRT_Title}" data-desc="P:${index}:${item.LTRT_Title}"> </div> <h3> ${item.LTRT_Title} ${item.LTRT_VideoFlag ? '<span class="video"></span>' : ''} </h3> </a> </li> `).join(''); } } </script> <!-- 網友回應 --> <div class="caption">網友回應</div> <div class="whitecon"> <div class="fb-comments" data-href="https://sports.ltn.com.tw/news/breakingnews/4877911" data-width="640" data-numposts="2" data-colorscheme="light"></div> </div> <!-- loading... 轉圈圈 --> <style> .waitAjax { text-align: center; display: none; } .waitAjax img { width: auto; margin: 15px 0; } .listEnd { display: none; text-align: center; margin: 15px auto; } </style> <div class="waitAjax"><img src="https://cache.ltn.com.tw/images/loading.svg" alt="載入中" title="載入中"></div> <script> // 綁定scroll事件 $(window).on('scroll', loadNextPage); // 變數初始化 let limitOffsets = []; limitOffsets[0] = 0; let countPage = 1; let scrollPage = 1; let checkOffset = -1; let ending = false; let article; let waitAjax = $('.waitAjax'); let textsize; let outside940 = $('.content940'); // 以第0則當作樣板 let template = outside940.find('.template').eq(0); // dfp宣告 let dfp = {"pc":{"K1":{"slot":"\/21202031\/10-sports-sub-P-K1","size":"[[1, 1], [970, 90], [970, 160], [970, 250], [1260, 90], [1260, 160], [1260, 250]]","div":"ad-K1","class":"suggestTop adHeight250","collapse":0},"PCIR1":{"slot":"\/21202031\/10-sports-sub-P-IR1","size":"[ 'fluid', [1, 1], [650, 610], [650, 250], [640, 360]]","div":"ad-PCIR1","class":"adHeight250","collapse":1},"C1":{"slot":"\/21202031\/10-sports-sub-P-sponsors-B1","size":"[[300, 250]]","div":"ad-C1","class":"adHeight250","collapse":1},"C2":{"slot":"\/21202031\/10-sports-sub-P-sponsors-B2","size":"[[300, 250]]","div":"ad-C2","class":"adHeight250","collapse":1},"BD1":{"slot":"\/21202031\/10-sports-sub-P-BD1","size":"[[300, 250], [300, 600]]","div":"ad-BD1","class":"suggestBottom adHeight250","collapse":1},"BD2":{"slot":"\/21202031\/10-sports-sub-P-BD2","size":"[[300, 250], [300, 600]]","div":"ad-BD2","class":"suggestBottom adHeight250","collapse":1},"BD3":{"slot":"\/21202031\/10-sports-sub-P-BD3","size":"[[300, 250], [300, 600]]","div":"ad-BD3","class":"adHeight250","collapse":1}},"m":{"B1-ATF":{"slot":"\/21202031\/10-sports-mobile-sub-P-B1-ATF","size":"['fluid', [1, 1], [300, 250], [336, 280]]","div":"ad-B1-ATF","class":"suggestTop suggestBottom adHeight359","collapse":0},"IR1":{"slot":"\/21202031\/10-sports-mobile-sub-P-IR1","size":"['fluid', [1, 1], [300, 250], [336, 280], [320, 480]]","div":"ad-IR1","class":"adHeight280","collapse":1},"B2":{"slot":"\/21202031\/10-sports-mobile-sub-P-B2","size":"['fluid', [1, 1], [300, 250], [336, 280], [320, 480]]","div":"ad-B2","class":"suggestBottom adHeight280","collapse":1},"I1-bottom":{"slot":"\/21202031\/10-sports-mobile-sub-P-I1-bottom","size":"['fluid', [1, 1], [320, 50], [320, 100]]","div":"ad-I1-bottom","class":"door-bottom door-bottom-head","collapse":1}}}; dfp = dfp[checkDevice]; var divTodayNewsWrap; var pTodayNews; var divTodayNews; // 廣告 let K2adOutside; let B2adOutside; let ATFadOutside /** * main * */ function loadNextPage() { let limitOffset = changeHref(); if (limitOffset < 0) { return; } // 暫時移除scroll事件避免重複觸發 $(window).off('scroll', loadNextPage); let page = parseInt(outside940.data('page')) + 1; $.ajax({ url: 'https://sports.ltn.com.tw/articleAjax/breakingnews/4877911/' + page, beforeSend: function(xhr) { waitAjax.show(); } }) .done(function(data) { if (data == "") { waitAjax.hide(); } data = JSON.parse(data); if (!(Object.keys(data).length > 0)) { ending = true; // 重新綁定scroll事件 $(window).on('scroll', changeHref); return; } //頁碼 let page = parseInt(outside940.data('page')); // 複製樣板html article = template.clone(); article.removeAttr('class'); article.attr({ 'class': 'whitecon article', 'data-page': page + 1, 'data-ano': data['A_No'], }); //塞資料 doDeviceAppend(data, page); // 更新目前頁碼 $('.content940').data('page', page + 1); // 重新綁定scroll事件 $(window).on('scroll', loadNextPage); countPage++; // 配置新網址參數 setNewUrlParams(data); limitOffsets[countPage] = limitOffset; // 重新呼叫點圖放大 beforeClickImageLarge(); clickImageLarge(); // 打大數據 hitBigData(data); //Lazyload lazyImg = $('img.lazy_imgs_ltn'); lazyload(lazyImg); //擴展 callMoreFunction([]); ga('send', 'pageview'); }) .fail(function() { console.log("error"); }) // Ajax執行結束後,隱藏讀取中 .always(function() { $('.waitAjax').hide(); }); } /** * 模板字符串轉DOM元素 * */ function parse(html) { const placeholder = document.createElement("div"); placeholder.innerHTML = html; return placeholder.firstElementChild; // 返回第一個子元素 } /** * 變更連結網址以支援觸發瀑布流文章產出 * */ function changeHref() { let totalHeight = $(document).height(); let footerHeight = $('footer').height(); // 當右側內容比左側內容高的時候要剪掉高度差異來觸發第二頁 let moreHeight = $('#right').height() - $('.content940').height(); if (moreHeight > 0 && totalHeight - moreHeight) { totalHeight = totalHeight - moreHeight; } let limitHeight = totalHeight - $(window).height(); let offset = window.scrollY; let limitOffset = limitHeight - footerHeight; if ($(window).innerWidth(true)[0].innerWidth <= 760) { let headerHeight = $('header').outerHeight(); limitOffset = limitHeight - headerHeight - footerHeight; } if (!ending) { limitOffsets[countPage] = limitOffset; } // 更換網址 if (offset > limitOffsets[scrollPage] && typeof (limitOffsets[scrollPage + 1]) != "undefined") { scrollPage++; let newUrl = setUrl(true); changeUrlTitle(newUrl, title[scrollPage]); } else if (offset < limitOffsets[scrollPage - 1] && offset > 0) { scrollPage--; if (scrollPage === 1) { let newUrl = setUrl(false); changeUrlTitle(newUrl, title[scrollPage]); } else { let newUrl = setUrl(true); changeUrlTitle(newUrl, title[scrollPage]); } } if (offset < limitOffset) { return -1; } else { return limitOffset; } } /** * 變更網址和文件標題。 * * @param {string} $url - 網址。 * @param {string} $title - 標題。 */ function changeUrlTitle($url, $title) { history.replaceState({ page: 1 }, '', $url); document.title = $title; } /** * 塞DFP宣告 * */ function dfpDefineSlot($slot, size, div) { googletag.cmd.push(function () { googletag.defineSlot( $slot, eval(size), div ).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); googletag.enableServices(); }); } /** * 塞DFP * */ function creatDfpElement(dfpUnitId, page) { let adOutside = document.createElement('div'); adOutside.setAttribute('class', 'suggest'); let dfpBody = document.createElement('div'); dfpBody.setAttribute('id', dfp[dfpUnitId]['div'] + '_' + (page + 1)); dfpBody.setAttribute('class', 'suggest_' + checkDevice + ' ' + dfp[dfpUnitId]['class'] + " boxTitle"); dfpBody.setAttribute('data-desc', "廣告" + dfp[dfpUnitId]['div'] + '_' + (page + 1)); dfpBody.setAttribute('style', "text-align:center"); adOutside.append(dfpBody); return adOutside; } /** * DFP設置 * */ function dfpSetting(dfpInfo, page) { dfpDefineSlot(dfpInfo['slot'], dfpInfo['size'], dfpInfo['div'] + '_' + (page + 1)); displayDFP(dfpInfo['div'] + '_' + (page + 1), checkDevice); } /** * 格式化內文 * * @param {string} input - 要處理的輸入字符串。 * @param {string} allowed - 允許保留的HTML標記(可選)。若未提供,則去除所有HTML標記。 * @returns {string} - 去除HTML標記後的字符串。 */ function stripTags(input, allowed) { allowed = (((allowed || "") + "").toLowerCase().match(/<[a-z][a-z0-9]*>/g) || []).join(''); // making sure the allowed arg is a string containing only tags in lowercase (<a><b><c>) let tags = /<\/?([a-z][a-z0-9]*)\b[^>]*>/gi, commentsAndPhpTags = /<!--[\s\S]*?-->|<\?(?:php)?[\s\S]*?\?>/gi; return input.replace(commentsAndPhpTags, '').replace(tags, function ($0, $1) { return allowed.indexOf('<' + $1.toLowerCase() + '>') > -1 ? $0 : ''; }); } /** * 打大數據 * */ function hitBigData(data) { let domain = location.hostname; //channel.ltn.com.tw let type = ('sports'); let a_group = data['A_Group']; let a_no = data['A_No']; getScrNews(domain, type, a_group, a_no); } /** * 將廣告插入文章中指定位置 * * @param {string} article - 原始文章內容 * @param {string} $ad - 要插入的廣告內容 * @param {number} $position - 要插入廣告的位置(默認第二段落) * @returns {string} - 插入廣告後的文章內容。 */ function insertADtoArticle(article, $ad, $position = 2) { // 依照</p>切分文章 let paragraphs = article.split('</p>'); // 記錄段落是否在表格當中 let in_table = false; // 取得所有段落數 let paragraphs_count = paragraphs.length; // 計算可塞入廣告的位置數 let fit_count = 0; paragraphs.forEach((news, i) => { if (news.indexOf('</table') >= 0) { in_table = false; } if (news.indexOf('<table') >= 0) { in_table = true; } // 如果在表格當中則跳過此段落 if (in_table) { return; } // 如果包含以下標籤則跳過此段落 if (news.indexOf('<img') >= 0) { return; } if (news.indexOf('<amp-img') >= 0) { return; } // AMP image if (news.indexOf('<blockquote') >= 0) { return; } if (news.indexOf('<iframe') >= 0) { return; } if (news.indexOf('<embed') >= 0) { return; } if (news.indexOf('<↓') >= 0) { return; } // 檢查段落長度,如果段落內文不夠長則跳過(計算中文20個字) let $pStrips = stripTags(news); $pStrips = $pStrips.trim(); if ($pStrips.length < 20) { return; } // 如果是最後一個段落則不插入廣告(為了避免與IR2相連) if ((i + 1) >= (paragraphs_count - 1)) { return; } // 如果不在指定的段落則不插入廣告 fit_count++; // 適合的位置數+1 if (fit_count !== $position) { return; } // 在適合的段落後方插入廣告 // 廣告前加入「請繼續往下閱讀...」 news += '</p>'; news += '<p class="before_ir" style="text-align: center; display: none;">請繼續往下閱讀...</p>'; // 插入廣告 news += $ad; // 廣告後墊檔區塊 news += '<p class="after_ir" style="display: none;">'; paragraphs[i] = news; }); // 回傳完整的html article = paragraphs.join('</p>'); return article; } /** * 塞社群 * * @param {string} sharefb - fb分享 * @param {string} sharetwitter - twitter分享 * @param {string} shareline - line分享 */ function registeredSocialShare(sharefb, sharetwitter, shareline) { article.find('.sharefb').click(function() { window.open(sharefb + '', 'FB-share', 'height=500, width=500'); }); article.find('.sharetwitter').click(function() { window.open(sharetwitter + '', 'sharetwitter', 'height=600, width=600'); return false; }); article.find('.shareline').click(function() { window.open(shareline + '', 'Line-share', 'height=500, width=500'); }); } /** * 塞關鍵字 * */ function appendKeywordsToArticle(keywords) { let ulKeyword = document.createElement('ul'); ulKeyword.setAttribute('class', "keyword boxTitle boxText"); ulKeyword.setAttribute('data-desc', "關鍵字"); let pKeyword = document.createElement('p'); pKeyword.setAttribute('class', "keyword_tit"); let pText = document.createTextNode('關鍵字'); pKeyword.append(pText); for (let news of keywords) { let li = document.createElement('li'); let aTag = document.createElement('a'); aTag.setAttribute('href', "https://sports.ltn.com.tw/" + 'keywords/' + news['G_Name']); let softPushNotificationText = document.createTextNode(news['G_Name']); aTag.append(softPushNotificationText); li.append(aTag); ulKeyword.append(li); } article.append(pKeyword); article.append(ulKeyword); } /** * 擴展,當loadNextPage無法供應需求,專案內執行傳入customFunctions參數,ex: 'customFunctions' => array('funName1','funName2'...) * */ function callMoreFunction(customFunctions) { if(!customFunctions){ return; } customFunctions.forEach(function(funcName) { if (typeof window[funcName] === 'function') { window[funcName](); //調用函式 } }); } </script> <script> //變數初始化 let groups = []; let nos = []; let title = []; let divRecommendation1; // C1 let divRecommendation2; // C2 // 首則文章參數 groups[1] = 'breakingnews'; nos[1] = 4877911; title[1] = '日職》少林18銅人?辰己涼介「全身金」亮相 透露超狂打扮用意'; /** * 設置新的 URL 參數 * @param {object} data */ function setNewUrlParams(data) { groups[countPage] = data['A_Group']; nos[countPage] = data['A_No']; title[countPage] = data['LTNA_Title']; } /** * 設置文章 URL * @param {boolean} bool * @returns {string} */ function setUrl(bool) { const newArticleUrl = "https://sports.ltn.com.tw/" + "news/" + groups[scrollPage] + '/' + nos[scrollPage]; if (bool) { return newArticleUrl + '?utm_source=SPORTS&utm_medium=' + (scrollPage - 1) + '&utm_campaign=MOREPAGE'; } else { return newArticleUrl; } } // 組合頁面區塊 async function doDeviceAppend(data, page) { // 處理麵包屑 let breadcrumbs = creatCrumbsElements(data['breadcrumb']); let crumbs = document.querySelector('.breadcrumbs'); let aInCrumbs = crumbs.querySelectorAll('a'); let lastCrumb = aInCrumbs[aInCrumbs.length - 1 ].textContent.trim(); switch (checkDevice) { case 'pc': // 組合廣告htmlIR1 data['A_Html'] = appendAdIR1(data['A_Html'], 'PCIR1', page); appendArticleContent(data); appendAdC1C2(page); // 按頁面順序塞入列表並顯示 waitAjax.before(breadcrumbs); waitAjax.before(article); article.fadeIn(1000); // 推薦新聞 await fetchHotNewsData(lastCrumb); dfpSetting(dfp['C1'], page); dfpSetting(dfp['C2'], page); dfpSetting(dfp['PCIR1'], page); break; case 'm': // 廣告塞IR1 data['A_Html'] = appendAdIR1(data['A_Html'], 'IR1', page); appendArticleContent(data); // 廣告塞B1-ATF ATFadOutside = creatDfpElement('B1-ATF', page); // 廣告塞B2 B2adOutside = creatDfpElement('B2', page); // 按頁面順序塞入列表並顯示 waitAjax.before(ATFadOutside); waitAjax.before(breadcrumbs); waitAjax.before(article); article.fadeIn(1000); waitAjax.before(B2adOutside); // 推薦新聞 await fetchHotNewsData(lastCrumb); dfpSetting(dfp['B1-ATF'], page); dfpSetting(dfp['B2'], page); dfpSetting(dfp['IR1'], page); break; default: break; } } // 塞入 function appendAdIR1(html, adName, page) { let IR1adOutside = creatDfpElement(adName, page); IR1adOutside = IR1adOutside.innerHTML; return insertADtoArticle(html, IR1adOutside, 2); } // 組合廣告htmlC1、C2 function appendAdC1C2(page) { let C1C2adOutside = document.createElement('div'); C1C2adOutside.setAttribute('class', 'suggestWrapper-1-2'); let C1adOutside = creatC1C2DfpElement('C1', page); let C2adOutside = creatC1C2DfpElement('C2', page); C1C2adOutside.append(C1adOutside); C1C2adOutside.append(C2adOutside); article.append(C1C2adOutside); } // 麵包屑 function creatCrumbsElements(data) { let breadcrumbs0 = document.createElement('div'); breadcrumbs0.setAttribute('class', "breadcrumbs boxTitle boxText"); breadcrumbs0.setAttribute('data-desc', "麵包屑"); for(let i in data) { if (i > 0) { let crumbsArrow = document.createElement('span'); crumbsArrow.append('〉'); breadcrumbs0.appendChild(crumbsArrow); } let aTagBreadcrumbs = document.createElement('a'); $(aTagBreadcrumbs).text(data[i]['ch']); aTagBreadcrumbs.setAttribute('href', data[i]['url']); breadcrumbs0.appendChild(aTagBreadcrumbs); } return breadcrumbs0; } // 塞相關新聞 function appendRelationsToArticle(data) { fetchRelatedNews(data.A_No, data.A_Group, 6, 'SPORTS') .then(function(newsData) { if (newsData.length > 0) { createFetchRelatedNewsDOM(newsData); } else { createRelatedNewsDOM(data.MoreNews); } }) .catch(function(error) { createRelatedNewsDOM(data.MoreNews); }); } // 建立從機器學習api取回來的相關新聞區塊 function createFetchRelatedNewsDOM(data, ulElement) { var relativedHtml = ''; relativedHtml += '<div class="caption2">相關新聞</div>'; relativedHtml += '<ul class="related boxTitle" data-desc="相關新聞">'; $.each(data, function(index, news) { relativedHtml += '<li>'; relativedHtml += '<a title="' + news.LTRT_Title + '" href="' + news.LTRT_Url + '" class="boxText" data-desc="P:' + index + ':' + news.LTRT_Title + '">'; relativedHtml += '<h3>'; if (news.LTRT_VideoFlag) { relativedHtml += '<span class="video"></span>'; } relativedHtml += news.LTRT_Title + '</h3></a></li>'; }); relativedHtml += '</ul>'; article.append(relativedHtml); } // 建立從ES取回來的相關新聞區塊 function createRelatedNewsDOM(newsItems, ulElement) { var relativedHtml = ''; relativedHtml += '<div class="caption2">相關新聞</div>'; relativedHtml += '<ul class="related boxTitle" data-desc="相關新聞">'; $.each(newsItems, function(index, news) { relativedHtml += '<li>'; relativedHtml += '<a href="' + news.url + '?utm_source=SPORTS&utm_medium=relatedNews&utm_campaign=ltn_customize" title="' + news.title + '" data-desc="T:' + index + ':' + news.title + '">'; relativedHtml += '<h3>'; if (news.status) { $.each(news.status, function(i, status) { if (status == 2) { relativedHtml += '<span class="video"></span>'; } }); } relativedHtml += news.title + '</h3></a></li>'; }); relativedHtml += '</ul>'; article.append(relativedHtml); } //推薦(熱門)新聞fetch function fetchHotNewsData(lastCrumb) { fetchHotNews(['sports', lastCrumb], 6, "hotnews_bottom") .then(data => { if (data.length > 0) { creatTodayNewsElements(data); } }); } // 塞推薦(熱門)新聞 function creatTodayNewsElements(hotNews) { var recommendation = ''; recommendation += '<div class="caption">推薦新聞</div>'; recommendation += '<div class="whitecon todaynews boxTitle boxText" data-desc="推薦新聞"> '; recommendation += '<ul class="hotNews">'; $.each(hotNews, function(index, news) { recommendation += '<li>'; recommendation += '<a href="' + news.LTRT_Url + '"class="boxText" title="' + news.LTRT_Title + '" data-desc="T:' + index + ':' + news.LTRT_Title + '">'; recommendation += '<div class="resize_imgs_ltn">'; recommendation += '<img class="lazy_imgs_ltn" title="' + news.LTRT_Title + '" alt="' + news.LTRT_Title + '" src="assets/images/rwd/400S.jpg" data-src="' + news.LTRT_SmallPhotoPath + '" data-desc="P:' + index + ':' + news.LTRT_Title + '"/>' recommendation += '</div>'; recommendation += '<h3>' + news.LTRT_Title; news.LTRT_VideoFlag ? recommendation += '<span class="video"></span>' : ''; recommendation += '</h3></a></li>'; }); recommendation += '</ul>'; recommendation += '</div>'; waitAjax.before(recommendation); //Lazyload lazyImg = $('img.lazy_imgs_ltn'); lazyload(lazyImg); } // 塞C1、C2 DFP function creatC1C2DfpElement(dfpUnitId, page) { let adOutside = document.createElement('div'); adOutside.setAttribute('class', 'suggest suggest-1-2 suggest_pc'); let dfpBody = document.createElement('div'); dfpBody.setAttribute('id', dfp[dfpUnitId]['div'] + '_' + (page + 1)); dfpBody.setAttribute('class', 'suggest_' + checkDevice + ' ' + dfp[dfpUnitId]['class'] + " boxTitle"); dfpBody.setAttribute('data-desc', "廣告" + dfp[dfpUnitId]['div'] + '_' + (page + 1)); dfpBody.setAttribute('style', "text-align:center"); adOutside.append(dfpBody); return adOutside; } //組合內文區塊 function appendArticleContent(data) { // 內文 appendContent(data); // 社群 registeredSocialShare(data['share']['FB'], data['share']['TWITTER'], data['share']['LINE']); // APP廣告文字 appendText(data['cacheApptext']); // 相關文章 appendRelationsToArticle(data); } // 塞入APP廣告文字 function appendText(text) { article.find('.text').append(text); } // 塞入內文資料 function appendContent(data) { let news = data['A_Html']; article.find('h2').text(data['LTNA_Title']); article.find('.time').text(data['LTNA_ViewTime']); article.find('.text').html(news); } </script> </section> <!-- 300 右邊欄 開始 --> <aside> <!-- 側邊欄程式定位用 --> <div id="right"> <div class="suggest"> </div> <!-- 300*250 Suggest --> <div class="suggest pc"> <!-- /21202031/10-sports-sub-P-BD1 --> <div id="ad-BD1" class="boxTitle suggest_pc suggestBottom adHeight250" data-desc="廣告ad-BD1" style="text-align: center;"> <script>displayDFP('ad-BD1', 'pc');</script> </div> </div> <!-- 熱門新聞 --> <div class="hotnews boxTitle boxText hotnews_right" data-desc="熱門新聞"> <p>熱門新聞</p> <ul></ul> </div> <script> let hotNewsSource = "SPORTS"; document.addEventListener('DOMContentLoaded', () => { fetchHotNews(["sports", ""], 5, "hotnews_right") .then(data => { data.length > 0 ? hotNewsRight(data) : removeHotnewsDOM('hotnews.boxTitle.boxText.hotnews_right'); }); }) // 右側熱門新聞 function hotNewsRight(data) { const rightNews = document.querySelector('.hotnews.boxTitle.boxText.hotnews_right ul'); rightNews.insertAdjacentHTML('beforeend', data.map((item, index) => ` <li> <a class="boxText" title="${item.LTRT_Title}" href="${item.LTRT_Url}" data-desc="T:${index}:${item.LTRT_Title}"> ${item.LTRT_Title} </a> </li> `).join('') ); } </script> <!-- 300*100 Suggest --> <div class="suggest suggest_pc"> <!-- /21202031/10-sports-sub-P-BD2 --> <div id="ad-BD2" class="boxTitle suggest_pc suggestBottom adHeight250" data-desc="廣告ad-BD2" style="text-align: center;"> <script>displayDFP('ad-BD2', 'pc');</script> </div> </div> <!-- FB Fans --> <div class="fbFans"> <iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2Fsport.ltn.tw%2F&tabs=tabs&width=300&height=130&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=true&appId=336570947173536" width="300" height="130" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allow="encrypted-media"></iframe> </div> <!-- 這邊插入youtube頻道 --> <div class="hot_tag"> <p>熱門關鍵字</p> <div class="boxTitle hottag" data-desc="熱門關鍵字"> <div id="hot_keyword_area" data-desc="熱門關鍵字" style="width:280px;height:250px;display:block;" class="jqcloud"> <script src="assets/js/rwd/jquery-color.min.js"></script> <script> $(document).ready(function() { window.setTimeout(function(){ $('#hot_keyword_area').children().each(function() { if ( $(this).attr("class") == 'w10' || $(this).attr("class") == 'w9' || $(this).attr("class") == 'w8' || $(this).attr("class") == 'w7' || $(this).attr("class") == 'w6') { var colorbase = ["#e60017", "#8a541f", "#00791C", "#C56202", "#CB18BB","#000000"]; var cols = []; cols = hotkeyword_shuffle(colorbase); var cPos = 0; swapC($(this), cols, cPos); } }); }, 500); }); function swapC(dom, cols, cPos) { var move_sec = ( Math.floor((Math.random() * 3) + 1) * 500 ); dom.animate( { color: cols[cPos] }, 500 ); cPos++; if (cPos == cols.length) { cPos = 0; } window.setTimeout(function(){ swapC(dom, cols, cPos); }, move_sec); } function hotkeyword_shuffle(o) { for(var j, x, i = o.length; i; j = Math.floor(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x); return o; }; var hot_keyword_words = [{"text":"\u68d2\u7403","weight":19,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u68d2\u7403&type=sports&page=1","html":{"data-desc":"\u68d2\u7403"}},{"text":"12\u5f37","weight":18,"link":"https:\/\/search.ltn.com.tw\/list?keyword=12\u5f37&type=sports&page=1","html":{"data-desc":"12\u5f37"}},{"text":"\u4e2d\u8077","weight":17,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u4e2d\u8077&type=sports&page=1","html":{"data-desc":"\u4e2d\u8077"}},{"text":"\u65e5\u8077","weight":16,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u65e5\u8077&type=sports&page=1","html":{"data-desc":"\u65e5\u8077"}},{"text":"MLB","weight":15,"link":"https:\/\/search.ltn.com.tw\/list?keyword=MLB&type=sports&page=1","html":{"data-desc":"MLB"}},{"text":"12\u5f37\u8cfd","weight":14,"link":"https:\/\/search.ltn.com.tw\/list?keyword=12\u5f37\u8cfd&type=sports&page=1","html":{"data-desc":"12\u5f37\u8cfd"}},{"text":"\u6797\u6631\u73c9","weight":13,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u6797\u6631\u73c9&type=sports&page=1","html":{"data-desc":"\u6797\u6631\u73c9"}},{"text":"U12\u4e9e\u6d32\u5c11\u68d2","weight":12,"link":"https:\/\/search.ltn.com.tw\/list?keyword=U12\u4e9e\u6d32\u5c11\u68d2&type=sports&page=1","html":{"data-desc":"U12\u4e9e\u6d32\u5c11\u68d2"}},{"text":"\u7d93\u5178\u8cfd","weight":11,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u7d93\u5178\u8cfd&type=sports&page=1","html":{"data-desc":"\u7d93\u5178\u8cfd"}},{"text":"\u66fe\u8c6a\u99d2","weight":10,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u66fe\u8c6a\u99d2&type=sports&page=1","html":{"data-desc":"\u66fe\u8c6a\u99d2"}},{"text":"\u9673\u5091\u61b2","weight":9,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u9673\u5091\u61b2&type=sports&page=1","html":{"data-desc":"\u9673\u5091\u61b2"}},{"text":"\u9673\u67cf\u6e05","weight":8,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u9673\u67cf\u6e05&type=sports&page=1","html":{"data-desc":"\u9673\u67cf\u6e05"}},{"text":"\u6c5f\u570b\u8c6a","weight":7,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u6c5f\u570b\u8c6a&type=sports&page=1","html":{"data-desc":"\u6c5f\u570b\u8c6a"}},{"text":"\u53f0\u7063\u968a\u9577","weight":6,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u53f0\u7063\u968a\u9577&type=sports&page=1","html":{"data-desc":"\u53f0\u7063\u968a\u9577"}},{"text":"\u6771\u4eac\u5de8\u86cb","weight":5,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u6771\u4eac\u5de8\u86cb&type=sports&page=1","html":{"data-desc":"\u6771\u4eac\u5de8\u86cb"}},{"text":"U12","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=U12&type=sports&page=1","html":{"data-desc":"U12"}},{"text":"U12\u4e9e\u6d32\u5c11\u68d2\u8cfd","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=U12\u4e9e\u6d32\u5c11\u68d2\u8cfd&type=sports&page=1","html":{"data-desc":"U12\u4e9e\u6d32\u5c11\u68d2\u8cfd"}},{"text":"\u8fb0\u5df1\u6dbc\u4ecb","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u8fb0\u5df1\u6dbc\u4ecb&type=sports&page=1","html":{"data-desc":"\u8fb0\u5df1\u6dbc\u4ecb"}},{"text":"\u6797\u5bb6\u6b63","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u6797\u5bb6\u6b63&type=sports&page=1","html":{"data-desc":"\u6797\u5bb6\u6b63"}},{"text":"\u62f3\u64ca","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u62f3\u64ca&type=sports&page=1","html":{"data-desc":"\u62f3\u64ca"}},{"text":"\u6797\u5cb3\u5e73","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u6797\u5cb3\u5e73&type=sports&page=1","html":{"data-desc":"\u6797\u5cb3\u5e73"}},{"text":"NBA","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=NBA&type=sports&page=1","html":{"data-desc":"NBA"}},{"text":"U12\u4e9e\u6d32\u5c11\u68d2\u9326\u6a19\u8cfd","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=U12\u4e9e\u6d32\u5c11\u68d2\u9326\u6a19\u8cfd&type=sports&page=1","html":{"data-desc":"U12\u4e9e\u6d32\u5c11\u68d2\u9326\u6a19\u8cfd"}},{"text":"12\u5f37\u76f4\u64ca","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=12\u5f37\u76f4\u64ca&type=sports&page=1","html":{"data-desc":"12\u5f37\u76f4\u64ca"}},{"text":"\u6f58\u5091\u6977","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u6f58\u5091\u6977&type=sports&page=1","html":{"data-desc":"\u6f58\u5091\u6977"}},{"text":"\u53f0\u7063\u596a\u51a0","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u53f0\u7063\u596a\u51a0&type=sports&page=1","html":{"data-desc":"\u53f0\u7063\u596a\u51a0"}},{"text":"\u7dba\u7dba","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u7dba\u7dba&type=sports&page=1","html":{"data-desc":"\u7dba\u7dba"}},{"text":"\u53f0\u65e5\u5927\u6230","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u53f0\u65e5\u5927\u6230&type=sports&page=1","html":{"data-desc":"\u53f0\u65e5\u5927\u6230"}},{"text":"\u5f35\u5955","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u5f35\u5955&type=sports&page=1","html":{"data-desc":"\u5f35\u5955"}},{"text":"\u51ac\u76df","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u51ac\u76df&type=sports&page=1","html":{"data-desc":"\u51ac\u76df"}},{"text":"\u6797\u51f1\u5a01","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u6797\u51f1\u5a01&type=sports&page=1","html":{"data-desc":"\u6797\u51f1\u5a01"}},{"text":"MiLB","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=MiLB&type=sports&page=1","html":{"data-desc":"MiLB"}},{"text":"\u90ed\u4fca\u9e9f","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u90ed\u4fca\u9e9f&type=sports&page=1","html":{"data-desc":"\u90ed\u4fca\u9e9f"}},{"text":"\u5927\u806f\u76df","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u5927\u806f\u76df&type=sports&page=1","html":{"data-desc":"\u5927\u806f\u76df"}},{"text":"\u7fbd\u7403","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u7fbd\u7403&type=sports&page=1","html":{"data-desc":"\u7fbd\u7403"}},{"text":"\u53f0\u7063\u968a","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u53f0\u7063\u968a&type=sports&page=1","html":{"data-desc":"\u53f0\u7063\u968a"}},{"text":"\u7d71\u4e00\u7345","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u7d71\u4e00\u7345&type=sports&page=1","html":{"data-desc":"\u7d71\u4e00\u7345"}},{"text":"\u7c43\u7403","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u7c43\u7403&type=sports&page=1","html":{"data-desc":"\u7c43\u7403"}},{"text":"\u5bb6\u6b63\u5a66","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u5bb6\u6b63\u5a66&type=sports&page=1","html":{"data-desc":"\u5bb6\u6b63\u5a66"}},{"text":"\u5341\u4e8c\u5f37\u68d2\u7403\u8cfd","weight":4,"link":"https:\/\/search.ltn.com.tw\/list?keyword=\u5341\u4e8c\u5f37\u68d2\u7403\u8cfd&type=sports&page=1","html":{"data-desc":"\u5341\u4e8c\u5f37\u68d2\u7403\u8cfd"}}]; $('#hot_keyword_area').jQCloud( hot_keyword_words, { colors: ["#e60017", "#8a541f", "#f69757", "#7acd8d", "#37b6d1", "#977BE4", "#888888"], delay : 1, center: {x:0.4,y:0.5}, autoResize: true, shape: 'rectangular', fontSize: { from: 0.11, to: 0.04 } } ); </script> </div> </div> </div> <!-- 300*100 Suggest --> <div class="suggest suggest_pc"> <!-- /21202031/10-sports-sub-P-BD3 --> <div id="ad-BD3" class="boxTitle suggest_pc adHeight250" data-desc="廣告ad-BD3" style="text-align: center;"> <script>displayDFP('ad-BD3', 'pc');</script> </div> </div> </div> </aside></div> <script> const prePage = 'npb'; const channelName = 'SPORTS'; $(document).ready(function() { checkState(); }); </script> <script src="https://cache.ltn.com.tw/js/insertListPage.js"></script> <!-- Footer 開始--> <footer class="sportFooter boxTitle boxText" data-desc="底部選單"> <div class="hero_dark"> <div class="footer_box"> <ul> <li><a href="https://sports.ltn.com.tw/" title="首頁">首頁</a></li> <li><a href="breakingnews" class="boxTitle" title="即時">即時</a></li> <li><a href="baseball" class="boxTitle" title="棒球">棒球</a></li> <li><a href="basketball" class="boxTitle" title="籃球">籃球</a></li> <li><a href="athletics" class="boxTitle" title="競技">競技</a></li> </ul> <ul> <li><a href="tennis" class="boxTitle" title="網球">網球</a></li> <li><a href="football" class="boxTitle" title="足球">足球</a></li> <li><a href="leisure" class="boxTitle" title="休閒">休閒</a></li> <li><a href="gaming" class="boxTitle" title="電競">電競</a></li> </ul> <ul> <li><a href="live" class="boxTitle" title="實況">實況</a></li> <li><a href="video" class="boxTitle" title="影音">影音</a></li> <li><a href="interview" class="boxTitle" title="專訪">專訪</a></li> <li class="flex2"><a href="newspaper" class="boxTitle" title="看報紙">看報紙</a></li> </ul> </div> </div> <div class="hero_light"> <a href="https://www.ltn.com.tw/" class="boxTitle" title="自由時報" data-desc="自由時報"> <img src="https://cache.ltn.com.tw/images/logo_foot.png" alt="自由時報" title="自由時報"> </a> <p> 自由時報版權所有不得轉載 <span>© 2024 The Liberty Times. All Rights Reserved.<span> </p> </div> </footer> <!-- Footer 結束--> <!-- 浮水印廣告 --> <div class="suggest suggest_m"> <!-- /21202031/10-sports-mobile-sub-P-I1-bottom --> <div id="ad-I1-bottom" class="boxTitle suggest_m door-bottom door-bottom-head" data-desc="廣告ad-I1-bottom" style="text-align: center;"> <script>displayDFP('ad-I1-bottom', 'm');</script> </div> </div> <div class="door-bottom-space" style="display: none"></div> <script src="https://cache.ltn.com.tw/js/getTargetTime.js"></script> <script type='text/javascript'><!--//<![CDATA[ const thisTimeZoneDate = new Date(); const inTheTimeZone = (function () { const checkTimeZone = [-5, -6, -7, -8]; // ../cache/js/getTargetTime.js:getDiffTime() 兩地相差時間 for (let key in checkTimeZone) { if (getDiffTime(thisTimeZoneDate, checkTimeZone[key]) === 0) { return true; } } return false; })(); function checkSpecificDate() { const today = new Date(); const year = today.getFullYear(); const month = today.getMonth() + 1; const date = today.getDate(); return (year === 2023 && month === 10 && date >= 1 && date <= 31); } const show_amg_footer = (function () { const AMGHostName = location.hostname.toLowerCase().replace(".ltn.com.tw", ""); const AMGOpenTime = { 'www':[ {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'} ], 'news': [ {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'} ], 'auto': [ {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'} ], 'sports': [ {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'} ], '3c': [ {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'} ], 'ec': [ {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'} ], 'features': [ {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'} ], 'istyle': [ {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'} ], 'art': [ {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'} ], 'food': [ {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'} ], 'estate': [ {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'} ], 'ent': [ {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'} ], 'health': [ {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'} ], 'playing': [ {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'} ], }; //AMGOpenTime沒設定的頻道回傳false防測試機報錯 if (AMGOpenTime[AMGHostName] != 'undefined') { const AMGNowTime = thisTimeZoneDate.getFullYear() + "-" + ('0' + (thisTimeZoneDate.getMonth() + 1)).substr(-2, 2) + "-" + ('0' + thisTimeZoneDate.getDate()).substr(-2, 2) + "T" + ('0' + thisTimeZoneDate.getHours()).substr(-2, 2) + ":" + ('0' + thisTimeZoneDate.getMinutes()).substr(-2, 2) + ":" + ('0' + thisTimeZoneDate.getSeconds()).substr(-2, 2); let openTime = AMGOpenTime[AMGHostName]; for (let key in openTime) { let start = openTime[key]['start']; let end = openTime[key]['end']; if (AMGNowTime >= start && AMGNowTime <= end) { return true; } } } return false; })(); const get_amg_zoneid = (function () { const AMGHostName = location.hostname.toLowerCase().replace(".ltn.com.tw", ""); switch (AMGHostName) { case 'health': case 'ent': case 'istyle': case 'art': case 'playing': case 'food': return '562'; case 'ec': case 'estate': case 'auto': case 'sports': case '3c': return '680'; default: return '96'; } })(); const shiftvValue = (function () { const AMGHostName = location.hostname.toLowerCase().replace(".ltn.com.tw", ""); switch (AMGHostName) { case 'health': case 'ent': case 'istyle': case 'art': case 'playing': case 'food': return '22'; case 'ec': case 'estate': case 'auto': case 'sports': case '3c': default: return '15'; } })(); if (inTheTimeZone && show_amg_footer) { let ox_u = 'https://amgs5.com/AS/www/delivery/al.php?zoneid=' + get_amg_zoneid + '&layerstyle=simple&align=center&valign=bottom&padding=2&padding=2&shifth=0&shiftv=' + shiftvValue + '&closebutton=t&backcolor=FFFFFF&bordercolor=000000'; if (document.context) ox_u += '&context=' + escape(document.context); document.write("<scr"+"ipt type='text/javascript' src='" + ox_u + "'></scr"+"ipt>"); } //]]>--></script> <script src="assets/js/rwd/run_lazyload.min.js"></script> <script src="https://cache.ltn.com.tw/js/resize_imgs_ltn.min.js"></script> </body> </html>