CINXE.COM

Create new account

<!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>Create new account</title> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/ajax-progress.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/align.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/autocomplete-loading.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/fieldgroup.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/container-inline.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/clearfix.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/details.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/hidden.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/item-list.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/js.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/nowrap.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/position-container.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/progress.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/reset-appearance.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/resize.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/sticky-header.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/system-status-counter.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/system-status-report-counters.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/system-status-report-general-info.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/tabledrag.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/tablesort.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/tree-child.module.css?snnkr4" /> <link rel="stylesheet" media="all" href="/core/modules/user/css/user.module.css?snnkr4" /> <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/contrib/social_auth/css/auth-icons.css?snnkr4" /> <link rel="stylesheet" media="all" href="/modules/omia/css/user/login_register.css?snnkr4" /> <link rel="stylesheet" media="all" href="/modules/omia/css/other/hidenStatusForm.css?snnkr4" /> <link rel="stylesheet" media="all" href="/modules/contrib/captcha/css/captcha.css?snnkr4" /> <link rel="stylesheet" media="all" href="/modules/contrib/captcha/modules/image_captcha/css/image_captcha.css?snnkr4" /> <link rel="stylesheet" media="all" href="/modules/contrib/captcha/modules/image_captcha/css/image_captcha_refresh.css?snnkr4" /> <link rel="stylesheet" media="all" href="/themes/custom/omia_theme/css/all.css?snnkr4" /> <script type="application/json" data-drupal-selector="drupal-settings-json">{"path":{"baseUrl":"\/","scriptPath":null,"pathPrefix":"","currentPath":"user\/register","currentPathIsAdmin":false,"isFront":false,"currentLanguage":"zh-hant","currentQuery":{"destination":"\/project\/1776?tab=3"}},"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":"","consentMode":false,"otherIds":[],"events":[],"additionalConfigInfo":[]},"ajaxPageState":{"libraries":"captcha\/base,core\/drupal.form,fontawesome\/fontawesome.webfonts,fontawesome\/fontawesome.webfonts.shim,google_tag\/gtag,google_tag\/gtag.ajax,google_tag\/gtm,image_captcha\/image-captcha-refresh,omia\/omiaHideStatusForm,omia\/omiaLoginRegister,omia\/omiaRegisterJS,omia_theme\/global-styling,system\/base,user\/drupal.user","theme":"omia_theme","theme_token":null},"ajaxTrustedUrl":{"form_action_p_pvdeGsVG5zNF_XLGPTvYSKCf43t8qZYSwcfZl2uzM":true},"omia":{"isPlusPage":false,"isTranslucentHeaderPage":false,"isSHE":false},"password":{"confirmTitle":"\u5bc6\u78bc\u7b26\u5408\uff1a","confirmSuccess":"\u662f","confirmFailure":"\u5426","showStrengthIndicator":true,"strengthTitle":"\u5bc6\u78bc\u5f37\u5ea6\uff1a","hasWeaknesses":"\u63d0\u9ad8\u5bc6\u78bc\u5f37\u5ea6\u7684\u5efa\u8b70\u4e8b\u9805\uff1a","tooShort":"\u9577\u5ea6\u81f3\u5c11\u70ba 12 \u500b\u5b57\u5143","addLowerCase":"\u52a0\u5165\u5c0f\u5beb\u5b57\u6bcd","addUpperCase":"\u52a0\u5165\u5927\u5beb\u5b57\u6bcd","addNumbers":"\u52a0\u5165\u6578\u5b57","addPunctuation":"\u52a0\u5165\u6a19\u9ede\u7b26\u865f","sameAsUsername":"\u8acb\u52ff\u8ddf\u60a8\u7684\u4f7f\u7528\u8005\u540d\u7a31\u76f8\u540c","weak":"\u5f31","fair":"\u4e00\u822c","good":"\u826f\u597d","strong":"\u5f37","username":""},"GA4_key":"G-G3NTX7ZFC8","GA4_IS_DEBUG":false,"user":{"uid":0,"permissionsHash":"3be470ef3bfd30e1a7f979de03234c7257d6e953f5254014dfff4fa735782688"}}</script> <script src="/core/assets/vendor/jquery/jquery.min.js?v=1733021011"></script> <script src="/core/assets/vendor/once/once.min.js?v=1733021011"></script> <script src="/sites/default/files/languages/zh-hant_mrYhz6U9M44XBGLw0zaBisdKzlhHIi4JsLhjs1NLglk.js?v=1733021011"></script> <script src="/core/misc/drupalSettingsLoader.js?v=1733021011"></script> <script src="/core/misc/drupal.js?v=1733021011"></script> <script src="/core/misc/drupal.init.js?v=1733021011"></script> <script src="/modules/omia/js/common/jquery.cookie.js?v=1733021011"></script> <script src="/themes/custom/omia_theme/js/main.js?v=1733021011"></script> <script src="/themes/custom/omia_theme/js/save_cookies.js?v=1733021011"></script> <script src="/themes/custom/omia_theme/js/GA4_script.js?v=1733021011"></script> </head> <body class="user-register"> <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=/user/register%3Fdestination%3D/project/1776%253Ftab%253D3" 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 id="block-omia-theme-breadcrumbs"> <ol> <li> <a href="/">首頁</a> </li> </ol> </nav> </div> </div> <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-pagetitle"> <h1>註冊</h1> </div> <div id="block-omia-theme-content"> <form class="user-register-form user-form" data-user-info-from-browser data-drupal-selector="user-register-form" enctype="multipart/form-data" action="/user/register?destination=/project/1776%3Ftab%3D3" method="post" id="user-register-form" accept-charset="UTF-8"> <div id="social-auth-login-list"> <a class="social-auth auth-link Facebook" href="/user/login/facebook?destination=/project/1776%3Ftab%3D3"> </a> <a class="social-auth auth-link Google" href="/user/login/google?destination=/project/1776%3Ftab%3D3"> </a> <a class="social-auth auth-link LINE" href="/user/login/line?destination=/project/1776%3Ftab%3D3"> </a> </div><div class="register_page_status_meaages js-form-wrapper form-wrapper" data-drupal-selector="edit-msg-container" id="edit-msg-container"></div> <div data-drupal-selector="edit-account" id="edit-account" class="js-form-wrapper form-wrapper"><div class="js-form-item form-item js-form-type-email form-item-mail js-form-item-mail"> <label for="edit-mail" class="js-form-required form-required">電子郵件</label> <input data-drupal-selector="edit-mail" type="email" id="edit-mail" name="mail" value="" size="60" maxlength="254" class="form-email required" required="required" aria-required="true" /> </div> <div id="edit-pass" class="js-form-item form-item js-form-type-password-confirm form-item-pass js-form-item-pass form-no-label"> <div class="js-form-item form-item js-form-type-password form-item-pass-pass1 js-form-item-pass-pass1"> <label for="edit-pass-pass1" class="js-form-required form-required">密碼</label> <input class="password-field js-password-field form-text required" autocomplete="new-password" data-drupal-selector="edit-pass-pass1" type="password" id="edit-pass-pass1" name="pass[pass1]" size="25" maxlength="128" required="required" aria-required="true" /> </div> <div class="js-form-item form-item js-form-type-password form-item-pass-pass2 js-form-item-pass-pass2"> <label for="edit-pass-pass2" class="js-form-required form-required">確認密碼</label> <input class="password-confirm js-password-confirm form-text required" autocomplete="new-password" data-drupal-selector="edit-pass-pass2" type="password" id="edit-pass-pass2" name="pass[pass2]" size="25" maxlength="128" required="required" aria-required="true" /> </div> </div> </div> <input autocomplete="off" data-drupal-selector="form-wvorcyazbqp-n5nthydrvvysbm9ukuiqao7haihfkgu" type="hidden" name="form_build_id" value="form-WvOrCyazBqp_n5nthYdrVVYSbm9ukUIqao7HaihfKGU" /> <input data-drupal-selector="edit-user-register-form" type="hidden" name="form_id" value="user_register_form" /> <div data-drupal-selector="edit-captcha" class="captcha captcha-type-challenge--image"> <div class="captcha__element"> <input data-drupal-selector="edit-captcha-sid" type="hidden" name="captcha_sid" value="9370" /> <input data-drupal-selector="edit-captcha-token" type="hidden" name="captcha_token" value="CAPq5-ZWsOLtWQqTQOX7iYuPZbb79Myg4zYM-mmEds8" /> <div class="js-form-item form-item js-form-type-textfield form-item-captcha-response js-form-item-captcha-response"> <label for="edit-captcha-response" class="js-form-required form-required">認證碼</label> <input autocomplete="off" data-drupal-selector="edit-captcha-response" aria-describedby="edit-captcha-response--description" type="text" id="edit-captcha-response" name="captcha_response" value="" size="15" maxlength="128" class="form-text required" required="required" aria-required="true" /> <div id="edit-captcha-response--description" class="description"> 請輸入圖片文字 </div> </div> <div class="captcha__image-wrapper js-form-wrapper form-wrapper" data-drupal-selector="edit-captcha-image-wrapper" id="edit-captcha-image-wrapper"><img data-drupal-selector="edit-captcha-image" src="/image-captcha-generate/9370/1733045531" width="180" height="60" alt="圖片的 CAPTCHA" title="圖片的 CAPTCHA" loading="lazy" /> <div class="reload-captcha-wrapper" title="Generate new CAPTCHA image"> <a href="/image-captcha-refresh/user_register_form" class="reload-captcha">Get new captcha!</a> </div> </div> </div> </div> <div data-drupal-selector="edit-actions" class="form-actions js-form-wrapper form-wrapper" id="edit-actions"><input data-drupal-selector="edit-submit" type="submit" id="edit-submit" name="op" value="建立新帳號" class="button button--primary js-form-submit form-submit" /> <div id='privacy_service'>註冊即表示您同意 <a href="/service">隱私權政策</a> 與 <a href="/privacy">使用條款</a>.</div><div id='already_a_member'>我已經是會員 ! <a href="/user/login?destination=/project/1776%3Ftab%3D3" rel="modal:open">登入</a></div></div> </form> </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/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> <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=1733021011"></script> <script src="/modules/contrib/google_tag/js/gtm.js?v=1733021011"></script> <script src="/modules/contrib/google_tag/js/gtag.js?v=1733021011"></script> <script src="/core/misc/progress.js?v=1733021011"></script> <script src="/core/assets/vendor/loadjs/loadjs.min.js?v=1733021011"></script> <script src="/core/misc/debounce.js?v=1733021011"></script> <script src="/core/misc/announce.js?v=1733021011"></script> <script src="/core/misc/message.js?v=1733021011"></script> <script src="/core/misc/ajax.js?v=1733021011"></script> <script src="/modules/contrib/google_tag/js/gtag.ajax.js?v=1733021011"></script> <script src="/core/misc/form.js?v=1733021011"></script> <script src="/modules/omia/js/user/user_register.js?v=1733021011"></script> <script src="/modules/contrib/captcha/modules/image_captcha/js/image_captcha_refresh.js?v=1733021011"></script> <script src="/core/modules/user/user.js?v=1733021011"></script> <script src="/core/modules/user/user.theme.js?v=1733021011"></script> </body> </html>

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