CINXE.COM

最新活動 | OMIA

<!DOCTYPE html> <html lang="zh-hant" dir="ltr"> <head> <meta charset="utf-8" /> <meta name="Generator" content="Drupal 10 (https://www.drupal.org)" /> <meta name="MobileOptimized" content="width" /> <meta name="HandheldFriendly" content="true" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <script>window.drupal10 = window.drupal10 || {}; window.drupal10.settings = window.drupal10.settings || {}; window.drupal10.settings.user_js_uid = 0;</script> <link rel="icon" href="/sites/default/files/favicon.ico" type="image/vnd.microsoft.icon" /> <title>最新活動 | OMIA</title> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/ajax-progress.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/align.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/autocomplete-loading.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/fieldgroup.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/container-inline.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/clearfix.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/details.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/hidden.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/item-list.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/js.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/nowrap.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/position-container.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/progress.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/reset-appearance.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/resize.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/sticky-header.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/system-status-counter.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/system-status-report-counters.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/system-status-report-general-info.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/tabledrag.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/tablesort.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/tree-child.module.css?snckwj" /> <link rel="stylesheet" media="all" href="/core/modules/views/css/views.module.css?snckwj" /> <link rel="stylesheet" media="all" href="https://use.fontawesome.com/releases/v6.4.0/css/all.css" /> <link rel="stylesheet" media="all" href="https://use.fontawesome.com/releases/v6.4.0/css/v4-shims.css" /> <link rel="stylesheet" media="all" href="/modules/omia/css/other/adm_list.css?snckwj" /> <link rel="stylesheet" media="all" href="/themes/custom/omia_theme/css/all.css?snckwj" /> <script type="application/json" data-drupal-selector="drupal-settings-json">{"path":{"baseUrl":"\/","scriptPath":null,"pathPrefix":"","currentPath":"events","currentPathIsAdmin":false,"isFront":false,"currentLanguage":"zh-hant"},"pluralDelimiter":"\u0003","suppressDeprecationErrors":true,"gtm":{"tagId":null,"settings":{"data_layer":"dataLayer","include_classes":false,"allowlist_classes":"","blocklist_classes":"","include_environment":false,"environment_id":"","environment_token":""},"tagIds":["GTM-KQ63VZN"]},"gtag":{"tagId":"G-G3NTX7ZFC8","consentMode":false,"otherIds":[""],"events":[],"additionalConfigInfo":[]},"ajaxPageState":{"libraries":"fontawesome\/fontawesome.webfonts,fontawesome\/fontawesome.webfonts.shim,google_tag\/gtag,google_tag\/gtag.ajax,google_tag\/gtm,omia\/omiaAdmFastChange,omia_theme\/global-styling,system\/base,views\/views.module","theme":"omia_theme","theme_token":null},"ajaxTrustedUrl":[],"omia":{"isPlusPage":false,"isTranslucentHeaderPage":false,"isSHE":false},"GA4_key":"G-G3NTX7ZFC8","GA4_IS_DEBUG":false,"user":{"uid":0,"permissionsHash":"3be470ef3bfd30e1a7f979de03234c7257d6e953f5254014dfff4fa735782688"}}</script> <script src="/core/assets/vendor/jquery/jquery.min.js?v=1732459019"></script> <script src="/core/assets/vendor/once/once.min.js?v=1732459019"></script> <script src="/sites/default/files/languages/zh-hant_mrYhz6U9M44XBGLw0zaBisdKzlhHIi4JsLhjs1NLglk.js?v=1732459019"></script> <script src="/core/misc/drupalSettingsLoader.js?v=1732459019"></script> <script src="/core/misc/drupal.js?v=1732459019"></script> <script src="/core/misc/drupal.init.js?v=1732459019"></script> <script src="/modules/omia/js/common/jquery.cookie.js?v=1732459019"></script> <script src="/themes/custom/omia_theme/js/main.js?v=1732459019"></script> <script src="/themes/custom/omia_theme/js/save_cookies.js?v=1732459019"></script> <script src="/themes/custom/omia_theme/js/GA4_script.js?v=1732459019"></script> </head> <body class="view-promote_articles-page_2"> <a href="#main-content" class="visually-hidden focusable"> 移至主內容 </a> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KQ63VZN" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <div class="dialog-off-canvas-main-canvas" data-off-canvas-main-canvas> <div class="layout-container"> <header role="banner"> <div> <div id="block-omia-theme-header"> <div class="header"> <div class="header_logo"> <a href="/" alt="首頁"></a> </div> <div class="headerMainPageBtnDom isActive" type="category"> <a href="/" class="headerMainPageBtn"> 買課程 <div class="headerMainPageBtnArrow"></div> </a> <div class="headerMainPageList" id="headerCategoryList"> <div class="headerMainPageListItem"> <a href="/projectList">所有專案</a> </div> <div class="headerMainPageListItem"> <a href="/projectList/C1">個人成長</a> </div> <div class="headerMainPageListItem"> <a href="/projectList/C5">健康養生</a> </div> <div class="headerMainPageListItem"> <a href="/projectList/C7">手作DIY</a> </div> <div class="headerMainPageListItem"> <a href="/projectList/C11">攝影藝術</a> </div> <div class="headerMainPageListItem"> <a href="/projectList/C4">教育學習</a> </div> <div class="headerMainPageListItem"> <a href="/projectList/C8">生活嗜好</a> </div> <div class="headerMainPageListItem"> <a href="/projectList/C2">程式軟體</a> </div> <div class="headerMainPageListItem"> <a href="/projectList/C10">繪畫插畫</a> </div> <div class="headerMainPageListItem"> <a href="/projectList/C12">職場技能</a> </div> <div class="headerMainPageListItem"> <a href="/projectList/C3">語言學習</a> </div> </div> </div> <div class="headerMainPageBtnDom" type="tag"> <a href="/plus" class="headerMainPageBtn"> PLUS <div class="headerMainPageBtnArrow"></div> </a> </div> <div class="headerSearchDom"> <input type="text" placeholder="你今天想學什麼?" class="projectSearchInput pcSearchInput"> <div class="header_search_drop hidden"> <div class="header_hot_keyword">熱門關鍵字</div> <ul> <li><a href="/searchProject/奶油畫">奶油畫</a></li> <li><a href="/searchProject/黏土手作">黏土手作</a></li> <li><a href="/searchProject/室內設計必修">室內設計必修</a></li> </ul> <div class="header_seacher_all"><a href="/projectList">所有專案</a></div> </div> </div> <div class="headerMobileSearchBtn"></div> <div class="header_btn_login header-button"> <a href="/user/login?destination=/events" alt="登入">登入</a> </div> <div class="headerPlusSubscribeBtn"> <a href="/plus/intro">訂閱</a> </div> <div class="headerMobileMenuBtn burger-container"></div> <div class="headerMobileMenuDom"> <div class="headerMobileSearchDom"> <input type="text" placeholder="你今天想學什麼" class="projectSearchInput"> </div> <div class="headerMobileCategoryList"> <div class="headerMobileCategoryListItem firstItem">熱門關鍵字</div> <div class="headerMobileCategoryListItem"> <a href="/searchProject/奶油畫">奶油畫</a> </div> <div class="headerMobileCategoryListItem"> <a href="/searchProject/黏土手作">黏土手作</a> </div> <div class="headerMobileCategoryListItem"> <a href="/searchProject/室內設計必修">室內設計必修</a> </div> <div class="headerMobileCategoryListItem lastItem"> <a href="/projectList">所有專案</a> </div> </div> </div> </div> <nav id="mobileLeftMenu"> <div class="mobileLeftMenu_MainPageBtn"> <a href="/" class="mobileLeftMenuMainPageBtn isActive">買課程</a> <a href="/plus" class="mobileLeftMenuMainPageBtn">PLUS</a> </div> <ul> <li class="mobileLeftMenu_MainItem" mobileLeftMenu_Group="0"> <a href="javascript:void(0)">課程專案</a> </li> <li class="mobileLeftMenu_SubItem_0 hidden"><a href="/projectList">所有專案</a></li> <li class="mobileLeftMenu_SubItem_0 hidden"><a href="/projectList/C1">個人成長</a></li> <li class="mobileLeftMenu_SubItem_0 hidden"><a href="/projectList/C5">健康養生</a></li> <li class="mobileLeftMenu_SubItem_0 hidden"><a href="/projectList/C7">手作DIY</a></li> <li class="mobileLeftMenu_SubItem_0 hidden"><a href="/projectList/C11">攝影藝術</a></li> <li class="mobileLeftMenu_SubItem_0 hidden"><a href="/projectList/C4">教育學習</a></li> <li class="mobileLeftMenu_SubItem_0 hidden"><a href="/projectList/C8">生活嗜好</a></li> <li class="mobileLeftMenu_SubItem_0 hidden"><a href="/projectList/C2">程式軟體</a></li> <li class="mobileLeftMenu_SubItem_0 hidden"><a href="/projectList/C10">繪畫插畫</a></li> <li class="mobileLeftMenu_SubItem_0 hidden"><a href="/projectList/C12">職場技能</a></li> <li class="mobileLeftMenu_SubItem_0 hidden"><a href="/projectList/C3">語言學習</a></li> <li><a href="/plus/intro">訂購PLUS</a></li> </ul> </nav> <script> document.addEventListener("DOMContentLoaded", function () { setupBlockToggle( ".user-button.header-button", "#user-block" ); setupBlockToggle( ".Master-button.header-button", "#Master-block" ); function setupBlockToggle(buttonSelector, blockSelector) { let timeout; const block = document.querySelector(blockSelector); const button = document.querySelector(buttonSelector); if(block != null) { block.addEventListener("mouseover", () => cancelHide(block)); block.addEventListener("mouseleave", () => hideBlock(block)); } if(button != null) { button.addEventListener("mouseover", () => showBlock(block)); button.addEventListener("mouseleave", () => hideBlock(block)); // 手機板點擊事件 button.addEventListener("click", () => toggleBlock(block)); } function showBlock(block) { clearTimeout(timeout); block.classList.remove("hide"); block.classList.add("show"); } function hideBlock(block) { timeout = setTimeout(() => { block.classList.remove("show"); block.classList.add("hide"); }, 500); // 延遲 500 毫秒 } function cancelHide(block) { clearTimeout(timeout); } function toggleBlock(block) { if (block.classList.contains("show")) { block.classList.remove("show"); block.classList.add("hide"); } else { showBlock(block); } } // 手機板點擊外部區域關閉 block document.addEventListener("click", (event) => { if (block != null && !block.contains(event.target) && !button.contains(event.target)) { block.classList.remove("show"); block.classList.add("hide"); } }); } }); (function ($, Drupal,once) { Drupal.behaviors.omiaHeaderBlock = { attach: function (context, settings) { once('omiaHeaderBlock', 'html').forEach(function (element) { let isTranslucentHeaderPage = settings.omia.isTranslucentHeaderPage; //捲動時的Header底色 if (isTranslucentHeaderPage) { $("#block-omia-theme-header").addClass('index_header'); setHeaderStyle(); $(window).scroll(function () { setHeaderStyle(); }); } }) } }; })(jQuery, Drupal,once); function setHeaderStyle() { //重新載入時的底色 var scrollVal = $(this).scrollTop(); $(".qScrollTop").text(scrollVal); if (scrollVal > 45) { $("#block-omia-theme-header").stop(true, false).addClass("header_bk"); } else { $("#block-omia-theme-header").stop(true, false).removeClass("header_bk"); } } </script> <style> .user-block, .Master-block { display: none; transition: visibility 0s, opacity 0.5s linear; } .user-block.show, .Master-block.show { display: block; visibility: visible; opacity: 1; } .user-block.hide, .Master-block.hide { visibility: hidden; opacity: 0; transition: visibility 0s 0.5s, opacity 0.5s linear; } </style> </div> </div> </header> <div> <div data-drupal-messages-fallback class="hidden"></div> </div> <main role="main"> <a id="main-content" tabindex="-1"></a> <div class="layout-content"> <div> <div id="block-omia-theme-content"> <div class="views-element-container"><div class="js-view-dom-id-70892cf9eaa0d098a494fac63f524af9bfc3d86c2cc49d885e8bd24aa2a895c2"> <header> <h1 id="page-title"> 最新活動 </h1> </header> <div class="item-list recom-list"> <ul> <li><span class="views-field views-field-field-image"><span class="field-content"><a href="/bwnet"> <img loading="lazy" src="/sites/default/files/styles/new_project_card_991/public/standard_event/%E7%94%A8%E8%B2%A1%E5%A0%B1%E5%81%9A%E5%B0%8D%E6%B1%BA%E7%AD%963680x1000.jpg?itok=KzvxK0ZB" width="546" height="321" alt="" /> </a></span></span><span class="views-field views-field-field-date-time"><span class="field-content"><time datetime="2024-11-13T09:25:32Z">2024-11-13</time> ~ <time datetime="2024-11-29T15:59:59Z">2024-11-29</time> </span></span><span class="views-field views-field-title"><span class="field-content"><a href="/bwnet">專業職場人士必備課程 限時75折</a></span></span></li> <li><span class="views-field views-field-field-image"><span class="field-content"><a href="/cite"> <img loading="lazy" src="/sites/default/files/styles/new_project_card_991/public/standard_event/CITE3680.jpg?itok=bPu_K_Dv" width="546" height="321" alt="" /> </a></span></span><span class="views-field views-field-field-date-time"><span class="field-content"><time datetime="2024-11-04T00:00:00Z">2024-11-04</time> ~ <time datetime="2024-12-16T15:59:59Z">2024-12-16</time> </span></span><span class="views-field views-field-title"><span class="field-content"><a href="/cite">享受美好生活 幸福自在學</a></span></span></li> <li><span class="views-field views-field-field-image"><span class="field-content"><a href="/promotion2"> <img loading="lazy" src="/sites/default/files/styles/new_project_card_991/public/standard_event/202411BN_3680x1000.jpg?itok=qKYhseql" width="546" height="321" alt="" /> </a></span></span><span class="views-field views-field-field-date-time"><span class="field-content"><time datetime="2024-11-04T02:00:00Z">2024-11-04</time> ~ <time datetime="2024-11-30T15:59:59Z">2024-11-30</time> </span></span><span class="views-field views-field-title"><span class="field-content"><a href="/promotion2">*雙11限時75折!送給自己的一堂課</a></span></span></li> </ul> </div> </div> </div> </div> </div> </div> </main> <footer role="contentinfo"> <div> <div id="block-omia-theme-footer"> <div class="footer"> <div class="footer_menu_block"> <div class="footer_menu_title close">關於</div> <ul class="footer_menu"> <li><a href="/about_us">關於OMIA</a></li> <li><a href="/company">企業團購</a></li> <li><a href="https://support.omia.com.tw/support/yu-omia-he-zuo" target="_blank">行銷合作</a></li> <li><a href="/service">服務條款</a></li> <li><a href="/privacy">隱私權政策</a></li> </ul> </div> <div class="footer_menu_block"> <div class="footer_menu_title close">探索</div> <ul class="footer_menu"> <li><a href="/promote-articles">好評推薦</a></li> <li><a href="/projectList/0">最新課程</a></li> <li><a href="/projectList/1">近期熱門</a></li> <li><a href="/projectList/2">正在促銷</a></li> <li><a href="/events">最新活動</a></li> <li><a href="/live-list">免費直播課程</a></li> <li><a href="/creations">學習作品展示</a></li> </ul> </div> <div class="footer_menu_block"> <div class="footer_menu_title close">幫助</div> <ul class="footer_menu"> <li><a href="/experience/subscribe">課程序號兌換</a></li> <li><a href="https://support.omia.com.tw/support" target="_blank">常見問題</a></li> <li><a href="https://lin.ee/skou7Td">加入LINE好友</a></li> <li><a href="/contact_us">聯絡我們</a></li> <li><a href="/fraud_prevention">反詐騙宣導</a></li> </ul> </div> <div class="footer_menu_block footer_menu_share"> <div class="footer_menu_title close">追蹤</div> <ul class="footer_menu"> <li class="footer_menu_item_facebook"><a href="https://www.facebook.com/omia.com.tw"></a></li> <li class="footer_menu_item_youtube"><a href="https://www.youtube.com/@omia.official"></a></li> </ul> </div> <div class="footer_copyright">© 2024 Spring House Entertainment Tech. Inc. All Rights Reserved.</div> </div> </div> <div id="block-omia-theme-ga4zhuizongmaqukuai"> <script> var ga4_key = drupalSettings.GA4_key; var ga4_is_debug = drupalSettings.GA4_IS_DEBUG; // GA4,追蹤事件 function GA4_add_to_wishlist(orderPrice, data) { if(typeof(orderPrice) === "undefined" || parseInt(orderPrice, 10) === 0) return; if(typeof(data) == "undefined") return; if(data.length > 0) { gtag("event", "add_to_wishlist", { 'send_to': ga4_key, 'currency': "TWD", 'value': parseInt(orderPrice, 10), 'items': data }); } } // GA4,註冊事件 function GA4_sign_up(method) { if(typeof(method) == "undefined") return; if(method.length > 0) { gtag("event", "sign_up", { 'send_to': ga4_key, 'method': method }); } } // GA4,登入事件 function GA4_login(method) { if(typeof(method) == "undefined") return; if(method.length > 0) { gtag("event", "login", { 'send_to': ga4_key, 'method': method }); } } // GA4,瀏覽列表事件 function GA4_view_item(data) { if(typeof(data) == "undefined") return; if(data.length > 0) { let gaData = { 'send_to': ga4_key, 'items': data, }; if(ga4_is_debug) gaData.debug_mode = true; gtag("event", "view_item", gaData); } } // GA4,瀏覽列表事件 function GA4_view_item_list(data) { if(typeof(data) == "undefined") return; if(data.length > 0) { let gaData = { 'send_to': ga4_key, 'items': data, }; if(ga4_is_debug) gaData.debug_mode = true; gtag("event", "view_item_list", gaData); } } // GA4,加入購物車事件 function GA4_add_to_cart(orderPrice, data) { if(typeof(orderPrice) === "undefined" || parseInt(orderPrice, 10) === 0) return; if(typeof(data) == "undefined") return; if(data.length > 0) { let gaData = { 'send_to': ga4_key, 'currency': "TWD", 'value': parseInt(orderPrice, 10), 'items': data }; if(ga4_is_debug) gaData.debug_mode = true; gtag("event", "add_to_cart", gaData); } } // GA4,送出訂單事件 function GA4_begin_checkout(orderPrice, data) { if(typeof(orderPrice) === "undefined" || parseInt(orderPrice, 10) === 0) return; if(typeof(data) == "undefined") return; if(data.length > 0) { let gaData = { 'send_to': ga4_key, 'currency': "TWD", 'value': parseInt(orderPrice, 10), 'items': data }; if(ga4_is_debug) gaData.debug_mode = true; gtag("event", "begin_checkout", gaData); } } // GA4,購買事件 function GA4_purchase(orderTitle, orderPrice, data) { if(typeof(orderTitle) === "undefined") return; if(typeof(orderPrice) === "undefined" || parseInt(orderPrice, 10) === 0) return; if(typeof(data) == "undefined") return; if(data.length > 0) { let gaData = { 'send_to': ga4_key, 'currency': "TWD", 'transaction_id' : orderTitle, 'value' : parseInt(orderPrice, 10), 'items': data }; if(ga4_is_debug) gaData.debug_mode = true; gtag("event", "purchase", gaData); } } // GA4,搜尋事件 function GA4_search(searchText) { gtag("event", "search", { 'send_to': ga4_key }); gtag("event", "search", { 'send_to': ga4_key, 'search_term' : searchText, }); } </script> </div> <div id="block-omia-theme-tips"> <div class="plus_pop_bk" id="tips_block" style="display: none;"> <div class="plus_go_subscribe_pop_block" id="tips_block_box"> <div class="plus_pop_header_bar"> <div class="plus_pop_header_bar_text" id="tips_block_title"></div> <div class="plus_pop_close_28x28" id="tips_block_btn_close"></div> </div> <div class="plus_go_subscribe_pop_main"> <div class="plus_go_subscribe_pop_text" id="tips_block_contents"></div> <div class="plus_go_subscribe_pop_btn_list"> <div class="plus_go_subscribe_pop_btn_blue" id="tips_block_btn_left"></div> <div class="plus_go_subscribe_pop_btn_blue_line" id="tips_block_btn_middle"></div> <div class="plus_go_subscribe_pop_btn_red" id="tips_block_btn_right"></div> </div> <div class="plus_go_subscribe_pop_info" id="tips_block_bottom_contents"></div> </div> </div> </div> <script> if($ == undefined) $ = jQuery; let tipsBlock = null; let tipsBlockBtnClose = null; let btnClassBlue = 'plus_go_subscribe_pop_btn_blue'; let btnClassWhite = 'plus_go_subscribe_pop_btn_blue_line'; let btnClassRed = 'plus_go_subscribe_pop_btn_red'; let btnClassCart = 'plus_go_subscribe_pop_btn_cart'; $(document).ready(function() { initTipsBlock(); //如果有 cookie 'showBaseTips_msg',則顯示基本提示 並且去除 cookie if($.cookie('showBaseTips_msg') != undefined) { showBaseTips($.cookie('showBaseTips_msg')); $.removeCookie('showBaseTips_msg', { path: '/' }); } }); /** * * @param btnClass * btnClassBlue 藍底白字 * btnClassWhite 白底藍字 * btnClassRed 紅底白字 * @param btnText * @param btnEvent */ function getTipsBtnSetting(btnClass, btnText, btnEvent) { return { 'class' : btnClass, 'text' : btnText, 'event' : typeof(btnEvent) == "function" ? btnEvent : null, }; } /** * * @param title * @param contents * @param bottomContents * @param isCanClose * @param tipsSetting 各項設定 * { * 'right' : btnSetting, * 'middle' : btnSetting, * 'left' : btnSetting, * 'contentMargin' : Boolean (有設定並為false時,內容無margin) * } */ function setTipsBlock(title, contents, bottomContents, isCanClose, tipsSetting) { if(tipsBlock.length === 0) return; tipsBlock.removeClass('can_close'); tipsBlockBtnClose.hide(); if(isCanClose === true) { tipsBlock.addClass('can_close'); tipsBlockBtnClose.show(); } let domTitle = $('#tips_block_title'); let domContents = $('#tips_block_contents'); let domBottomContents = $('#tips_block_bottom_contents'); // 設定內容需不需要margin domContents.removeClass('no_margin').removeClass('set_margin'); if(typeof(tipsSetting) != "undefined" && typeof(tipsSetting.contentMargin) == "boolean" && !tipsSetting.contentMargin) { domContents.addClass('no_margin'); } else { domContents.addClass('set_margin'); } domTitle.html(title); domContents.html(contents); domBottomContents.html(bottomContents); let domBtnLeft = $('#tips_block_btn_left'); let domBtnMiddle = $('#tips_block_btn_middle'); let domBtnRight = $('#tips_block_btn_right'); domBtnLeft.hide(); domBtnMiddle.hide(); domBtnRight.hide(); domBtnLeft.off('click'); domBtnMiddle.off('click'); domBtnRight.off('click'); // 未設定按鈕,套用預設功能 if(typeof(tipsSetting) == "undefined" || (typeof(tipsSetting.right) == "undefined" && typeof(tipsSetting.middle) == "undefined" && typeof(tipsSetting.left) == "undefined")) { if(isCanClose) { domBtnRight.attr('class', btnClassBlue); domBtnRight.show(); domBtnRight.html('確定'); domBtnRight.on('click', function() { setTipsBlockShown(false); }); } return; } if(domBtnRight.length > 0 && typeof(tipsSetting.right) != "undefined") { domBtnRight.show(); domBtnRight.html(tipsSetting.right.text); domBtnRight.attr('class', btnClassBlue); if(tipsSetting.right.class.length > 0) domBtnRight.attr('class', tipsSetting.right.class); if(tipsSetting.right.event != null) domBtnRight.on('click', tipsSetting.right.event); } if(domBtnMiddle.length > 0 && typeof(tipsSetting.middle) != "undefined") { domBtnMiddle.show(); domBtnMiddle.html(tipsSetting.middle.text); domBtnMiddle.attr('class', btnClassBlue); if(tipsSetting.middle.class.length > 0) domBtnMiddle.attr('class', tipsSetting.middle.class); if(tipsSetting.middle.event != null) domBtnMiddle.on('click', tipsSetting.middle.event); } if(domBtnLeft.length > 0 && typeof(tipsSetting.left) != "undefined") { domBtnLeft.show(); domBtnLeft.html(tipsSetting.left.text); domBtnLeft.attr('class', btnClassBlue); if(tipsSetting.left.class.length > 0) domBtnLeft.attr('class', tipsSetting.left.class); if(tipsSetting.left.event != null) domBtnLeft.on('click', tipsSetting.left.event); } } function initTipsBlock() { tipsBlock = $('#tips_block'); tipsBlockBtnClose = $('#tips_block_btn_close'); if(tipsBlock.length === 0) return; $('#tips_block_box').on('click', function(e) { e.stopPropagation(); }); tipsBlock.on('click', function(e) { if(tipsBlock.hasClass('can_close')) setTipsBlockShown(false); }); tipsBlockBtnClose.on('click', function() { if(tipsBlock.hasClass('can_close')) setTipsBlockShown(false); }); } function setTipsBlockShown(isShow) { if(tipsBlock.length === 0) return; if(isShow) tipsBlock.show(); else tipsBlock.hide(); } // 顯示Tips,Plus未訂閱導月租介紹 function showPlusUnsubscribeTips() { if(tipsBlock.length === 0) return; let tipsSetting = { 'right' : getTipsBtnSetting(btnClassBlue, '訂閱OMIA Plus', function() { window.location = '/plus/intro'; }), }; let bottomContents = '<a href="/experience/subscribe">使用OMIA PLUS服務序號,請由此兌換</a>'; setTipsBlock('', '您尚未訂閱OMIA Plus,訂閱OMIA Plus即可享受學習!', bottomContents, true, tipsSetting); setTipsBlockShown(true); } // 顯示基本Tips,只有訊息與確定按鈕 function showBaseTips(msg) { setTipsBlock('', msg, '', true); setTipsBlockShown(true); } </script> </div> <div id="block-omia-theme-news"> <div class="foot-icons"> <div id="event-bar" class="event-bar"> <div class="event-icon"style="display: none;"></div> <div class="in-event-bar" style="display: none;"> <div class="close-button"></div> <div class="event-logo"><img src="https://www.omia.com.tw/sites/default/files/block/field_img/right_event_header.png"></div> <div class="event-body"> <ul class="event-list"> <li> <a href="https://www.omia.com.tw/promotion2?click_from=omia_new" target="_blank"> <div class="an-event-body"><p><span style="color:#F00078;"><strong>雙11狂歡慶🛒</strong></span></p></div> </a> </li> <li> <a href="https://www.omia.com.tw/project/114862?click_from=omia_new" target="_blank"> <div class="an-event-body"><p><span style="color:#6193C6;"><strong>7折優惠⏰</strong></span><span style="color:#D75D36;"><strong>油畫快易通</strong></span></p></div> </a> </li> <li> <a href="https://www.omia.com.tw/project/117366?click_from=omia_new" target="_blank"> <div class="an-event-body"><p><span style="color:#CE3879;"><strong>堆疊星月✨</strong></span><span style="color:#0F61D6;"><strong>奶油立體畫</strong></span></p></div> </a> </li> </ul> </div> </div> </div> <a href="line://ti/p/@391eydty"><div class="line-msg"></div></a><!-- 只有手機版網頁才會出現 --> <li class="to-top"></li><!-- 當 scrollbar = 0 的時候不出現 --> </div> <script type="application/javascript"> (function ($) { $('.to-top').hide(); $(window).scroll(function () { var scrollVal = $(this).scrollTop(); if(scrollVal > 0){ $('.to-top').show("fast"); }else{ $('.to-top').hide("fast"); } }); $(".to-top").click(function(){ // $('html,body').animate({ scrollTop: 0 }, 'slow'); window.scrollTo({ top: 0, behavior: 'smooth' }); }); window.onload = function() { var status = 0; if($.cookie('event_open') && $.cookie('event_open')==1){ status = 1; $('.in-event-bar').hide(); $('.event-icon').show(); }else{ status = 0; $('.in-event-bar').show('fast'); $('.event-icon').hide('fast'); } $(".close-button").click(function(){ $('.in-event-bar').hide('fast'); $('.event-icon').show('fast'); //紀錄七天 $.cookie('event_open',1,{ path: "/" ,domain : "."+window.location.host ,expires:5 * 7}); }); $(".event-icon").click(function(){ $('.in-event-bar').show('fast'); $('.event-icon').hide('fast'); //紀錄七天 $.cookie('event_open',0,{ path: "/" ,domain : "."+window.location.host ,expires:5 * 7}); }); }; }(jQuery)); </script> </div> </div> </footer> </div> </div> <script src="/core/assets/vendor/tabbable/index.umd.min.js?v=1732459019"></script> <script src="/modules/contrib/google_tag/js/gtm.js?v=1732459019"></script> <script src="/modules/contrib/google_tag/js/gtag.js?v=1732459019"></script> <script src="/core/misc/progress.js?v=1732459019"></script> <script src="/core/assets/vendor/loadjs/loadjs.min.js?v=1732459019"></script> <script src="/core/misc/debounce.js?v=1732459019"></script> <script src="/core/misc/announce.js?v=1732459019"></script> <script src="/core/misc/message.js?v=1732459019"></script> <script src="/core/misc/ajax.js?v=1732459019"></script> <script src="/modules/contrib/google_tag/js/gtag.ajax.js?v=1732459019"></script> <script src="/modules/omia/js/admin/adm_checkbox.js?v=1732459019"></script> <script src="/modules/omia/js/admin/adm_UserField.js?v=1732459019"></script> <script src="/modules/omia/js/admin/adm_Action.js?v=1732459019"></script> <script src="/modules/omia/js/admin/adm_fixLabel.js?v=1732459019"></script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10