It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.

Source: http://stiga.com.tw

  1. <!DOCTYPE HTML>
  2. <html lang="zh-TW">
  3. <head>
  4. <title>STIGA | 瑞典國際乒乓球台灣代理商</title>
  5. <meta name="title" content="STIGA | 瑞典國際乒乓球台灣代理商">
  6. <meta name="subject" content="STIGA | 瑞典國際乒乓球台灣代理商">
  7. <meta name="description" content="STIGA是一家有著60多年歷史,全球領先的乒乓球用品生產商,在全球範圍內有100多家合作夥伴。 1944年,STIGA在瑞典製造出首支乒乓球拍。在過去半個多世紀來,STIGA底板一直被譽為世界上最好的底板,STIGA的產品得到了廣大乒乓球選手和愛好者的認可,在這期間STIGA在生產工藝以及產品開發上不斷的進行創新,以保持STIGA在乒乓領域的領先地位。">
  8. <meta name="Keywords" content="許昕, 郭躍, 陳思羽, 瑞典第一桌球品牌, 乒乓世界桌球用品, 圍布架, 置球架, 比賽用桌, 三星比賽球, 乒乓, ITTF比賽級網架組, 桌球計分板">
  9. <meta name="author" content="STIGA">
  10. <meta name="referrer" content="no-referrer-when-downgrade">
  11. <meta name="google-site-verification" content="dyJCQWCBJ3wC4T_3HSUPyrZm5GyretUXaq7QvCwKbGU" />
  12.  
  13. <script type="text/javascript">
  14.    (function(c,l,a,r,i,t,y){
  15.        c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
  16.        t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
  17.        y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
  18.    })(window, document, "clarity", "script", "cf8vtdq0yp");
  19. </script>
  20.  
  21. <meta name="msvalidate.01" content="E8CDAE55DFC27AC0064FF07E587CF6C9" />
  22.  
  23. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  24. <meta name="csrf-token" content="bd05b8a8093cc1713ce791e4ef1b6fbcc5f765785396dfc478a0fcba9d04ed50">
  25. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  26. <meta http-equiv="content-language" content="zh-TW" />
  27. <meta property="fb:app_id" content="" />
  28. <meta property="og:title" content="STIGA | 瑞典國際乒乓球台灣代理商" />
  29. <meta property="og:description" content="STIGA是一家有著60多年歷史,全球領先的乒乓球用品生產商,在全球範圍內有100多家合作夥伴。 1944年,STIGA在瑞典製造出首支乒乓球拍。在過去半個多世紀來,STIGA底板一直被譽為世界上最好的底板,STIGA的產品得到了廣大乒乓球選手和愛好者的認可,在這期間STIGA在生產工藝以及產品開發上不斷的進行創新,以保持STIGA在乒乓領域的領先地位。" />
  30. <meta property="og:url" content="https://www.stiga.com.tw/index.php?" />
  31. <meta property="og:image" content="https://pic.vcp.tw/upload/stiga/website_info/pic_social_share_1.jpg?1652775361" />
  32. <meta property="og:image:width" content="1200" />
  33. <meta property="og:image:height" content="630" />
  34. <meta property="og:type" content="product" />
  35. <!--<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11" />-->
  36. <base href="https://www.stiga.com.tw/">
  37. <link rel="image_src" type="image/jpeg" href="https://pic.vcp.tw/upload/stiga/website_info/pic_social_share_1.jpg?1652775361" />
  38. <link rel="shortcut icon" href="https://pic.vcp.tw/upload/stiga/website_info/pic_favicon_1.png?1672402284">
  39.  
  40. <link href="https://cdn.matrixec.com/fs/all/css/default_style_pc.css?1746775845" rel="stylesheet" type="text/css" >
  41.  
  42. <!-- 網站基本css -->
  43. <link id="website_pc_css" href="https://cdn.matrixec.com/fs/all/css/ap_pc.css?1746775845" rel="stylesheet" type="text/css" >
  44.  
  45. <!-- master menu -->
  46. <link href="https://cdn.matrixec.com/fs/all/css/master_menu.css?1746775845" rel="stylesheet" type="text/css">
  47. <!-- 動態內容模組css -->
  48. <link id="dynamic_pc_css" href="https://cdn.matrixec.com/fs/all/css/content_module.css?1746775845" rel="stylesheet" type="text/css" >
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55. <!-- 強制css -->
  56. <link href="https://cdn.matrixec.com/fs/all/css/init_constraint.css?1746775845" rel="stylesheet" >
  57.  
  58. <!-- fontawesome 6.0 -->
  59. <link href="https://cdn.matrixec.com/js/fontawesome_free_6.2.0/css/all.css" rel="stylesheet">
  60. <link rel="stylesheet" href="https://cdn.matrixec.com/js/jquery-ui_1.12.1.css">
  61. <link rel="stylesheet" href="https://cdn.matrixec.com/js/jquery.bxslider_4.2.12.min.css" type="text/css" />
  62. <link rel="stylesheet" href="https://cdn.matrixec.com/js/carousel.css" type="text/css" />
  63. <link rel="stylesheet" href="https://cdn.matrixec.com/js/sortable.min.css" type="text/css" />
  64. <link rel="stylesheet" href="https://cdn.matrixec.com/fs/all/slick-1.8.1/slick.css?1746775845">
  65. <link rel="stylesheet" href="https://cdn.matrixec.com/fs/all/slick-1.8.1/slick-theme.css?1746775845">
  66. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.css"/>
  67. <!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0/dist/fancybox/fancybox.css"/> -->
  68.  
  69. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css" />
  70. <link rel="stylesheet" href="https://cdn.matrixec.com/fs/all/sweetalert2/sweetalert2.min.css" >
  71. <script language="javascript" src="https://cdn.matrixec.com/js/jquery_1.12.4.min.js"></script>
  72. <script language="javascript" src="https://cdn.matrixec.com/js/jquery.lazyload_1.9.1.min.js"></script>
  73. <script language="javascript" src="https://cdn.matrixec.com/js/placeholders_3.0.2.min.js" async></script>
  74. <script language="javascript" src="https://cdn.matrixec.com/js/skrollr_0.6.30.min.js" async></script>
  75. <script language="javascript" src="https://cdn.matrixec.com/js/carousel.js?1746996414" async></script>
  76. <script language="javascript" src="https://cdn.matrixec.com/js/jquery.bxslider_4.2.12.min.js"></script>
  77. <script language="javascript" src="https://cdn.matrixec.com/js/jquery.cookie_1.4.1.min.js" async></script>
  78. <script src="https://cdn.matrixec.com/js/jquery-ui_1.12.1.min.js"></script>
  79.  
  80. <!-- 輪播 -->
  81. <script src="https://cdn.matrixec.com/fs/all/slick-1.8.1/slick.js"></script>
  82.  
  83. <!-- 複製 -->
  84. <script src="https://cdn.matrixec.com/js/clipboard.min.js"></script>
  85.  
  86. <!-- 拖曳 -->
  87. <script src="https://cdn.matrixec.com/js/sortable.min.js"></script>
  88.  
  89. <!-- 瀑布流插件 -->
  90. <script src="https://cdn.matrixec.com/js/Masonry_v4.2.2.js"></script>
  91.  
  92. <!-- 圖片懶載入 -->
  93. <script src="https://cdn.matrixec.com/js/imagesloaded_v5.0.0.js"></script>
  94.  
  95. <!-- 燈箱 -->
  96. <script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.umd.js"></script>  
  97. <!-- <script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0/dist/fancybox/fancybox.umd.js"></script> -->
  98.  
  99. <!-- 複製按鈕插件 -->
  100. <script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.10/dist/clipboard.min.js"></script>
  101.  
  102. <!-- sweetalert2 -->
  103. <script language="javascript" src="https://cdn.matrixec.com/js/sweetalert2/sweetalert2.all.min.js"></script>
  104.    
  105.  
  106.  
  107.  
  108. <script language="javascript">
  109. //網站初始全域js資料
  110. var website_init =
  111. {
  112. "website_title" : "STIGA | 瑞典國際乒乓球台灣代理商",
  113. "member_ID_type" : 3 }
  114. //console.log(website_init);
  115.  
  116. var cursorX;
  117. var cursorY;
  118.  
  119. </script>
  120.  
  121. <script language="javascript" src="https://cdn.matrixec.com/js/default.js?1746996414"></script>
  122. <script language="javascript" src="https://cdn.matrixec.com/js/header.js?1746996414"></script>
  123. <style id="design_setting_css_variables">
  124.    :root {
  125.        --ds_standard_color:#000;
  126.        --ds_standard_bg_color:#fff;
  127.    
  128.            --ds_main_color:#000000;
  129.        
  130.                --ds_main_text_color:#ffffff;
  131.            
  132.            --ds_sup_color:#5e5e5e;
  133.        
  134.                --ds_sup_text_color:#ffffff;
  135.            
  136.            --ds_footer_bg_color:#000000;
  137.        
  138.            --ds_footer_text_color:#ffffff;
  139.        
  140.                --ds_standard_btn_color:#ffffff;
  141.            
  142.                --ds_standard_btn_bg_color:#000000;
  143.            
  144.                --ds_standard_btn_color_hover:#000000;
  145.            
  146.                --ds_standard_btn_bg_color_hover:#ffffff;
  147.            
  148.                --ds_cta_btn_color:#ffffff;
  149.            
  150.                --ds_cta_btn_bg_color:#000000;
  151.            
  152.                --ds_cta_btn_color_hover:#000000;
  153.            
  154.                --ds_cta_btn_bg_color_hover:#ffffff;
  155.            
  156.            --ds_product_price_activity_color: #fb402d;
  157.        
  158.            --ds_product_activity_caption_color: #ffffff;
  159.        
  160.            --ds_product_activity_bg_color: #ded345;
  161.        
  162.            --ds_product_promotion_color: #5e5e5e;
  163.        
  164.            --ds_product_CTA_color: #ffffff;
  165.        
  166.            --ds_product_CTA_color_hover: #000000;
  167.        
  168.            --ds_product_CTA_bg_color: #000000;
  169.        
  170.            --ds_product_CTA_bg_color_hover: #ffffff;
  171.        
  172.            --ds_product_rating_color: #F7E721;
  173.        }</style>
  174.  
  175. <style id="design_setting">
  176.    
  177.    body .ad_product_a6 .a6_slider .a6_list_item .to_know a,
  178.    body .ad_product_a6 .a6_slider .a6_list_item .price .activity_price,
  179.    body .ad_product_a6 .a6_slider .a6_list_item .promote,
  180.    body .ad_product_a6 .a6_slider .a6_list_item .to_know:hover a,
  181.    body .ad_product_b2 .b2_slider .b2_list_item .to_know a,
  182.    body .ad_product_b2 .b2_slider .b2_list_item .price .activity_price,
  183.    body .ad_product_b2 .b2_slider .b2_list_item .promote,
  184.    .footer_menu_outside div.add_cart_box div.add_button
  185.    {
  186.        color: inherit;
  187.    }
  188.    body .ad_product_a6 .a6_slider .a6_list_item .a6_item_pic .activity_name,
  189.    body .ad_product_b2 .b2_slider .b2_list_item .b2_item_pic .activity_name,
  190.    .footer_menu_outside div.add_cart_box div.add_button
  191.    {
  192.        background-color: inherit;
  193.    }
  194.    
  195. .column_list_big_side_2_outside div.text div.caption,
  196. .column_list_big_side_1_outside div.caption,
  197.        .column_list_big_side_2x2_header_outside div.caption,
  198.        .column_list_big_side_2x2_item_outside div.content_bolck div.content,
  199.        .category_list_table td.product_item div.shopping_context,
  200.        .category_list_table td.product_item div.shopping_context:hover,
  201.        .category_list_table td.product_item div.product_price,
  202.        .category_list_table td.product_item div.activity_name,
  203.        .big_side_category_half_1b5s .ds_main_color .clear>div,
  204.        .big_side_all_category_top3_caption,
  205.        .big_side_all_category_top3_box div.item_inside div.caption a,
  206.        .big_side_publicize_column div.big_side_publicize_column_header,
  207.        .big_side_category_half_1b5s .ds_standard_color>div,
  208.        body .ad_product_b2 .b2_slider .b2_list_item .promote,
  209.        .group_product_relation_module_outside_box div.product_price,
  210.        .group_product_relation_module_caption_txt,
  211.        .group_product_relation_module_outside_box div.product_name a,
  212.        .tag_caption .tag_caption_li i,
  213.        .ad_product_a5_module_outside_box div.product_name a,
  214.        .ad_product_a5_module_caption_txt,
  215.        .ad_product_a5_module_caption_txt span,
  216.        .ad_prodcut_b1 div.header_caption a,
  217.        .ad_prodcut_b1 div.header_caption a span,
  218.        body .ad_product_a6 .a6_slider .a6_list_item .to_know a,
  219.        body .ad_product_a6 .a6_slider .a6_list_item .price .activity_price,
  220.        body .product_detail_plus_product .plus_product_content .plus_product_content_wrap .plus_product_content_slide .plus_product_item .plus_product_price .plus_price_activity,
  221.        body .ad_product_b2 .b2_slider .b2_list_item .b2_item_pic .activity_name,
  222.        body .ad_product_b2 .b2_slider .b2_list_item .price .activity_price,
  223.        .ad_product_a5_module_outside_box div.product_price,
  224.        .follow_chart_outside div.header_outside div.header_caption,
  225.        .order_total_price,
  226.        .product_view_record_button,
  227.        .product_item_outside_box div.product_price,
  228.        .product_item_outside_box div.shopping_context,
  229.        .product_item_outside_box div.product_name,
  230.        .product_comment_outside div.product_comment_caption,
  231.        .product_rank_slide_outside_box div.product_name,
  232.        .product_rank_slide_outside_box div.product_name a,
  233.        .product_rank_slide_outside_box div.product_price,
  234.        .product_rank_slide_outside_box div.tag_div span.tag_name,
  235.        .product_detail td.sale_price div.sale_price_unit,
  236.        .product_detail td.sale_price div.sale_price_value,
  237.        .product_detail_standard_title,
  238.        .product_list_dynamic_item div.product_name a,
  239.        .product_list_dynamic_item div.product_price,
  240.        .product_list_dynamic_item div.promotion_word a,
  241.        .plus_product_relation_slide_outside_box span.plus_price,
  242.        .product_detail td.promotion_word div.product_promotion_word,
  243.        .category_list_table td.product_item div.product_name a,
  244.        .plus_product_relation_slide_module_caption_txt,
  245.        .hot_keyword_outside div.hot_keyword_caption,
  246.        .hot_keyword_outside div.hot_keyword_list div.this_item,
  247.        .hot_keyword_outside div.hot_keyword_list div.this_item a,
  248.        .tabe_pps_html td.left_title div.title_caption,
  249.        .ds_product_caption_color a,
  250.        .span_button_green,
  251.        .product_detail td.sale_price div.sale_price_caption,
  252.        .div_big_side_product_menu_outside div.left_inside_parent a,
  253.        .footer_menu_outside div.add_cart_box div.add_button,
  254.        body .ad_product_a6 .a6_slider .a6_list_item .promote,
  255.        .website_faq_list_item_outsite div.caption
  256. {
  257. color: inherit !important;
  258. }
  259.        .div_page_outside span.sel_page a{
  260.            font-weight:bold;
  261.        }
  262.        .div_product_directory{
  263.            overflow:hidden;
  264.        }
  265.        .category_sort_table td.item{
  266.            color: #666666;
  267.        }
  268.  
  269.        .div_small_side_menu_list ul li.menu_level_1{
  270.            padding-left: 10px;
  271.        }
  272.  
  273.        .product_detail_car_box,
  274.        body .ad_product_a6 .a6_slider .a6_list_item .to_know:hover,
  275.        body .ad_product_a6 .a6_slider .a6_list_item .a6_item_pic .activity_name,
  276.        body .ad_product_b2 .b2_slider .b2_list_item .b2_item_pic .activity_name,
  277.        .big_side_publicize_column div.big_side_publicize_column_header,
  278.        .ad_product_a5_module_caption_txt span,
  279.        .category_list_table td.product_item div.shopping_context,
  280.        .category_list_table td.product_item div.shopping_context:hover,
  281.        .category_list_table td.product_item div.activity_name,
  282.        fieldset div.selected,
  283.        .product_view_record_button,
  284.        .product_item_outside_box div.shopping_context,
  285.        .plus_product_relation_slide_module_caption_txt span,
  286.        .product_detail_car_box,
  287.        .hot_keyword_outside div.hot_keyword_caption,
  288.        .hot_keyword_outside div.hot_keyword_list div.this_item,
  289.        .span_button_green,
  290.        .div_big_side_product_menu_outside div.left_inside_parent a,
  291.        .footer_menu_outside div.add_cart_box div.add_button,
  292.        .website_faq_list_item_outsite div.caption
  293.        {
  294.            background-color: inherit !important;
  295.        }
  296.  
  297.        .product_view_record_button,
  298.        .span_button,
  299.        .span_button_green:hover,
  300.        .span_button_green,
  301.        .ds_btn_standard,
  302.        .div_product_directory ul li.list_selected
  303.        {
  304.            background-image: unset !important;
  305.        }
  306.  
  307.        .group_product_relation_module_outside_box div.product_name a,
  308.        .product_list_dynamic_item div.product_name a,
  309.        body .ad_product_a6 .a6_slider .a6_list_item .price .activity_price,
  310.        body .ad_product_b2 .b2_slider .b2_list_item .price .activity_price,
  311.        .product_item_outside_box div.product_price,
  312.        .product_list_dynamic_item div.product_price
  313.        {
  314.            font-size: inherit !important;
  315.        }
  316.  
  317.        .ad_product_a5_module_caption_txt,
  318.        .ad_product_a6 .a6_title.txt,
  319.        .ad_product_a2 .module_header_caption,
  320.        .ad_prodcut_b1 div.header_caption,
  321.        .big_side_category_half_1b5s .ds_main_color .clear,
  322.        .big_side_all_category_top3_caption,
  323.        .big_side_all_category_top3_box div.item_inside div.caption,
  324.        .column_list_big_side_2x2_header_outside,
  325.        .column_hot_header,
  326.        .follow_chart_outside div.header_outside,
  327.        .product_comment_outside div.product_comment_caption,
  328.        .plus_product_relation_slide_module_caption_txt,
  329.        .group_product_relation_module_caption_txt,
  330.        .module_header_caption,
  331.        .div_small_side_menu_list ul li.menu_level_1
  332.        {
  333.            border-bottom: 1px solid !important;
  334.        }
  335.  
  336.        .table_shopping_car td.left_title,
  337.        .table_shopping_car td.left_space
  338.        {
  339.            border-right: 3px solid !important;
  340.        }
  341.  
  342.        .table_shopping_car td.left_title div.arrow
  343.        {
  344.            border-right:8px solid !important;
  345.        }
  346.  
  347.        .product_rank_slide_outside_box
  348.        {
  349.            border-top: 1px solid !important;
  350.        }
  351.  
  352.        .group_product_relation_module_caption_txt
  353.        {
  354.            padding-left: 2% !important;
  355.        }
  356.  
  357.        .span_button,
  358.        .span_button:hover,
  359.        .div_small_side_menu_list div.memu_title,
  360.        .category_sort_table
  361.        {
  362.            border: unset !important;
  363.        }
  364.        .product_view_record_button{
  365.            border: 1px solid;
  366.        }
  367.        .div_product_directory ul,
  368.        .div_product_directory ul li,
  369.        .div_product_directory ul li.list_selected,
  370.        .website_faq_list_item_outsite div.caption
  371.        {
  372.            margin: 0 !important;
  373.        }
  374.        .div_product_directory ul li.title {
  375.            margin: 0 0 10px 0 !important;
  376.        }
  377.        .website_faq_list_item_outsite .ds_main_bg_color {
  378.            margin: 15px;
  379.            border-radius: 5px;
  380.        }
  381.  
  382.        .div_product_directory ul li.title
  383.        {
  384.            padding-left: 15px;
  385.        }
  386.  
  387.        .div_product_directory ul li.title
  388.        {
  389.            border-radius: 5px 5px 0 0 !important;
  390.        }
  391.  
  392.        .div_product_directory ul li.list_selected
  393.        {
  394.            border-radius: unset;
  395.        }
  396.  
  397.        .div_product_directory
  398.        {
  399.            padding-top: 0 !important;
  400.        }
  401.  
  402.        body .ad_product_a6 .a6_slider .a6_list_item .price .sale_price.slash
  403.        {
  404.            color:#333 !important;
  405.        }
  406.  
  407.        body .ad_product_a6 .a6_slider .a6_list_item .price .sale_price.slash:after
  408.        {
  409.            color:#333 !important;
  410.        }
  411.  
  412.        a:link{
  413.            color:inherit;
  414.        }
  415.  
  416. body .div_small_side_menu_list ul li.menu_level_2:hover,
  417.        .div_product_directory ul li.list:hover{
  418.            color:#222222;
  419.            background-color:rgba(243, 243, 242, 0.84);
  420.        }
  421.  
  422.        #id_master_menu #id_master_catalog_expand_wrap .stage > li .ms_catagory_item .ms_catagory_item_wrap {
  423.            color:#80858E;
  424.        }
  425.        
  426.        .ds_standard_color {
  427.            color: #000;
  428.        }
  429.        .ds_standard_bg_color {
  430.            background-color: #fff !important;
  431.        }
  432.        .ds_main_color {
  433.            color: #000000 !important;
  434.        }
  435.        .ds_main_bg_color {
  436.            background-color: #000000 !important;
  437.        }
  438.            .ds_main_color_hover:hover{
  439.                color:#000000 !important;
  440.            }
  441.        
  442.            .ds_main_bg_color_hover:hover{
  443.                color:#ffffff !important;
  444.                background-color:#000000 !important;
  445.            }
  446.        
  447.            .ds_main_text_color {
  448.                color: #ffffff !important;
  449.            }
  450.        .ds_sup_color {
  451.            color: #5e5e5e !important;
  452.        }
  453.        .ds_sup_bg_color {
  454.            background-color: #5e5e5e !important;
  455.        }
  456.            .ds_sup_color_hover:hover{
  457.                color:#5e5e5e !important;
  458.            }
  459.        
  460.            .ds_sup_bg_color_hover:hover{
  461.                color:#ffffff !important;
  462.                background-color:#5e5e5e !important;
  463.            }
  464.        
  465.            .ds_sup_text_color {
  466.                color: #ffffff !important;
  467.            }
  468.        .ds_sup_hover_color:hover {
  469.            color: #ffffff !important;
  470. background-color: #5e5e5e !important;
  471.        }
  472.        
  473.        .ds_footer_bg_color,
  474.        body .website_content_copyright_top.new,
  475.        body .website_content_copyright_top.new li dl dd {
  476.            background-color: #000000;
  477.        }
  478.        .ds_footer_text_color {
  479.            color: #ffffff;
  480.        }
  481.                .ds_btn_standard {
  482.                    color: #ffffff !important;
  483.                }
  484.                .ds_btn_standard {
  485.                    background-color: #000000 !important;
  486.                }
  487.                .ds_btn_standard:hover {
  488.                    color: #000000 !important;
  489.                }
  490.                .ds_btn_standard:hover {
  491.                    background-color: #ffffff !important;
  492.                }
  493.                .ds_btn_cta {
  494.                    color: #ffffff !important;
  495.                }
  496.                .ds_btn_cta {
  497.                    background-color: #000000 !important;
  498.                }
  499.                .ds_btn_cta:hover {
  500.                    color: #000000 !important;
  501.                }
  502.                .ds_btn_cta:hover {
  503.                    background-color: #ffffff !important;
  504.                }
  505.        body .product_list .pd_list .pd_list_item .price .ds_product_price_activity_color,
  506.        .ds_product_price_activity_color
  507.        {
  508.            color: #fb402d;
  509.        }
  510.        body .product_list .pd_list .pd_list_item .pd_item_pic .ds_product_activity_caption_color,
  511.        .ds_product_activity_caption_color
  512.        {
  513.            color: #ffffff;
  514.        }
  515.        body .product_list .pd_list .pd_list_item .pd_item_pic .ds_product_activity_bg_color,
  516.        .ds_product_activity_bg_color
  517.        {
  518.            background-color: #ded345;
  519.        }
  520.  
  521.        .ds_product_activity_bg_text_color
  522.        {
  523.            color: #ded345;
  524.        }
  525.        body .product_list .pd_list .pd_list_item .ds_product_promotion_color,
  526.        .ds_product_promotion_color
  527.        {
  528.            color: #5e5e5e;
  529.        }
  530.        .product_detail_block .block_sort .block.add_cart .add_to_cart.ds_product_CTA_color,
  531.        body .product_list .pd_list .pd_list_item .ds_product_CTA_color,
  532.        .ds_product_CTA_color
  533.        {
  534.            color: #ffffff;
  535.        }
  536.        .product_detail_block .block_sort .block.add_cart .add_to_cart.ds_product_CTA_color:hover,
  537.        body .product_list .pd_list .pd_list_item .ds_product_CTA_color:hover,
  538.        .ds_product_CTA_color:hover
  539.        {
  540.            color: #000000;
  541.        }
  542.        .product_detail_block .block_sort .block.add_cart .add_to_cart.ds_product_CTA_bg_color,
  543.        body .product_list .pd_list .pd_list_item .ds_product_CTA_bg_color,
  544.        .ds_product_CTA_bg_color
  545.        {
  546.            background-color: #000000;
  547.        }
  548.        .product_detail_block .block_sort .block.add_cart .add_to_cart.ds_product_CTA_bg_color:hover,
  549.        body .product_list .pd_list .pd_list_item .ds_product_CTA_bg_color:hover,
  550.        .ds_product_CTA_bg_color:hover
  551.        {
  552.            background-color: #ffffff;
  553.        }
  554.        body .product_list .pd_list .pd_list_item .ds_product_rating_color {
  555.            color: #F7E721;
  556.            border-color: #F7E721;
  557.        }
  558.        .ds_product_rating_color {
  559.            color: #F7E721;
  560.        }</style>
  561.  
  562. <style id="custom_style">
  563.    .product_relation_event{
  564. text-align:left;
  565. margin:15px 0px;
  566. }
  567. .product_relation_event div.product_relation_event_caption{
  568. float:left;
  569. width:15%;
  570. text-align:center;
  571. font-size:80%;
  572. border-radius:5px;
  573. line-height:200%;
  574. }
  575.  
  576. .product_relation_event div.Choose{
  577. background-color:#4CAF50;
  578. color:#FFFFFF;
  579. }
  580.  
  581. .product_relation_event div.Mashup{
  582. background-color:#0fa4d5;
  583. color:#FFFFFF;
  584. }
  585.  
  586. .product_relation_event div.QuotaCashDiscount{
  587. background-color:#e9686b;
  588. color:#FFFFFF;
  589. }
  590.  
  591. .product_relation_event div.QuotaCashGift{
  592. background-color:#cc00cc;
  593. color:#FFFFFF;
  594. }
  595.  
  596. .product_relation_event div.QuotaCashFullQuantity{
  597. background-color:#ba200c;
  598. color:#FFFFFF;
  599. }
  600.  
  601. .product_relation_event div.product_relation_event_space{
  602. float:left;
  603. width:10px;
  604. color:#666666;
  605. }
  606.  
  607. .product_relation_event div.product_relation_event_content{
  608. float:left;
  609. width:75%;
  610. color:#666666;
  611. font-size:90%;
  612. line-height:150%;
  613. }
  614.  
  615. a.product_relation_event_link:link,a.product_relation_event_link:visited,a.product_relation_event_link:active {
  616. color:#666666;
  617. text-decoration: underline;
  618. }
  619.  
  620. a.product_relation_event_link:hover{
  621. color:#333333;
  622. text-decoration: none;
  623. }.cart_split{
  624. float:left;
  625. margin:0px 20px;
  626. width:25%;
  627. }.line_shopping_feedback{
  628. text-align:right !important;
  629. border-bottom:0 !important;
  630. }
  631.  
  632. .line_shopping_feedback_span{
  633. background-color:#00c300;
  634. color:#ffffff;
  635. padding:10px;
  636. border-radius:20px;
  637. }body .dlc_sn_109 .ad_product_a6 .a6_title.txt{
  638. display:none;
  639. }
  640.  
  641. body .ad_product_a6 .a6_slider .a6_list_item .parameter_link{
  642. display:none;
  643. }
  644.  
  645. body .ad_product_a6{
  646. margin-top:0;
  647. }
  648.  
  649. body .ad_product_a6 .a6_slider .slick-list{
  650. padding-top:0;
  651. }
  652.  
  653. #dlc_sn_110 .content_module_inner .content_wrap{
  654. padding-bottom:0;
  655. }body .website_content_copyright_top.new{
  656. margin-top:0;
  657. }.page_physical_store .table_list th{
  658. background-color:#000000;
  659. }
  660. .page_physical_store *{
  661. box-sizing:content-box;
  662. }
  663.  
  664. .page_physical_store .span_button{
  665. background-color:#000000;
  666. border:1px solid transparent !important;
  667. }
  668. .page_physical_store .span_button:hover{
  669. background-color:#ffffff;
  670. border:1px solid #000000 !important;
  671. }</style><script type="text/javascript">
  672. function product_detail_to_setting_shopping_car(sel_product_sn,sel_mode_type){
  673.  
  674. let alert_buy_notice_message ='';
  675. var get_standard_sn = "";
  676. var sel_standard_order_amount = "";
  677.  
  678. // 主商品
  679.  
  680. var standard_item = document.getElementsByName("addtocart_"+sel_product_sn+"_standard_info");
  681.  
  682. show_layer_loading();
  683.  
  684. if(standard_item.length > 1){
  685. for(i=0;i<standard_item.length;i++){
  686. if(standard_item[i].checked){
  687. get_standard_sn = standard_item[i].value;
  688. }
  689. }
  690. }else{
  691. get_standard_sn = standard_item[0].value;
  692. }
  693.  
  694. var get_standard_sn_array = get_standard_sn.split("@#@");
  695.  
  696. var cart_product_sn = parseInt(get_standard_sn_array[0]);
  697.  
  698. var cart_standard_sn = parseInt(get_standard_sn_array[1]);
  699.  
  700. // 加購
  701.  
  702. var plus_array = new Array();
  703. //var sel_plus_standard_sn_list = new Array();
  704.  
  705. var plus_item = document.getElementsByName("addtocart_"+sel_product_sn+"_plus_info");
  706. var plus_item_2 = document.getElementsByName("addtocart_"+sel_product_sn+"_plus_2_info");
  707. var plus_item_3 = $("[name='addtocart_"+sel_product_sn+"_plus_3_info']");
  708.  
  709. /*
  710. if(plus_item.length > 1){
  711. for(i=0;i<plus_item.length;i++){
  712. if(plus_item[i].checked){
  713. plus_array.push(plus_item[i].value);
  714. }
  715. }
  716. }else if(plus_item.length == 1){
  717. if(plus_item[0].checked){
  718. plus_array.push(plus_item[0].value);
  719. }
  720. }
  721. */
  722. if(plus_item.length > 0){
  723.  
  724. if(plus_item.length > 1){
  725. for(i=0;i<plus_item.length;i++){
  726. if(plus_item[i].checked){
  727. plus_array.push(plus_item[i].value);
  728. id = plus_item[i].getAttribute('id');
  729. let product_name = $('#'+id).parent().parent().find('label').text();
  730. let buy_notice = plus_item[i].getAttribute('buy_notice');
  731. if(buy_notice){
  732. buy_notice = plus_item[i].getAttribute('buy_notice');
  733. alert_buy_notice_message +='【'+product_name+'】 : ' + buy_notice +"\n";
  734. }
  735. }
  736. }
  737. }else if(plus_item.length == 1){
  738. if(plus_item[0].checked){
  739. plus_array.push(plus_item[0].value);
  740. id = plus_item[0].getAttribute('id');
  741. let product_name = $('#'+id).parent().parent().find('label').text();
  742. let buy_notice = plus_item[0].getAttribute('buy_notice');
  743. if(buy_notice){
  744. buy_notice = plus_item[0].getAttribute('buy_notice');
  745. alert_buy_notice_message +='【'+product_name+'】 : ' + buy_notice +"\n";
  746. }
  747. }
  748. }
  749.  
  750. }else if(plus_item_2.length > 0){
  751.  
  752. for(i=0;i<plus_item_2.length;i++){
  753. if(plus_item_2[i].value!=""){
  754. plus_array.push(plus_item_2[i].value);
  755. }
  756. }
  757. }
  758. if(plus_item_3.length >0){
  759. plus_item_3.each(function(){
  760. if($(this).prop("selected",true)){
  761. plus_array.push($(this).val());
  762. let buy_notice  = $('option:selected', this).attr('buy_notice');
  763. let product_name =$(this).parent().parent().find('label').text();
  764. if(buy_notice){
  765. alert_buy_notice_message +='【'+product_name+'】 : ' + buy_notice +"\n";
  766. }
  767. }
  768. })
  769.  
  770. }
  771. if(alert_buy_notice_message!=''){
  772. alert(alert_buy_notice_message)
  773. }
  774.  
  775. /*
  776. console.log("plus_array : "+plus_array);
  777. console.log("sel_plus_standard_sn_list : "+sel_plus_standard_sn_list);
  778. */
  779.  
  780. var sel_plus_standard_sn_list = plus_array.join(",");
  781.  
  782. // 數量
  783.  
  784. sel_standard_order_amount = parseInt(document.getElementsByName("product_"+sel_product_sn+"_standard_order_amount")[0].value);
  785.  
  786. if(cart_product_sn > 0 && cart_standard_sn > 0 && sel_standard_order_amount > 0){
  787.  
  788. var this_standard_json_obj = JSON.parse(document.getElementsByName("standard_sn_"+cart_standard_sn+"_info")[0].value);
  789.  
  790.  
  791. xmlhttp=createXMLHttp();
  792.  
  793. if(xmlhttp){
  794. xmlhttp.onreadystatechange=function(){
  795. if(xmlhttp.readyState==4 && xmlhttp.status==200){
  796.  
  797. var response_array = xmlhttp.responseText.split("@#@");
  798.  
  799. console.log("responseText : "+xmlhttp.responseText);
  800. console.log("response_array : "+response_array);
  801.  
  802. close_layer_loading();
  803. close_layer_msg();
  804.  
  805. if(response_array[0]=="100"){
  806.  
  807. var fb_add_to_car_pixel = response_array["2"];
  808.  
  809. if(response_array[1]!="OK"){
  810. show_layer_alert(response_array[1]);
  811. // show_layer_alert(check_info,"to_location_reload");
  812. // return false;
  813.  
  814. }
  815. if(window.location.href.search("flash_cart")!="-1"){
  816. console.log("ininin");
  817. document.getElementById("id_flash_cart_next_button").style.display = "";
  818.  
  819. //document.getElementById("id_shopping_car_page").style.display = "none";
  820.  
  821. if(document.getElementById("id_cart_fixed_right_top")){
  822.  
  823. to_show_top_shopping_car('5');
  824.  
  825. }else{
  826.  
  827. show_layer_alert("已成功加入購物車");
  828. }
  829.  
  830. }else if(window.location.href.search("product_cart")!="-1"){
  831.  
  832. /*
  833. to_ajax_get_shopping_car_list();
  834.  
  835. ga_track_event("url","add_to_cart",sel_product_sn);
  836.  
  837. document.getElementById("id_shopping_car_page").style.display = "";
  838.  
  839. $("html,body").animate({scrollTop: $("#id_shopping_car_page").offset().top - 50}, 1000);
  840. */
  841.  
  842. document.getElementById("id_flash_cart_next_button").style.display = "";
  843. document.getElementById("id_shopping_car_page").style.display = "none";
  844.  
  845. $("html,body").animate({scrollTop: $("#id_flash_cart_next_button").offset().top - 50}, 1000);
  846.  
  847.  
  848. }else{
  849. to_show_top_shopping_car('2');
  850.  
  851. ga_track_event("url","event_add_to_cart",cart_product_sn);
  852.  
  853. if(document.getElementById("id_mashup_price_bag")){
  854.  
  855. eval(document.getElementById("id_mashup_price_bag").getAttribute('onclick'));
  856. }
  857.  
  858. if(this_standard_json_obj.alert_buy_notice=="1"){
  859.  
  860. // 同品項顯示過一次,就不再顯示,記錄在cookie上
  861.  
  862. /*
  863. var show_is_buy_notice_list = $.cookie("show_is_buy_notice_list");
  864.  
  865. if(!show_is_buy_notice_list){
  866.  
  867. var show_is_buy_notice_array = [];
  868.  
  869. }else{
  870.  
  871. var show_is_buy_notice_array = show_is_buy_notice_list.split(',');
  872.  
  873. }
  874. */
  875.  
  876. var show_is_buy_notice_array = [];
  877.  
  878. eval("var check_show_status = show_is_buy_notice_array.indexOf('"+cart_product_sn+"')");
  879.  
  880. if(this_standard_json_obj.buy_notice!="" && check_show_status == "-1"){
  881.  
  882. window.setTimeout(function(){show_layer_alert(this_standard_json_obj.buy_notice)},1000);
  883.  
  884. show_is_buy_notice_array.push(cart_product_sn);
  885.  
  886. var new_show_is_buy_notice_list = show_is_buy_notice_array.join(",");
  887.  
  888. // $.cookie("show_is_buy_notice_list",new_show_is_buy_notice_list);
  889. }
  890. }
  891. }
  892.  
  893. }else if(response_array[0]=="99"){
  894. if(confirm(response_array[1])){
  895.  
  896. to_booking_product(cart_product_sn,cart_standard_sn,sel_standard_order_amount);
  897.  
  898. ga_track_event("url","add_to_booking",cart_product_sn);
  899.  
  900. //line tag
  901. _lt('send', 'cv', {
  902. type: 'AddToWishlist'
  903. },['6762c9ef-1078-4543-b5ad-26ef3d2a663a']);
  904. }
  905.  
  906. }else if(response_array[0]=="98"){
  907.  
  908. if(confirm(response_array[1])){
  909.  
  910. to_show_member_login_layer();
  911. }
  912. }else if(response_array[0] == "97"){
  913.  
  914. var client_device_type = '1';
  915.  
  916. if(client_device_type == "1"){
  917. Swal.fire(response_array[2]);
  918. }else if(client_device_type == "2"){
  919. window.location.href=response_array[1];
  920. }
  921.  
  922. }else{
  923.  
  924. show_layer_alert(response_array[1]);
  925. }
  926.  
  927. //add_to_car tracking code
  928.  
  929. xhr=createXMLHttp();
  930.  
  931. if(xhr){
  932. xhr.onreadystatechange=function(){
  933. if(xhr.readyState==4 && xhr.status==200){
  934.  
  935. var responseJson = JSON.parse(xhr.responseText);
  936.  
  937. var headData = (responseJson["head"] || "" ) + fb_add_to_car_pixel,
  938. head = (document.getElementsByTagName("head")[0] || document.documentElement),
  939. headScript = document.createElement("script");
  940.  
  941. headScript.type = "text/javascript";
  942. try {
  943. // doesn't work on ie...
  944. headScript.appendChild(document.createTextNode(headData));
  945. } catch(e) {
  946. // IE has funky script nodes
  947. headScript.text = headData;
  948. }
  949.  
  950. head.insertBefore(headScript, head.firstChild);
  951. head.removeChild(headScript);
  952.  
  953. var bodyData = (responseJson["body"] || "" ),
  954. body = (document.getElementsByTagName("body")[0] || document.documentElement),
  955. bodyScript = document.createElement("script");
  956.  
  957. bodyScript.type = "text/javascript";
  958. try {
  959. // doesn't work on ie...
  960. bodyScript.appendChild(document.createTextNode(bodyData));
  961. } catch(e) {
  962. // IE has funky script nodes
  963. bodyScript.text = bodyData;
  964. }
  965.  
  966. body.insertBefore(bodyScript, body.lastChild.nextSibling);
  967. body.removeChild(bodyScript);
  968.  
  969. }
  970. };
  971. var ajax_url = "ajax_shopping_car_addtocart.php?time="+ new Date().getTime();
  972. xhr.open("Get",ajax_url,true);
  973. xhr.send(null);
  974. }
  975. //add_to_car tracking code END
  976. }
  977. };
  978. var ajax_url = "ajax_shopping_car_kernel_api?mode_type="+sel_mode_type+"&product_sn="+cart_product_sn+"&standard_sn="+cart_standard_sn+"&plus_standard_sn_list="+sel_plus_standard_sn_list+"&order_amount="+sel_standard_order_amount+"&time="+ new Date().getTime();
  979. xmlhttp.open("Get",ajax_url,true);
  980. xmlhttp.send(null);
  981. }
  982.  
  983. }else{
  984.  
  985. alert("請先選擇您要購買的規格喔 ! ");
  986.  
  987. close_layer_loading();
  988.  
  989. }
  990.  
  991.  
  992. }
  993.  
  994. function to_product_search(){
  995. with(document.top_product_search){
  996.  
  997. var this_product_keyword = document.getElementsByName("product_keyword")[0].value;
  998.  
  999. if(this_product_keyword.length > 50){
  1000. show_layer_alert("請勿輸入超過30個關鍵字!"); //請勿輸入超過30個關鍵字!
  1001. }else if(this_product_keyword!=""){
  1002. show_layer_loading();to_get_product_search_keyword_relation
  1003. submit();
  1004. }else{
  1005. show_layer_alert("請輸入關鍵字");
  1006. return false;
  1007. }
  1008. }
  1009. }
  1010.  
  1011. function to_product_search_autocomplete(){
  1012. // with(document.top_product_search){
  1013. var this_product_keyword = $("[name='product_keyword']").val();
  1014. if(this_product_keyword.length >0){
  1015. $("[name='product_keyword']").autocomplete({
  1016. source:function(request,response){
  1017. $.ajax({
  1018. url: "./ajax_product_module_api.php?module_type=product_search_keyword_autocomplete&time=" + new Date().getTime(),
  1019. dataType:'json',
  1020. data:{
  1021. search_keyword:this_product_keyword
  1022. },
  1023. success: function (res) {
  1024. // console.log(res.tags.length);
  1025. $("[name='tags_type']").val('0');
  1026. if(res.tags.length>0){
  1027. response($.map(res.tags, function (item) {
  1028. return {
  1029. label: item.label,
  1030. value: item.label,
  1031. tag_sn:item.tag_sn,
  1032. tags_type:res.tags_type
  1033. }
  1034. })
  1035. )
  1036. }
  1037. }
  1038. })
  1039. },
  1040. minLength: 1,
  1041. delay: 200,
  1042. select: function (event, ui) {
  1043. // console.log(ui);
  1044. // console.log(ui.item.value);
  1045. // console.log('ui.item.tags_type='+ui.item.tags_type);
  1046. // console.log('ui.item.tag_sn='+ui.item.tag_sn);
  1047. $("[name='tags_type']").val(ui.item.tags_type);
  1048. $("[name='tag_sn']").val(ui.item.tag_sn);
  1049. to_get_product_search_keyword_relation(ui.item)
  1050. }
  1051. });
  1052. }
  1053.  
  1054. // }
  1055. }
  1056.  
  1057. function to_shopping_car(){
  1058.  
  1059. if(window.location.href.search("product_cart")!="-1"){
  1060.  
  1061. top.location.href=window.location.href+"&is_reload=1";
  1062.  
  1063. }else if(window.location.href.search("flash_cart")!="-1"){
  1064.  
  1065. top.location.href=window.location.href+"&is_reload=1";
  1066.  
  1067. }else if(document.getElementById("id_top_shopping_car_amount")){
  1068.  
  1069. if(document.getElementById("id_top_shopping_car_amount").innerHTML > 0){
  1070.  
  1071. top.location.href='shopping_car.php';
  1072.  
  1073. }else{
  1074.  
  1075. windowReload();
  1076. //show_layer_alert("購物車尚無商品", "windowReload");
  1077. }
  1078.  
  1079. }else{
  1080.  
  1081. top.location.reload();
  1082. }
  1083. }
  1084.  
  1085. function windowReload(){
  1086.  
  1087. window.location.reload();
  1088.  
  1089. }
  1090.  
  1091. function location_to_member_info(){
  1092.  
  1093. var web_host_url = 'https://www.stiga.com.tw';
  1094. window.location = web_host_url+'/member_info.php';
  1095. }
  1096.  
  1097. function lineshopping_redirect(){
  1098.  
  1099. var lineshopping_redirect_url = '';
  1100.  
  1101. window.location = lineshopping_redirect_url;
  1102.  
  1103. }
  1104.  
  1105. function to_check_mcard_login(){
  1106.  
  1107. var mcard_no = $.trim($("input[name=mcard_no]").val())
  1108. var mcard_auth = $.trim($("input[name=mcard_auth]").val())
  1109. var mcard_otp = $.trim($("input[name=mcard_otp]").val())
  1110.  
  1111. console.log('mcard_auth', mcard_auth);
  1112. $("input[name=mcard_no],input[name=mcard_auth],input[name=mcard_otp]").css("border-color","");
  1113. if(mcard_no==""){
  1114.  
  1115. $(".login_error_msg").html("請填寫會員卡號");
  1116. $("input[name=mcard_no]").css("border-color","#f7b3b3");
  1117. }else if(mcard_auth==""){
  1118.  
  1119. $(".login_error_msg").html("請填寫檢查碼")
  1120. $("input[name=mcard_auth]").css("border-color","#f7b3b3");
  1121. }else if(mcard_otp==""){
  1122.  
  1123. $(".login_error_msg").html("請填寫驗證圖碼")
  1124. $("input[name=mcard_otp]").css("border-color","#f7b3b3");
  1125. }else{
  1126.  
  1127. toggle_loading(".guest_order_submit");
  1128.  
  1129. if(true){
  1130.  
  1131. $.ajax({
  1132. type: 'POST',
  1133. url: 'ajax_member_module_api.php',
  1134. cache: false,
  1135. data: {
  1136. module_type: 'login_mcard',
  1137. mcard_no: mcard_no,
  1138. mcard_auth: mcard_auth,
  1139. mcard_otp: mcard_otp
  1140. },
  1141. success: function(res) {
  1142.  
  1143. var response_array = res.split("@#@");
  1144.  
  1145. if($.trim(response_array[0]) == "100"){
  1146.  
  1147. $(".login_error_msg").html();
  1148.  
  1149. close_layer_msg();
  1150.  
  1151. if(response_array[1] == 'member_info'){
  1152. to_show_layer_member_info_notice();
  1153.  
  1154. }else if(response_array[1] == 'show_einvoice_data'){
  1155.  
  1156. window.location.href="ajax_show_einvoice_data.php";
  1157.  
  1158. }else{
  1159. window.location.reload();
  1160. }
  1161.  
  1162. }else{
  1163.  
  1164. if($.trim(response_array[0]) != "2"){
  1165. $("input[name=mcard_auth]").css("border-color","#f7b3b3");
  1166. $("input[name=mcard_no]").css("border-color","#f7b3b3");
  1167. }
  1168. $("input[name=mcard_otp]").val('');
  1169. $(".login_error_msg").html(response_array[1]);
  1170. toggle_loading(".guest_order_submit");
  1171. }
  1172. },
  1173. error: function(err){
  1174. console.log(err)
  1175. },
  1176. complete: function(){
  1177.  
  1178. $(".uid_check_code_btn").removeClass("is_loading");
  1179.  
  1180. $("select[name=mobile_country_code], input[name=mobile]").attr('disabled', false)
  1181.  
  1182. }
  1183. });
  1184.  
  1185. }else{
  1186. xmlhttp_mcard_login = createXMLHttp();
  1187.  
  1188. if(xmlhttp_mcard_login){
  1189.  
  1190. xmlhttp_mcard_login.onreadystatechange=function(){
  1191.  
  1192. if(xmlhttp_mcard_login.readyState==4 && xmlhttp_mcard_login.status==200){
  1193.  
  1194. var response_array = xmlhttp_mcard_login.responseText.split("@#@");
  1195.  
  1196. if($.trim(response_array[0]) == "100"){
  1197.  
  1198. $(".login_error_msg").html();
  1199.  
  1200. close_layer_msg();
  1201.  
  1202. if(response_array[1] == 'member_info'){
  1203. to_show_layer_member_info_notice();
  1204.  
  1205. }else if(response_array[1] == 'show_einvoice_data'){
  1206.  
  1207. window.location.href="ajax_show_einvoice_data.php";
  1208.  
  1209. }else{
  1210. window.location.reload();
  1211. }
  1212.  
  1213. }else{
  1214.  
  1215. if($.trim(response_array[0]) != "2"){
  1216. $("input[name=mcard_auth]").css("border-color","#f7b3b3");
  1217. $("input[name=mcard_no]").css("border-color","#f7b3b3");
  1218. }
  1219. $("input[name=mcard_otp]").val('');
  1220. $(".login_error_msg").html(response_array[1]);
  1221. toggle_loading(".guest_order_submit");
  1222. }
  1223. }
  1224. };
  1225. var ajax_url = encodeURI("ajax_member_module_api.php?module_type=login_mcard&mcard_no="+mcard_no+"&mcard_auth="+mcard_auth+"&mcard_otp="+mcard_otp+"&time="+ new Date().getTime());
  1226.  
  1227. xmlhttp_mcard_login.open("post", ajax_url, true);
  1228. xmlhttp_mcard_login.send(null);
  1229. }
  1230. }
  1231. }
  1232. }
  1233.  
  1234. function to_check_member_login(next_mode){
  1235. var user_id = document.getElementsByName("user_id")[0].value;
  1236. var user_pwd = document.getElementsByName("user_pwd")[0].value;
  1237. var check_key = document.getElementsByName("check_key")[0].value;
  1238.  
  1239.  
  1240. if(user_id==""){
  1241.  
  1242. show_layer_alert("請填寫會員帳號");
  1243.  
  1244. }else if(user_pwd==""){
  1245.  
  1246. show_layer_alert("請填寫登入密碼");
  1247.  
  1248. }else if(check_key==""){
  1249.  
  1250. show_layer_alert("請填寫驗證圖碼");
  1251.  
  1252. }else{
  1253.  
  1254. xmlhttp_member_login = createXMLHttp();
  1255.  
  1256. if(xmlhttp_member_login){
  1257.  
  1258. xmlhttp_member_login.onreadystatechange=function(){
  1259.  
  1260. if(xmlhttp_member_login.readyState==4 && xmlhttp_member_login.status==200){
  1261.  
  1262. var response_array = xmlhttp_member_login.responseText.split("@#@");
  1263. var x = response_array.toString();
  1264.  
  1265. if($.trim(response_array[0]) == "100"){
  1266.  
  1267. close_layer_msg();
  1268.  
  1269. if(window.location.href.search("product_cart")!="-1"){
  1270.  
  1271. window.location.href=window.location.href+"&is_reload=1";
  1272.  
  1273. }else if(window.location.href.search("flash_cart")!="-1"){
  1274.  
  1275. window.location.href=window.location.href+"&is_reload=1";
  1276.  
  1277. }else if(next_mode=="to_shopping_car"){
  1278.  
  1279. to_shopping_car();
  1280.  
  1281. }else if(next_mode=="at_shopping_car"){
  1282.  
  1283. show_layer_alert($.trim(response_array[1]),"to_shopping_car");
  1284.  
  1285. }else if(next_mode=="to_receive_coupon"){
  1286.  
  1287. to_receive_coupon();
  1288.  
  1289. }else{
  1290.  
  1291. if(response_array[1] != ''){
  1292.  
  1293. if(response_array[1] == 'member_info'){
  1294. to_show_layer_member_info_notice();
  1295.  
  1296. }else if(response_array[1] == 'show_einvoice_data'){
  1297.  
  1298. window.location.href="ajax_show_einvoice_data.php";
  1299.  
  1300. }else{
  1301. window.location.reload();
  1302. }
  1303.  
  1304. }else{
  1305.  
  1306. window.location.reload();
  1307. }
  1308. }
  1309.  
  1310. }else{
  1311.  
  1312. if(response_array[0] == "3"){
  1313.  
  1314. to_show_member_login_layer(next_mode);
  1315.  
  1316. show_layer_alert(response_array[1]);
  1317.  
  1318. }else if(response_array[0] == "5"){
  1319.  
  1320. if(confirm(response_array[1])){
  1321.  
  1322. window.location.href="member_register.php";
  1323. }
  1324.  
  1325. }else if(response_array[0] == "101"){
  1326.  
  1327. if(confirm(response_array[1])){
  1328.  
  1329. document.getElementsByName("user_pwd")[0].value = "";
  1330. document.getElementsByName("new_pwd_check_mobile")[0].value = user_id;
  1331.  
  1332. to_send_sms_new_pwd();
  1333.  
  1334. }
  1335.  
  1336. }else{
  1337.  
  1338. show_layer_alert(response_array[1]);
  1339. }
  1340.  
  1341.  
  1342. }
  1343. }
  1344. };
  1345. var ajax_url = encodeURI("ajax_member_module_api.php?module_type=login_normal&user_id="+user_id+"&user_pwd="+user_pwd+"&check_key="+check_key+"&next_mode="+next_mode+"&time="+ new Date().getTime());
  1346.  
  1347. xmlhttp_member_login.open("Get",ajax_url,true);
  1348. xmlhttp_member_login.send(null);
  1349. }
  1350. }
  1351. }
  1352.  
  1353. function to_send_sms_new_pwd(){
  1354.  
  1355. var check_mobile = "";
  1356.  
  1357. check_mobile = document.getElementsByName("new_pwd_check_mobile")[0].value;
  1358.  
  1359. if(check_mobile==""){
  1360.  
  1361. show_layer_alert("請輸入手機號碼 !");
  1362.  
  1363. }else if(!isNum(check_mobile)){
  1364.  
  1365. show_layer_alert("很抱歉,手機須為 0 - 9 的純數字 !");
  1366.  
  1367. }else if(check_mobile.length < 10){
  1368.  
  1369. show_layer_alert("很抱歉,手機格式有誤,請再次確認 !");
  1370.  
  1371. }else{
  1372.  
  1373. if(confirm("若手機有設拒收廣告信,要先行取消設定,才能收到此簡訊!")){
  1374.  
  1375. document.getElementById("id_send_sms_new_pwd").innerHTML = "發送中...";
  1376.  
  1377. xmlhttp_pwd = createXMLHttp();
  1378. if(xmlhttp_pwd){
  1379. xmlhttp_pwd.onreadystatechange=function(){
  1380. if(xmlhttp_pwd.readyState==4 && xmlhttp_pwd.status==200){
  1381.  
  1382. var msg_array = xmlhttp_pwd.responseText.split("@#@");
  1383.  
  1384. document.getElementById("id_send_sms_new_pwd").innerHTML = msg_array[1];
  1385.  
  1386. }
  1387. };
  1388. var open_url=encodeURI("ajax_member_module_api.php?module_type=send_sms_new_pwd&check_mobile="+check_mobile+"&s="+ new Date().getTime());
  1389. xmlhttp_pwd.open("Get",open_url,true);
  1390. xmlhttp_pwd.send(null);
  1391.  
  1392. }
  1393. }
  1394. }
  1395.  
  1396. }
  1397.  
  1398. function to_send_email_verify(){
  1399.  
  1400. var new_email = document.getElementById("id_member_email").value;
  1401.  
  1402. if(new_email==""){
  1403. show_layer_alert("請輸入聯絡信箱");
  1404. }else if(!check_email(new_email)){
  1405. show_layer_alert("聯絡信箱格式不正確");
  1406. }else{
  1407.  
  1408. show_layer_alert("已重發通知信件,此信將於 1 分鐘內送達,感謝您耐心等候。");
  1409.  
  1410. to_show_email_verify(new_email);
  1411.  
  1412. }
  1413.  
  1414. }
  1415.  
  1416. function to_check_email_verify(){
  1417.  
  1418. var email_verify_code = document.getElementById("id_member_email_verify_code").value;
  1419.  
  1420. if(email_verify_code==""){
  1421. show_layer_alert("請輸入認證序號");
  1422. }else{
  1423. xmlhttp_email_code = createXMLHttp();
  1424. if(xmlhttp_email_code){
  1425. xmlhttp_email_code.onreadystatechange=function(){
  1426. if(xmlhttp_email_code.readyState==4 && xmlhttp_email_code.status==200){
  1427.  
  1428. var info = xmlhttp_email_code.responseText.split("@#@");
  1429.  
  1430. show_layer_alert(info[1]);
  1431.  
  1432. if(info[0]=="100"){
  1433. close_layer_msg();
  1434. }
  1435.  
  1436. }
  1437. };
  1438. var open_url=encodeURI("ajax_member_module_api.php?module_type=email_verify_check&email_verify_code="+email_verify_code+"&s="+ new Date().getTime());
  1439. xmlhttp_email_code.open("Get",open_url,true);
  1440. xmlhttp_email_code.send(null);
  1441. }
  1442. }
  1443. }
  1444.  
  1445. function to_send_social_user_sms(){
  1446.  
  1447. var mobile_country_code = document.getElementsByName("mobile_country_code")[0].value ;
  1448.  
  1449. var new_uid = document.getElementsByName("new_uid")[0].value ;
  1450.  
  1451. var birthday_y = document.getElementsByName("birthday_y")[0].value ;
  1452. var birthday_m = document.getElementsByName("birthday_m")[0].value ;
  1453.  
  1454.  
  1455. if(!isNum(birthday_y) || birthday_y.length != 4){
  1456.  
  1457. show_layer_alert("※ 抱歉 , 生日年份錯誤");
  1458.  
  1459. }else if(birthday_y=="" || birthday_m==""){
  1460.  
  1461. show_layer_alert("※ 請設定生日日期");
  1462.  
  1463. }else if(mobile_country_code==""){
  1464.  
  1465. show_layer_alert("※ 請選擇手機國際碼");
  1466.  
  1467. }else if(new_uid==""){
  1468.  
  1469. show_layer_alert("請輸入手機號碼 !");
  1470.  
  1471. }else if(!check_country_mobile(mobile_country_code,new_uid)){
  1472.  
  1473. show_layer_alert("※ 手機號碼長度不正確");
  1474.  
  1475. }else if(!isNum(new_uid)){
  1476.  
  1477. show_layer_alert("※ 手機號碼須為純數字");
  1478.  
  1479.  
  1480. }else{
  1481.  
  1482. if(confirm("若手機有設拒收廣告信,要先行取消設定,才能收到此簡訊!")){
  1483.  
  1484. document.getElementById("id_social_user_sms").innerHTML = "發送中...";
  1485.  
  1486. xmlhttp_uid_code = createXMLHttp();
  1487.  
  1488. if(xmlhttp_uid_code){
  1489.  
  1490. xmlhttp_uid_code.onreadystatechange=function(){
  1491.  
  1492. if(xmlhttp_uid_code.readyState==4 && xmlhttp_uid_code.status==200){
  1493.  
  1494. var response_array = xmlhttp_uid_code.responseText.split("@#@");
  1495.  
  1496.  
  1497. if(response_array[0]=="100"){
  1498.  
  1499. document.getElementById("id_social_user_sms").innerHTML = response_array[1];
  1500.  
  1501. }else{
  1502.  
  1503. document.getElementById("id_social_user_sms").innerHTML = "";
  1504.  
  1505. document.getElementById("id_social_user_verify").innerHTML = response_array[1];
  1506.  
  1507. }
  1508.  
  1509. document.getElementById("id_social_user_verify").style.display = "";
  1510. }
  1511. }
  1512. }
  1513.  
  1514. var ajax_url = encodeURI("ajax_member_module_api.php?module_type=send_new_social_user_mobile_confirm_code&social_user_mobile="+new_uid+"&mobile_country_code="+mobile_country_code+"&s="+ new Date().getTime());
  1515. xmlhttp_uid_code.open("Get",ajax_url,true);
  1516. xmlhttp_uid_code.send(null);
  1517. }
  1518. }
  1519. }
  1520.  
  1521. function to_verify_social_user_sms(){
  1522.  
  1523. var birthday_y = document.getElementsByName("birthday_y")[0].value ;
  1524. var birthday_m = document.getElementsByName("birthday_m")[0].value ;
  1525.  
  1526. var uid_confirm_code = document.getElementsByName("uid_confirm_code")[0].value;
  1527.  
  1528. if(!isNum(birthday_y) || birthday_y.length != 4){
  1529.  
  1530. show_layer_alert("※ 抱歉 , 生日年份錯誤");
  1531.  
  1532. }else if(birthday_y=="" || birthday_m==""){
  1533.  
  1534. show_layer_alert("※ 請設定生日日期");
  1535.  
  1536. }else if(!isNum(uid_confirm_code)){
  1537.  
  1538. show_layer_alert("※ 手機號碼須為純數字");
  1539.  
  1540. document.getElementsByName("uid_confirm_code")[0].value="";
  1541.  
  1542. }else if(uid_confirm_code.length != 4){
  1543.  
  1544. show_layer_alert("※ 手機簡訊驗證碼為四碼 !");
  1545.  
  1546. document.getElementsByName("uid_confirm_code")[0].value="";
  1547.  
  1548. }else{
  1549.  
  1550. toggle_loading('.with_loading');
  1551. var this_birthday = birthday_y+"-"+birthday_m;
  1552.  
  1553. xmlhttp_mobile = createXMLHttp();
  1554. if(xmlhttp_mobile){
  1555. xmlhttp_mobile.onreadystatechange=function(){
  1556. if(xmlhttp_mobile.readyState==4 && xmlhttp_mobile.status==200){
  1557.  
  1558. var msg_array = xmlhttp_mobile.responseText.split("@#@");
  1559. if(msg_array[0]=="100"){
  1560.  
  1561. if(msg_array[2] == "show_member_info_notice"){
  1562. show_layer_alert(msg_array[1],"to_location_reload_member_info()");
  1563.  
  1564. }else{
  1565.  
  1566. show_layer_alert(msg_array[1],"to_location_reload()");
  1567. }
  1568.  
  1569. }else{
  1570. show_layer_alert("※ "+msg_array[1]);
  1571. }
  1572. }
  1573. };
  1574. var open_url=encodeURI("ajax_member_module_api.php?module_type=verify_new_social_user_mobile_confirm_code&mobile_confirm_code="+uid_confirm_code+"&user_birthday="+this_birthday+"&time="+ new Date().getTime());
  1575. xmlhttp_mobile.open("Get",open_url,true);
  1576. xmlhttp_mobile.send(null);
  1577. }
  1578. }
  1579. }
  1580.  
  1581. function to_send_binding_check_sms(this_sms_type=''){
  1582.  
  1583. var mobile_country_code = $("select[name=mobile_country_code]").val();
  1584. var mobile = $("input[name=mobile]").val();
  1585. $("select[name=mobile_country_code],input[name=mobile]").css("border-color","");
  1586.  
  1587. if(mobile_country_code == ''){
  1588.  
  1589. $(".login_error_msg").html("請選擇國碼");
  1590. $("select[name=mobile_country_code]").css("border-color","#f7b3b3");
  1591.  
  1592. }else if(mobile == ''){
  1593. $(".login_error_msg").html("請輸入手機號碼");
  1594. $("input[name=mobile]").css("border-color","#f7b3b3");
  1595.  
  1596. }else if(!isNum(mobile) || !check_country_mobile(mobile_country_code,mobile)){
  1597.  
  1598. $(".login_error_msg").html("請輸入正確手機格式");
  1599. $("input[name=mobile]").css("border-color","#f7b3b3");
  1600.  
  1601. }else{
  1602.  
  1603. $("select[name=mobile_country_code], input[name=mobile]").attr('disabled', true)
  1604. $(".uid_check_code_btn").html("loading <i class='fas fa-spinner'>").addClass("is_loading");
  1605. $.ajax({
  1606. type: 'POST',
  1607. url: 'ajax_member_module_api.php',
  1608. cache: false,
  1609. data: {
  1610. module_type: 'send_new_social_user_mobile_confirm_code',
  1611. sms_type: this_sms_type,
  1612. social_user_mobile: mobile,
  1613. mobile_country_code: mobile_country_code
  1614. },
  1615. success: function(res) {
  1616.  
  1617. res = $.parseJSON(res);
  1618.  
  1619. if(res.status == "100"){
  1620.  
  1621. $(".uid_check_code_btn").removeAttr("onclick");
  1622. var sec = 60;
  1623. $(".uid_check_code_btn").html(sec);
  1624. let timer = setInterval(function() {
  1625. if(sec == 0){
  1626. clearInterval(timer);
  1627. $(".uid_check_code_btn").html("再次發送");
  1628. $(".uid_check_code_btn").attr("onclick","to_send_binding_check_sms('fukang_api_sms');");
  1629. }else{
  1630. sec--;
  1631. $(".uid_check_code_btn").html(sec);
  1632. }
  1633. }, 1000);
  1634. }else{
  1635. $(".uid_check_code_btn").html("再次發送");
  1636. $(".login_error_msg").html(res.msg+'('+res.status+')');
  1637. }
  1638. },
  1639. error: function(err){
  1640. console.log(err)
  1641. },
  1642. complete: function(){
  1643.  
  1644. $(".uid_check_code_btn").removeClass("is_loading");
  1645.  
  1646. $("select[name=mobile_country_code], input[name=mobile]").attr('disabled', false)
  1647.  
  1648. }
  1649. });
  1650. }
  1651. }
  1652.  
  1653. function to_check_member_binding(verify_mode){
  1654.  
  1655. var uid_check_code = $("input[name=uid_check_code]").val();
  1656. $("input[name=uid_check_code]").css("border-color","");
  1657.  
  1658. if(verify_mode == 'binding' && uid_check_code == ''){
  1659.  
  1660. $(".login_error_msg").html("請輸入驗證碼");
  1661. $("input[name=uid_check_code]").css("border-color","#f7b3b3");
  1662.  
  1663. }else{
  1664.  
  1665. if(verify_mode == 'binding'){
  1666. toggle_loading(".check_member_binding_submit");
  1667. }else{
  1668. toggle_loading(".login_type_btn");
  1669. }
  1670. $("input[name=uid_check_code]").attr('disabled', true)
  1671.  
  1672. $.ajax({
  1673.  
  1674. type: 'POST',
  1675. url: 'ajax_member_module_api.php',
  1676. cache: false,
  1677. data: {
  1678. module_type: 'verify_new_social_user_mobile_confirm_code',
  1679. verify_mode: verify_mode,
  1680. mobile_confirm_code: uid_check_code,
  1681. },
  1682. success: function(res) {
  1683.  
  1684. res = $.parseJSON(res);
  1685.  
  1686. if(res.status == "100"){
  1687.  
  1688. if(res.action == 'show_member_info_notice'){
  1689.  
  1690. to_location_reload_member_info();
  1691.  
  1692. }else{
  1693.  
  1694. location.reload();
  1695. }
  1696.  
  1697. }else{
  1698. var manual = "<a style='color: blue;cursor: pointer;' onclick='show_binding_result()'><u>說明</u></a>"
  1699. var err_msg = res.msg + '('+res.status+') ';
  1700. if(verify_mode == 'binding'){err_msg += manual;}
  1701. $(".login_error_msg").html(err_msg);
  1702. }
  1703. },
  1704. error: function(err){
  1705. console.log('err', err)
  1706. },
  1707. complete: function(){
  1708.  
  1709. if(verify_mode == 'binding'){
  1710. toggle_loading(".check_member_binding_submit");
  1711. }else{
  1712. toggle_loading(".login_type_btn");
  1713. }
  1714. $("input[name=uid_check_code]").attr('disabled', false);
  1715. $(".uid_check_code_btn").removeClass("is_loading");
  1716.  
  1717. }
  1718. });
  1719. }
  1720. }
  1721.  
  1722. /*** prodcut add shopping car start ****/
  1723.  
  1724. //var to_reciprocal_close_day_a_id;
  1725. //var to_reciprocal_close_day_b_id;
  1726. //var to_reciprocal_close_day_b_status = 1 ;
  1727.  
  1728. function to_reciprocal_close_day_a(sel_product_sn,sel_standard_sn,sel_s){
  1729.  
  1730. var show_info = "";
  1731. var show_s = parseFloat(sel_s)-1;
  1732. var show_day = parseInt(show_s/86400);
  1733. var show_hour = parseInt((show_s-(show_day*86400))/3600);
  1734. var show_min = parseInt((show_s-(show_day*86400)-(show_hour*3600))/60);
  1735. var show_sec = parseInt(show_s-(show_day*86400)-(show_hour*3600)-(show_min*60));
  1736.  
  1737. //var this_product_checked_standard_sn = $.cookie("is_product_checked_standard_sn");
  1738.  
  1739. if(show_s >= 0){ // && this_product_checked_standard_sn==sel_standard_sn
  1740.  
  1741. if(show_day >= 0){show_info += "優惠倒數:<span class='ds_main_color'>"+show_day+"</span> <span style='font-size:10px;'>天</span> ";}
  1742. if(show_hour>= 0){show_info += "<span class='ds_main_color'>"+show_hour+"</span> <span style='font-size:10px;'>時</span> ";}
  1743. if(show_min >= 0){show_info += "<span class='ds_main_color'>"+show_min+"</span> <span style='font-size:10px;'>分</span>&nbsp;&nbsp;";}
  1744. if(show_sec >= 0){show_info += "<span class='ds_main_color'>"+show_sec+"</span> <span style='font-size:10px;'>秒</span> ";}
  1745.  
  1746. // 新版商品列表pop視窗id修正
  1747.            const id_product__close_day_reciprocal_a = document.getElementById("id_product__close_day_reciprocal_a");
  1748.  
  1749.            if(id_product__close_day_reciprocal_a){
  1750.                id_product__close_day_reciprocal_a.setAttribute("id", `id_product_${sel_product_sn}_close_day_reciprocal_a`)
  1751.            }
  1752.  
  1753.  
  1754. document.getElementById("id_product_"+sel_product_sn+"_close_day_reciprocal_a").innerHTML = show_info;
  1755.  
  1756. if(show_s==0){
  1757.  
  1758. location.reload();
  1759.  
  1760. }else{
  1761.  
  1762. var to_reciprocal_close_day_a_id = setTimeout("to_reciprocal_close_day_a('"+sel_product_sn+"','"+sel_standard_sn+"','"+show_s+"')",1000);
  1763. }
  1764.  
  1765. }else{
  1766.  
  1767. /*
  1768. clearTimeout( to_reciprocal_close_day_b_id );
  1769.  
  1770. to_reciprocal_close_day_b_status = 0;
  1771.  
  1772. document.getElementById("id_product_"+sel_product_sn+"_close_day_reciprocal_b").innerHTML = '00';
  1773. show_info += "00 <span style='font-size:10px;'>天</span> ";
  1774. show_info += "00 <span style='font-size:10px;'>時</span> ";
  1775. show_info += "00 <span style='font-size:10px;'>分</span>&nbsp;&nbsp;"
  1776.  
  1777. document.getElementById("id_product_"+sel_product_sn+"_close_day_reciprocal_a").innerHTML = show_info;
  1778. */
  1779.  
  1780. document.getElementById("id_product_"+sel_product_sn+"_close_day_reciprocal_a").innerHTML = "";
  1781.  
  1782. }
  1783. }
  1784.  
  1785. function to_reciprocal_close_day_b(sel_product_sn,sel_standard_sn,sel_s){
  1786.  
  1787. /*
  1788. var this_product_checked_standard_sn = $.cookie("is_product_checked_standard_sn");
  1789.  
  1790. if( this_product_checked_standard_sn == sel_standard_sn ){
  1791. var show_s = parseFloat(sel_s)-1;
  1792. document.getElementById("id_product_"+sel_product_sn+"_close_day_reciprocal_b").innerHTML = show_s;
  1793. if(show_s==10){
  1794. to_reciprocal_close_day_b_id = setTimeout("to_reciprocal_close_day_b('"+sel_product_sn+"','"+sel_standard_sn+"','99')",1);
  1795. }else{
  1796. to_reciprocal_close_day_b_id = setTimeout("to_reciprocal_close_day_b('"+sel_product_sn+"','"+sel_standard_sn+"','"+show_s+"')",10);
  1797. }
  1798. }else{
  1799. document.getElementById("id_product_"+sel_product_sn+"_close_day_reciprocal_b").innerHTML = "";
  1800. }
  1801. */
  1802. }
  1803.  
  1804. function to_save_setting_product_rating(sel_product_sn, sel_standard_sn, sel_order_title_sn) {
  1805. let product_rating_comment = $("textarea[name='product_rating_comment']").val();
  1806. if(product_rating_comment.length < 15 || product_rating_comment.length > 85){
  1807. alert('請輸入15~85個字的心得分享');
  1808. return false;
  1809. }
  1810.  
  1811. xmlhttp_save = createXMLHttp();
  1812. if (xmlhttp_save) {
  1813.  
  1814. var rating_comment = document.getElementsByName('product_rating_comment')[0].value;
  1815.  
  1816. var rating_start = document.getElementsByName('id_product_start_value')[0].value;
  1817.  
  1818. show_layer_loading();
  1819.  
  1820. xmlhttp_save.onreadystatechange = function() {
  1821. if (xmlhttp_save.readyState == 4 && xmlhttp_save.status == 200) {
  1822. close_layer_loading();
  1823. var response_msg = xmlhttp_save.responseText;
  1824. show_layer_msg(response_msg);
  1825. }
  1826. };
  1827.  
  1828. var ajax_url = encodeURI("ajax_product_module_api.php?module_type=rating_product_start&product_sn=" + sel_product_sn + "&standard_sn=" + sel_standard_sn + "&order_title_sn=" + sel_order_title_sn + "&rating_start=" + rating_start + "&rating_comment=" + rating_comment + "&time=" + new Date().getTime());
  1829. xmlhttp_save.open("Get", ajax_url, true);
  1830. xmlhttp_save.send(null);
  1831. }
  1832. }
  1833.  
  1834. function booking_product_add_email(sel_product_sn,sel_standard_sn,sel_standard_order_amount){
  1835.  
  1836. if(!check_email(document.getElementById('id_member_email').value)){
  1837. show_layer_alert("email格式異常,請重新確認!");
  1838. // alert("email格式異常,請重新確認!");
  1839.  
  1840. }else{
  1841.  
  1842. to_booking_product(sel_product_sn,sel_standard_sn,sel_standard_order_amount,document.getElementById('id_member_email').value);
  1843. }
  1844. }
  1845.  
  1846. // LINE LIFF 登入
  1847. function liff_login(liff_action='',need_login='',redirect_url=''){
  1848.  
  1849. if(liff.isLoggedIn()){
  1850. liff.logout();
  1851. }
  1852.  
  1853. var client_device_type = '1';
  1854.  
  1855. var this_member_sn = '';
  1856.  
  1857. var this_url = new URL(location);
  1858.  
  1859. var param = new URLSearchParams(this_url.search);
  1860.  
  1861. if(redirect_url == ""){
  1862. var redirect_uri = this_url.origin+this_url.pathname;
  1863. }else{
  1864. var redirect_uri = redirect_url;
  1865. }
  1866.  
  1867. if(liff_action!='') param.set("liff_action", liff_action);
  1868. if(need_login!='') param.set("need_login", "true");
  1869.  
  1870. param.delete('login_error');
  1871.  
  1872. if(param.toString()!='') redirect_uri += "?"+param.toString();
  1873.  
  1874. // alert(navigator.userAgent);
  1875.  
  1876. // if((!navigator.userAgent.match("Chrome") && navigator.userAgent.match("Safari") && client_device_type=="2") || navigator.userAgent.match("SamsungBrowser") || navigator.userAgent.match("Instagram") || navigator.userAgent.match("Line") || navigator.userAgent.match("FBAN") || navigator.userAgent.match("FBAV")){  // In-App Browser
  1877. if(client_device_type == '2'){  // Mobile Browser
  1878.  
  1879. if(parseInt(this_member_sn)==0 || isNaN(parseInt(this_member_sn))){ // 註冊/登入
  1880.  
  1881. open_with_liff(liff_action,redirect_url);
  1882.  
  1883. }else{ // 綁定
  1884.  
  1885. param.set("liff_action", "open_with_liff");
  1886.  
  1887. redirect_uri = this_url.origin+this_url.pathname+"?"+param.toString();
  1888.  
  1889. liff.login({redirectUri: redirect_uri});
  1890. }
  1891. }else{  // PC Browser
  1892.  
  1893. liff.login({ redirectUri: redirect_uri});
  1894. }
  1895. }
  1896.  
  1897. // LINE LIFF 分享
  1898. function share_with_friend(msg_type='', msg_type_sn=''){
  1899.  
  1900. show_layer_loading();
  1901.  
  1902. var this_member_sn = '';
  1903.  
  1904. if(typeof(liff)!=='undefined'){
  1905.  
  1906. if(liff.isApiAvailable('shareTargetPicker') && this_member_sn==""){ // 網頁閒置過久SESSION被清空;
  1907.  
  1908. var this_url = new URL(location);
  1909.  
  1910. var param = new URLSearchParams(this_url.search);
  1911.  
  1912. param.set("liff_action", "share");
  1913.  
  1914. if(location.pathname.substr(0,7)!="/share/"){
  1915. location.href=this_url.pathname+'?'+param.toString();
  1916. }
  1917.  
  1918. }
  1919. }
  1920.  
  1921. if(typeof(liff)!=='undefined'){
  1922.  
  1923. if(liff.isApiAvailable('shareTargetPicker')){
  1924.  
  1925. if(!liff.isInClient() && (navigator.userAgent.match("Instagram") || navigator.userAgent.match("Line") || navigator.userAgent.match("FBAN") || navigator.userAgent.match("FBAV"))){ // IAB
  1926.  
  1927. open_with_liff("share");
  1928. close_layer_loading();
  1929.  
  1930. }else{ // LIFF or external browser
  1931.  
  1932. get_line_message_format(msg_type, msg_type_sn);
  1933. }
  1934.  
  1935. }else{
  1936. if(!liff.isLoggedIn()){
  1937.  
  1938. if(!liff.isInClient() && (navigator.userAgent.match("Instagram") || navigator.userAgent.match("Line") || navigator.userAgent.match("FBAN") || navigator.userAgent.match("FBAV"))){ // IAB
  1939.  
  1940. if(parseInt(this_member_sn)==0 || isNaN(parseInt(this_member_sn))){ // 註冊/登入
  1941.  
  1942. open_with_liff("share");
  1943.  
  1944. }else{
  1945.  
  1946. liff_login("share");
  1947. }
  1948.  
  1949. }else{ // external browser
  1950.  
  1951. liff_login("share");
  1952. }
  1953. }else{
  1954. alert("未開啟shareTargetPicker權限");
  1955. console.log("未開啟shareTargetPicker權限");
  1956. }
  1957. close_layer_loading();
  1958.  
  1959. }
  1960. }else{
  1961.  
  1962. console.log("liff is undefined");
  1963. window.open('https://social-plugins.line.me/lineit/share?url='+'https%3A%2F%2Fliff.line.me%2F1657662956-ljewX6qm%2Findex.php%3Futm_source%3Dm2%26utm_medium%3Dguest', 'LINE Share', config='height=500,width=500');
  1964. close_layer_loading();
  1965. }
  1966.  
  1967. }
  1968.  
  1969. // LINE 訊息模板
  1970. function get_line_message_format(msg_type='', msg_type_sn=''){
  1971.  
  1972. let php_self = 'index';
  1973.  
  1974. if(msg_type=='') msg_type = php_self;
  1975.  
  1976. $.ajax({
  1977. type: 'POST',
  1978. url: './ajax_website_module_api.php',
  1979. data: {
  1980. 'module_type': 'line_msg',
  1981. 'msg_type': msg_type,
  1982. 'msg_type_sn': msg_type_sn,
  1983. 'share_link': 'https://liff.line.me/1657662956-ljewX6qm/index.php?utm_source=m2&utm_medium=guest', // 產生位置 ap_lib/functuion.php
  1984. 'php_self': '/index.php',
  1985. },
  1986. success: function(res) {
  1987.  
  1988. flex_message = $.parseJSON(res);
  1989.  
  1990. console.log('flex_message', flex_message);
  1991.  
  1992. liff.shareTargetPicker(flex_message)
  1993. .then(function (res) {
  1994.  
  1995. console.log('share_res', res);
  1996.  
  1997. if(res){
  1998.  
  1999. // succeeded in sending a message through TargetPicker
  2000. console.log(`[${res.status}] Message sent!`);
  2001.  
  2002. // 分享完後自動關閉視窗
  2003. if(location.pathname.substr(0,6)=="/share"){
  2004. liff.closeWindow();
  2005. }
  2006.  
  2007. }else{
  2008.  
  2009. const [majorVer, minorVer] = (liff.getLineVersion() || "").split('.');
  2010. if (parseInt(majorVer) == 10 && parseInt(minorVer) < 11) {
  2011. // LINE 10.3.0 - 10.10.0
  2012. // Old LINE will access here regardless of user's action
  2013. console.log('TargetPicker was opened at least. Whether succeeded to send message is unclear')
  2014. } else {
  2015. // LINE 10.11.0 -
  2016. // sending message canceled
  2017. console.log('TargetPicker was closed!')
  2018. if(location.pathname.substr(0,6)=="/share"){
  2019. liff.closeWindow();
  2020. }
  2021. }
  2022. }
  2023.  
  2024. }).catch(function (error) {
  2025.  
  2026. // something went wrong before sending a message
  2027. alert("分享失敗\n\n請確認瀏覽器設定沒有阻擋彈跳視窗。\n(設定 > Safari > 阻擋彈出視窗)");
  2028.  
  2029. console.log('shareTargetPicker something wrong happen');
  2030. console.log('error', error);
  2031. console.log('flex_message', flex_message);
  2032. })
  2033. },
  2034. error: function(err) {
  2035. alert("Get message format error\n"+err);
  2036. },
  2037. complete: function() {
  2038. close_layer_loading();
  2039. }
  2040. });
  2041. }
  2042.  
  2043. // LINE 購物 取得ECID
  2044. function to_get_ecid(){
  2045.  
  2046. var this_url = '';
  2047.  
  2048. if(this_url!=''){
  2049.  
  2050. if(!liff.isInClient()){
  2051.  
  2052. setTimeout(function(){window.location.replace(this_url);}, 300);
  2053.  
  2054. }else{
  2055.  
  2056. liff.openWindow({
  2057. url: this_url,
  2058. external: false
  2059. });
  2060. }
  2061. }
  2062. }
  2063.  
  2064. // LINE LIFF 分享
  2065. function open_with_liff(liff_action,redirect_url=""){
  2066.  
  2067. var m2_member_sn = '';
  2068. var this_member_sn = '';
  2069. var shoppingcar_member_sn = 'k03skok8csshdn1ge52rjsqoo6';
  2070. var _ishop_utm_source   = '';
  2071. var _ishop_utm_medium   = '';
  2072. var _ishop_utm_term     = '';
  2073. var _ishop_utm_content   = '';
  2074. var _ishop_utm_campaign = '';
  2075. var _url_redirect_sn = '';
  2076. var _url_redirect_access_sn = '';
  2077.  
  2078. if(redirect_url != ""){
  2079. var this_url = new URL(redirect_url);
  2080. }else{
  2081. var this_url = new URL(location);
  2082. }
  2083.  
  2084. var param = new URLSearchParams(this_url.search);
  2085.  
  2086. var this_v1_liff_url = "https://line.me/R/app/"+liff.id;
  2087.  
  2088. if(this_url.pathname.indexOf("shopping_car")>0) this_url.pathname = "/"; // 購物車要做第二次轉跳
  2089.  
  2090. if(param.get("liff_action")=="open_with_liff") param.delete("liff_action"); // 防止無限迴圈
  2091.  
  2092. if(m2_member_sn>0) param.set("m2_member_sn", m2_member_sn); // 推薦人SN
  2093.  
  2094. if(parseInt(this_member_sn)==0 || isNaN(parseInt(this_member_sn))){ // 未登入判斷購物車是否有商品
  2095.  
  2096. $.ajax({
  2097.  
  2098. url:"./api_liff.php",
  2099. method:'GET',
  2100. data:{
  2101. mode: 'check_member_shoppingcar',
  2102. shoppingcar_member_sn: shoppingcar_member_sn
  2103. },
  2104. async:false,
  2105. success:function(res){
  2106.  
  2107. if(res>0) param.set("pre_shoppingcar_member_sn", shoppingcar_member_sn);
  2108. },
  2109. error:function(err){
  2110.  
  2111. console.log('check_err', err)
  2112. },
  2113. complete:function(){
  2114.  
  2115. }
  2116. });
  2117. }
  2118.  
  2119. // 網址轉導
  2120. if(_url_redirect_sn!="") param.set("_url_redirect_sn", _url_redirect_sn);
  2121. if(_url_redirect_access_sn!="") param.set("_url_redirect_access_sn", _url_redirect_access_sn);
  2122.  
  2123. // utm
  2124. if(_ishop_utm_source!="") param.set("utm_source", _ishop_utm_source);
  2125. if(_ishop_utm_medium!="") param.set("utm_medium", _ishop_utm_medium);
  2126. if(_ishop_utm_term!="") param.set("utm_term", _ishop_utm_term);
  2127. if(_ishop_utm_content!="") param.set("utm_content", _ishop_utm_content);
  2128. if(_ishop_utm_campaign!="") param.set("utm_campaign", _ishop_utm_campaign);
  2129. if(liff_action!="" && liff_action!=undefined) param.set("liff_action", liff_action);
  2130.  
  2131. this_v1_liff_url += "?v1_redirect="+encodeURIComponent(this_url.pathname+'?'+param.toString());
  2132.  
  2133. // setTimeout(function(){window.open(this_v1_liff_url);}, 500);
  2134.  
  2135. setTimeout(function(){window.location.replace(this_v1_liff_url);}, 300);
  2136.  
  2137. }
  2138. // Footer action
  2139. function footer_action(this_id, this_action){
  2140.  
  2141. switch (this_id) {
  2142. case 'customer_service':
  2143.  
  2144. window.location.href = "tel:"+this_action;
  2145.  
  2146. break;
  2147. case 'facebook':
  2148.  
  2149. window.location.href = "https://www.facebook.com/"+this_action;
  2150.  
  2151. break;
  2152. case 'messenger':
  2153.  
  2154. window.location.href = "https://www.messenger.com/t/"+this_action;
  2155.  
  2156. break;
  2157. case 'share':
  2158.  
  2159.                to_show_share_link();
  2160. break;
  2161. case 'show_product_view_record':
  2162. to_show_product_view_record();
  2163. break;
  2164. case 'to_scroll_top':
  2165.  
  2166. to_scroll_top();
  2167. break;
  2168. case 'shopping_car':
  2169.  
  2170. to_show_top_shopping_car('4');
  2171. break;
  2172. case 'mobile_chapter_list_switch':
  2173.  
  2174. mobile_chapter_list_switch();
  2175. console.log("mobile_chapter_list_switch");
  2176. break;
  2177.  
  2178. case "anchor_point":
  2179.  
  2180. to_scrollTo(this_action, 1000);
  2181.  
  2182. break;
  2183. default:
  2184.                window.location.href = this_action;
  2185. break;
  2186. }
  2187. }
  2188.    
  2189. function company_no_check(input){
  2190. var company_no;
  2191. company_no = input.value;
  2192. console.log(company_no);
  2193. if(true){
  2194. if(generateVerificationCode(company_no)){
  2195. document.getElementById("id_verify_company_no_msg").innerHTML = "";
  2196. }else{
  2197. document.getElementById("id_verify_company_no_msg").innerHTML = "很抱歉,統一編號【"+company_no+"】驗證失敗。";
  2198. input.value = "";
  2199. }
  2200. }
  2201. }
  2202.  
  2203. function generateVerificationCode(idNumber) {
  2204. // 檢查輸入是否為8個字元
  2205. if (idNumber.length == 8) {
  2206. // 檢查每個字元是否為有效的數字
  2207. for (let i = 0; i < 8; i++) {
  2208. if (!/^[0-9]$/.test(idNumber[i])) {
  2209. // console.log('輸入的編號含有非數字字元');
  2210. return false;
  2211. }
  2212. }
  2213.  
  2214. // 將編號轉換為陣列
  2215. const idNumberArray = idNumber.split('');
  2216.  
  2217. // 定義邏輯乘數
  2218. const multipliers = [1, 2, 1, 2, 1, 2, 4, 1];
  2219.  
  2220. // 計算乘積
  2221. let idNumbers = [];
  2222. for (let i = 0; i < 8; i++) {
  2223. const item = parseInt(idNumberArray[i]) * multipliers[i];
  2224. idNumbers.push(item);
  2225. }
  2226.  
  2227. // 處理乘積大於10的狀況
  2228. for (let i = 0; i < 8; i++) {
  2229. if (idNumbers[i] >= 10) {
  2230. const digits = String(idNumbers[i]).split('');
  2231. idNumbers[i] = parseInt(digits[0]) + parseInt(digits[1]);
  2232. }
  2233. }
  2234.  
  2235. // 生成驗證碼
  2236. const verificationCodeArray = idNumbers.map(item => String(item));
  2237. const verificationCode = verificationCodeArray.join('');
  2238.  
  2239. if(idNumberArray[6] != '7'){
  2240. // 計算驗證碼總和
  2241. let verificationCodeSum = 0;
  2242. for (let i = 0; i < 8; i++) {
  2243. verificationCodeSum += parseInt(verificationCodeArray[i]);
  2244. }
  2245. if((verificationCodeSum % 5) === 0){
  2246. return true;
  2247. }else{
  2248. return false;
  2249. }
  2250. }else{
  2251. // 計算驗證碼總和A
  2252. verificationCodeArray[6] = 0;
  2253. let verificationCodeSumA = 0;
  2254. for (let i = 0; i < 8; i++) {
  2255. verificationCodeSumA += parseInt(verificationCodeArray[i]);
  2256. }
  2257.  
  2258. // 計算驗證碼總和B
  2259. verificationCodeArray[6] = 1;
  2260. let verificationCodeSumB = 0;
  2261. for (let i = 0; i < 8; i++) {
  2262. verificationCodeSumB += parseInt(verificationCodeArray[i]);
  2263. }
  2264.  
  2265. if((verificationCodeSumA % 5 === 0) || (verificationCodeSumB % 5 === 0)){
  2266. return true;
  2267. }else{
  2268. return false;
  2269. }
  2270. }
  2271. }else{
  2272. return false;
  2273. }
  2274. }
  2275.  
  2276. </script>
  2277. <script>
  2278. var is_new_product_detail = false;
  2279. </script>
  2280. <script type="text/javascript" async src="https://cdn.matrixec.com/js/line-button.js?v=20140411"></script>
  2281. <script language="javascript">
  2282. window.onscroll = to_check_onscroll;
  2283. </script>
  2284.  
  2285.  
  2286. <!-- Google tag (gtag.js) -->
  2287. <script async src="https://www.googletagmanager.com/gtag/js?id=G-DN3YYV8V9K"></script>
  2288. <script>
  2289.  window.dataLayer = window.dataLayer || [];
  2290.  function gtag(){dataLayer.push(arguments);}
  2291.  gtag('js', new Date());
  2292.  
  2293.  gtag('config', 'G-DN3YYV8V9K');
  2294. </script>
  2295. <script>
  2296. $(function(){
  2297.    if($('#id_c2').length > 0 ){
  2298.        $('#id_c2').children('option')[0].innerHTML = '--縣市搜尋--';
  2299.    }
  2300. })
  2301. </script>
  2302. <script async>
  2303. (function(g,d,o){
  2304. g._ltq=g._ltq||[];g._lt=g._lt||function(){g._ltq.push(arguments)};
  2305. var h=location.protocol==='https:'?'https://d.line-scdn.net':'http://d.line-cdn.net';
  2306. var s=d.createElement('script');s.async=1;
  2307. s.src=o||h+'/n/line_tag/public/release/v1/lt.js';
  2308. var t=d.getElementsByTagName('script')[0];t.parentNode.insertBefore(s,t);
  2309. })(window, document);_lt('init', {
  2310. customerType: 'lap',
  2311. tagId: '6762c9ef-1078-4543-b5ad-26ef3d2a663a'
  2312. });
  2313. _lt('send', 'pv', ['6762c9ef-1078-4543-b5ad-26ef3d2a663a']);</script>
  2314. <noscript>
  2315. <img height='1' width='1' style='display:none'
  2316. src='https://tr.line.me/tag.gif?c_t=lap&t_id=161a9b23-c87b-4ebb-8a97-a7f91abb8c56&e=pv&noscript=1' />
  2317. </noscript>
  2318. <!-- End LINE Tag Base Code -->
  2319. <style type="text/css" media="print">.print_display_off{display: none;}</style>
  2320.  
  2321. <style>
  2322.    /*Instegram*/
  2323.    .ig_newest_top.default_animation , .ig_newest_inside.default_animation {
  2324.        position: relative;
  2325.        opacity:0;
  2326.        transform: translateY(5%);
  2327.    }
  2328.    .ig_newest_top.default_animation.act , .ig_newest_inside.default_animation.act {
  2329.        transition: all 0.7s ease-out;
  2330.        opacity: 1;
  2331.        transform: translateY(0);
  2332.    }
  2333.  
  2334.    /*商品列表*/
  2335.    .default_animation .product_item{
  2336.        position: relative;
  2337.        opacity:0;
  2338.        transform: translateY(3%);
  2339.    }
  2340.    .default_animation.act .product_item{
  2341.        transition: all 0.5s ease-out;
  2342.        opacity: 1;
  2343.        transform: translateY(0);
  2344.    }
  2345.    .default_animation .product_item:nth-child(2){
  2346.        transition-delay:0.2s;
  2347.    }
  2348.    .default_animation .product_item:nth-child(3){
  2349.        transition-delay:0.3s;
  2350.    }
  2351.  
  2352.    /*商品明細頁 附屬商品圖*/
  2353.    .pps_photo_sub.default_animation {
  2354.        position: relative;
  2355.        opacity:0;
  2356.        transform: translateY(50px);
  2357.    }
  2358.    .pps_photo_sub.default_animation.act {
  2359.        transition: all 0.5s ease-out;
  2360.        opacity:1;
  2361.        transform: translateY(0%);
  2362.    }
  2363.  
  2364.    /*shopping car*/
  2365.    #id_shopping_car_page .right_content.default_animation {
  2366.        position: relative;
  2367.        opacity:0;
  2368.        transform: translateY(50px);
  2369.    }
  2370.    #id_shopping_car_page .right_content.default_animation.act {
  2371.        transition: all 0.5s ease-out;
  2372.        opacity: 1;
  2373.        transform: translateY(0);
  2374.    }
  2375.  
  2376.    /*滿版廣告slide*/
  2377.    .default_animation.ad_overflow_slide {
  2378.        position: relative;
  2379.        opacity:0;
  2380.        transform: translateY(5%);
  2381.    }
  2382.    .default_animation.act.ad_overflow_slide{
  2383.        transition: all 0.5s ease-out;
  2384.        opacity: 1;
  2385.        transform: translateY(0);
  2386.    }
  2387.  
  2388.    /*滿版廣告單板靜態*/
  2389.    .default_animation .ad_overflow_single_inside {
  2390.        position: relative;
  2391.        opacity:0;
  2392.        transform: translateY(5%);
  2393.    }
  2394.    .default_animation.act .ad_overflow_single_inside{
  2395.        transition: all 0.5s ease-out;
  2396.        opacity: 1;
  2397.        transform: translateY(0);
  2398.    }
  2399.  
  2400.    /*全版廣告slide 點點輪播*/
  2401.    .default_animation.ad_full_slide_dotted {
  2402.        position: relative;
  2403.        opacity:0;
  2404.        transform: translateY(5%);
  2405.    }
  2406.    .default_animation.act.ad_full_slide_dotted {
  2407.        transition: all 0.5s ease-out;
  2408.        opacity: 1;
  2409.        transform: translateY(0);
  2410.    }
  2411.  
  2412.    /*全版廣告單板靜態*/
  2413.    .default_animation > a {
  2414.        display: block;
  2415.        position: relative;
  2416.        opacity:0;
  2417.        transform: translateY(5%);
  2418.    }
  2419.    .default_animation.act > a{
  2420.        transition: all 0.5s ease-out;
  2421.        opacity: 1;
  2422.        transform: translateY(0);
  2423.    }
  2424.  
  2425.    /*全版廣告單排3小板 area_3d */
  2426.    .default_animation.ad_full_area_3d > .item_outside {
  2427.        position: relative;
  2428.        opacity:0;
  2429.        transform: translateY(5%);
  2430.    }
  2431.    .default_animation.act.ad_full_area_3d > .item_outside{
  2432.        transition: all 0.5s ease-out;
  2433.        opacity: 1;
  2434.        transform: translateY(0);
  2435.    }
  2436.    .default_animation.act.ad_full_area_3d > .item_outside:nth-child(4){
  2437.        transition-delay: 0.15s;
  2438.    }
  2439.    .default_animation.act.ad_full_area_3d > .item_outside:nth-child(6){
  2440.        transition-delay: 0.3s;
  2441.    }
  2442.    .default_animation.act.ad_full_area_3d > .item_outside:nth-child(7){
  2443.        transition-delay: 0.45s;
  2444.    }
  2445.    .default_animation.act.ad_full_area_3d > .item_outside:nth-child(9){
  2446.        transition-delay: 0.6s;
  2447.    }
  2448.    .default_animation.act.ad_full_area_3d > .item_outside:nth-child(11){
  2449.        transition-delay: 0.75s;
  2450.    }
  2451.  
  2452.    /*全版廣告-1大輪2小板 area_3a */
  2453.    .default_animation.ad_full_area_3a {
  2454.        position: relative;
  2455.        opacity:0;
  2456.        transform: translateY(5%);
  2457.    }
  2458.    .default_animation.act.ad_full_area_3a {
  2459.        transition: all 0.5s ease-out;
  2460.        opacity: 1;
  2461.        transform: translateY(0%);
  2462.    }
  2463.  
  2464.    /*全版廣告-1大輪2小板 area_3b */
  2465.    .default_animation.ad_full_area_3b {
  2466.        position: relative;
  2467.        opacity:0;
  2468.        transform: translateY(5%);
  2469.    }
  2470.    .default_animation.act.ad_full_area_3b {
  2471.        transition: all 0.5s ease-out;
  2472.        opacity: 1;
  2473.        transform: translateY(0%);
  2474.    }
  2475.  
  2476.    /*全版廣告-多排4小板 area_3c */
  2477.    .ad_full_area_3c .default_animation.caption_pic ,
  2478.    .ad_full_area_3c .default_animation.caption_txt {
  2479.        position: relative;
  2480.        opacity:0;
  2481.        transform: translateY(30px);
  2482.    }
  2483.    .ad_full_area_3c .default_animation.act.caption_pic ,
  2484.    .ad_full_area_3c .default_animation.act.caption_txt {
  2485.        transition: all 0.7s ease-out;
  2486.        opacity: 1;
  2487.        transform: translateY(0%);
  2488.    }
  2489.    .ad_full_area_3c_inside.default_animation .item_outside{
  2490.        position: relative;
  2491.        opacity:0;
  2492.        transform: translateY(5%);
  2493.    }
  2494.    .ad_full_area_3c_inside.default_animation.act .item_outside{
  2495.        transition: all 0.7s ease-out;
  2496.        opacity: 1;
  2497.        transform: translateY(0%);
  2498.    }
  2499.    .ad_full_area_3c_inside.default_animation .item_outside:nth-child(3) {
  2500.        transition-delay: 0.1s;
  2501.    }
  2502.    .ad_full_area_3c_inside.default_animation .item_outside:nth-child(5) {
  2503.        transition-delay: 0.2s;
  2504.    }
  2505.    .ad_full_area_3c_inside.default_animation .item_outside:nth-child(7) {
  2506.        transition-delay: 0.3s;
  2507.    }
  2508.  
  2509.    /*全版廣告 下側頁籤*/
  2510.    .default_animation.ad_full_down_tag {
  2511.        display: block;
  2512.        position: relative;
  2513.        opacity:0;
  2514.        transform: translateY(5%);
  2515.    }
  2516.    .default_animation.act.ad_full_down_tag {
  2517.        transition: all 0.5s ease-out;
  2518.        opacity: 1;
  2519.        transform: translateY(0);
  2520.    }
  2521.  
  2522.    /*全版廣告 右側頁籤*/
  2523.    .default_animation.ad_full_right_tag {
  2524.        display: block;
  2525.        position: relative;
  2526.        opacity:0;
  2527.        transform: translateY(5%);
  2528.    }
  2529.    .default_animation.act.ad_full_right_tag {
  2530.        transition: all 0.5s ease-out;
  2531.        opacity: 1;
  2532.        transform: translateY(0);
  2533.    }
  2534.  
  2535.    /*全版廣告商品-單排滑動 A5 && 最近看過 && 電子報*/
  2536.    .default_animation.full_block {
  2537.        display: block;
  2538.        position: relative;
  2539.        opacity:0;
  2540.        transform: translateY(10%);
  2541.    }
  2542.    .default_animation.act.full_block{
  2543.        transition: all 0.5s ease-out;
  2544.        opacity: 1;
  2545.        transform: translateY(0);
  2546.    }
  2547.  
  2548.    /*全版3區塊廣告商品 A1*/
  2549.    .default_animation .ad_prodcut_a1_module{
  2550.        position: relative;
  2551.        opacity:0;
  2552.        transform: translateY(10%);
  2553.    }
  2554.    .default_animation.act .ad_prodcut_a1_module{
  2555.        transition: all 0.5s ease-out;
  2556.        opacity: 1;
  2557.        transform: translateY(0);
  2558.    }
  2559.    .default_animation .ad_prodcut_a1_module:nth-child(2){
  2560.        transition-delay:0.2s;
  2561.    }
  2562.    .default_animation .ad_prodcut_a1_module:nth-child(3){
  2563.        transition-delay:0.3s;
  2564.    }
  2565.  
  2566.  
  2567.    /*大側邊 單板靜態*/
  2568.    .default_animation.ad_big_side_single {
  2569.        display: block;
  2570.        position: relative;
  2571.        opacity:0;
  2572.        transform: translateY(5%);
  2573.    }
  2574.    .default_animation.act.ad_big_side_single {
  2575.        transition: all 0.5s ease-out;
  2576.        opacity: 1;
  2577.        transform: translateY(0);
  2578.    }
  2579.  
  2580.    /*大側邊 右側頁籤*/
  2581.    .default_animation.ad_big_side_right_tag {
  2582.        display: block;
  2583.        position: relative;
  2584.        opacity:0;
  2585.        transform: translateY(5%);
  2586.    }
  2587.    .default_animation.act.ad_big_side_right_tag {
  2588.        transition: all 0.5s ease-out;
  2589.        opacity: 1;
  2590.        transform: translateY(0);
  2591.    }
  2592.  
  2593.    /*大側邊 1大輪2小版*/
  2594.    .default_animation.big_side_area_3a {
  2595.        display: block;
  2596.        position: relative;
  2597.        opacity:0;
  2598.        transform: translateY(5%);
  2599.    }
  2600.    .default_animation.act.big_side_area_3a {
  2601.        transition: all 0.5s ease-out;
  2602.        opacity: 1;
  2603.        transform: translateY(0);
  2604.    }
  2605.  
  2606.    /*大側邊 4 x N 廣告商品 :ad_product_a2*/
  2607.    .default_animation.module_header_caption {
  2608.        display: block;
  2609.        position: relative;
  2610.        opacity:0;
  2611.        transform: translateY(20%);
  2612.    }
  2613.    .default_animation.act.module_header_caption {
  2614.        transition: all 0.5s ease-out;
  2615.        opacity: 1;
  2616.        transform: translateY(0);
  2617.    }
  2618.    .default_animation.item_wrapper .item {
  2619.        display: block;
  2620.        position: relative;
  2621.        opacity:0;
  2622.        transform: translateY(10%);
  2623.    }
  2624.    .default_animation.act.item_wrapper .item {
  2625.        transition: all 0.5s ease-out;
  2626.        opacity: 1;
  2627.        transform: translateY(0);
  2628.    }
  2629.    .default_animation.item_wrapper .item:nth-child(2){
  2630.        transition-delay: 0.1s;
  2631.    }
  2632.    .default_animation.item_wrapper .item:nth-child(3){
  2633.        transition-delay: 0.2s;
  2634.    }
  2635.    .default_animation.item_wrapper .item:nth-child(4){
  2636.        transition-delay: 0.3s;
  2637.    }
  2638.  
  2639.  
  2640.    /*專欄宣傳文章*/
  2641.    .column_publicize_outside.default_animation {
  2642.        display: block;
  2643.        position: relative;
  2644.        opacity:0;
  2645.        transform: translateY(10%);
  2646.    }
  2647.    .column_publicize_outside.default_animation.act {
  2648.        transition: all 0.5s ease-out;
  2649.        opacity: 1;
  2650.        transform: translateY(0);
  2651.    }
  2652.  
  2653.    /*大側邊 專欄宣傳文章1大3小 1b3s*/
  2654.    .default_animation .big_side_publicize_column_header ,.default_animation .big_side_publicize_column_top_outsite , .default_animation .big_side_publicize_column_3s_insite {
  2655.        display: block;
  2656.        position: relative;
  2657.        opacity:0;
  2658.        transform: translateY(10%);
  2659.    }
  2660.    .default_animation.act .big_side_publicize_column_header ,.default_animation.act .big_side_publicize_column_top_outsite , .default_animation.act .big_side_publicize_column_3s_insite {
  2661.        transition: all 0.5s ease-out;
  2662.        opacity: 1;
  2663.        transform: translateY(0);
  2664.    }
  2665.    .default_animation .big_side_publicize_column_header {
  2666.        transition-delay: 0.1s;
  2667.    }
  2668.    .default_animation .big_side_publicize_column_3s_insite:nth-child(1){
  2669.        transition-delay: 0.2s;
  2670.    }
  2671.    .default_animation .big_side_publicize_column_3s_insite:nth-child(2){
  2672.        transition-delay: 0.3s;
  2673.    }
  2674.    .default_animation .big_side_publicize_column_3s_insite:nth-child(3){
  2675.        transition-delay: 0.4s;
  2676.    }
  2677.  
  2678.    /*大側邊專欄 - 左右分類文章 1大5小*/
  2679.    .default_animation.big_side_category_half_1b5s {
  2680.        display: block;
  2681.        position: relative;
  2682.        opacity:0;
  2683.        transform: translateY(10%);
  2684.    }
  2685.    .default_animation.act.big_side_category_half_1b5s {
  2686.        transition: all 0.5s ease-out;
  2687.        opacity: 1;
  2688.        transform: translateY(0);
  2689.    }
  2690.  
  2691.    /*大側邊專欄 - 分類2x2文章*/
  2692.    .default_animation.column_list_big_side_2x2_wrapper {
  2693.        display: block;
  2694.        position: relative;
  2695.        opacity:0;
  2696.        transform: translateY(15%);
  2697.    }
  2698.    .default_animation.act.column_list_big_side_2x2_wrapper {
  2699.        transition: all 0.5s ease-out;
  2700.        opacity: 1;
  2701.        transform: translateY(0);
  2702.    }
  2703.  
  2704.    /*熱搜*/
  2705.    .default_animation.hot_keyword_outside {
  2706.        display: block;
  2707.        position: relative;
  2708.        opacity:0;
  2709.        transform: translateY(15%);
  2710.    }
  2711.    .default_animation.act.hot_keyword_outside {
  2712.        transition: all 0.5s ease-out;
  2713.        opacity: 1;
  2714.        transform: translateY(0);
  2715.    }
  2716.  
  2717.    /*網站地上方*/
  2718.    .website_content_copyright_top .default_animation {
  2719.        display: block;
  2720.        position: relative;
  2721.        opacity:0;
  2722.        transform: translateY(15%);
  2723.    }
  2724.    .website_content_copyright_top .default_animation.act {
  2725.        transition: all 0.5s ease-out;
  2726.        opacity: 1;
  2727.        transform: translateY(0);
  2728.    }
  2729.  
  2730.  
  2731.    /*paralax test*/
  2732.    /* .ad_overflow_paralax {
  2733.        box-sizing: border-box;
  2734.        position: relative;
  2735.        overflow: hidden;
  2736.        
  2737.    }
  2738.    .ad_overflow_paralax>div:nth-child(2){
  2739.        position: relative;
  2740.        z-index: 0;
  2741.        margin: 5vw auto;
  2742.    }
  2743.    .ad_overflow_paralax .bg {
  2744.        position: absolute;
  2745.        z-index: 0;
  2746.        width: 100%;
  2747.        height: 100vh;
  2748.        background: url("https://www.residencestyle.com/wp-content/uploads/2016/05/Scandinavian-living-room-With-Plants-Decor.jpg")center center no-repeat;
  2749.        background-size: cover;
  2750.        opacity: 0.8;
  2751.        filter: blur(1px);
  2752.        transition: filter 0.3s linear;
  2753.        background-color: rgba(255 , 255, 255, 0.5)
  2754.        
  2755.    } */
  2756.  
  2757.  
  2758.    /* fadeIn */
  2759.    .fadeIn {
  2760.        position: relative;
  2761.        opacity:0;
  2762.    }
  2763.    .fadeIn.act {
  2764.        transition: all 1s ease-out;
  2765.        opacity: 1;
  2766.    }
  2767.    /* fadeUp */
  2768.    .fadeUp {
  2769.        position: relative;
  2770.        opacity:0;
  2771.        transform: translateY(3vw);
  2772.    }
  2773.    .fadeUp.act {
  2774.        transition: all 1s ease-out;
  2775.        opacity: 1;
  2776.        transform: translateY(0);
  2777.    }
  2778.    /* fadeDown */
  2779.    .fadeDown {
  2780.        position: relative;
  2781.        opacity:0;
  2782.        transform: translateY(-3vw);
  2783.    }
  2784.    .fadeDown.act {
  2785.        transition: all 1s ease-out;
  2786.        opacity: 1;
  2787.        transform: translateY(0);
  2788.    }
  2789.    /* fadeRight */
  2790.    .fadeRight {
  2791.        position: relative;
  2792.        opacity:0;
  2793.        transform: translateX(-3vw);
  2794.    }
  2795.    .fadeRight.act {
  2796.        transition: all 1s ease-out;
  2797.        opacity: 1;
  2798.        transform: translateX(0);
  2799.    }
  2800.    /* fadeLeft */
  2801.    .fadeLeft {
  2802.        position: relative;
  2803.        opacity:0;
  2804.        transform: translateX(3vw);
  2805.    }
  2806.    .fadeLeft.act {
  2807.        transition: all 1s ease-out;
  2808.        opacity: 1;
  2809.        transform: translateX(0);
  2810.    }
  2811.  
  2812.    /* delay */
  2813.    .animation_scroll.act.delay_1 {
  2814.        transition-delay: 0.3s;
  2815.    }
  2816.    .animation_scroll.act.delay_2 {
  2817.        transition-delay: 0.6s;
  2818.    }
  2819.    .animation_scroll.act.delay_3 {
  2820.        transition-delay: 0.9s;
  2821.    }
  2822.    .animation_scroll.act.delay_4 {
  2823.        transition-delay: 1.2s;
  2824.    }
  2825.    .animation_scroll.act.delay_5 {
  2826.        transition-delay: 1.5s;
  2827.    }
  2828.    .animation_scroll.act.delay_6 {
  2829.        transition-delay: 1.8s;
  2830.    }
  2831. </style>
  2832. <script>
  2833.  
  2834.    function animation_init(scrollTop,winH){
  2835.  
  2836.        $('.animation_scroll').each(function(){
  2837.            this_item = $(this);
  2838.            this_item.attr('data',this_item.offset().top);
  2839.            
  2840.            if(this_item.offset().top<scrollTop+(winH*24/24)){
  2841.                this_item.addClass('act')
  2842.            }else{
  2843.                this_item.removeClass('act').addClass('be');
  2844.            }
  2845.  
  2846.            if($(this).hasClass('ad_overflow_paralax')){
  2847.                $(this).children('.bg').css('height',$(this).outerHeight());
  2848.            }
  2849.        });
  2850.        //close_layer_loading();
  2851.        // console.log("animation_init{winH="+winH+";scrollTop="+scrollTop+"}");
  2852.    }
  2853.  
  2854.    function animation_cancel(choose_area){
  2855.        $(choose_area + ' .animation_scroll').addClass('act').removeClass('animation_scroll');
  2856.    }
  2857.  
  2858.    function video_init(scrollTop,winH){
  2859.        $('.video_autoplay').each(function(){
  2860.            this_item = ($(this)!='')? $(this) : $('body');
  2861.            this_item.attr('data',this_item.offset().top).prop("volume",0.5).addClass("muted");
  2862.            
  2863.            if(this_item.offset().top<scrollTop+(winH*7/8) && !$(this).hasClass("pause") ){
  2864.                if($(this).hasClass('_swiper')){
  2865.                    if($(this).parents('.swiper-slide').hasClass('swiper-slide-active')){
  2866.                        $(this).trigger('play');
  2867.                    }else{
  2868.                        $(this).trigger('pause');
  2869.                    }
  2870.                }else{
  2871.                    $(this).trigger('play');
  2872.                }
  2873.            }else{
  2874.                this_item.trigger('pause');
  2875.            }
  2876.        });
  2877.    }
  2878.  
  2879.    function paralax_move(scrollTop,winH){
  2880.        $('.ad_overflow_paralax').each(function(){
  2881.            //this_offset_Top = $(this).attr('data');
  2882.            this_offset_Top = $(this).offset().top;
  2883.            this_height = $(this).outerHeight();
  2884.            //console.log(this_offset_Top+" / "+this_height);
  2885.            if( this_offset_Top-(winH*8/8) < scrollTop && this_offset_Top+this_height > scrollTop ){
  2886.                $(this).children('.bg').css("transform","translate3d(0px,"+Math.round((this_offset_Top-scrollTop)*(-1+1/3))+"px,0px)");
  2887.            }
  2888.        });
  2889.    }
  2890.  
  2891.    function numCounter__test(item) {
  2892.        counter_item = item
  2893.  
  2894.        if(counter_item.hasClass("counter-item")){
  2895.            console.log(counter_item.parents(".content_module_wrap").attr("id"))
  2896.            //console.log(item)
  2897.            cm_num = counter_item.find(".cm_num");
  2898.            console.log("count:"+cm_num.attr("countTo"));
  2899.        }
  2900.    }
  2901.  
  2902.    function numCounter() {
  2903.        const counters = document.querySelectorAll(".cm_numCounter .cm_num");
  2904.  
  2905.        const formatNumber = (num) => {
  2906.            return Math.floor(num).toLocaleString();
  2907.        };
  2908.  
  2909.        const startCounting = (counter) => {
  2910.        const target = parseInt(counter.getAttribute("countTo"));
  2911.        let current = 0;
  2912.        const duration = 2000;
  2913.        const frameRate = 60;
  2914.        const totalFrames = Math.round((duration / 1000) * frameRate);
  2915.        const increment = target / totalFrames;
  2916.        let frame = 0;
  2917.  
  2918.        const counterUpdater = setInterval(() => {
  2919.            frame++;
  2920.            current += increment;
  2921.            if (frame >= totalFrames) {
  2922.                current = target;
  2923.                clearInterval(counterUpdater);
  2924.            }
  2925.            counter.textContent = formatNumber(current);
  2926.        }, 1000 / frameRate);
  2927.        };
  2928.  
  2929.        const observer = new IntersectionObserver((entries, observer) => {
  2930.            entries.forEach(entry => {
  2931.                if (entry.isIntersecting) {
  2932.                    const counter = entry.target;
  2933.                    if (!counter.classList.contains('counted')) {
  2934.                        counter.classList.add('counted');
  2935.                        startCounting(counter);
  2936.                    }
  2937.                }
  2938.            });
  2939.        }, { threshold: 0.1 });
  2940.  
  2941.        counters.forEach(counter => observer.observe(counter));
  2942.    }
  2943.    
  2944.  
  2945.    $(document).ready(function(){
  2946.        //header.js 內宣告全域變數 scrollTop,winH
  2947.  
  2948.        //show_layer_loading();
  2949.  
  2950.        $('.master_vision_index.footer_menu_outside').addClass('scroll');
  2951.        
  2952.        animation_init(scrollTop,winH);
  2953.  
  2954.        //$(".video_autoplay").trigger('play');
  2955.        $(".video_autoplay").on('load',function(){
  2956.            $(this).trigger('play');
  2957.        })
  2958.        
  2959.        
  2960.  
  2961.        $(window).on("load",function(){
  2962.            console.log('onload');
  2963.            scrollTop = $(window).scrollTop();
  2964.            animation_init(scrollTop,winH);
  2965.            video_init(scrollTop,winH);
  2966.            paralax_move(scrollTop,winH);
  2967.        })
  2968.  
  2969.        $(window).resize(function(){
  2970.            animation_init(scrollTop,winH);
  2971.            video_init(scrollTop,winH);
  2972.            paralax_move(scrollTop,winH);
  2973.        })
  2974.  
  2975.  
  2976.  
  2977.        $(window).scroll(function(){
  2978.            scrollTop = $(window).scrollTop();
  2979.  
  2980.            if( scrollTop > 10 ){
  2981.                $('.master_vision_index.footer_menu_outside').removeClass('scroll');
  2982.            } else {
  2983.                $('.master_vision_index.footer_menu_outside').addClass('scroll');
  2984.                $(".footer_menu_outside .cus_btn.more").removeClass("open");
  2985.            }
  2986.            
  2987.            
  2988.            $('.animation_scroll.be').each(function(){
  2989.                if($(this).attr('data')<scrollTop+(winH*24/24)){
  2990.                    $(this).removeClass('be').addClass('act');
  2991.                }
  2992.            });
  2993.  
  2994.            paralax_move(scrollTop,winH);
  2995.  
  2996.            $('.video_autoplay').each(function(){
  2997.                this_offset_Top = $(this).attr('data');
  2998.                this_height = $(this).height();
  2999.                if( this_offset_Top < scrollTop+(winH*6/8) && this_offset_Top > scrollTop-this_height/3 && !$(this).hasClass("pause")){
  3000.                    if($(this).hasClass('_swiper')){
  3001.                        if($(this).parents('.swiper-slide').hasClass('swiper-slide-active')){
  3002.                            $(this).trigger('play');
  3003.                        }else{
  3004.                            $(this).trigger('pause');
  3005.                        }
  3006.                    }else{
  3007.                        $(this).trigger('play');
  3008.                    }
  3009.                    
  3010.                }else{
  3011.                    $(this).trigger('pause').addClass('muted').prop("muted",true).siblings('.controler').children(".btn-volume").html('volume <i class="fa-solid fa-volume-xmark"></i>');
  3012.                }
  3013.            });
  3014.            
  3015.        })
  3016.  
  3017.        numCounter()
  3018.  
  3019.        // $('.ad_overflow_paralax .content').hover(function(){
  3020.        //     $(this).siblings('.bg').toggleClass('hover');
  3021.        // },function(){
  3022.        //     $(this).siblings('.bg').toggleClass('hover');
  3023.        // })
  3024.  
  3025.        // $('#id_tr_pay_type img , #id_tr_freight img').click(function(){
  3026.        //     setTimeout(function(){animation_init(scrollTop,winH)},1000);
  3027.        //     console.log('click');
  3028.        // })
  3029.    })
  3030.    
  3031. </script>
  3032.  
  3033. <script type="module">
  3034.  
  3035.    /**
  3036.     * 指定callback class增加act
  3037.     */
  3038.    const animation_scroll_callback = (entries, owner) => {
  3039.        entries.forEach((entry)=>{
  3040.            const target = entry.target;
  3041.  
  3042.            if(entry.isIntersecting){
  3043.  
  3044.                target.classList.add("act");
  3045.  
  3046.            }else {
  3047.  
  3048.                // target.classList.remove("act");
  3049.                // target.classList.add("be");
  3050.                
  3051.            }
  3052.        })
  3053.    }
  3054.    
  3055.    /**
  3056.     * 監聽指定物件是否進入視窗口
  3057.     */
  3058.    const observer = new IntersectionObserver(animation_scroll_callback);
  3059.  
  3060.    const animation_scroll = document.querySelectorAll(".animation_scroll");
  3061.    if(animation_scroll.length > 0 ){
  3062.        animation_scroll.forEach((item) => {
  3063.            observer.observe(item);
  3064.        })
  3065.    }
  3066.  
  3067.  
  3068.  
  3069. </script>
  3070. <script type="application/ld+json" async>{"@context":"http:\/\/schema.org","@type":"Organization","legalName":"STIGA\u53f0\u7063\u7e3d\u4ee3\u7406","url":"https:\/\/www.stiga.com.tw","logo":"https:\/\/pic.vcp.tw\/upload\/stiga\/website_info\/pic_logo_1.jpeg?1672399823","email":"","telephone":"0222436346","address":{"@type":"PostalAddress","postalCode":"235","streetAddress":"\u65b0\u5317\u5e02\u4e2d\u548c\u5340\u4e2d\u5c71\u8def\u4e8c\u6bb5362-2\u865f2\u6a13"},"contactPoint":{"@type":"ContactPoint","telephone":"+886-2-2243-6346","contactType":"customer service","availableLanguage":"tw","areaServed":"tw"}}</script><script type="application/ld+json" async>{"@context":"http:\/\/schema.org","@type":"Website","name":"STIGA | \u745e\u5178\u570b\u969b\u4e52\u4e53\u7403\u53f0\u7063\u4ee3\u7406\u5546","alternateName":"STIGA","url":"https:\/\/www.stiga.com.tw","potentialAction":{"@type":"SearchAction","target":"https:\/\/www.stiga.com.tw\/product_search.php?product_keyword={search_term_string}","query-input":"required name=search_term_string"}}</script>
  3071. </head>
  3072. <body id="id_pc_body" >
  3073. <div id="id_layer_alert_bg" style="width:100%;height:100%;position:fixed;top:0px;left:0px;z-index:2000;display:none;"></div>
  3074. <div id="id_layer_alert_box" style="width:100%;height:100%;position:fixed;top:120px;left:0px;z-index:2002;border:0px solid #FF0000;display:none;">
  3075. <table width="400" border="0" cellpadding="4" cellspacing="8" align="center" style="border-radius:4px;background-color:#CCCCCC;overflow: hidden;box-shadow: 1px 1px 2px 2px #666;">
  3076. <tr>
  3077. <td class="ds_main_bg_color ds_main_text_color" style="color: #666666;font-weight:bold;text-align:left;display: flex;align-items: center;flex-direction: row;padding:6px;">
  3078. <span id="id_layer_alert_icon" style="color: #FFFFFF;font-size: 14px;background-color: #019bdb;border-radius: 30px;padding: 2px 10px;margin-right: 5px;">!</span>提示訊息 </td>
  3079. </tr>
  3080. <tr>
  3081. <td style="background-color:#FFFFFF;padding-top:20px;">
  3082. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  3083. <tr>
  3084. <td style="text-align:left;vertical-align:top;padding:8px 10px;"><span id="id_layer_alert_info" style="line-height:30px;"></span></td>
  3085. </tr>
  3086. <tr>
  3087. <td style="text-align:center;padding:15px 0px;"><div style="text-align:center;padding:10px;cursor:pointer;" id="id_layer_alert_onclick" onclick="close_layer_alert()"><span class="ds_main_bg_color ds_main_text_color" style="padding:5px 10px;color:#666666;border:1px solid #CCCCCC;background-color:#EEEEEE;">OK</span></div></td>
  3088. </tr>
  3089. </table>
  3090. </td>
  3091. </tr>
  3092. </table>
  3093. </div>
  3094.  
  3095. <div id="id_layer_msg_bg" style="width:100%;height:100%;position:fixed;top:0px;left:0px;z-index:2000;background-color:#000000;filter:alpa(opacity=50);-moz-opacity:0.5;-khtml-opacity:0.5;opacity:0.5;-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);display:none;"></div>
  3096. <div id="id_layer_msg_box" class="layer_msg_outside" style="display:none;">
  3097. <table border="0" cellpadding="0" cellspacing="4" align="center" class="layer_msg_inside" style="">
  3098. <tr>
  3099. <td id="id_layer_msg_close" class="layer_msg_close" style="" onclick="close_layer_msg()"><i class="fa fa-times-circle" style="color:#666666;font-weight:bold;padding:5px;font-size:25px;"></i></td>
  3100. </tr>
  3101. <tr>
  3102. <td>
  3103. <div id="id_layer_msg_info" class="layer_msg_info" style=""></div>
  3104. </td>
  3105. </tr>
  3106. <tr>
  3107. <td style="min-height:25px"></td>
  3108. </tr>
  3109. </table>
  3110. </div>
  3111. <div id="id_layer_fullscreen_bg" style="width:100%;height:100%;position:fixed;top:0px;left:0px;z-index:3000;background-color:#000000;filter:alpa(opacity=90);-moz-opacity:0.9;-khtml-opacity:0.9;opacity:0.9;-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=90)';filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=90);display:none;"></div>
  3112. <div id="id_layer_fullscreen_box" style="width:100%;height:100%;position:fixed;top:0%;left:0px;z-index:3001;border:0px solid #FF0000;display:none;">
  3113. <table border="0" cellpadding="0" cellspacing="4" align="center" style="width:100%;height:100%;border:0px solid #CCCCCC;border-radius:10px;">
  3114. <tr>
  3115. <td>
  3116. <div class="clear">
  3117. <div style="float:left;width:40%;text-align:left;color:#FFFFFF;"><span style="padding-left:20px;font-size:80%;color:#CCCCCC;" id="id_layer_fullscreen_caption"></span></div>
  3118. <div style="float:right;width:40%;text-align:right;" id="id_layer_fullscreen_close" onclick="close_layer_fullscreen()"><i class="fa fa-times-circle" style="color:#FFFFFF;font-weight:bold;padding-right:20px;font-size:25px;"></i></div>
  3119. </div>
  3120. </td>
  3121. </tr>
  3122. <tr>
  3123. <td>
  3124. <div id="id_layer_fullscreen_info" style="margin:0px auto;width:98%;height:-50px;overflow-x:hidden;overflow-y:hidden;border:0px solid #FFFFFF;"></div>
  3125. </td>
  3126. </tr>
  3127. </table>
  3128. </div>
  3129.  
  3130. <div id="id_popup_customSize">
  3131. <div class="popup_mask"></div>
  3132. <div class="popup_box">
  3133. <div class="popup_close" onclick="close_popup_customSize()">X</div>
  3134. <div class="popup_info"><div class="popup_test"></div></div>
  3135. </div>
  3136. </div>
  3137.  
  3138. <div id="id_popup_customSize_cookie" style="display:none">
  3139. <div class="popup_box">
  3140. <div class="popup_info"><div class="popup_test"></div></div>
  3141. </div>
  3142. </div>
  3143.  
  3144.  
  3145. <div class="popup_standard_select_wrap _div_layer"></div>
  3146.  
  3147. <div id="id_layer_loading_bg" style="width:100%;height:100%;position:fixed;top:0px;left:0px;z-index:2000;background-color:#EFEFEF;filter:alpa(opacity=80);-moz-opacity:0.6;-khtml-opacity:0.6;opacity:0.6;display:none;"></div>
  3148. <div id="id_layer_loading_box" style="width:100%;position:fixed;top:30%;left:0px;z-index:2001;font-size:90%;text-align:center;border:0px solid #FF0000;display:none;background-color:transparent;">
  3149. <!-- <i class="fa fa-spinner"></i>&nbsp;&nbsp;&nbsp; Please Wait ... -->
  3150. <img src="https://cdn.matrixec.com/fs/all/LINE_spinner_light.svg" alt="">
  3151. </div>
  3152.  
  3153. <!-- <div>這是新版alert</div> -->
  3154. <!-- Facebook SDK -->
  3155.  
  3156. <!-- LIFF -->
  3157.  
  3158. <script charset="utf-8" src="https://static.line-scdn.net/liff/edge/2/sdk.js"></script>
  3159. <script>
  3160. $(function() {
  3161.  
  3162. if (typeof liff !== undefined) {
  3163.  
  3164. console.log('LIFF START');
  3165.  
  3166. liff_main();
  3167. }
  3168. })
  3169.  
  3170. function liff_main() {
  3171.  
  3172. if (!(!liff.isInClient() && navigator.userAgent.match("Android"))) { // Android 外部瀏覽器 不顯示遮罩
  3173.  
  3174. if (!liff.isInClient()) show_layer_loading();
  3175. }
  3176.  
  3177. liff
  3178. .init({
  3179. liffId: '1657662956-ljewX6qm'
  3180. })
  3181. .then(() => {
  3182.  
  3183. close_layer_loading();
  3184.  
  3185. console.log('LIFF INIT SUCCESS : ' + liff.id);
  3186.  
  3187. const website_ec_type = '';
  3188. const web_host_url = 'https://www.stiga.com.tw';
  3189. const m2_member_sn = '';
  3190. const member_sn = '';
  3191. const login_error_session = '';
  3192.  
  3193.  
  3194. // liff url v1 網址轉導處理
  3195. let this_location_url = new URL(location);
  3196.  
  3197. const v1_redirect = this_location_url.searchParams.get('v1_redirect'); // /member_referrer?a=1&b=2&action=share
  3198. const liff_action = this_location_url.searchParams.get('liff_action'); // 實際轉跳後的行為
  3199. const utm_source = this_location_url.searchParams.get('utm_source');
  3200. const need_login = this_location_url.searchParams.get('need_login');
  3201. const login_error = this_location_url.searchParams.get('login_error');
  3202. const pre_shoppingcar_member_sn = this_location_url.searchParams.get('pre_shoppingcar_member_sn');
  3203.  
  3204. console.log('LIFF URL : https://liff.line.me/' + liff.id + this_location_url.pathname + this_location_url.search + this_location_url.hash);
  3205.  
  3206. if (typeof v1_redirect === 'string') { // 透過v1 liff 強制開啟 liff
  3207.  
  3208. show_layer_loading();
  3209.  
  3210. window.location.href = v1_redirect;
  3211.  
  3212. } else {
  3213.  
  3214. // LINE POINTS 轉跳強制登入
  3215. if (!liff.isInClient()) {
  3216.  
  3217. console.log('LIFF IN EXTERNAL');
  3218.  
  3219. if (!liff.isLoggedIn()) {
  3220.  
  3221. if (location.pathname == '/line_shopping_redirect.php') {
  3222.  
  3223. liff.login({
  3224. redirectUri: location.href
  3225. });
  3226.  
  3227. } else {
  3228.  
  3229. close_layer_loading();
  3230. }
  3231. }
  3232. }
  3233.  
  3234. // LINE購物 and LINE直播 導流的使用者
  3235. if (typeof utm_source === 'string' && utm_source == 'lineoa') {
  3236.  
  3237. if (!liff.isLoggedIn()) liff_login();
  3238. }
  3239.  
  3240. if (liff.isLoggedIn()) {
  3241.  
  3242. console.log("LIFF IS LOGGEDIN");
  3243.  
  3244. liff.getProfile()
  3245. .then(function(profile) {
  3246.  
  3247. var line_uuid = '';
  3248. var agent_shopping = '';
  3249.  
  3250. if ((agent_shopping || (member_sn > 0 && line_uuid != '' && (pre_shoppingcar_member_sn == null || pre_shoppingcar_member_sn == ''))) && !need_login) {
  3251.  
  3252. // alert("登入中");
  3253. close_layer_loading();
  3254.  
  3255. } else {
  3256.  
  3257. show_layer_loading();
  3258.  
  3259. var user = liff.getDecodedIDToken();
  3260. var location_path = web_host_url + '/social_user_login.php';
  3261. var social_login_state = '461d191a7e8951f1edf5658c9ad8a181'; // 從 PHP 取得通用的 state token
  3262.  
  3263. location_path += "?social_website=line";
  3264. location_path += "&social_user_id=" + profile.userId;
  3265. location_path += "&name=" + profile.displayName;
  3266. if (user !== null) location_path += "&email=" + user.email;
  3267. location_path += "&photo=" + profile.pictureUrl;
  3268. location_path += "&social_login_state=" + social_login_state; // 加入通用的 state token
  3269.  
  3270. if (typeof pre_shoppingcar_member_sn === 'string' && pre_shoppingcar_member_sn != '') location_path += "&pre_shoppingcar_member_sn=" + pre_shoppingcar_member_sn;
  3271.  
  3272. if (member_sn > 0 && line_uuid != '' && line_uuid != profile.userId) {
  3273. alert("與登入中使用者資料不符,請確認LINE帳號是否相符");
  3274. close_layer_loading();
  3275. return;
  3276. }
  3277.  
  3278. if (login_error_session == 'block' || login_error == 'block') {
  3279.  
  3280. if (!liff.isInClient()) liff.logout();
  3281.  
  3282. close_layer_loading();
  3283.  
  3284. } else {
  3285.  
  3286. window.location = location_path;
  3287. }
  3288.  
  3289. return;
  3290. }
  3291.  
  3292. if (typeof liff_action === 'string') { // 轉跳到對應頁面判斷是否有行為
  3293.  
  3294. switch (liff_action) {
  3295.  
  3296. case "share": // 分享
  3297.  
  3298. if (this_location_url.pathname.substr(0, 7) != "/share/") { // share 這頁是專門用來分享的頁面,不需要這個參數
  3299.  
  3300. share_with_friend();
  3301. }
  3302. break;
  3303. case "share_fb":
  3304.  
  3305. if (document.getElementById('fbShareBtn')) {
  3306. FB.ui({
  3307. display: 'popup',
  3308. method: 'share',
  3309. href: 'https://liff.line.me/1657662956-ljewX6qm/index.php?utm_source=m2&utm_medium=guest',
  3310. }, function(response) {});
  3311. }
  3312.  
  3313. break;
  3314. case "open_with_liff": // 強制開啟LIFF
  3315.  
  3316. if (!liff.isInClient()) open_with_liff();
  3317.  
  3318. break;
  3319. case "to_shopping_car":
  3320.  
  3321. if (this_location_url.pathname.indexOf('shopping_car') == "-1") window.location = "/shopping_car.php";
  3322.  
  3323. break;
  3324. case "to_get_ecid":
  3325.  
  3326. to_get_ecid();
  3327.  
  3328. break;
  3329. case "scan_code":
  3330.  
  3331. liff.scanCodeV2()
  3332. .then((result) => {
  3333. console.log(result)
  3334. scan_response.value = result.value;
  3335. })
  3336. .catch((error) => {
  3337. Swal.fire({
  3338. title: '錯誤',
  3339. icon: 'error',
  3340. text: "無法開啟掃描器,請重新登入後再嘗試一次。" + error,
  3341. showDenyButton: false,
  3342. confirmButtonText: '確定',
  3343. });
  3344. console.log(error);
  3345. });
  3346. break;
  3347. default:
  3348. break;
  3349. }
  3350. }
  3351.  
  3352. }).catch(function(error) {
  3353.  
  3354. // alert('get profile error: '+ error);
  3355. // liff.login();
  3356. close_layer_loading();
  3357. });
  3358. }
  3359. }
  3360. })
  3361. .catch((err) => {
  3362.  
  3363. console.log('LIFF ERROR :', err.code, err.message);
  3364.  
  3365. var err_msg = err.code + ' ' + err.message;
  3366.  
  3367. if (false) {
  3368.  
  3369. $.ajax({
  3370.  
  3371. url: 'ajax_website_module_api.php',
  3372. method: 'POST',
  3373. data: {
  3374. module_type: 'line_notify',
  3375. title: 'LIFF初始化失敗',
  3376. msg: err_msg,
  3377. param: {
  3378. 'code': err.code,
  3379. 'message': err.message,
  3380. 'getOS': liff.getOS(),
  3381. 'isInClient': liff.isInClient(),
  3382. 'location': window.location.href,
  3383. 'agent': navigator.userAgent
  3384. }
  3385. },
  3386. success: function(res) {},
  3387. error: function(err) {}
  3388. });
  3389. }
  3390.  
  3391. close_layer_loading();
  3392. });
  3393. }
  3394.  
  3395. // 還沒用
  3396. function liff_init() { // new
  3397.  
  3398. const member_sn = '';
  3399.  
  3400. liff
  3401. .init({
  3402. liffId: '1657662956-ljewX6qm'
  3403. })
  3404. .then(() => {
  3405.  
  3406. // alert("init success");
  3407.  
  3408. if (liff.isLoggedIn()) {
  3409.  
  3410. if (!member_sn) { // 尚未登入
  3411.  
  3412. let id_token = liff.getIDToken();
  3413.  
  3414. // alert('login');
  3415.  
  3416. $.ajax({
  3417.  
  3418. url: 'ajax_member_module_api.php',
  3419. method: 'POST',
  3420. data: {
  3421. module_type: 'background_login',
  3422. id_token: id_token
  3423. },
  3424. success: function(res) {
  3425.  
  3426. console.log('id_token_res', res);
  3427. },
  3428. error: function(err) {
  3429.  
  3430. console.log('id_token_err', err);
  3431. },
  3432. complete: function() {
  3433.  
  3434. // alert('login finish');
  3435. }
  3436.  
  3437. });
  3438. }
  3439. }
  3440. })
  3441. .catch((err) => {
  3442.  
  3443. console.log('LIFF ERROR :', err.code, err.message);
  3444. });
  3445.  
  3446. }
  3447. // 還沒用
  3448. function background_login() {
  3449.  
  3450. $.ajax({
  3451.  
  3452. url: 'ajax_member_module_api.php',
  3453. method: 'GET',
  3454. data: {
  3455. module_type: ''
  3456. },
  3457. success: function(res) {
  3458. $(".order_history .data_list").html(res);
  3459. },
  3460. error: function(err) {
  3461. console.log(err)
  3462. },
  3463. complete: function() {
  3464.  
  3465. }
  3466. });
  3467. }
  3468.  
  3469. function check_ecid(this_member_sn, times) {
  3470.  
  3471. var check_status = false;
  3472.  
  3473. console.log('check ecid start', times);
  3474.  
  3475. if (times == 0) {
  3476.  
  3477. if (liff.isInClient()) liff.closeWindow();
  3478. return false;
  3479. }
  3480.  
  3481. times--;
  3482.  
  3483. $.ajax({
  3484.  
  3485. url: "./api_liff.php",
  3486. method: 'GET',
  3487. data: {
  3488. mode: 'check_ecid',
  3489. member_sn: this_member_sn
  3490. },
  3491. success: function(res) {
  3492.  
  3493. if (res == "true") {
  3494.  
  3495. if (liff.isInClient()) liff.closeWindow();
  3496.  
  3497. } else {
  3498.  
  3499. console.log('check ecid start false', times);
  3500. setTimeout(() => {
  3501. check_ecid(this_member_sn, times);
  3502. }, 1000);
  3503. }
  3504. },
  3505. error: function(err) {
  3506.  
  3507. console.log('check_err', err)
  3508. },
  3509. complete: function() {
  3510.  
  3511. }
  3512. });
  3513. }
  3514. </script>
  3515.  
  3516.  
  3517. <!-- line tag -->
  3518. <!-- LINE Tag Base Code -->
  3519. <!-- Do Not Modify -->
  3520. <script>
  3521. (function(g,d,o){
  3522. g._ltq=g._ltq||[];g._lt=g._lt||function(){g._ltq.push(arguments)};
  3523. var h=location.protocol==='https:'?'https://d.line-scdn.net':'http://d.line-cdn.net';
  3524. var s=d.createElement('script');s.async=1;
  3525. s.src=o||h+'/n/line_tag/public/release/v1/lt.js';
  3526. var t=d.getElementsByTagName('script')[0];t.parentNode.insertBefore(s,t);
  3527. })(window, document);
  3528. _lt('init', {
  3529. customerType: 'account',
  3530. tagId: '6762c9ef-1078-4543-b5ad-26ef3d2a663a'
  3531. });
  3532. _lt('send', 'pv', ['6762c9ef-1078-4543-b5ad-26ef3d2a663a']);
  3533. </script>
  3534. <noscript>
  3535. <img height="1" width="1" style="display:none"
  3536. src="https://tr.line.me/tag.gif?c_t=lap&t_id=6762c9ef-1078-4543-b5ad-26ef3d2a663a&e=pv&noscript=1" />
  3537. </noscript>
  3538. <!-- End LINE Tag Base Code -->
  3539.  
  3540. <!-- likr 禾多 -->
  3541.  
  3542. <div id="id_body" class="div_body page_index ds_bg_color">
  3543.  
  3544. <div id="fancy-popup" style="display: none;">
  3545. 此網址不支援彈跳視窗,請改用其他方式
  3546. </div>
  3547.  
  3548.        <!-- <div style="position: absolute; color: transparent;pointer-events:none;"><h1>STIGA | 瑞典國際乒乓球台灣代理商</h1></div> -->
  3549.        <header id="id_master_menu_v1" class="_v1 refactor has_master_vision">
  3550.                <nav id="nav_container" class="   _size">
  3551.            <div class="inside">
  3552.                                        <div class="ms_menu_bg_fixed scroll_to_fixed ds_nav_bg_color ds_nav_text_color" id="id_ms_menu_bg"></div>
  3553.                        <div class="ms_menu_bg master_vision_index"></div>
  3554.                        
  3555.                <div id="id_master_menu" class="">
  3556.                    
  3557.                    <div id="id_master_menu_website_logo" class="master_vision_index">
  3558.  
  3559.                        <a href="https://www.stiga.com.tw"><img src="https://pic.vcp.tw/upload/stiga/website_info/pic_logo_1.jpeg?1672399823" alt="STIGA | 瑞典國際乒乓球台灣代理商"></a>
  3560.  
  3561.                                            </div>
  3562.                    <div id="id_master_menu_website_content_top_left" class="master_vision_index">
  3563.                                            </div>
  3564.  
  3565.                    <div id="id_master_menu_website_content_top_right" class="master_vision_index no_website_content_top_left"  >
  3566.                                            </div>
  3567.                    
  3568.                    
  3569.                        <div id="id_master_menu_website_tool" class="master_vision_index no_website_content_top_left ds_nav_text_color">
  3570.  
  3571.                                                            <div class="cursor master_menu_member" onclick="to_show_member_login_layer()">
  3572.                                    <i class="fas fa-user-plus"></i>
  3573.                                </div>
  3574.                            
  3575.                            <div id="id_bag_inside_text" class="cursor bag_inside_text"  onclick="to_shopping_car()" onmouseover="to_show_top_shopping_car_list('id_bag_inside_text','open')" onmouseout="to_show_top_shopping_car_list('id_bag_inside_text','hidden')"><i class="fas fa-cart-arrow-down"></i> (<span id="id_top_shopping_car_amount"></span>)</div>
  3576.                            
  3577.                            <div class="cursor master_menu_search" onclick="to_show_search_layer('')"><i class="fas fa-search"></i></div>
  3578.                        </div>
  3579.  
  3580.                        <div id="id_top_shopping_car_list" class="top_shopping_car_list" onmouseover="to_slideOver('id_top_shopping_car_list')" onmouseout="to_slideOut('id_top_shopping_car_list')" style="z-index:999"></div>
  3581.  
  3582.                        <script language="javascript">
  3583.                            to_show_top_shopping_car('1');
  3584.                            to_show_top_shopping_car_list("id_bag_inside_text","onscroll");
  3585.                        </script>
  3586.                                        
  3587. <script>
  3588.    $(document).ready(function(){
  3589.        
  3590.        var main_data=0, catarogy_1 = 0, catarogy_2 = 0;
  3591.  
  3592.        $('#id_master_menu_catalog_icon').click(function(){
  3593.            $('#id_master_catalog_collapse_wrap').css('left','0');
  3594.            $('#id_master_catalog_collapse_mask, #id_master_catalog_collapse_close').fadeIn(300);
  3595.        });
  3596.  
  3597.        $('#id_master_catalog_collapse_close,#id_master_catalog_collapse_mask').click(function(){
  3598.            $('#id_master_catalog_collapse_wrap').css('left','-30%');
  3599.            $('.ms_category_1').removeClass('act').children('.ms_category_item').removeClass('open');
  3600.            main_data=0, catarogy_1 = 0, catarogy_2 = 0;
  3601.            $('#id_master_catalog_collapse_mask, #id_master_catalog_collapse_close').fadeOut(300);
  3602.        });
  3603.  
  3604.        $(".collapse .ms_main_menu dd").hover(function(){
  3605.            //觸發文字
  3606.            $(this).find('.name_standard').css('opacity',0);
  3607.            $(this).find('.name_hover').css('opacity',1);
  3608.  
  3609.            //子選單
  3610.            if(main_data != $(this).attr('data')){
  3611.                $('.ms_main_menu dd').removeClass('hover');
  3612.                $(this).addClass('hover');
  3613.  
  3614.                if($(this).hasClass('has_sub')){
  3615.                    $('.ms_category_1').addClass('act');
  3616.                }else {
  3617.                    $('.ms_category_1').removeClass('act');
  3618.                }
  3619.                
  3620.                $('.ms_category_1 .ms_category_item').removeClass('open');
  3621.                main_data = $(this).attr('data');
  3622.                //console.log(main_data);
  3623.                setTimeout(function(){
  3624.                    $('.ms_category_1 .ms_category_item[data='+main_data+']').addClass('open');
  3625.                }, 0);
  3626.            }
  3627.        },function(){
  3628.            $(this).find('.name_standard').css('opacity',1);
  3629.            $(this).find('.name_hover').css('opacity',0);
  3630.        });
  3631.  
  3632.        $(".collapse .ms_catagory_1 dd").hover(function(){
  3633.            if(catarogy_1 != $(this).attr('data')){
  3634.                $('.ms_catagory_1 dd').removeClass('hover');
  3635.                $(this).addClass('hover');
  3636.                $('.ms_catagory_3').removeClass('act').children('dl').removeClass('open');
  3637.                $('.ms_catagory_2').addClass('act');
  3638.                $('.ms_catagory_2 dl').removeClass('open');
  3639.                catarogy_1 = $(this).attr('data');
  3640.  
  3641.                setTimeout(function(){
  3642.                    $('.ms_catagory_2 dl[data='+catarogy_1+']').addClass('open');
  3643.                }, 0);
  3644.            }
  3645.        });
  3646.  
  3647.        // $(".collapse .ms_catagory_2 dd").hover(function(){
  3648.        //     if(catarogy_2 != $(this).attr('data')){
  3649.        //         $('.ms_catagory_2 dd').removeClass('hover');
  3650.        //         $(this).addClass('hover');
  3651.        //         $('.ms_catagory_3').addClass('act');
  3652.        //         $('.ms_catagory_3 dl').removeClass('open');
  3653.        //         catarogy_2 = $(this).attr('data');
  3654.  
  3655.        //         setTimeout(function(){
  3656.        //             $('.ms_catagory_3 dl[data='+catarogy_2+']').addClass('open');
  3657.        //         }, 0);
  3658.        //     }
  3659.        // });
  3660.  
  3661.        // $(".collapse .ms_catagory_3 dd").hover(function(){
  3662.        //     $(this).addClass('hover');
  3663.        // },function(){
  3664.        //     $(this).removeClass('hover');
  3665.        // });
  3666.  
  3667.        var winX = $(window).width();
  3668.  
  3669.        // $(".expand .ms_main_menu li").hover(function(){
  3670.            
  3671.        //     if(main_data!=$(this).attr('data')){
  3672.  
  3673.        //         $(".expand .ms_main_menu li").removeClass('hover');
  3674.  
  3675.        //         $(this).addClass('hover');
  3676.  
  3677.        //         this_y = winX*0.5/100;
  3678.        //         this_x = $(this).offset().left - winX*2/100;
  3679.        //         this_arrow_x = $(this).width()/2 + winX*2/100;
  3680.  
  3681.        //         if( this_x > winX/2 ){
  3682.        //             this_x = this_x + $(this).width() - $('.expand .ms_catagory_1 >div[data='+$(this).attr('data')+']').outerWidth() + winX*4/100;
  3683.        //             this_arrow_x = $('.expand .ms_catagory_1 >div[data='+$(this).attr('data')+']').outerWidth() - winX*2/100 - $(this).width()/2;
  3684.        //         }
  3685.  
  3686.        //         $('.expand .ms_catagory_1 .ms_catagory_item').hide();
  3687.        //         $('.expand .ms_catagory_1 .ms_catagory_item[data='+$(this).attr('data')+'] .arrow').css('left',this_arrow_x);
  3688.        //         $('.expand .ms_catagory_1 .ms_catagory_item[data='+$(this).attr('data')+']').css({'top':this_y,'left':this_x}).fadeIn(200);
  3689.        //     }
  3690.  
  3691.        //     main_data = $(this).attr('data');
  3692.        // });
  3693.  
  3694.        $(".expand .ms_main_menu>li").hover(function(){
  3695.            $(this).find('.name_standard').css('opacity',0);
  3696.            $(this).find('.name_hover').css('opacity',1);
  3697.  
  3698.            this_offset_side = ($(this).offset().left < winX/2)? $(this).offset().left : winX-$(this).offset().left-$(this).width();
  3699.            this_x = 0;
  3700.            this_arrow_x = $(this).width()/2;
  3701.  
  3702.            this_submenu_width = $(this).children('.ms_catagory_item').width();
  3703.  
  3704.            if( this_offset_side + this_submenu_width > winX*0.8 ){
  3705.                
  3706.                this_x =  (winX - this_submenu_width)/2 - $(this).offset().left;
  3707.                this_arrow_x = this_arrow_x - this_x;
  3708.  
  3709.            }else if( $(this).offset().left > winX/2 ) {
  3710.  
  3711.                this_x = this_x - this_submenu_width + $(this).width();
  3712.                this_arrow_x = this_submenu_width - this_arrow_x;
  3713.  
  3714.            };
  3715.  
  3716.            if( this_submenu_width > winX/2 ){
  3717.  
  3718.                this_x = this_x/2;
  3719.                this_arrow_x = this_arrow_x + this_x;
  3720.  
  3721.            };
  3722.            
  3723.            // 如超出視窗右方 推回超出的數值
  3724.            if ( this_submenu_width + this_x - $(this).width() - this_offset_side > 0 &&
  3725.                 $(this).offset().left > winX/2 ) {
  3726.                
  3727.                var over_side = ( this_submenu_width + this_x - $(this).width() - this_offset_side ) ;
  3728.            
  3729.                this_x = this_x - over_side * 1.1 ;
  3730.                this_arrow_x = this_arrow_x + over_side * 1.1 ;
  3731.            };
  3732.  
  3733.  
  3734.            $(this).find('.arrow').css('left',this_arrow_x);
  3735.            $(this).children('.ms_catagory_item').css('left',this_x);
  3736.            $(this).children('.ms_catagory_item').stop().fadeIn(400);
  3737.  
  3738.        },function(){
  3739.            $(this).find('.name_standard').css('opacity',1);
  3740.            $(this).find('.name_hover').css('opacity',0);
  3741.            $(this).children('.ms_catagory_item').stop().fadeOut(200);
  3742.        });
  3743.  
  3744.        $(".master_menu_member").hover(function(){
  3745.            $("#id_member_center_list").stop().slideDown(200);
  3746.        },function(){
  3747.            $("#id_member_center_list").stop().slideUp(200);
  3748.        })
  3749.  
  3750.        $(window).scroll(function(){
  3751.            $('.expand .ms_catagory_1 .ms_catagory_item').fadeOut(300);
  3752.            main_data = 0;
  3753.  
  3754.            if(scrollTop>100){
  3755.  
  3756.                $('#id_master_menu_website_content_top_left,#id_master_menu_website_content_top_right,#id_master_menu_website_tool, .website_nav').addClass('scroll');
  3757.                //$('#id_master_menu_website_logo').fadeOut(300);
  3758.  
  3759.                if($('.ms_menu_bg_fixed').hasClass('scroll_to_collapse')){//有主視覺
  3760.  
  3761.                    $('#id_master_menu_website_logo,#id_master_menu_catalog_icon').addClass('scroll');
  3762.                    
  3763.                    //$('#id_master_menu_catalog_icon').fadeIn(300);
  3764.                    
  3765.                    if($('#id_master_catalog_expand_wrap .stage>li').hasClass('show')){
  3766.                        menu_counts = $('#id_master_catalog_expand_wrap .stage>li:last-child').index();
  3767.                        $('#id_master_catalog_expand_wrap .stage>li').each(function(){
  3768.                            this_index = $(this).index()+1;
  3769.                            $(this).css('transition-delay',0.1+(menu_counts-this_index)*0.05+'s').removeClass('show');
  3770.                        });
  3771.                    }
  3772.  
  3773.                }else{
  3774.                    $('#id_master_menu_website_logo,#id_master_menu_catalog_logo,#id_master_catalog_expand_wrap,.ms_menu_bg_fixed').addClass('scroll');
  3775.                }
  3776.                
  3777.                //$('#id_master_catalog_expand_wrap .stage>li').removeClass('show');
  3778.            }else if(scrollTop == 0){
  3779.  
  3780.                $('#id_master_menu_website_content_top_left,#id_master_menu_website_content_top_right,#id_master_menu_website_tool, .website_nav').removeClass('scroll');
  3781.  
  3782.                //$('#id_master_menu_website_logo').fadeIn(300);
  3783.                
  3784.                if($('.ms_menu_bg_fixed').hasClass('scroll_to_collapse')){
  3785.  
  3786.                    $('#id_master_menu_website_logo,#id_master_menu_catalog_icon').removeClass('scroll');
  3787.                    
  3788.                    //$('#id_master_menu_catalog_icon').fadeOut(300);
  3789.                    
  3790.                    if(!$('#id_master_catalog_expand_wrap .stage>li').hasClass('show')){
  3791.                        $('#id_master_catalog_expand_wrap .stage>li').each(function(){
  3792.                            this_index = $(this).index()+1;
  3793.                            $(this).css('transition-delay',0.1+this_index*0.05+'s').addClass('show');
  3794.                        });
  3795.                    }
  3796.  
  3797.                }else{
  3798.                    $('#id_master_menu_website_logo,#id_master_menu_catalog_logo,#id_master_catalog_expand_wrap,.ms_menu_bg_fixed').removeClass('scroll');
  3799.                }
  3800.                //$('#id_master_catalog_expand_wrap .stage>li').addClass('show');
  3801.            }
  3802.        });
  3803.  
  3804.        $(document).ready(function(){
  3805.            $('#id_master_catalog_expand_wrap .stage>li').each(function(){
  3806.                this_index = $(this).index()+1;
  3807.                $(this).css('transition-delay',0.5+this_index*0.1+'s').addClass('show');
  3808.  
  3809.                
  3810.            });
  3811.  
  3812.            setTimeout(function() {
  3813.                $('#id_master_catalog_expand_wrap .stage>li').each(function(){
  3814.                    this_index = $(this).index()+1;
  3815.                    $(this).css('transition-delay',0.1+this_index*0.05+'s');
  3816.                });
  3817.            }, 1000);
  3818.        })
  3819.  
  3820.    });
  3821. </script>
  3822.  
  3823.  
  3824.  
  3825. <div id="id_master_catalog_expand_wrap" class="expand master_vision_index no_website_content_top_left scroll_to_fixed">
  3826.  
  3827.    <ul class="stage ms_main_menu">
  3828.                    
  3829.            <li data='26'
  3830.  
  3831.                        >
  3832.                <a title="" class=" ds_nav_text_color" href="wc-45" target="_self" style="color:;background-color:;">
  3833.                    
  3834.                <span class="name_standard">                                                    關於STIGA                                            </span>    
  3835.                    
  3836.                    
  3837.                    <span class="name_hover">關於STIGA</span>
  3838.                </a>
  3839.  
  3840.                            </li>
  3841.                        
  3842.            <li data='27'
  3843.  
  3844.                        >
  3845.                <a title="" class=" ds_nav_text_color" href="wc-48" target="_self" style="color:;background-color:;">
  3846.                    
  3847.                <span class="name_standard">                                                    六角拍賽博6                                            </span>    
  3848.                    
  3849.                    
  3850.                    <span class="name_hover">Cybershape</span>
  3851.                </a>
  3852.  
  3853.                            </li>
  3854.                        
  3855.            <li data='23'
  3856.  
  3857.                        >
  3858.                <a title="" class=" ds_nav_text_color" href="https://www.stiga.com.tw/product_store?store_type_sn=23" target="_self" style="color:;background-color:;">
  3859.                    
  3860.                <span class="name_standard">                                                    桌球拍                                            </span>    
  3861.                    
  3862.                    
  3863.                    <span class="name_hover">桌球拍</span>
  3864.                </a>
  3865.  
  3866.                                    <div class="ms_catagory_item" data='2'>
  3867.                        <div class="ms_catagory_item_wrap">
  3868.                            
  3869.                            <div class="ms_catagory_item_flex">
  3870.                                <ul class="category_1" >
  3871.                                                                                <li class="ms_catagory_item_list" data='37'
  3872.                                                                                            >
  3873.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=37" target="_self">
  3874.                                                    <div class="icon_nun"></div>
  3875.                                                                                                                    <div class="txt" >六角拍賽博6</div>
  3876.                                                                                                                
  3877.                                              
  3878.                                                    
  3879.  
  3880.                                                </a>
  3881.                                            </li>
  3882.                                                                                    <li class="ms_catagory_item_list" data='41'
  3883.                                                                                            >
  3884.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=41" target="_self">
  3885.                                                    <div class="icon_nun"></div>
  3886.                                                                                                                    <div class="txt" >純力系列</div>
  3887.                                                                                                                
  3888.                                              
  3889.                                                    
  3890.  
  3891.                                                </a>
  3892.                                            </li>
  3893.                                                                                    <li class="ms_catagory_item_list" data='42'
  3894.                                                                                            >
  3895.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=42" target="_self">
  3896.                                                    <div class="icon_nun"></div>
  3897.                                                                                                                    <div class="txt" >湧動混碳系列</div>
  3898.                                                                                                                
  3899.                                              
  3900.                                                    
  3901.  
  3902.                                                </a>
  3903.                                            </li>
  3904.                                                                                    <li class="ms_catagory_item_list" data='14'
  3905.                                                                                            >
  3906.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=14" target="_self">
  3907.                                                    <div class="icon_nun"></div>
  3908.                                                                                                                    <div class="txt" >Defensive系列</div>
  3909.                                                                                                                
  3910.                                              
  3911.                                                    
  3912.  
  3913.                                                </a>
  3914.                                            </li>
  3915.                                                                                    <li class="ms_catagory_item_list" data='15'
  3916.                                                                                            >
  3917.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=15" target="_self">
  3918.                                                    <div class="icon_nun"></div>
  3919.                                                                                                                    <div class="txt" >VPS系列</div>
  3920.                                                                                                                
  3921.                                              
  3922.                                                    
  3923.  
  3924.                                                </a>
  3925.                                            </li>
  3926.                                                                                    <li class="ms_catagory_item_list" data='16'
  3927.                                                                                            >
  3928.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=16" target="_self">
  3929.                                                    <div class="icon_nun"></div>
  3930.                                                                                                                    <div class="txt" >Azalea系列</div>
  3931.                                                                                                                
  3932.                                              
  3933.                                                    
  3934.  
  3935.                                                </a>
  3936.                                            </li>
  3937.                                                                                    <li class="ms_catagory_item_list" data='17'
  3938.                                                                                            >
  3939.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=17" target="_self">
  3940.                                                    <div class="icon_nun"></div>
  3941.                                                                                                                    <div class="txt" >Ebenholz系列</div>
  3942.                                                                                                                
  3943.                                              
  3944.                                                    
  3945.  
  3946.                                                </a>
  3947.                                            </li>
  3948.                                                                                    <li class="ms_catagory_item_list" data='24'
  3949.                                                                                            >
  3950.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=24" target="_self">
  3951.                                                    <div class="icon_nun"></div>
  3952.                                                                                                                    <div class="txt" >Dynasty Carbon系列</div>
  3953.                                                                                                                
  3954.                                              
  3955.                                                    
  3956.  
  3957.                                                </a>
  3958.                                            </li>
  3959.                                                                                    <li class="ms_catagory_item_list" data='26'
  3960.                                                                                            >
  3961.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=26" target="_self">
  3962.                                                    <div class="icon_nun"></div>
  3963.                                                                                                                    <div class="txt" >Clipper系列</div>
  3964.                                                                                                                
  3965.                                              
  3966.                                                    
  3967.  
  3968.                                                </a>
  3969.                                            </li>
  3970.                                                                                    <li class="ms_catagory_item_list" data='13'
  3971.                                                                                            >
  3972.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=13" target="_self">
  3973.                                                    <div class="icon_nun"></div>
  3974.                                                                                                                    <div class="txt" >RoseWood系列</div>
  3975.                                                                                                                
  3976.                                              
  3977.                                                    
  3978.  
  3979.                                                </a>
  3980.                                            </li>
  3981.                                                                                    <li class="ms_catagory_item_list" data='12'
  3982.                                                                                            >
  3983.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=12" target="_self">
  3984.                                                    <div class="icon_nun"></div>
  3985.                                                                                                                    <div class="txt" >Carbanado系列</div>
  3986.                                                                                                                
  3987.                                              
  3988.                                                    
  3989.  
  3990.                                                </a>
  3991.                                            </li>
  3992.                                                                                    <li class="ms_catagory_item_list" data='10'
  3993.                                                                                            >
  3994.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=10" target="_self">
  3995.                                                    <div class="icon_nun"></div>
  3996.                                                                                                                    <div class="txt" >經典系列</div>
  3997.                                                                                                                
  3998.                                              
  3999.                                                    
  4000.  
  4001.                                                </a>
  4002.                                            </li>
  4003.                                                                        </ul>
  4004.  
  4005.                                <div class="dl_wrap">
  4006.  
  4007.                            
  4008.                                                                            <dl>
  4009.                                            <dt class="ms_catagory_item_list"
  4010.                                                                                            >  
  4011.                                
  4012.                        
  4013.  
  4014.                                                
  4015.                                                            <a title="" class="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=31" target="">休閒系列</a>
  4016.                                                        
  4017.                                                                                                        
  4018.                                            
  4019.  
  4020.                                            </dt>
  4021.                                                                                            <dd class="ms_catagory_item_list"
  4022.                                                                                                >
  4023.                                                    <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=35" target="_self">
  4024.                                                        <div class="icon_nun"></div>
  4025.                                                        
  4026.                                                                    <div class="txt" >STIGA 休閒型</div>
  4027.  
  4028.                                                                                                                        
  4029.                                                    </a>
  4030.                                                </dd>
  4031.                                                                                                <dd class="ms_catagory_item_list"
  4032.                                                                                                >
  4033.                                                    <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=34" target="_self">
  4034.                                                        <div class="icon_nun"></div>
  4035.                                                        
  4036.                                                                    <div class="txt" >STIGA 戶外型</div>
  4037.  
  4038.                                                                                                                        
  4039.                                                    </a>
  4040.                                                </dd>
  4041.                                                                                        </dl>
  4042.                                                                    </div>
  4043.  
  4044.                            </div>
  4045.                            
  4046.                            <div class="arrow"></div>
  4047.                        </div>
  4048.                        <!--<div class="arrow"></div>-->
  4049.                    </div>
  4050.                                </li>
  4051.                        
  4052.            <li data='31'
  4053.  
  4054.                        >
  4055.                <a title="" class=" ds_nav_text_color" href="https://www.stiga.com.tw/product_store?store_type_sn=31" target="_self" style="color:;background-color:;">
  4056.                    
  4057.                <span class="name_standard">                                                    桌球檯                                            </span>    
  4058.                    
  4059.                    
  4060.                    <span class="name_hover">TABLE</span>
  4061.                </a>
  4062.  
  4063.                            </li>
  4064.                        
  4065.            <li data='32'
  4066.  
  4067.                        >
  4068.                <a title="" class=" ds_nav_text_color" href="https://www.stiga.com.tw/product_store?store_type_sn=32" target="_self" style="color:;background-color:;">
  4069.                    
  4070.                <span class="name_standard">                                                    球拍膠皮                                            </span>    
  4071.                    
  4072.                    
  4073.                    <span class="name_hover">球拍膠皮</span>
  4074.                </a>
  4075.  
  4076.                            </li>
  4077.                        
  4078.            <li data='33'
  4079.  
  4080.                        >
  4081.                <a title="" class=" ds_nav_text_color" href="https://www.stiga.com.tw/product_store?store_type_sn=33" target="_self" style="color:;background-color:;">
  4082.                    
  4083.                <span class="name_standard">                                                    其他用品配備                                            </span>    
  4084.                    
  4085.                    
  4086.                    <span class="name_hover">其他用品配備</span>
  4087.                </a>
  4088.  
  4089.                                    <div class="ms_catagory_item" data='5'>
  4090.                        <div class="ms_catagory_item_wrap">
  4091.                            
  4092.                            <div class="ms_catagory_item_flex">
  4093.                                <ul class="category_1" >
  4094.                                                                                <li class="ms_catagory_item_list" data='27'
  4095.                                                                                            >
  4096.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=27" target="_self">
  4097.                                                    <div class="icon_nun"></div>
  4098.                                                                                                                    <div class="txt" >桌球</div>
  4099.                                                                                                                
  4100.                                              
  4101.                                                    
  4102.  
  4103.                                                </a>
  4104.                                            </li>
  4105.                                                                                    <li class="ms_catagory_item_list" data='19'
  4106.                                                                                            >
  4107.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=19" target="_self">
  4108.                                                    <div class="icon_nun"></div>
  4109.                                                                                                                    <div class="txt" >拍袋&背包</div>
  4110.                                                                                                                
  4111.                                              
  4112.                                                    
  4113.  
  4114.                                                </a>
  4115.                                            </li>
  4116.                                                                                    <li class="ms_catagory_item_list" data='20'
  4117.                                                                                            >
  4118.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=20" target="_self">
  4119.                                                    <div class="icon_nun"></div>
  4120.                                                                                                                    <div class="txt" >桌球鞋</div>
  4121.                                                                                                                
  4122.                                              
  4123.                                                    
  4124.  
  4125.                                                </a>
  4126.                                            </li>
  4127.                                                                                    <li class="ms_catagory_item_list" data='36'
  4128.                                                                                            >
  4129.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=36" target="_self">
  4130.                                                    <div class="icon_nun"></div>
  4131.                                                                                                                    <div class="txt" >配件</div>
  4132.                                                                                                                
  4133.                                              
  4134.                                                    
  4135.  
  4136.                                                </a>
  4137.                                            </li>
  4138.                                                                        </ul>
  4139.  
  4140.                                <div class="dl_wrap">
  4141.  
  4142.                            
  4143.                                                                    </div>
  4144.  
  4145.                            </div>
  4146.                            
  4147.                            <div class="arrow"></div>
  4148.                        </div>
  4149.                        <!--<div class="arrow"></div>-->
  4150.                    </div>
  4151.                                </li>
  4152.                        
  4153.            <li data='29'
  4154.  
  4155.                        >
  4156.                <a title="" class=" ds_nav_text_color" href="https://www.stiga.com.tw/physical_store.php" target="_self" style="color:;background-color:;">
  4157.                    
  4158.                <span class="name_standard">                                                    經銷商                                            </span>    
  4159.                    
  4160.                    
  4161.                    <span class="name_hover">經銷商</span>
  4162.                </a>
  4163.  
  4164.                            </li>
  4165.                </ul>
  4166.  
  4167. </div>
  4168.  
  4169.  
  4170. <div id="id_master_catalog_collapse_wrap" class="collapse dark">
  4171.  
  4172.    <div id="id_master_catalog_collapse_mask"></div>
  4173.  
  4174.    <div id="id_master_catalog_collapse_close"><i class="fas fa-times-circle"></i></div>
  4175.  
  4176.    <!--<div class="catagory_logo"><img src="https://pic.vcp.tw/upload/stiga/website_info/pic_logo_top_menu_1.jpeg?1652721395" alt=""></div>-->
  4177.  
  4178.    <div class="stage ms_main_menu">
  4179.        <dl>
  4180.            <dt>商品館別分類</dt>
  4181.                            <dd data='26' class="">
  4182.                    
  4183.                    <div class="icon"></div>                        
  4184.                        <a href="wc-45" target="_self" style="color:">
  4185.                            <span class="name_standard">關於STIGA</span>
  4186.                            <span class="name_hover">關於STIGA</span>
  4187.                        </a>
  4188.                                        
  4189.                </dd>
  4190.  
  4191.                                <dd data='27' class="">
  4192.                    
  4193.                    <div class="icon"></div>                        
  4194.                        <a href="wc-48" target="_self" style="color:">
  4195.                            <span class="name_standard">六角拍賽博6</span>
  4196.                            <span class="name_hover">Cybershape</span>
  4197.                        </a>
  4198.                                        
  4199.                </dd>
  4200.  
  4201.                                <dd data='23' class="has_sub">
  4202.                    
  4203.                    <div class="icon"></div>                        
  4204.                        <a href="https://www.stiga.com.tw/product_store?store_type_sn=23" target="_self" style="color:">
  4205.                            <span class="name_standard">桌球拍</span>
  4206.                            <span class="name_hover">桌球拍</span>
  4207.                        </a>
  4208.                                        
  4209.                </dd>
  4210.  
  4211.                                <dd data='31' class="">
  4212.                    
  4213.                    <div class="icon"></div>                        
  4214.                        <a href="https://www.stiga.com.tw/product_store?store_type_sn=31" target="_self" style="color:">
  4215.                            <span class="name_standard">桌球檯</span>
  4216.                            <span class="name_hover">TABLE</span>
  4217.                        </a>
  4218.                                        
  4219.                </dd>
  4220.  
  4221.                                <dd data='32' class="">
  4222.                    
  4223.                    <div class="icon"></div>                        
  4224.                        <a href="https://www.stiga.com.tw/product_store?store_type_sn=32" target="_self" style="color:">
  4225.                            <span class="name_standard">球拍膠皮</span>
  4226.                            <span class="name_hover">球拍膠皮</span>
  4227.                        </a>
  4228.                                        
  4229.                </dd>
  4230.  
  4231.                                <dd data='33' class="has_sub">
  4232.                    
  4233.                    <div class="icon"></div>                        
  4234.                        <a href="https://www.stiga.com.tw/product_store?store_type_sn=33" target="_self" style="color:">
  4235.                            <span class="name_standard">其他用品配備</span>
  4236.                            <span class="name_hover">其他用品配備</span>
  4237.                        </a>
  4238.                                        
  4239.                </dd>
  4240.  
  4241.                                <dd data='29' class="">
  4242.                    
  4243.                    <div class="icon"></div>                        
  4244.                        <a href="https://www.stiga.com.tw/physical_store.php" target="_self" style="color:">
  4245.                            <span class="name_standard">經銷商</span>
  4246.                            <span class="name_hover">經銷商</span>
  4247.                        </a>
  4248.                                        
  4249.                </dd>
  4250.  
  4251.                        </dl>
  4252.    </div>
  4253.  
  4254.    <div class="stage ms_category_1 ms_category">
  4255.                    <div class="ms_category_item" data='23'>桌球拍                                <div class="ms_category_item_wrap">
  4256.                    <ul class="category_1" >
  4257.                        <li class="ms_catagory_item_list" data='37'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=37" target="_self">六角拍賽博6</a></li><li class="ms_catagory_item_list" data='41'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=41" target="_self">純力系列</a></li><li class="ms_catagory_item_list" data='42'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=42" target="_self">湧動混碳系列</a></li><li class="ms_catagory_item_list" data='14'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=14" target="_self">Defensive系列</a></li><li class="ms_catagory_item_list" data='15'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=15" target="_self">VPS系列</a></li><li class="ms_catagory_item_list" data='16'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=16" target="_self">Azalea系列</a></li><li class="ms_catagory_item_list" data='17'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=17" target="_self">Ebenholz系列</a></li><li class="ms_catagory_item_list" data='24'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=24" target="_self">Dynasty Carbon系列</a></li><li class="ms_catagory_item_list" data='26'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=26" target="_self">Clipper系列</a></li><li class="ms_catagory_item_list" data='13'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=13" target="_self">RoseWood系列</a></li><li class="ms_catagory_item_list" data='12'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=12" target="_self">Carbanado系列</a></li><li class="ms_catagory_item_list" data='10'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=10" target="_self">經典系列</a></li>                    </ul>
  4258.                    <div class="dl_wrap">
  4259.                                                    <dl>
  4260.                                <dt class="ms_catagory_item_list"><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=31" target="">休閒系列</a></dt>
  4261.                                <dd class="ms_catagory_item_list"><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=35" target="_self">STIGA 休閒型</a></dd><dd class="ms_catagory_item_list"><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=34" target="_self">STIGA 戶外型</a></dd>                            </dl>
  4262.                                            </div>
  4263.                </div>
  4264.            </div>
  4265.                    <div class="ms_category_item" data='33'>其他用品配備                                <div class="ms_category_item_wrap">
  4266.                    <ul class="category_1" >
  4267.                        <li class="ms_catagory_item_list" data='27'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=27" target="_self">桌球</a></li><li class="ms_catagory_item_list" data='19'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=19" target="_self">拍袋&背包</a></li><li class="ms_catagory_item_list" data='20'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=20" target="_self">桌球鞋</a></li><li class="ms_catagory_item_list" data='36'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=36" target="_self">配件</a></li>                    </ul>
  4268.                    <div class="dl_wrap">
  4269.                                            </div>
  4270.                </div>
  4271.            </div>
  4272.            </div>
  4273.  
  4274.    <!-- <div class="stage ms_catagory_1 ms_catagory">
  4275.        <dl class="" data='23'>
  4276.                <dt>桌球拍</dt>
  4277.                    <dd data='37'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=37'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>六角拍賽博6</a></dd><dd data='41'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=41'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>純力系列</a></dd><dd data='42'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=42'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>湧動混碳系列</a></dd><dd data='14'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=14'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>Defensive系列</a></dd><dd data='15'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=15'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>VPS系列</a></dd><dd data='16'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=16'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>Azalea系列</a></dd><dd data='17'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=17'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>Ebenholz系列</a></dd><dd data='24'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=24'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>Dynasty Carbon系列</a></dd><dd data='26'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=26'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>Clipper系列</a></dd><dd data='13'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=13'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>RoseWood系列</a></dd><dd data='12'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=12'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>Carbanado系列</a></dd><dd data='10'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=10'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>經典系列</a></dd><dd data='31'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=31'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>休閒系列</a></dd>            </dl><dl class="" data='33'>
  4278.                <dt>其他用品配備</dt>
  4279.                    <dd data='27'><a href='https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=27'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>桌球</a></dd><dd data='19'><a href='https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=19'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>拍袋&背包</a></dd><dd data='20'><a href='https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=20'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>桌球鞋</a></dd><dd data='36'><a href='https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=36'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>配件</a></dd>            </dl>    </div>
  4280.  
  4281.    <div class="stage ms_catagory_2 ms_catagory">
  4282.        <dl class="" data='31'>
  4283.                <dt>休閒系列</dt>
  4284.                    <dd data='35'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=35'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>STIGA 休閒型</a></dd><dd data='34'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=34'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>STIGA 戶外型</a></dd>            </dl>    </div>
  4285.  
  4286.    <div class="stage ms_catagory_3 ms_catagory">
  4287.            </div> -->
  4288. </div>
  4289.                
  4290.                    <div id="id_master_menu_catalog_logo" class="master_vision_index">
  4291.                        <a href="https://www.stiga.com.tw"><img src="https://pic.vcp.tw/upload/stiga/website_info/pic_logo_top_menu_1.jpeg?1652721395"  alt="STIGA | 瑞典國際乒乓球台灣代理商"></a>
  4292.                    </div>
  4293.                
  4294.                    <div id="id_master_menu_catalog_icon" class="master_vision_index">
  4295.                        <i class="fas fa-bars"></i>
  4296.                    </div>
  4297.                </div>
  4298.            </div>
  4299.        </nav>
  4300.    </header>
  4301.     <!--link rel="stylesheet" href="fs/all/css/template.css"-->
  4302. <div class="master_vision ad_overflow_video animation_scroll default_animation">
  4303.    <div class="video_wrap">
  4304.        <video class='video_autoplay' preload='auto' loop muted playsinline autoplay style='width:100%;'><source src='https://pic.vcp.tw/upload/stiga/master_vision/background_1.mp4?1672399391' type='video/mp4'>Your browser does not support HTML5 video.</video><div class='mask'></div>    </div>
  4305.  
  4306.    <div class="content_wrap left_bottom">
  4307.        <!-- Luke ap_pc 主視覺的標題加上h1 -->
  4308.                            <div class="title" style="color:#;">STIGA 桌球世界品牌</div>
  4309.                        
  4310.        <div class="txt" style="color:#;">滿足您所有桌球的需求,輕鬆享受桌球樂趣</div>
  4311.        <div class="border_bottom" style="background-color:#"></div>
  4312.        <div class="description" style="color:#;"></div>
  4313.    </div>
  4314.            <div id="master_vision_scroll_down_button">
  4315.            <div>Scroll Down</div>
  4316.            <i class="fas fa-angle-double-down"></i>
  4317.            <div id="scroll_down_position"></div>
  4318.        </div>
  4319.    </div>    <script>
  4320.        $(function(){
  4321.            $("#master_vision_scroll_down_button").click(function(){
  4322.                to_scrollTo("scroll_down_position",600);
  4323.            })
  4324.        })
  4325.    </script>
  4326.  
  4327.  
  4328.            <div id="dlc_sn_108" class="content_module_wrap dlc_sn_108  " style=" padding-top:4%;padding-bottom:0%;">
  4329.                <div class="bg" style=""></div>
  4330.                <div class="content_module_inner triple_pic_average_space" style="">
  4331.                    <div class="content_wrap  " style="color:#;">
  4332.                        <div class="" >
  4333.                                        <div class="cm_title_wrap" style="border-bottom:0px solid">
  4334.                                        <h2 class="cm_title ds_text_caption_color ds_text_caption_size text_align_center" style=" font-size:vw;"><span style='font-size:140%;font-weight:800;'>全系列產品</span></h2>
  4335.                        
  4336.                        <h3 class="cm_subtitle ds_text_sub_caption_color ds_text_sub_caption_size text_align_center" style=" font-size:vw;"><span style='font-size:140%;font-weight:800;'>PRODUCTS</span></h3>
  4337.                                    </div>
  4338.                                    </div>
  4339.                    </div>
  4340.  
  4341.                    <div class="cm_pic cm_left  over_hidden" style="border-radius:none;">
  4342.                        <a class="cm_img" style="background-image:url('https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_1_108.png?1658716436'); background-size: cover;" href='https://www.stiga.com.tw/product_store?store_type_sn=23' target='_self' file_type='tw/product_store'></a>
  4343.  
  4344.                                            </div>
  4345.  
  4346.                    <div class="cm_pic cm_middle  over_hidden" style="border-radius:none;">
  4347.                        <a class="cm_img" style="background-image:url('https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_2_108.png?1658715468'); background-size: cover;" href='https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=27' target='_self' file_type='tw/product_category'></a>
  4348.  
  4349.                                            </div>
  4350.                    
  4351.                    <div class="cm_pic cm_right  over_hidden" style="border-radius:none;">
  4352.                        <a class="cm_img" style="background-image:url('https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_3_108.png?1658803485'); background-size: cover;" href='https://www.stiga.com.tw/product_store?store_type_sn=32' target='_self' file_type='tw/product_store'></a>
  4353.  
  4354.                                            </div>
  4355.                </div>
  4356.            </div>
  4357.                    <script type="module">
  4358.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4359.    
  4360.            $(function(){
  4361.                getVideoSizeProportion("dlc_sn_108");
  4362.            })
  4363.        </script>
  4364.                    <div id="dlc_sn_111" class="content_module_wrap dlc_sn_111  " style=" padding-top:2%;padding-bottom:2%;">
  4365.                <div class="bg" style=""></div>
  4366.                <div class="content_module_inner triple_pic_average_space" style="">
  4367.                    <div class="content_wrap  hide" style="color:#;">
  4368.                        <div class="" >
  4369.                                                    </div>
  4370.                    </div>
  4371.  
  4372.                    <div class="cm_pic cm_left  over_hidden" style="border-radius:none;">
  4373.                        <a class="cm_img" style="background-image:url('https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_1_111.png?1658715400'); background-size: cover;" href='https://www.stiga.com.tw/product_store?store_type_sn=31' target='_self' file_type='tw/product_store'></a>
  4374.  
  4375.                                            </div>
  4376.  
  4377.                    <div class="cm_pic cm_middle  over_hidden" style="border-radius:none;">
  4378.                        <a class="cm_img" style="background-image:url('https://pic.vcp.tw/upload/stiga/dynamic_layout_content/bg_pic_111.png?1658803595'); background-size: cover;" href='https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=19' target='_self' file_type='tw/product_category'></a>
  4379.  
  4380.                                            </div>
  4381.                    
  4382.                    <div class="cm_pic cm_right  over_hidden" style="border-radius:none;">
  4383.                        <a class="cm_img" style="background-image:url('https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_3_111.png?1658715243'); background-size: cover;" href='https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=36' target='_self' file_type='tw/product_category'></a>
  4384.  
  4385.                                            </div>
  4386.                </div>
  4387.            </div>
  4388.                    <script type="module">
  4389.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4390.    
  4391.            $(function(){
  4392.                getVideoSizeProportion("dlc_sn_111");
  4393.            })
  4394.        </script>
  4395.        <!-- 純文字 -->
  4396.            <div id="dlc_sn_110" class="content_module_wrap dlc_sn_110  " style=" padding-top:0%;padding-bottom:2%; ">
  4397.                <div class="bg" style=""></div>
  4398.                <div class="content_module_inner text_only " style="border-radius:none;">
  4399.                    <div class="content_wrap " style="">
  4400.                                    <div class="cm_title_wrap" style="border-bottom:0px solid">
  4401.                                        <h2 class="cm_title ds_text_caption_color ds_text_caption_size text_align_center" style=" font-size:vw;"><span style='font-size:140%;font-weight:800;'>熱賣商品</span></h2>
  4402.                        
  4403.                        <h3 class="cm_subtitle ds_text_sub_caption_color ds_text_sub_caption_size text_align_center" style=" font-size:vw;"><span style='font-size:140%;font-weight:800;'>POPULAR</span></h3>
  4404.                                    </div>
  4405.                                </div>
  4406.                </div>
  4407.            </div>
  4408.                    <script type="module">
  4409.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4410.    
  4411.            $(function(){
  4412.                getVideoSizeProportion("dlc_sn_110");
  4413.            })
  4414.        </script>
  4415.        <!-- embed M -->
  4416.            <div id="dlc_sn_109" class="content_module_wrap embed_module dlc_sn_109 overflow " style=" padding-top:0%;">
  4417.                <div class="bg" style=""></div>
  4418.                        <div class="ad_product_a6 animation_scroll default_animation">
  4419.    
  4420.            <div class="a6_title ds_main_color txt" style="color:#; background-color:#; padding-left: 1em">熱賣產品</div>    
  4421.            <ul class="a6_slider a6_slider_sn_1_embed_109">
  4422.                                    <li class="a6_list_item ds_standard_bg_color">
  4423.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_50.jpg?1658383122')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=50')">
  4424.                                                    </div>
  4425.                        <div class="ds_product_promotion_color">
  4426.                            <div class="promote">玫瑰木七夾板</div>
  4427.                        </div>
  4428.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>ROSEWOOD NCT VII 玫瑰七</h2></div>
  4429.    
  4430.                        <div class="parameter_link">
  4431.                            <span style="background-color:#100cc0; color:#fff">進攻型</span><span style="background-color:#100cc0; color:#fff">7層</span>
  4432.                        </div>
  4433.    
  4434.                        <div class="price">
  4435.                            <div class=" ds_product_price_color ds_product_price_size">
  4436.                                <span class='sale_price '>$6,600</span>                            </div>
  4437.                        </div>
  4438.  
  4439.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=50">直接購買</a></div></div>
  4440.                    </li>
  4441.                                        <li class="a6_list_item ds_standard_bg_color">
  4442.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_37.jpg?1657705922')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=37')">
  4443.                                                    </div>
  4444.                        <div class="ds_product_promotion_color">
  4445.                            <div class="promote"></div>
  4446.                        </div>
  4447.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>六角賽博Cybershape</h2></div>
  4448.    
  4449.                        <div class="parameter_link">
  4450.                            
  4451.                        </div>
  4452.    
  4453.                        <div class="price">
  4454.                            <div class=" ds_product_price_color ds_product_price_size">
  4455.                                <span class='sale_price '>$10,000</span>                            </div>
  4456.                        </div>
  4457.  
  4458.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=37">直接購買</a></div></div>
  4459.                    </li>
  4460.                                        <li class="a6_list_item ds_standard_bg_color">
  4461.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_42.jpeg?1672392830')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=42')">
  4462.                                                    </div>
  4463.                        <div class="ds_product_promotion_color">
  4464.                            <div class="promote">許昕設計款(藍標)</div>
  4465.                        </div>
  4466.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>DYNASTY CARBON XU XIN EDITION</h2></div>
  4467.    
  4468.                        <div class="parameter_link">
  4469.                            <span style="background-color:#100cc0; color:#fff">進攻型+</span><span style="background-color:#100cc0; color:#fff">5層+2層</span>
  4470.                        </div>
  4471.    
  4472.                        <div class="price">
  4473.                            <div class=" ds_product_price_color ds_product_price_size">
  4474.                                <span class='sale_price '>$10,000</span>                            </div>
  4475.                        </div>
  4476.  
  4477.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=42">直接購買</a></div></div>
  4478.                    </li>
  4479.                                        <li class="a6_list_item ds_standard_bg_color">
  4480.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_69.jpeg?1658397645')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=69')">
  4481.                                                    </div>
  4482.                        <div class="ds_product_promotion_color">
  4483.                            <div class="promote"></div>
  4484.                        </div>
  4485.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>網架測量尺</h2></div>
  4486.    
  4487.                        <div class="parameter_link">
  4488.                            
  4489.                        </div>
  4490.    
  4491.                        <div class="price">
  4492.                            <div class=" ds_product_price_color ds_product_price_size">
  4493.                                <span class='sale_price '>$160</span>                            </div>
  4494.                        </div>
  4495.  
  4496.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=69">直接購買</a></div></div>
  4497.                    </li>
  4498.                                        <li class="a6_list_item ds_standard_bg_color">
  4499.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_58.jpeg?1658393105')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=58')">
  4500.                                                    </div>
  4501.                        <div class="ds_product_promotion_color">
  4502.                            <div class="promote">ITTF認證國際比賽球</div>
  4503.                        </div>
  4504.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>STIGA 三星(ABS)塑料比賽球</h2></div>
  4505.    
  4506.                        <div class="parameter_link">
  4507.                            
  4508.                        </div>
  4509.    
  4510.                        <div class="price">
  4511.                            <div class=" ds_product_price_color ds_product_price_size">
  4512.                                <span class='sale_price '>$600</span>                            </div>
  4513.                        </div>
  4514.  
  4515.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=58">直接購買</a></div></div>
  4516.                    </li>
  4517.                                        <li class="a6_list_item ds_standard_bg_color">
  4518.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_43.jpeg?1658373586')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=43')">
  4519.                                                    </div>
  4520.                        <div class="ds_product_promotion_color">
  4521.                            <div class="promote">許昕黑標</div>
  4522.                        </div>
  4523.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>DYNASTY CARBON(許昕黑標)</h2></div>
  4524.    
  4525.                        <div class="parameter_link">
  4526.                            <span style="background-color:#100cc0; color:#fff">進攻型+</span><span style="background-color:#100cc0; color:#fff">5層+2層</span>
  4527.                        </div>
  4528.    
  4529.                        <div class="price">
  4530.                            <div class=" ds_product_price_color ds_product_price_size">
  4531.                                <span class='sale_price '>$8,800</span>                            </div>
  4532.                        </div>
  4533.  
  4534.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=43">直接購買</a></div></div>
  4535.                    </li>
  4536.                                        <li class="a6_list_item ds_standard_bg_color">
  4537.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_70.jpeg?1658397749')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=70')">
  4538.                                                    </div>
  4539.                        <div class="ds_product_promotion_color">
  4540.                            <div class="promote"></div>
  4541.                        </div>
  4542.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>STIGA 裁判三色牌配件組</h2></div>
  4543.    
  4544.                        <div class="parameter_link">
  4545.                            
  4546.                        </div>
  4547.    
  4548.                        <div class="price">
  4549.                            <div class=" ds_product_price_color ds_product_price_size">
  4550.                                <span class='sale_price '>$650</span>                            </div>
  4551.                        </div>
  4552.  
  4553.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=70">直接購買</a></div></div>
  4554.                    </li>
  4555.                                        <li class="a6_list_item ds_standard_bg_color">
  4556.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_66.jpeg?1672391237')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=66')">
  4557.                                                    </div>
  4558.                        <div class="ds_product_promotion_color">
  4559.                            <div class="promote">控78   速156   旋134 硬47.5°</div>
  4560.                        </div>
  4561.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>桌球膠皮 STIGA DNA PRO M</h2></div>
  4562.    
  4563.                        <div class="parameter_link">
  4564.                            <span style="background-color:#100cc0; color:#fff">控制 78</span><span style="background-color:#100cc0; color:#fff">速度 156</span>
  4565.                        </div>
  4566.    
  4567.                        <div class="price">
  4568.                            <div class=" ds_product_price_color ds_product_price_size">
  4569.                                <span class='sale_price '>$2,200</span>                            </div>
  4570.                        </div>
  4571.  
  4572.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=66">直接購買</a></div></div>
  4573.                    </li>
  4574.                                        <li class="a6_list_item ds_standard_bg_color">
  4575.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_52.jpg?1658390421')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=52')">
  4576.                                                    </div>
  4577.                        <div class="ds_product_promotion_color">
  4578.                            <div class="promote"></div>
  4579.                        </div>
  4580.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>CLIPPER CR WRB</h2></div>
  4581.    
  4582.                        <div class="parameter_link">
  4583.                            <span style="background-color:#100cc0; color:#fff">進攻型</span><span style="background-color:#100cc0; color:#fff">7層</span>
  4584.                        </div>
  4585.    
  4586.                        <div class="price">
  4587.                            <div class=" ds_product_price_color ds_product_price_size">
  4588.                                <span class='sale_price '>$3,000</span>                            </div>
  4589.                        </div>
  4590.  
  4591.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=52">直接購買</a></div></div>
  4592.                    </li>
  4593.                                </ul>
  4594.        </div>
  4595.    
  4596.        <script>
  4597.            $(".a6_slider_sn_1_embed_109").slick({
  4598.                autoplay: false,
  4599.                autoplaySpeed:5000,
  4600.                dots: true,
  4601.                speed: 700,
  4602.                slidesToShow: 5,
  4603.                slidesToScroll:5
  4604.            })
  4605.        </script>
  4606.                    </div>
  4607.                    <script type="module">
  4608.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4609.    
  4610.            $(function(){
  4611.                getVideoSizeProportion("dlc_sn_109");
  4612.            })
  4613.        </script>
  4614.                    <!-- 文繞圖 單圖 右圖左文 -->
  4615.            <div id="dlc_sn_94" class="content_module_wrap dlc_sn_94  " style=" padding-top:2%;padding-bottom:5%;">
  4616.                <div class="bg" style=""></div>
  4617.                <div class="content_module_inner text_wrap_single_left over_hidden" style="border-radius:none;">
  4618.                    <div class="content_wrap  animation_scroll fadeLeft  " style="">
  4619.                                    <div class="cm_title_wrap" style="border-bottom:1px solid">
  4620.                                        <h2 class="cm_title ds_text_caption_color ds_text_caption_size text_align_center" style=" font-size:vw;"><span style='font-weight:700;'>STIGA 專利六角球拍</span></h2>
  4621.                        
  4622.                        <h3 class="cm_subtitle ds_text_sub_caption_color ds_text_sub_caption_size text_align_center" style=" font-size:vw;">瑞典19歲小將莫雷加德得分利器</h3>
  4623.                                    </div>
  4624.                        <div class="cm_text_content ds_text_content_color ds_text_content_size text_align_center" style=" font-size:vw;">
  4625.                <br>六邊形球拍的重量跟STIGA的圓型球拍基本相同,而最佳擊球區域整體擴大到約1成。由於邊緣呈現一定角度,「不容易感覺到揮動球拍時的離心力,正手強攻時或許有違和感」,適合擅長前臺快攻和反手推擋的選手。        <div class="cm_cta_btn_wrap">
  4626.            <a class="cm_cta_btn ds_btn_cta" target="_self" href="https://www.stiga.com.tw/wc-48" style='color:#ffffff!important;background-color:#000000!important;' color='#ffffff,#' bg_color='#000000,#'>了解更多</a>
  4627.        </div>
  4628.                    </div>
  4629.                                </div>
  4630.                    <a class="cm_pic animation_scroll fadeRight " style="" href="javascript:void(0)">
  4631.                        <img alt="" src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_1_94.png?1672392502">
  4632.                                            </a>
  4633.                </div>
  4634.            </div>
  4635.                    <script type="module">
  4636.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4637.    
  4638.            $(function(){
  4639.                getVideoSizeProportion("dlc_sn_94");
  4640.            })
  4641.        </script>
  4642.                    <!-- 文繞影 左影右文-->
  4643.            <div id="dlc_sn_97" class="content_module_wrap dlc_sn_97  " style=" padding-top:2%;padding-bottom:5%;">
  4644.                <div class="bg" style=""></div>
  4645.                <div class="content_module_inner text_wrap_video_right over_hidden" style="border-radius:none;">
  4646.                    <div class="cm_video animation_scroll fadeRight ">
  4647.                                                    <video id="video_dlc_97" class="video_autoplay" loop muted playsinline autoplay>
  4648.                                <source src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/video_97.mp4?1672397090" type="video/mp4">
  4649.                                <!--source src="mov_bbb.ogg" type="video/ogg"-->
  4650.                                Your browser does not support HTML5 video.
  4651.                            </video>
  4652.  
  4653.                            
  4654.                                                        
  4655.                                                            <div class="controler">
  4656.                                    <div class="btn-stop">play <i class="far fa-play-circle"></i></div>
  4657.                                    <div class="btn-volume">volume <i class="fa-solid fa-volume-xmark"></i></div>
  4658.                                </div>
  4659.                                                    
  4660.                                                </div>
  4661.                    
  4662.                    <div class="content_wrap  animation_scroll fadeLeft  " style="">
  4663.                                    <div class="cm_title_wrap" style="border-bottom:1px solid">
  4664.                                        <h2 class="cm_title ds_text_caption_color ds_text_caption_size text_align_center" style=" font-size:vw;"><span style='font-weight:700;'>STIGA 獨家研發製成球拍</span></h2>
  4665.                        
  4666.                        <h3 class="cm_subtitle ds_text_sub_caption_color ds_text_sub_caption_size text_align_center" style=" font-size:vw;">柄式、重量、厚度</h3>
  4667.                                    </div>
  4668.                        <div class="cm_text_content ds_text_content_color ds_text_content_size text_align_center" style=" font-size:vw;">
  4669.                <br>每一隻球拍STIGA考量選手的特性,不管是重量、柄式等等,使用獨特的板材黏和技術與乾燥處理,創造出一支支輕量化以及符合商家的優質球板。        <div class="cm_cta_btn_wrap">
  4670.            <a class="cm_cta_btn ds_btn_cta" target="_self" href="https://www.stiga.com.tw/product_store?store_type_sn=23" style='color:#ffffff!important;background-color:#000000!important;' color='#ffffff,#000000' bg_color='#000000,#ffffff'>立即購買</a>
  4671.        </div>
  4672.                    </div>
  4673.                                </div>
  4674.                </div>
  4675.            </div>
  4676.            <script>
  4677.                
  4678.            </script>
  4679.                    <script type="module">
  4680.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4681.    
  4682.            $(function(){
  4683.                getVideoSizeProportion("dlc_sn_97");
  4684.            })
  4685.        </script>
  4686.                    <!-- 文繞圖 單圖 左圖右文 -->
  4687.            <div id="dlc_sn_20" class="content_module_wrap dlc_sn_20  " style="background-color: #ffffff; padding-top:5%;padding-bottom:5%;">
  4688.                <div class="bg" style=""></div>
  4689.                <div class="content_module_inner text_wrap_single_right over_hidden" style="border-radius:none;">
  4690.                    <a class="cm_pic animation_scroll fadeIn " href='https://www.stiga.com.tw/wc-45' target='_self' file_type='tw/wc-45'>
  4691.                        <img alt="" src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_1_20.png?1672391999">
  4692.                                            </a>
  4693.                    
  4694.                    <div class="content_wrap  animation_scroll fadeIn  " style="color:#ffffff;background-color: rgba(0,0,0,1);padding:2% 3%;">
  4695.                                    <div class="cm_title_wrap" style="border-bottom:0px solid">
  4696.                                        <h2 class="cm_title ds_text_caption_color ds_text_caption_size text_align_center" style="color:#ffffff; font-size:vw;">關於我們</h2>
  4697.                        
  4698.                        <h3 class="cm_subtitle ds_text_sub_caption_color ds_text_sub_caption_size text_align_center" style="color:#ffffff; font-size:vw;">BUILDING WORLD CHAMPIONS SINCE 1944</h3>
  4699.                                    </div>
  4700.                        <div class="cm_text_content ds_text_content_color ds_text_content_size text_align_center" style="color:#ffffff; font-size:vw;">
  4701.                STIGA 70多年來一直是乒乓球運動的世界領導者<br />
  4702. 台灣STIGA擁有優秀的國際團隊和精湛的STIGA製造技術<br />
  4703. 只為了提供給台灣消費者更好的選擇            </div>
  4704.                                </div>
  4705.                </div>
  4706.            </div>
  4707.                    <script type="module">
  4708.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4709.    
  4710.            $(function(){
  4711.                getVideoSizeProportion("dlc_sn_20");
  4712.            })
  4713.        </script>
  4714.        <!-- 輪播圖 -->
  4715.            <div id="dlc_sn_21" class="content_module_wrap dlc_sn_21 overflow " style=" padding-bottom:0%;">
  4716.                <div class="bg" style=""></div>
  4717.                <div class="content_module_inner slide_show_standard">
  4718.                    <div class="content_wrap full_width animation_scroll fadeIn  hide" style="color:#ffffff;">
  4719.                                            </div>
  4720.                    <div class="container animation_scroll fadeIn  over_hidden" style="border-radius:none;">
  4721.                                                        <div class="item" style="">
  4722.                                    <a href='https://www.stiga.com.tw/product_store?store_type_sn=31' target='_self' file_type='tw/product_store'>
  4723.                                        <div class="cm_pic cm_">
  4724.                                            <div class="cm_img"><img alt="" src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_1_21.png?1672391700"></div>
  4725.                                        </div>
  4726.                                        <div class="cm_pic_content_wrap" style="">
  4727.                                                                                
  4728.                                        </div>
  4729.                                    </a>
  4730.                                </div>
  4731.                                                                <div class="item" style="">
  4732.                                    <a href='https://www.stiga.com.tw/product_store?store_type_sn=31' target='_self' file_type='tw/product_store'>
  4733.                                        <div class="cm_pic cm_">
  4734.                                            <div class="cm_img"><img alt="" src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_2_21.png?1672391858"></div>
  4735.                                        </div>
  4736.                                        <div class="cm_pic_content_wrap" style="">
  4737.                                                                                
  4738.                                        </div>
  4739.                                    </a>
  4740.                                </div>
  4741.                                
  4742.                        <!--
  4743.                            <div class="item animation_scroll fadeIn ">
  4744.                                <a href='https://www.stiga.com.tw/product_store?store_type_sn=31' target='_self' file_type='tw/product_store' style="background-color:unset">
  4745.                                    <div class="cm_pic cm_1">
  4746.                                        <div class="cm_img"><img src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_1_21.png?1672391700"></div>
  4747.                                    </div>
  4748.                                    <div class="cm_pic_content_wrap">
  4749.                                                                            
  4750.                                    </div>
  4751.                                </a>
  4752.                            </div>
  4753.                            
  4754.                            <div class="item animation_scroll fadeIn ">
  4755.                                <a href='https://www.stiga.com.tw/product_store?store_type_sn=31' target='_self' file_type='tw/product_store' style="background-color:unset">
  4756.                                    <div class="cm_pic cm_2">
  4757.                                        <div class="cm_img"><img src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_2_21.png?1672391858"></div>
  4758.                                    </div>
  4759.                                    <div class="cm_pic_content_wrap">
  4760.                                                                            
  4761.                                    </div>
  4762.                                </a>
  4763.                            </div>
  4764.  
  4765.                            <div class="item animation_scroll fadeIn ">
  4766.                                <a href="javascript:void(0)" style="background-color:unset">
  4767.                                    <div class="cm_pic cm_3">
  4768.                                        <div class="cm_img"><img src=""></div>
  4769.                                    </div>
  4770.                                    <div class="cm_pic_content_wrap">
  4771.                                                                            
  4772.                                    </div>
  4773.                                </a>
  4774.                            </div>
  4775.  
  4776.                            <div class="item animation_scroll fadeIn ">
  4777.                                <a href="javascript:void(0)" style="background-color:unset">
  4778.                                    <div class="cm_pic cm_4">
  4779.                                        <div class="cm_img"><img src=""></div>
  4780.                                    </div>
  4781.                                    <div class="cm_pic_content_wrap">
  4782.                                                                            
  4783.                                    </div>
  4784.                                </a>
  4785.                            </div>
  4786.  
  4787.                            <div class="item animation_scroll fadeIn ">
  4788.                                <a href="javascript:void(0)" style="background-color:unset">
  4789.                                    <div class="cm_pic cm_5">
  4790.                                        <div class="cm_img"><img src=""></div>
  4791.                                    </div>
  4792.                                    <div class="cm_pic_content_wrap">
  4793.                                                                            
  4794.                                    </div>
  4795.                                </a>
  4796.                            </div>
  4797.                        -->
  4798.                    </div>
  4799.                </div>
  4800.            </div>
  4801.            <script>
  4802.                 window._modulePromises.push(new Promise(resolve => {
  4803.                    $("#dlc_sn_21 .container").slick({
  4804.                        autoplay: true,
  4805.                        autoplaySpeed:5000,
  4806.                        dots: true,
  4807.                        speed: 700,
  4808.                        slidesToShow: 1,
  4809.                        slidesToScroll:1
  4810.                    })
  4811.                    resolve();
  4812.                 }))
  4813.                
  4814.            </script>
  4815.                    <script type="module">
  4816.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4817.    
  4818.            $(function(){
  4819.                getVideoSizeProportion("dlc_sn_21");
  4820.            })
  4821.        </script>
  4822.         <div class="div_middle_box clear">
  4823.  
  4824. <div class="div_middle_left_big">
  4825. </div>
  4826.  
  4827. <div class="div_middle_right_small">
  4828. </div>
  4829.  
  4830. </div>
  4831.        <div style="position: absolute; color: transparent;pointer-events:none;width:100%;overflow:hidden;"><h1>STIGA | 瑞典國際乒乓球台灣代理商</h1></div>
  4832.    <div id="id_div_footer_top" style="clear:both;height:0px;"></div>
  4833. <ul class="website_content_copyright_top new ds_footer_bg_color ds_footer_text_color "><li class="animation_scroll default_animation" style="transition-delay:0.0s">
  4834. <dl>
  4835. <dt style="color:#; background-color:#">
  4836. <a class='img' onclick='to_ajax_count_website_content(46)'><img alt='LOGO' src='https://pic.vcp.tw/upload/stiga/website_content/caption_pic_out_46.jpeg?1652777500'></a> </dt>
  4837. </dl>
  4838. </li><li class="animation_scroll default_animation" style="transition-delay:0.2s">
  4839. <dl>
  4840. <dt style="color:#; background-color:#">
  4841. <a style='color:#;' onclick=to_ajax_count_website_content(25) >聯絡我們</a> </dt>
  4842. <dd  style="background-color:#">
  4843. <a style='color:#ffffff;' onclick=to_ajax_count_website_content(29) >客服聯繫:02-2243-6346</a> </dd>
  4844. <dd  style="background-color:#">
  4845. <a style='color:#ffffff;' onclick=to_ajax_count_website_content(31) >公司地址:新北市中和區中山路二段362-2號2樓</a> </dd>
  4846. <dd  style="background-color:#">
  4847. <a style='color:#ffffff;' onclick=to_ajax_count_website_content(32) >營業時間:週一~週五 09:00-18:00</a> </dd>
  4848. <dd  style="background-color:#">
  4849. <a style='color:#;' onclick=to_ajax_count_website_content(50) >Copyright 2022 ©乒乓世界桌球用品有限公司</a> </dd>
  4850. </dl>
  4851. </li><li class="animation_scroll default_animation" style="transition-delay:0.4s">
  4852. <dl>
  4853. <dt style="color:#; background-color:#">
  4854. <a style='color:#;' onclick=to_ajax_count_website_content(26) >客服中心</a> </dt>
  4855. <dd  style="background-color:#">
  4856. <a style='color:#;' onclick=to_ajax_count_website_content(33) href='website_contact'  target='_self'>常見問題</a> </dd>
  4857. <dd  style="background-color:#">
  4858. <a style='color:#;' onclick=to_ajax_count_website_content(34) href='https://www.stiga.com.tw/website_faq.php?category_sn=4'  target='_self'>退換貨說明</a> </dd>
  4859. <dd  style="background-color:#">
  4860. <a style='color:;' onclick=to_ajax_count_website_content(35) href='website_contact'  target='_self'>聯繫我們</a> </dd>
  4861. <dd  style="background-color:#">
  4862. <a style='color:#;' onclick=to_ajax_count_website_content(36) href='website_faq.php?category_sn=3'  target='_self'>訂購流程說明</a> </dd>
  4863. </dl>
  4864. </li><li class="animation_scroll default_animation" style="transition-delay:0.6s">
  4865. <dl>
  4866. <dt style="color:#; background-color:#">
  4867. <a style='color:#;' onclick=to_ajax_count_website_content(28) >關注我們</a> </dt>
  4868. <dd class='inline' style="background-color:#">
  4869. <a class='img' onclick='to_ajax_count_website_content(41)'href='https://www.facebook.com/stigatabletennis'  target='_self'><img alt='FB' src='https://pic.vcp.tw/upload/new/website_content/caption_pic_out_41.png?1634204572'></a> </dd>
  4870. <dd class='inline' style="background-color:#">
  4871. <a class='img' onclick='to_ajax_count_website_content(42)'href='https://www.youtube.com/user/stigatabletennis1944'  target='_self'><img alt='YT' src='https://pic.vcp.tw/upload/new/website_content/caption_pic_out_42.png?1634204594'></a> </dd>
  4872. <dd class='inline' style="background-color:#">
  4873. <a class='img' onclick='to_ajax_count_website_content(44)'href='https://lin.ee/2GVUWi3'  target='_self'><img alt='line' src='https://pic.vcp.tw/upload/new/website_content/caption_pic_out_44.png?1634204626'></a> </dd>
  4874. </dl>
  4875. </li></ul>
  4876. <div class="footer_copyright_outside footer_copyright_outside_bg ds_main_text_color ds_main_bg_color">
  4877. <div class="footer_copyright"><div><div style="text-align: center;">Copyright(C) STIGA Taiwan All Rights Reserved.</div></div></div>
  4878. </div>
  4879.  
  4880. <div id="id_fixed_left_other_viewing" style="position:fixed;bottom:10px;left:2px;display:none;">
  4881. </div>
  4882.  
  4883. <div id="id_fixed_right_top" style="position:fixed;top:150px;right:0px;display:none;">
  4884. </div>
  4885.  
  4886. <div id="id_fixed_right_bottom_product_view_record" style="position:fixed;bottom:145px;right:50px;z-index:900">
  4887.  
  4888. <div class="right_bottom_share_link ds_btn_cta" onclick="to_show_share_link()" title="分享">
  4889. <i class="fa-solid fa-share-nodes"></i>
  4890. </div>
  4891. <div class="ds_main_color ds_standard_bg_color" style="border-radius: 10px;">
  4892. <div class="product_view_record_button" onclick="to_show_product_view_record()">
  4893. <div class="this_icon"><i class="fa fa-heart"></i></div>
  4894. <div class="caption">看商品</div>
  4895. <div class="count">0</div>
  4896. </div>
  4897. </div>
  4898. <div class="right_bottom_line" style="width: 50px;">
  4899. <!-- <a onclick="ga_track_event('url','contact_us','Line')" href="https://lin.ee/2GVUWi3" target="_blank" title="LINE 我們"><img style="width:100%" src="./fs/all/line_100rb.png?s=1746996415" border="0" align="absmiddle"></a> -->
  4900. <a onclick="ga_track_event('url','contact_us','Line')" href="https://lin.ee/2GVUWi3" target="_blank" title="LINE 我們"><img style="width:100%" src="https://pic.vcp.tw/upload/matrixec/harddisc/file_name_237.png?s=1746996415" border="0" align="absmiddle"></a>
  4901. </div>
  4902. </div>
  4903.  
  4904.  
  4905. <div id="id_fixed_left_bottom">
  4906.  
  4907.    <!-- line_point -->
  4908.        
  4909.     <!-- line直播提醒 -->
  4910.        
  4911. </div>
  4912.  
  4913. <div id="id_fixed_right_bottom" style="position:fixed;bottom:5px;right:0px;display:none;z-index:900">
  4914. <div class="scroll_top_button" onclick="to_scroll_top()">
  4915. <div class="this_icon"><i class="fa fa-chevron-up"></i></div>
  4916. </div>
  4917. </div>
  4918.  
  4919. <div id="id_fixed_left_watermark" style="position:fixed;top:150px;left:10px;">
  4920. </div>
  4921.  
  4922.  
  4923.  
  4924.  
  4925. <div class="share_link_panel close">
  4926.  
  4927.    <div class="mask" onclick="to_show_share_link()"></div>
  4928.  
  4929.    <div class="wrap">
  4930.        <div class="caption">分享頁面</div>
  4931.        <div class="notice"><span onclick='to_show_member_login_layer()'>您尚未登入,連結無邀請功能<span></div>
  4932.        <div class="share_link_content">
  4933.            <div class='qrcode'><img src='https://api.qrserver.com/v1/create-qr-code/?size=300x300&margin=15&data=https%3A%2F%2Fliff.line.me%2F1657662956-ljewX6qm%2Findex.php%3Futm_source%3Dm2%26utm_medium%3Dguest'></div>
  4934.            <div class="btn_wrap">  
  4935.                <!-- line 分享 -->
  4936.                <div class="btn line_icon" onclick="share_with_friend()" title="line分享">
  4937.                    <div><i class="fab fa-line"></i></div>
  4938.                </div>
  4939.                                                    <div id="share_short_url_btn" onclick="to_check_short_code('https://www.stiga.com.tw/', '/index.php')" class="btn copy_btn" data-clipboard-text="https://www.stiga.com.tw/mgm/yLGiX9" title="複製分享鏈結">
  4940.                        <div><i class="fa-solid fa-link"></i></div>
  4941.                    </div>
  4942.                            </div>
  4943.        </div>
  4944.    </div>
  4945. </div>
  4946.  
  4947. <script>
  4948.    if (document.getElementById('fbShareBtn')) {
  4949.  
  4950.        document.getElementById('fbShareBtn').onclick = function() {
  4951.  
  4952.            FB.ui({
  4953.                display: 'popup',
  4954.                method: 'share',
  4955.                href: 'https://liff.line.me/1657662956-ljewX6qm/index.php?utm_source=m2&utm_medium=guest',
  4956.  
  4957.            }, function(response) {
  4958.                window.close();
  4959.            });
  4960.        }
  4961.    }
  4962.  
  4963.    if (document.getElementById('messengerShareBtn')) {
  4964.  
  4965.        document.getElementById('messengerShareBtn').onclick = function() {
  4966.            FB.ui({
  4967.                method: 'send',
  4968.                link: 'https://liff.line.me/1657662956-ljewX6qm/index.php?utm_source=m2&utm_medium=guest',
  4969.                display: 'popup'
  4970.            }, function(response) {});
  4971.        }
  4972.    }
  4973.  
  4974.    function to_show_share_link() {
  4975.        $(".share_link_panel").toggleClass("close");
  4976.        $(".footer_cus_btn").toggleClass("blur");
  4977.    }
  4978.  
  4979.    function to_check_short_code(short_url_source, php_self) {
  4980.  
  4981.        $("#share_short_url_btn div").toggleClass('fa-spin');
  4982.        $("#share_short_url_btn div i").toggleClass('fa-link fa-spinner');
  4983.  
  4984.        $.ajax({
  4985. type: 'POST',
  4986. url: './ajax_website_module_api.php',
  4987. data: {
  4988. 'module_type': 'to_check_short_code',
  4989. 'short_url_source': short_url_source,
  4990. 'php_self': php_self,
  4991. },
  4992. success: function(res) {
  4993.  
  4994.                to_show_share_link();
  4995.  
  4996.                let res_obj = JSON.parse(res);
  4997.  
  4998.                const Toast = Swal.mixin({
  4999.                    toast: true,
  5000.                    position: 'top-end',
  5001.                    showConfirmButton: false,
  5002.                    timer: 1500,
  5003.                    timerProgressBar: true,
  5004.                    didOpen: (toast) => {
  5005.                        toast.addEventListener('mouseenter', Swal.stopTimer)
  5006.                        toast.addEventListener('mouseleave', Swal.resumeTimer)
  5007.                    }
  5008.                })
  5009.  
  5010.                Toast.fire({
  5011.                    icon: res_obj.status,
  5012.                    title: res_obj.msg
  5013.                })
  5014.  
  5015. },
  5016. error: function(err) {
  5017.                console.log(err);
  5018. },
  5019. complete: function() {
  5020.                
  5021.                $("#share_short_url_btn div").toggleClass('fa-spin');
  5022.                $("#share_short_url_btn div i").toggleClass('fa-link fa-spinner');
  5023. }
  5024. });
  5025.    }
  5026. </script>
  5027.  
  5028.  
  5029. <script language="javascript">
  5030.  
  5031. var this_client_width = document.documentElement.clientWidth;
  5032.  
  5033. if(this_client_width > 1100){
  5034.  
  5035. document.getElementById("id_fixed_right_top").style.right="50px";
  5036. document.getElementById("id_fixed_right_bottom_product_view_record").style.right="50px";
  5037. document.getElementById("id_fixed_right_bottom").style.right="50px";
  5038. document.getElementById("id_fixed_left_other_viewing").style.left="50px";
  5039. /*
  5040. document.getElementById("id_fixed_right_top").style.right=(((this_client_width-1180)/2)-60)+'px';
  5041. document.getElementById("id_fixed_right_bottom_product_view_record").style.right=(((this_client_width-1180)/2)-60)+'px';
  5042. document.getElementById("id_fixed_right_bottom").style.right=(((this_client_width-1180)/2)-60)+'px';
  5043. document.getElementById("id_fixed_left_other_viewing").style.left=(((this_client_width-1180)/2)-80)+'px';
  5044. */
  5045.  
  5046. }else{
  5047.  
  5048. document.getElementById("id_fixed_right_top").style.right="20px";
  5049. document.getElementById("id_fixed_right_bottom_product_view_record").style.right="20px";
  5050. document.getElementById("id_fixed_right_bottom").style.right="20px";
  5051. }
  5052.  
  5053. if(navigator.userAgent.search("MSIE") > -1){
  5054.  
  5055. var ie_version = parseFloat(navigator.userAgent.match(/MSIE (\d\.*\d*)/i)[1]);
  5056.  
  5057. if(ie_version < 8){
  5058.  
  5059. show_layer_alert("很抱歉,IE 瀏覽器須在8.0以上才能順暢使用本站<BR>建議您也可使用 <a href='http://www.google.com.tw/chrome/index.html' target='_blank'>Chrome</a> 或 <a href='http://moztw.org/' target='_blank'>Firefox</a> <BR>感謝您的體諒與支持!");
  5060.  
  5061. }
  5062.  
  5063. }
  5064.  
  5065. function to_show_viewing_product(){
  5066.  
  5067. document.getElementById("id_fixed_left_other_viewing").style.display="";
  5068.  
  5069. $('#carouselv').jsCarousel({ onthumbnailclick: function(src) { alert(src); }, autoscroll: true, masked: false, itemstodisplay: 3, orientation: 'v' });
  5070. }
  5071. </script>
  5072.  
  5073.  
  5074.  
  5075. </div name="div_body">
  5076.  
  5077. </body>
  5078. </html>
  5079. <script>
  5080.    console.log(window._modulePromises);
  5081.    $(function(){
  5082.        Promise.all(window._modulePromises)
  5083.        .then(() => {
  5084.            console.log("module_ready")
  5085.                    })
  5086.        .catch(err => console.error('模組初始化錯誤', err));
  5087.    })
  5088.  
  5089. </script>
  5090.  
  5091. <!-- https://b1.luckybaby.tw/
  5092. liff.state=%2Fblog
  5093. code=JWja3rkTCcQxW6YHN5qh
  5094. state=xGFS4bQEjiI8
  5095. liffClientId=1657001010
  5096. liffRedirectUri=https%3A%2F%2Fb1.luckybaby.tw%2F%3Fliff.state%3D%252Fblog -->
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda