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="e20bf850b49e39523027cfc5699a54075b7fa29ee67ab9dab1481ad6a11928ab">
  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?1752201815" 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?1752201815" rel="stylesheet" type="text/css" >
  44.  
  45. <!-- master menu -->
  46. <link href="https://cdn.matrixec.com/fs/all/css/master_menu.css?1752201815" rel="stylesheet" type="text/css">
  47. <!-- 動態內容模組css -->
  48. <link id="dynamic_pc_css" href="https://cdn.matrixec.com/fs/all/css/content_module.css?1752201815" 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?1752201815" 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?1752201815">
  65. <link rel="stylesheet" href="https://cdn.matrixec.com/fs/all/slick-1.8.1/slick-theme.css?1752201815">
  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?1752237725" 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?1752237725"></script>
  122. <script language="javascript" src="https://cdn.matrixec.com/js/header.js?1752237725"></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 = 'o4o49hb0ofu1s2tv9cg11ddi87';
  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. var perry = 'abc';
  2078.  
  2079. if(redirect_url != ""){
  2080. var this_url = new URL(redirect_url);
  2081. }else{
  2082. var this_url = new URL(location);
  2083. }
  2084.  
  2085. var param = new URLSearchParams(this_url.search);
  2086.  
  2087. var this_v1_liff_url = "https://line.me/R/app/"+liff.id;
  2088.  
  2089. if(this_url.pathname.indexOf("shopping_car")>0) this_url.pathname = "/"; // 購物車要做第二次轉跳
  2090.  
  2091. if(param.get("liff_action")=="open_with_liff") param.delete("liff_action"); // 防止無限迴圈
  2092.  
  2093. if(m2_member_sn>0) param.set("m2_member_sn", m2_member_sn); // 推薦人SN
  2094.  
  2095. if(perry!="") param.set("perry", perry); // 推薦人SN
  2096.  
  2097. if(parseInt(this_member_sn)==0 || isNaN(parseInt(this_member_sn))){ // 未登入判斷購物車是否有商品
  2098.  
  2099. $.ajax({
  2100.  
  2101. url:"./api_liff.php",
  2102. method:'GET',
  2103. data:{
  2104. mode: 'check_member_shoppingcar',
  2105. shoppingcar_member_sn: shoppingcar_member_sn
  2106. },
  2107. async:false,
  2108. success:function(res){
  2109.  
  2110. if(res>0) param.set("pre_shoppingcar_member_sn", shoppingcar_member_sn);
  2111. },
  2112. error:function(err){
  2113.  
  2114. console.log('check_err', err)
  2115. },
  2116. complete:function(){
  2117.  
  2118. }
  2119. });
  2120. }
  2121.  
  2122. // 網址轉導
  2123. if(_url_redirect_sn!="") param.set("_url_redirect_sn", _url_redirect_sn);
  2124. if(_url_redirect_access_sn!="") param.set("_url_redirect_access_sn", _url_redirect_access_sn);
  2125.  
  2126. // utm
  2127. if(_ishop_utm_source!="") param.set("utm_source", _ishop_utm_source);
  2128. if(_ishop_utm_medium!="") param.set("utm_medium", _ishop_utm_medium);
  2129. if(_ishop_utm_term!="") param.set("utm_term", _ishop_utm_term);
  2130. if(_ishop_utm_content!="") param.set("utm_content", _ishop_utm_content);
  2131. if(_ishop_utm_campaign!="") param.set("utm_campaign", _ishop_utm_campaign);
  2132. if(liff_action!="" && liff_action!=undefined) param.set("liff_action", liff_action);
  2133.  
  2134. this_v1_liff_url += "?v1_redirect="+encodeURIComponent(this_url.pathname+'?'+param.toString());
  2135.  
  2136. // console.log("this_v1_liff_url : "+this_v1_liff_url);
  2137.  
  2138. // setTimeout(function(){window.open(this_v1_liff_url);}, 500);
  2139.  
  2140. setTimeout(function(){window.location.replace(this_v1_liff_url);}, 300);
  2141.  
  2142. }
  2143. // Footer action
  2144. function footer_action(this_id, this_action){
  2145.  
  2146. switch (this_id) {
  2147. case 'customer_service':
  2148.  
  2149. window.location.href = "tel:"+this_action;
  2150.  
  2151. break;
  2152. case 'facebook':
  2153.  
  2154. window.location.href = "https://www.facebook.com/"+this_action;
  2155.  
  2156. break;
  2157. case 'messenger':
  2158.  
  2159. window.location.href = "https://www.messenger.com/t/"+this_action;
  2160.  
  2161. break;
  2162. case 'share':
  2163.  
  2164.                to_show_share_link();
  2165. break;
  2166. case 'show_product_view_record':
  2167. to_show_product_view_record();
  2168. break;
  2169. case 'to_scroll_top':
  2170.  
  2171. to_scroll_top();
  2172. break;
  2173. case 'shopping_car':
  2174.  
  2175. to_show_top_shopping_car('4');
  2176. break;
  2177. case 'mobile_chapter_list_switch':
  2178.  
  2179. mobile_chapter_list_switch();
  2180. console.log("mobile_chapter_list_switch");
  2181. break;
  2182.  
  2183. case "anchor_point":
  2184.  
  2185. to_scrollTo(this_action, 1000);
  2186.  
  2187. break;
  2188. default:
  2189.                window.location.href = this_action;
  2190. break;
  2191. }
  2192. }
  2193.    
  2194. function company_no_check(input){
  2195. var company_no;
  2196. company_no = input.value;
  2197. console.log(company_no);
  2198. if(true){
  2199. if(generateVerificationCode(company_no)){
  2200. document.getElementById("id_verify_company_no_msg").innerHTML = "";
  2201. }else{
  2202. document.getElementById("id_verify_company_no_msg").innerHTML = "很抱歉,統一編號【"+company_no+"】驗證失敗。";
  2203. input.value = "";
  2204. }
  2205. }
  2206. }
  2207.  
  2208. function generateVerificationCode(idNumber) {
  2209. // 檢查輸入是否為8個字元
  2210. if (idNumber.length == 8) {
  2211. // 檢查每個字元是否為有效的數字
  2212. for (let i = 0; i < 8; i++) {
  2213. if (!/^[0-9]$/.test(idNumber[i])) {
  2214. // console.log('輸入的編號含有非數字字元');
  2215. return false;
  2216. }
  2217. }
  2218.  
  2219. // 將編號轉換為陣列
  2220. const idNumberArray = idNumber.split('');
  2221.  
  2222. // 定義邏輯乘數
  2223. const multipliers = [1, 2, 1, 2, 1, 2, 4, 1];
  2224.  
  2225. // 計算乘積
  2226. let idNumbers = [];
  2227. for (let i = 0; i < 8; i++) {
  2228. const item = parseInt(idNumberArray[i]) * multipliers[i];
  2229. idNumbers.push(item);
  2230. }
  2231.  
  2232. // 處理乘積大於10的狀況
  2233. for (let i = 0; i < 8; i++) {
  2234. if (idNumbers[i] >= 10) {
  2235. const digits = String(idNumbers[i]).split('');
  2236. idNumbers[i] = parseInt(digits[0]) + parseInt(digits[1]);
  2237. }
  2238. }
  2239.  
  2240. // 生成驗證碼
  2241. const verificationCodeArray = idNumbers.map(item => String(item));
  2242. const verificationCode = verificationCodeArray.join('');
  2243.  
  2244. if(idNumberArray[6] != '7'){
  2245. // 計算驗證碼總和
  2246. let verificationCodeSum = 0;
  2247. for (let i = 0; i < 8; i++) {
  2248. verificationCodeSum += parseInt(verificationCodeArray[i]);
  2249. }
  2250. if((verificationCodeSum % 5) === 0){
  2251. return true;
  2252. }else{
  2253. return false;
  2254. }
  2255. }else{
  2256. // 計算驗證碼總和A
  2257. verificationCodeArray[6] = 0;
  2258. let verificationCodeSumA = 0;
  2259. for (let i = 0; i < 8; i++) {
  2260. verificationCodeSumA += parseInt(verificationCodeArray[i]);
  2261. }
  2262.  
  2263. // 計算驗證碼總和B
  2264. verificationCodeArray[6] = 1;
  2265. let verificationCodeSumB = 0;
  2266. for (let i = 0; i < 8; i++) {
  2267. verificationCodeSumB += parseInt(verificationCodeArray[i]);
  2268. }
  2269.  
  2270. if((verificationCodeSumA % 5 === 0) || (verificationCodeSumB % 5 === 0)){
  2271. return true;
  2272. }else{
  2273. return false;
  2274. }
  2275. }
  2276. }else{
  2277. return false;
  2278. }
  2279. }
  2280.  
  2281. </script>
  2282. <script>
  2283. var is_new_product_detail = false;
  2284. </script>
  2285. <script type="text/javascript" async src="https://cdn.matrixec.com/js/line-button.js?v=20140411"></script>
  2286. <script language="javascript">
  2287. window.onscroll = to_check_onscroll;
  2288. </script>
  2289.  
  2290.  
  2291. <!-- Google tag (gtag.js) -->
  2292. <script async src="https://www.googletagmanager.com/gtag/js?id=G-DN3YYV8V9K"></script>
  2293. <script>
  2294.  window.dataLayer = window.dataLayer || [];
  2295.  function gtag(){dataLayer.push(arguments);}
  2296.  gtag('js', new Date());
  2297.  
  2298.  gtag('config', 'G-DN3YYV8V9K');
  2299. </script>
  2300. <script>
  2301. $(function(){
  2302.    if($('#id_c2').length > 0 ){
  2303.        $('#id_c2').children('option')[0].innerHTML = '--縣市搜尋--';
  2304.    }
  2305. })
  2306. </script>
  2307. <script async>
  2308. (function(g,d,o){
  2309. g._ltq=g._ltq||[];g._lt=g._lt||function(){g._ltq.push(arguments)};
  2310. var h=location.protocol==='https:'?'https://d.line-scdn.net':'http://d.line-cdn.net';
  2311. var s=d.createElement('script');s.async=1;
  2312. s.src=o||h+'/n/line_tag/public/release/v1/lt.js';
  2313. var t=d.getElementsByTagName('script')[0];t.parentNode.insertBefore(s,t);
  2314. })(window, document);_lt('init', {
  2315. customerType: 'lap',
  2316. tagId: '6762c9ef-1078-4543-b5ad-26ef3d2a663a'
  2317. });
  2318. _lt('send', 'pv', ['6762c9ef-1078-4543-b5ad-26ef3d2a663a']);</script>
  2319. <noscript>
  2320. <img height='1' width='1' style='display:none'
  2321. src='https://tr.line.me/tag.gif?c_t=lap&t_id=161a9b23-c87b-4ebb-8a97-a7f91abb8c56&e=pv&noscript=1' />
  2322. </noscript>
  2323. <!-- End LINE Tag Base Code -->
  2324. <style type="text/css" media="print">.print_display_off{display: none;}</style>
  2325.  
  2326. <style>
  2327.    /*Instegram*/
  2328.    .ig_newest_top.default_animation , .ig_newest_inside.default_animation {
  2329.        position: relative;
  2330.        opacity:0;
  2331.        transform: translateY(5%);
  2332.    }
  2333.    .ig_newest_top.default_animation.act , .ig_newest_inside.default_animation.act {
  2334.        transition: all 0.7s ease-out;
  2335.        opacity: 1;
  2336.        transform: translateY(0);
  2337.    }
  2338.  
  2339.    /*商品列表*/
  2340.    .default_animation .product_item{
  2341.        position: relative;
  2342.        opacity:0;
  2343.        transform: translateY(3%);
  2344.    }
  2345.    .default_animation.act .product_item{
  2346.        transition: all 0.5s ease-out;
  2347.        opacity: 1;
  2348.        transform: translateY(0);
  2349.    }
  2350.    .default_animation .product_item:nth-child(2){
  2351.        transition-delay:0.2s;
  2352.    }
  2353.    .default_animation .product_item:nth-child(3){
  2354.        transition-delay:0.3s;
  2355.    }
  2356.  
  2357.    /*商品明細頁 附屬商品圖*/
  2358.    .pps_photo_sub.default_animation {
  2359.        position: relative;
  2360.        opacity:0;
  2361.        transform: translateY(50px);
  2362.    }
  2363.    .pps_photo_sub.default_animation.act {
  2364.        transition: all 0.5s ease-out;
  2365.        opacity:1;
  2366.        transform: translateY(0%);
  2367.    }
  2368.  
  2369.    /*shopping car*/
  2370.    #id_shopping_car_page .right_content.default_animation {
  2371.        position: relative;
  2372.        opacity:0;
  2373.        transform: translateY(50px);
  2374.    }
  2375.    #id_shopping_car_page .right_content.default_animation.act {
  2376.        transition: all 0.5s ease-out;
  2377.        opacity: 1;
  2378.        transform: translateY(0);
  2379.    }
  2380.  
  2381.    /*滿版廣告slide*/
  2382.    .default_animation.ad_overflow_slide {
  2383.        position: relative;
  2384.        opacity:0;
  2385.        transform: translateY(5%);
  2386.    }
  2387.    .default_animation.act.ad_overflow_slide{
  2388.        transition: all 0.5s ease-out;
  2389.        opacity: 1;
  2390.        transform: translateY(0);
  2391.    }
  2392.  
  2393.    /*滿版廣告單板靜態*/
  2394.    .default_animation .ad_overflow_single_inside {
  2395.        position: relative;
  2396.        opacity:0;
  2397.        transform: translateY(5%);
  2398.    }
  2399.    .default_animation.act .ad_overflow_single_inside{
  2400.        transition: all 0.5s ease-out;
  2401.        opacity: 1;
  2402.        transform: translateY(0);
  2403.    }
  2404.  
  2405.    /*全版廣告slide 點點輪播*/
  2406.    .default_animation.ad_full_slide_dotted {
  2407.        position: relative;
  2408.        opacity:0;
  2409.        transform: translateY(5%);
  2410.    }
  2411.    .default_animation.act.ad_full_slide_dotted {
  2412.        transition: all 0.5s ease-out;
  2413.        opacity: 1;
  2414.        transform: translateY(0);
  2415.    }
  2416.  
  2417.    /*全版廣告單板靜態*/
  2418.    .default_animation > a {
  2419.        display: block;
  2420.        position: relative;
  2421.        opacity:0;
  2422.        transform: translateY(5%);
  2423.    }
  2424.    .default_animation.act > a{
  2425.        transition: all 0.5s ease-out;
  2426.        opacity: 1;
  2427.        transform: translateY(0);
  2428.    }
  2429.  
  2430.    /*全版廣告單排3小板 area_3d */
  2431.    .default_animation.ad_full_area_3d > .item_outside {
  2432.        position: relative;
  2433.        opacity:0;
  2434.        transform: translateY(5%);
  2435.    }
  2436.    .default_animation.act.ad_full_area_3d > .item_outside{
  2437.        transition: all 0.5s ease-out;
  2438.        opacity: 1;
  2439.        transform: translateY(0);
  2440.    }
  2441.    .default_animation.act.ad_full_area_3d > .item_outside:nth-child(4){
  2442.        transition-delay: 0.15s;
  2443.    }
  2444.    .default_animation.act.ad_full_area_3d > .item_outside:nth-child(6){
  2445.        transition-delay: 0.3s;
  2446.    }
  2447.    .default_animation.act.ad_full_area_3d > .item_outside:nth-child(7){
  2448.        transition-delay: 0.45s;
  2449.    }
  2450.    .default_animation.act.ad_full_area_3d > .item_outside:nth-child(9){
  2451.        transition-delay: 0.6s;
  2452.    }
  2453.    .default_animation.act.ad_full_area_3d > .item_outside:nth-child(11){
  2454.        transition-delay: 0.75s;
  2455.    }
  2456.  
  2457.    /*全版廣告-1大輪2小板 area_3a */
  2458.    .default_animation.ad_full_area_3a {
  2459.        position: relative;
  2460.        opacity:0;
  2461.        transform: translateY(5%);
  2462.    }
  2463.    .default_animation.act.ad_full_area_3a {
  2464.        transition: all 0.5s ease-out;
  2465.        opacity: 1;
  2466.        transform: translateY(0%);
  2467.    }
  2468.  
  2469.    /*全版廣告-1大輪2小板 area_3b */
  2470.    .default_animation.ad_full_area_3b {
  2471.        position: relative;
  2472.        opacity:0;
  2473.        transform: translateY(5%);
  2474.    }
  2475.    .default_animation.act.ad_full_area_3b {
  2476.        transition: all 0.5s ease-out;
  2477.        opacity: 1;
  2478.        transform: translateY(0%);
  2479.    }
  2480.  
  2481.    /*全版廣告-多排4小板 area_3c */
  2482.    .ad_full_area_3c .default_animation.caption_pic ,
  2483.    .ad_full_area_3c .default_animation.caption_txt {
  2484.        position: relative;
  2485.        opacity:0;
  2486.        transform: translateY(30px);
  2487.    }
  2488.    .ad_full_area_3c .default_animation.act.caption_pic ,
  2489.    .ad_full_area_3c .default_animation.act.caption_txt {
  2490.        transition: all 0.7s ease-out;
  2491.        opacity: 1;
  2492.        transform: translateY(0%);
  2493.    }
  2494.    .ad_full_area_3c_inside.default_animation .item_outside{
  2495.        position: relative;
  2496.        opacity:0;
  2497.        transform: translateY(5%);
  2498.    }
  2499.    .ad_full_area_3c_inside.default_animation.act .item_outside{
  2500.        transition: all 0.7s ease-out;
  2501.        opacity: 1;
  2502.        transform: translateY(0%);
  2503.    }
  2504.    .ad_full_area_3c_inside.default_animation .item_outside:nth-child(3) {
  2505.        transition-delay: 0.1s;
  2506.    }
  2507.    .ad_full_area_3c_inside.default_animation .item_outside:nth-child(5) {
  2508.        transition-delay: 0.2s;
  2509.    }
  2510.    .ad_full_area_3c_inside.default_animation .item_outside:nth-child(7) {
  2511.        transition-delay: 0.3s;
  2512.    }
  2513.  
  2514.    /*全版廣告 下側頁籤*/
  2515.    .default_animation.ad_full_down_tag {
  2516.        display: block;
  2517.        position: relative;
  2518.        opacity:0;
  2519.        transform: translateY(5%);
  2520.    }
  2521.    .default_animation.act.ad_full_down_tag {
  2522.        transition: all 0.5s ease-out;
  2523.        opacity: 1;
  2524.        transform: translateY(0);
  2525.    }
  2526.  
  2527.    /*全版廣告 右側頁籤*/
  2528.    .default_animation.ad_full_right_tag {
  2529.        display: block;
  2530.        position: relative;
  2531.        opacity:0;
  2532.        transform: translateY(5%);
  2533.    }
  2534.    .default_animation.act.ad_full_right_tag {
  2535.        transition: all 0.5s ease-out;
  2536.        opacity: 1;
  2537.        transform: translateY(0);
  2538.    }
  2539.  
  2540.    /*全版廣告商品-單排滑動 A5 && 最近看過 && 電子報*/
  2541.    .default_animation.full_block {
  2542.        display: block;
  2543.        position: relative;
  2544.        opacity:0;
  2545.        transform: translateY(10%);
  2546.    }
  2547.    .default_animation.act.full_block{
  2548.        transition: all 0.5s ease-out;
  2549.        opacity: 1;
  2550.        transform: translateY(0);
  2551.    }
  2552.  
  2553.    /*全版3區塊廣告商品 A1*/
  2554.    .default_animation .ad_prodcut_a1_module{
  2555.        position: relative;
  2556.        opacity:0;
  2557.        transform: translateY(10%);
  2558.    }
  2559.    .default_animation.act .ad_prodcut_a1_module{
  2560.        transition: all 0.5s ease-out;
  2561.        opacity: 1;
  2562.        transform: translateY(0);
  2563.    }
  2564.    .default_animation .ad_prodcut_a1_module:nth-child(2){
  2565.        transition-delay:0.2s;
  2566.    }
  2567.    .default_animation .ad_prodcut_a1_module:nth-child(3){
  2568.        transition-delay:0.3s;
  2569.    }
  2570.  
  2571.  
  2572.    /*大側邊 單板靜態*/
  2573.    .default_animation.ad_big_side_single {
  2574.        display: block;
  2575.        position: relative;
  2576.        opacity:0;
  2577.        transform: translateY(5%);
  2578.    }
  2579.    .default_animation.act.ad_big_side_single {
  2580.        transition: all 0.5s ease-out;
  2581.        opacity: 1;
  2582.        transform: translateY(0);
  2583.    }
  2584.  
  2585.    /*大側邊 右側頁籤*/
  2586.    .default_animation.ad_big_side_right_tag {
  2587.        display: block;
  2588.        position: relative;
  2589.        opacity:0;
  2590.        transform: translateY(5%);
  2591.    }
  2592.    .default_animation.act.ad_big_side_right_tag {
  2593.        transition: all 0.5s ease-out;
  2594.        opacity: 1;
  2595.        transform: translateY(0);
  2596.    }
  2597.  
  2598.    /*大側邊 1大輪2小版*/
  2599.    .default_animation.big_side_area_3a {
  2600.        display: block;
  2601.        position: relative;
  2602.        opacity:0;
  2603.        transform: translateY(5%);
  2604.    }
  2605.    .default_animation.act.big_side_area_3a {
  2606.        transition: all 0.5s ease-out;
  2607.        opacity: 1;
  2608.        transform: translateY(0);
  2609.    }
  2610.  
  2611.    /*大側邊 4 x N 廣告商品 :ad_product_a2*/
  2612.    .default_animation.module_header_caption {
  2613.        display: block;
  2614.        position: relative;
  2615.        opacity:0;
  2616.        transform: translateY(20%);
  2617.    }
  2618.    .default_animation.act.module_header_caption {
  2619.        transition: all 0.5s ease-out;
  2620.        opacity: 1;
  2621.        transform: translateY(0);
  2622.    }
  2623.    .default_animation.item_wrapper .item {
  2624.        display: block;
  2625.        position: relative;
  2626.        opacity:0;
  2627.        transform: translateY(10%);
  2628.    }
  2629.    .default_animation.act.item_wrapper .item {
  2630.        transition: all 0.5s ease-out;
  2631.        opacity: 1;
  2632.        transform: translateY(0);
  2633.    }
  2634.    .default_animation.item_wrapper .item:nth-child(2){
  2635.        transition-delay: 0.1s;
  2636.    }
  2637.    .default_animation.item_wrapper .item:nth-child(3){
  2638.        transition-delay: 0.2s;
  2639.    }
  2640.    .default_animation.item_wrapper .item:nth-child(4){
  2641.        transition-delay: 0.3s;
  2642.    }
  2643.  
  2644.  
  2645.    /*專欄宣傳文章*/
  2646.    .column_publicize_outside.default_animation {
  2647.        display: block;
  2648.        position: relative;
  2649.        opacity:0;
  2650.        transform: translateY(10%);
  2651.    }
  2652.    .column_publicize_outside.default_animation.act {
  2653.        transition: all 0.5s ease-out;
  2654.        opacity: 1;
  2655.        transform: translateY(0);
  2656.    }
  2657.  
  2658.    /*大側邊 專欄宣傳文章1大3小 1b3s*/
  2659.    .default_animation .big_side_publicize_column_header ,.default_animation .big_side_publicize_column_top_outsite , .default_animation .big_side_publicize_column_3s_insite {
  2660.        display: block;
  2661.        position: relative;
  2662.        opacity:0;
  2663.        transform: translateY(10%);
  2664.    }
  2665.    .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 {
  2666.        transition: all 0.5s ease-out;
  2667.        opacity: 1;
  2668.        transform: translateY(0);
  2669.    }
  2670.    .default_animation .big_side_publicize_column_header {
  2671.        transition-delay: 0.1s;
  2672.    }
  2673.    .default_animation .big_side_publicize_column_3s_insite:nth-child(1){
  2674.        transition-delay: 0.2s;
  2675.    }
  2676.    .default_animation .big_side_publicize_column_3s_insite:nth-child(2){
  2677.        transition-delay: 0.3s;
  2678.    }
  2679.    .default_animation .big_side_publicize_column_3s_insite:nth-child(3){
  2680.        transition-delay: 0.4s;
  2681.    }
  2682.  
  2683.    /*大側邊專欄 - 左右分類文章 1大5小*/
  2684.    .default_animation.big_side_category_half_1b5s {
  2685.        display: block;
  2686.        position: relative;
  2687.        opacity:0;
  2688.        transform: translateY(10%);
  2689.    }
  2690.    .default_animation.act.big_side_category_half_1b5s {
  2691.        transition: all 0.5s ease-out;
  2692.        opacity: 1;
  2693.        transform: translateY(0);
  2694.    }
  2695.  
  2696.    /*大側邊專欄 - 分類2x2文章*/
  2697.    .default_animation.column_list_big_side_2x2_wrapper {
  2698.        display: block;
  2699.        position: relative;
  2700.        opacity:0;
  2701.        transform: translateY(15%);
  2702.    }
  2703.    .default_animation.act.column_list_big_side_2x2_wrapper {
  2704.        transition: all 0.5s ease-out;
  2705.        opacity: 1;
  2706.        transform: translateY(0);
  2707.    }
  2708.  
  2709.    /*熱搜*/
  2710.    .default_animation.hot_keyword_outside {
  2711.        display: block;
  2712.        position: relative;
  2713.        opacity:0;
  2714.        transform: translateY(15%);
  2715.    }
  2716.    .default_animation.act.hot_keyword_outside {
  2717.        transition: all 0.5s ease-out;
  2718.        opacity: 1;
  2719.        transform: translateY(0);
  2720.    }
  2721.  
  2722.    /*網站地上方*/
  2723.    .website_content_copyright_top .default_animation {
  2724.        display: block;
  2725.        position: relative;
  2726.        opacity:0;
  2727.        transform: translateY(15%);
  2728.    }
  2729.    .website_content_copyright_top .default_animation.act {
  2730.        transition: all 0.5s ease-out;
  2731.        opacity: 1;
  2732.        transform: translateY(0);
  2733.    }
  2734.  
  2735.  
  2736.    /*paralax test*/
  2737.    /* .ad_overflow_paralax {
  2738.        box-sizing: border-box;
  2739.        position: relative;
  2740.        overflow: hidden;
  2741.        
  2742.    }
  2743.    .ad_overflow_paralax>div:nth-child(2){
  2744.        position: relative;
  2745.        z-index: 0;
  2746.        margin: 5vw auto;
  2747.    }
  2748.    .ad_overflow_paralax .bg {
  2749.        position: absolute;
  2750.        z-index: 0;
  2751.        width: 100%;
  2752.        height: 100vh;
  2753.        background: url("https://www.residencestyle.com/wp-content/uploads/2016/05/Scandinavian-living-room-With-Plants-Decor.jpg")center center no-repeat;
  2754.        background-size: cover;
  2755.        opacity: 0.8;
  2756.        filter: blur(1px);
  2757.        transition: filter 0.3s linear;
  2758.        background-color: rgba(255 , 255, 255, 0.5)
  2759.        
  2760.    } */
  2761.  
  2762.  
  2763.    /* fadeIn */
  2764.    .fadeIn {
  2765.        position: relative;
  2766.        opacity:0;
  2767.    }
  2768.    .fadeIn.act {
  2769.        transition: all 1s ease-out;
  2770.        opacity: 1;
  2771.    }
  2772.    /* fadeUp */
  2773.    .fadeUp {
  2774.        position: relative;
  2775.        opacity:0;
  2776.        transform: translateY(3vw);
  2777.    }
  2778.    .fadeUp.act {
  2779.        transition: all 1s ease-out;
  2780.        opacity: 1;
  2781.        transform: translateY(0);
  2782.    }
  2783.    /* fadeDown */
  2784.    .fadeDown {
  2785.        position: relative;
  2786.        opacity:0;
  2787.        transform: translateY(-3vw);
  2788.    }
  2789.    .fadeDown.act {
  2790.        transition: all 1s ease-out;
  2791.        opacity: 1;
  2792.        transform: translateY(0);
  2793.    }
  2794.    /* fadeRight */
  2795.    .fadeRight {
  2796.        position: relative;
  2797.        opacity:0;
  2798.        transform: translateX(-3vw);
  2799.    }
  2800.    .fadeRight.act {
  2801.        transition: all 1s ease-out;
  2802.        opacity: 1;
  2803.        transform: translateX(0);
  2804.    }
  2805.    /* fadeLeft */
  2806.    .fadeLeft {
  2807.        position: relative;
  2808.        opacity:0;
  2809.        transform: translateX(3vw);
  2810.    }
  2811.    .fadeLeft.act {
  2812.        transition: all 1s ease-out;
  2813.        opacity: 1;
  2814.        transform: translateX(0);
  2815.    }
  2816.  
  2817.    /* delay */
  2818.    .animation_scroll.act.delay_1 {
  2819.        transition-delay: 0.3s;
  2820.    }
  2821.    .animation_scroll.act.delay_2 {
  2822.        transition-delay: 0.6s;
  2823.    }
  2824.    .animation_scroll.act.delay_3 {
  2825.        transition-delay: 0.9s;
  2826.    }
  2827.    .animation_scroll.act.delay_4 {
  2828.        transition-delay: 1.2s;
  2829.    }
  2830.    .animation_scroll.act.delay_5 {
  2831.        transition-delay: 1.5s;
  2832.    }
  2833.    .animation_scroll.act.delay_6 {
  2834.        transition-delay: 1.8s;
  2835.    }
  2836. </style>
  2837. <script>
  2838.  
  2839.    function animation_init(scrollTop,winH){
  2840.  
  2841.        $('.animation_scroll').each(function(){
  2842.            this_item = $(this);
  2843.            this_item.attr('data',this_item.offset().top);
  2844.            
  2845.            if(this_item.offset().top<scrollTop+(winH*24/24)){
  2846.                this_item.addClass('act')
  2847.            }else{
  2848.                this_item.removeClass('act').addClass('be');
  2849.            }
  2850.  
  2851.            if($(this).hasClass('ad_overflow_paralax')){
  2852.                $(this).children('.bg').css('height',$(this).outerHeight());
  2853.            }
  2854.        });
  2855.        //close_layer_loading();
  2856.        // console.log("animation_init{winH="+winH+";scrollTop="+scrollTop+"}");
  2857.    }
  2858.  
  2859.    function animation_cancel(choose_area){
  2860.        $(choose_area + ' .animation_scroll').addClass('act').removeClass('animation_scroll');
  2861.    }
  2862.  
  2863.    function video_init(scrollTop,winH){
  2864.        $('.video_autoplay').each(function(){
  2865.            this_item = ($(this)!='')? $(this) : $('body');
  2866.            this_item.attr('data',this_item.offset().top).prop("volume",0.5).addClass("muted");
  2867.            
  2868.            if(this_item.offset().top<scrollTop+(winH*7/8) && !$(this).hasClass("pause") ){
  2869.                if($(this).hasClass('_swiper')){
  2870.                    if($(this).parents('.swiper-slide').hasClass('swiper-slide-active')){
  2871.                        $(this).trigger('play');
  2872.                    }else{
  2873.                        $(this).trigger('pause');
  2874.                    }
  2875.                }else{
  2876.                    $(this).trigger('play');
  2877.                }
  2878.            }else{
  2879.                this_item.trigger('pause');
  2880.            }
  2881.        });
  2882.    }
  2883.  
  2884.    function paralax_move(scrollTop,winH){
  2885.        $('.ad_overflow_paralax').each(function(){
  2886.            //this_offset_Top = $(this).attr('data');
  2887.            this_offset_Top = $(this).offset().top;
  2888.            this_height = $(this).outerHeight();
  2889.            //console.log(this_offset_Top+" / "+this_height);
  2890.            if( this_offset_Top-(winH*8/8) < scrollTop && this_offset_Top+this_height > scrollTop ){
  2891.                $(this).children('.bg').css("transform","translate3d(0px,"+Math.round((this_offset_Top-scrollTop)*(-1+1/3))+"px,0px)");
  2892.            }
  2893.        });
  2894.    }
  2895.  
  2896.    function numCounter__test(item) {
  2897.        counter_item = item
  2898.  
  2899.        if(counter_item.hasClass("counter-item")){
  2900.            console.log(counter_item.parents(".content_module_wrap").attr("id"))
  2901.            //console.log(item)
  2902.            cm_num = counter_item.find(".cm_num");
  2903.            console.log("count:"+cm_num.attr("countTo"));
  2904.        }
  2905.    }
  2906.  
  2907.    function numCounter() {
  2908.        const counters = document.querySelectorAll(".cm_numCounter .cm_num");
  2909.  
  2910.        const formatNumber = (num) => {
  2911.            return Math.floor(num).toLocaleString();
  2912.        };
  2913.  
  2914.        const startCounting = (counter) => {
  2915.        const target = parseInt(counter.getAttribute("countTo"));
  2916.        let current = 0;
  2917.        const duration = 2000;
  2918.        const frameRate = 60;
  2919.        const totalFrames = Math.round((duration / 1000) * frameRate);
  2920.        const increment = target / totalFrames;
  2921.        let frame = 0;
  2922.  
  2923.        const counterUpdater = setInterval(() => {
  2924.            frame++;
  2925.            current += increment;
  2926.            if (frame >= totalFrames) {
  2927.                current = target;
  2928.                clearInterval(counterUpdater);
  2929.            }
  2930.            counter.textContent = formatNumber(current);
  2931.        }, 1000 / frameRate);
  2932.        };
  2933.  
  2934.        const observer = new IntersectionObserver((entries, observer) => {
  2935.            entries.forEach(entry => {
  2936.                if (entry.isIntersecting) {
  2937.                    const counter = entry.target;
  2938.                    if (!counter.classList.contains('counted')) {
  2939.                        counter.classList.add('counted');
  2940.                        startCounting(counter);
  2941.                    }
  2942.                }
  2943.            });
  2944.        }, { threshold: 0.1 });
  2945.  
  2946.        counters.forEach(counter => observer.observe(counter));
  2947.    }
  2948.    
  2949.  
  2950.    $(document).ready(function(){
  2951.        //header.js 內宣告全域變數 scrollTop,winH
  2952.  
  2953.        //show_layer_loading();
  2954.  
  2955.        $('.master_vision_index.footer_menu_outside').addClass('scroll');
  2956.        
  2957.        animation_init(scrollTop,winH);
  2958.  
  2959.        //$(".video_autoplay").trigger('play');
  2960.        $(".video_autoplay").on('load',function(){
  2961.            $(this).trigger('play');
  2962.        })
  2963.        
  2964.        
  2965.  
  2966.        $(window).on("load",function(){
  2967.            console.log('onload');
  2968.            scrollTop = $(window).scrollTop();
  2969.            animation_init(scrollTop,winH);
  2970.            video_init(scrollTop,winH);
  2971.            paralax_move(scrollTop,winH);
  2972.        })
  2973.  
  2974.        $(window).resize(function(){
  2975.            animation_init(scrollTop,winH);
  2976.            video_init(scrollTop,winH);
  2977.            paralax_move(scrollTop,winH);
  2978.        })
  2979.  
  2980.  
  2981.  
  2982.        $(window).scroll(function(){
  2983.            scrollTop = $(window).scrollTop();
  2984.  
  2985.            if( scrollTop > 10 ){
  2986.                $('.master_vision_index.footer_menu_outside').removeClass('scroll');
  2987.            } else {
  2988.                $('.master_vision_index.footer_menu_outside').addClass('scroll');
  2989.                $(".footer_menu_outside .cus_btn.more").removeClass("open");
  2990.            }
  2991.            
  2992.            
  2993.            $('.animation_scroll.be').each(function(){
  2994.                if($(this).attr('data')<scrollTop+(winH*24/24)){
  2995.                    $(this).removeClass('be').addClass('act');
  2996.                }
  2997.            });
  2998.  
  2999.            paralax_move(scrollTop,winH);
  3000.  
  3001.            $('.video_autoplay').each(function(){
  3002.                this_offset_Top = $(this).attr('data');
  3003.                this_height = $(this).height();
  3004.                if( this_offset_Top < scrollTop+(winH*6/8) && this_offset_Top > scrollTop-this_height/3 && !$(this).hasClass("pause")){
  3005.                    if($(this).hasClass('_swiper')){
  3006.                        if($(this).parents('.swiper-slide').hasClass('swiper-slide-active')){
  3007.                            $(this).trigger('play');
  3008.                        }else{
  3009.                            $(this).trigger('pause');
  3010.                        }
  3011.                    }else{
  3012.                        $(this).trigger('play');
  3013.                    }
  3014.                    
  3015.                }else{
  3016.                    $(this).trigger('pause').addClass('muted').prop("muted",true).siblings('.controler').children(".btn-volume").html('volume <i class="fa-solid fa-volume-xmark"></i>');
  3017.                }
  3018.            });
  3019.            
  3020.        })
  3021.  
  3022.        numCounter()
  3023.  
  3024.        // $('.ad_overflow_paralax .content').hover(function(){
  3025.        //     $(this).siblings('.bg').toggleClass('hover');
  3026.        // },function(){
  3027.        //     $(this).siblings('.bg').toggleClass('hover');
  3028.        // })
  3029.  
  3030.        // $('#id_tr_pay_type img , #id_tr_freight img').click(function(){
  3031.        //     setTimeout(function(){animation_init(scrollTop,winH)},1000);
  3032.        //     console.log('click');
  3033.        // })
  3034.    })
  3035.    
  3036. </script>
  3037.  
  3038. <script type="module">
  3039.  
  3040.    /**
  3041.     * 指定callback class增加act
  3042.     */
  3043.    const animation_scroll_callback = (entries, owner) => {
  3044.        entries.forEach((entry)=>{
  3045.            const target = entry.target;
  3046.  
  3047.            if(entry.isIntersecting){
  3048.  
  3049.                target.classList.add("act");
  3050.  
  3051.            }else {
  3052.  
  3053.                // target.classList.remove("act");
  3054.                // target.classList.add("be");
  3055.                
  3056.            }
  3057.        })
  3058.    }
  3059.    
  3060.    /**
  3061.     * 監聽指定物件是否進入視窗口
  3062.     */
  3063.    const observer = new IntersectionObserver(animation_scroll_callback);
  3064.  
  3065.    const animation_scroll = document.querySelectorAll(".animation_scroll");
  3066.    if(animation_scroll.length > 0 ){
  3067.        animation_scroll.forEach((item) => {
  3068.            observer.observe(item);
  3069.        })
  3070.    }
  3071.  
  3072.  
  3073.  
  3074. </script>
  3075. <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>
  3076. </head>
  3077. <body id="id_pc_body" >
  3078. <div id="id_layer_alert_bg" style="width:100%;height:100%;position:fixed;top:0px;left:0px;z-index:2000;display:none;"></div>
  3079. <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;">
  3080. <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;">
  3081. <tr>
  3082. <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;">
  3083. <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>
  3084. </tr>
  3085. <tr>
  3086. <td style="background-color:#FFFFFF;padding-top:20px;">
  3087. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  3088. <tr>
  3089. <td style="text-align:left;vertical-align:top;padding:8px 10px;"><span id="id_layer_alert_info" style="line-height:30px;"></span></td>
  3090. </tr>
  3091. <tr>
  3092. <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>
  3093. </tr>
  3094. </table>
  3095. </td>
  3096. </tr>
  3097. </table>
  3098. </div>
  3099.  
  3100. <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>
  3101. <div id="id_layer_msg_box" class="layer_msg_outside" style="display:none;">
  3102. <table border="0" cellpadding="0" cellspacing="4" align="center" class="layer_msg_inside" style="">
  3103. <tr>
  3104. <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>
  3105. </tr>
  3106. <tr>
  3107. <td>
  3108. <div id="id_layer_msg_info" class="layer_msg_info" style=""></div>
  3109. </td>
  3110. </tr>
  3111. <tr>
  3112. <td style="min-height:25px"></td>
  3113. </tr>
  3114. </table>
  3115. </div>
  3116. <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>
  3117. <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;">
  3118. <table border="0" cellpadding="0" cellspacing="4" align="center" style="width:100%;height:100%;border:0px solid #CCCCCC;border-radius:10px;">
  3119. <tr>
  3120. <td>
  3121. <div class="clear">
  3122. <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>
  3123. <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>
  3124. </div>
  3125. </td>
  3126. </tr>
  3127. <tr>
  3128. <td>
  3129. <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>
  3130. </td>
  3131. </tr>
  3132. </table>
  3133. </div>
  3134.  
  3135. <div id="id_popup_customSize">
  3136. <div class="popup_mask"></div>
  3137. <div class="popup_box">
  3138. <div class="popup_close" onclick="close_popup_customSize()">X</div>
  3139. <div class="popup_info"><div class="popup_test"></div></div>
  3140. </div>
  3141. </div>
  3142.  
  3143. <div id="id_popup_customSize_cookie" style="display:none">
  3144. <div class="popup_box">
  3145. <div class="popup_info"><div class="popup_test"></div></div>
  3146. </div>
  3147. </div>
  3148.  
  3149.  
  3150. <div class="popup_standard_select_wrap _div_layer"></div>
  3151.  
  3152. <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>
  3153. <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;">
  3154. <!-- <i class="fa fa-spinner"></i>&nbsp;&nbsp;&nbsp; Please Wait ... -->
  3155. <img src="https://cdn.matrixec.com/fs/all/LINE_spinner_light.svg" alt="">
  3156. </div>
  3157.  
  3158. <!-- <div>這是新版alert</div> -->
  3159. <!-- Facebook SDK -->
  3160.  
  3161. <!-- LIFF -->
  3162.  
  3163.    <script charset="utf-8" src="https://static.line-scdn.net/liff/edge/2/sdk.js"></script>
  3164.    <script>
  3165.        $(function() {
  3166.  
  3167.            if (typeof liff !== undefined) {
  3168.  
  3169.                console.log('LIFF START');
  3170.  
  3171.                liff_main();
  3172.            }
  3173.        })
  3174.  
  3175.        function liff_main() {
  3176.  
  3177.            if (!(!liff.isInClient() && navigator.userAgent.match("Android"))) { // Android 外部瀏覽器 不顯示遮罩
  3178.  
  3179.                if (!liff.isInClient()) show_layer_loading();
  3180.            }
  3181.  
  3182.            liff
  3183.                .init({
  3184.                    liffId: '1657662956-ljewX6qm'
  3185.                })
  3186.                .then(() => {
  3187.  
  3188.                    close_layer_loading();
  3189.  
  3190.                    console.log('LIFF INIT SUCCESS : ' + liff.id);
  3191.  
  3192.                    const website_ec_type = '';
  3193.                    const web_host_url = 'https://www.stiga.com.tw';
  3194.                    const m2_member_sn = '';
  3195.                    const member_sn = '';
  3196.                    const login_error_session = '';
  3197.  
  3198.  
  3199.                    // liff url v1 網址轉導處理
  3200.                    let this_location_url = new URL(location);
  3201.  
  3202.                    const v1_redirect = this_location_url.searchParams.get('v1_redirect'); // /member_referrer?a=1&b=2&action=share
  3203.                    const liff_action = this_location_url.searchParams.get('liff_action'); // 實際轉跳後的行為
  3204.                    const utm_source = this_location_url.searchParams.get('utm_source');
  3205.                    const need_login = this_location_url.searchParams.get('need_login');
  3206.                    const login_error = this_location_url.searchParams.get('login_error');
  3207.                    const pre_shoppingcar_member_sn = this_location_url.searchParams.get('pre_shoppingcar_member_sn');
  3208.  
  3209.                    console.log('LIFF URL : https://liff.line.me/' + liff.id + this_location_url.pathname + this_location_url.search + this_location_url.hash);
  3210.  
  3211.                    if (typeof v1_redirect === 'string') { // 透過v1 liff 強制開啟 liff
  3212.  
  3213.                        show_layer_loading();
  3214.  
  3215.                        window.location.href = v1_redirect;
  3216.  
  3217.                    } else {
  3218.  
  3219.                        // LINE POINTS 轉跳強制登入
  3220.                        if (!liff.isInClient()) {
  3221.  
  3222.                            console.log('LIFF IN EXTERNAL');
  3223.  
  3224.                            if (!liff.isLoggedIn()) {
  3225.  
  3226.                                if (location.pathname == '/line_shopping_redirect.php') {
  3227.  
  3228.                                    liff.login({
  3229.                                        redirectUri: location.href
  3230.                                    });
  3231.  
  3232.                                } else {
  3233.  
  3234.                                    close_layer_loading();
  3235.                                }
  3236.                            }
  3237.                        }
  3238.  
  3239.                        // LINE購物 and LINE直播 導流的使用者
  3240.                        if (typeof utm_source === 'string' && utm_source == 'lineoa') {
  3241.  
  3242.                            if (!liff.isLoggedIn()) liff_login();
  3243.                        }
  3244.  
  3245.                        if (liff.isLoggedIn()) {
  3246.  
  3247.                            console.log("LIFF IS LOGGEDIN");
  3248.  
  3249.                            liff.getProfile()
  3250.                                .then(function(profile) {
  3251.  
  3252.                                    var line_uuid = '';
  3253.                                    var agent_shopping = '';
  3254.  
  3255.                                    if ((agent_shopping || (member_sn > 0 && line_uuid != '' && (pre_shoppingcar_member_sn == null || pre_shoppingcar_member_sn == ''))) && !need_login) {
  3256.  
  3257.                                        // alert("登入中");
  3258.                                        close_layer_loading();
  3259.  
  3260.                                    } else {
  3261.  
  3262.                                        show_layer_loading();
  3263.  
  3264.                                        var user = liff.getDecodedIDToken();
  3265.                                        var location_path = web_host_url + '/social_user_login.php';
  3266.                                        var social_login_state = 'ca2bc5b04ad14e488fa9087d27234b12'; // 從 PHP 取得通用的 state token
  3267.  
  3268.                                        location_path += "?social_website=line";
  3269.                                        location_path += "&social_user_id=" + profile.userId;
  3270.                                        location_path += "&name=" + profile.displayName;
  3271.                                        if (user !== null) location_path += "&email=" + user.email;
  3272.                                        location_path += "&photo=" + profile.pictureUrl;
  3273.                                        location_path += "&social_login_state=" + social_login_state; // 加入通用的 state token
  3274.  
  3275.                                        if (typeof pre_shoppingcar_member_sn === 'string' && pre_shoppingcar_member_sn != '') location_path += "&pre_shoppingcar_member_sn=" + pre_shoppingcar_member_sn;
  3276.  
  3277.                                        if (member_sn > 0 && line_uuid != '' && line_uuid != profile.userId) {
  3278.                                            alert("與登入中使用者資料不符,請確認LINE帳號是否相符");
  3279.                                            close_layer_loading();
  3280.                                            return;
  3281.                                        }
  3282.  
  3283.                                        if (login_error_session == 'block' || login_error == 'block') {
  3284.  
  3285.                                            if (!liff.isInClient()) liff.logout();
  3286.  
  3287.                                            close_layer_loading();
  3288.  
  3289.                                        } else {
  3290.  
  3291.                                            window.location = location_path;
  3292.                                        }
  3293.  
  3294.                                        return;
  3295.                                    }
  3296.  
  3297.                                    if (typeof liff_action === 'string') { // 轉跳到對應頁面判斷是否有行為
  3298.  
  3299.                                        switch (liff_action) {
  3300.  
  3301.                                            case "share": // 分享
  3302.  
  3303.                                                if (this_location_url.pathname.substr(0, 7) != "/share/") { // share 這頁是專門用來分享的頁面,不需要這個參數
  3304.  
  3305.                                                    share_with_friend();
  3306.                                                }
  3307.                                                break;
  3308.                                            case "share_fb":
  3309.  
  3310.                                                if (document.getElementById('fbShareBtn')) {
  3311.                                                    FB.ui({
  3312.                                                        display: 'popup',
  3313.                                                        method: 'share',
  3314.                                                        href: 'https://liff.line.me/1657662956-ljewX6qm/index.php?utm_source=m2&utm_medium=guest',
  3315.                                                    }, function(response) {});
  3316.                                                }
  3317.  
  3318.                                                break;
  3319.                                            case "open_with_liff": // 強制開啟LIFF
  3320.  
  3321.                                                if (!liff.isInClient()) open_with_liff();
  3322.  
  3323.                                                break;
  3324.                                            case "to_shopping_car":
  3325.  
  3326.                                                if (this_location_url.pathname.indexOf('shopping_car') == "-1") window.location = "/shopping_car.php";
  3327.  
  3328.                                                break;
  3329.                                            case "to_get_ecid":
  3330.  
  3331.                                                to_get_ecid();
  3332.  
  3333.                                                break;
  3334.                                            case "scan_code":
  3335.  
  3336.                                                liff.scanCodeV2()
  3337.                                                    .then((result) => {
  3338.                                                        console.log(result)
  3339.                                                        scan_response.value = result.value;
  3340.                                                    })
  3341.                                                    .catch((error) => {
  3342.                                                        Swal.fire({
  3343.                                                            title: '錯誤',
  3344.                                                            icon: 'error',
  3345.                                                            text: "無法開啟掃描器,請重新登入後再嘗試一次。" + error,
  3346.                                                            showDenyButton: false,
  3347.                                                            confirmButtonText: '確定',
  3348.                                                        });
  3349.                                                        console.log(error);
  3350.                                                    });
  3351.                                                break;
  3352.                                            default:
  3353.                                                break;
  3354.                                        }
  3355.                                    }
  3356.  
  3357.                                }).catch(function(error) {
  3358.  
  3359.                                    // alert('get profile error: '+ error);
  3360.                                    // liff.login();
  3361.                                    close_layer_loading();
  3362.                                });
  3363.                        }
  3364.                    }
  3365.                })
  3366.                .catch((err) => {
  3367.  
  3368.                    console.log('LIFF ERROR :', err.code, err.message);
  3369.  
  3370.                    var err_msg = err.code + ' ' + err.message;
  3371.  
  3372.                    if (false) {
  3373.  
  3374.                        $.ajax({
  3375.  
  3376.                            url: 'ajax_website_module_api.php',
  3377.                            method: 'POST',
  3378.                            data: {
  3379.                                module_type: 'line_notify',
  3380.                                title: 'LIFF初始化失敗',
  3381.                                msg: err_msg,
  3382.                                param: {
  3383.                                    'code': err.code,
  3384.                                    'message': err.message,
  3385.                                    'getOS': liff.getOS(),
  3386.                                    'isInClient': liff.isInClient(),
  3387.                                    'location': window.location.href,
  3388.                                    'agent': navigator.userAgent
  3389.                                }
  3390.                            },
  3391.                            success: function(res) {},
  3392.                            error: function(err) {}
  3393.                        });
  3394.                    }
  3395.  
  3396.                    close_layer_loading();
  3397.                });
  3398.        }
  3399.  
  3400.        // 還沒用
  3401.        function liff_init() { // new
  3402.  
  3403.            const member_sn = '';
  3404.  
  3405.            liff
  3406.                .init({
  3407.                    liffId: '1657662956-ljewX6qm'
  3408.                })
  3409.                .then(() => {
  3410.  
  3411.                    // alert("init success");
  3412.  
  3413.                    if (liff.isLoggedIn()) {
  3414.  
  3415.                        if (!member_sn) { // 尚未登入
  3416.  
  3417.                            let id_token = liff.getIDToken();
  3418.  
  3419.                            // alert('login');
  3420.  
  3421.                            $.ajax({
  3422.  
  3423.                                url: 'ajax_member_module_api.php',
  3424.                                method: 'POST',
  3425.                                data: {
  3426.                                    module_type: 'background_login',
  3427.                                    id_token: id_token
  3428.                                },
  3429.                                success: function(res) {
  3430.  
  3431.                                    console.log('id_token_res', res);
  3432.                                },
  3433.                                error: function(err) {
  3434.  
  3435.                                    console.log('id_token_err', err);
  3436.                                },
  3437.                                complete: function() {
  3438.  
  3439.                                    // alert('login finish');
  3440.                                }
  3441.  
  3442.                            });
  3443.                        }
  3444.                    }
  3445.                })
  3446.                .catch((err) => {
  3447.  
  3448.                    console.log('LIFF ERROR :', err.code, err.message);
  3449.                });
  3450.  
  3451.        }
  3452.        
  3453.        // 還沒用
  3454.        function background_login() {
  3455.  
  3456.            $.ajax({
  3457.  
  3458.                url: 'ajax_member_module_api.php',
  3459.                method: 'GET',
  3460.                data: {
  3461.                    module_type: ''
  3462.                },
  3463.                success: function(res) {
  3464.                    $(".order_history .data_list").html(res);
  3465.                },
  3466.                error: function(err) {
  3467.                    console.log(err)
  3468.                },
  3469.                complete: function() {
  3470.  
  3471.                }
  3472.            });
  3473.        }
  3474.  
  3475.        function check_ecid(this_member_sn, times) {
  3476.  
  3477.            var check_status = false;
  3478.  
  3479.            console.log('check ecid start', times);
  3480.  
  3481.            if (times == 0) {
  3482.  
  3483.                if (liff.isInClient()) liff.closeWindow();
  3484.                return false;
  3485.            }
  3486.  
  3487.            times--;
  3488.  
  3489.            $.ajax({
  3490.  
  3491.                url: "./api_liff.php",
  3492.                method: 'GET',
  3493.                data: {
  3494.                    mode: 'check_ecid',
  3495.                    member_sn: this_member_sn
  3496.                },
  3497.                success: function(res) {
  3498.  
  3499.                    if (res == "true") {
  3500.  
  3501.                        if (liff.isInClient()) liff.closeWindow();
  3502.  
  3503.                    } else {
  3504.  
  3505.                        console.log('check ecid start false', times);
  3506.                        setTimeout(() => {
  3507.                            check_ecid(this_member_sn, times);
  3508.                        }, 1000);
  3509.                    }
  3510.                },
  3511.                error: function(err) {
  3512.  
  3513.                    console.log('check_err', err)
  3514.                },
  3515.                complete: function() {
  3516.  
  3517.                }
  3518.            });
  3519.        }
  3520.    </script>
  3521.    
  3522.  
  3523. <!-- line tag -->
  3524. <!-- LINE Tag Base Code -->
  3525. <!-- Do Not Modify -->
  3526. <script>
  3527. (function(g,d,o){
  3528. g._ltq=g._ltq||[];g._lt=g._lt||function(){g._ltq.push(arguments)};
  3529. var h=location.protocol==='https:'?'https://d.line-scdn.net':'http://d.line-cdn.net';
  3530. var s=d.createElement('script');s.async=1;
  3531. s.src=o||h+'/n/line_tag/public/release/v1/lt.js';
  3532. var t=d.getElementsByTagName('script')[0];t.parentNode.insertBefore(s,t);
  3533. })(window, document);
  3534. _lt('init', {
  3535. customerType: 'account',
  3536. tagId: '6762c9ef-1078-4543-b5ad-26ef3d2a663a'
  3537. });
  3538. _lt('send', 'pv', ['6762c9ef-1078-4543-b5ad-26ef3d2a663a']);
  3539. </script>
  3540. <noscript>
  3541. <img height="1" width="1" style="display:none"
  3542. src="https://tr.line.me/tag.gif?c_t=lap&t_id=6762c9ef-1078-4543-b5ad-26ef3d2a663a&e=pv&noscript=1" />
  3543. </noscript>
  3544. <!-- End LINE Tag Base Code -->
  3545.  
  3546. <!-- likr 禾多 -->
  3547.  
  3548. <div id="id_body" class="div_body page_index ds_bg_color">
  3549.  
  3550. <div id="fancy-popup" style="display: none;">
  3551. 此網址不支援彈跳視窗,請改用其他方式
  3552. </div>
  3553.  
  3554.        <!-- <div style="position: absolute; color: transparent;pointer-events:none;"><h1>STIGA | 瑞典國際乒乓球台灣代理商</h1></div> -->
  3555.        <header id="id_master_menu_v1" class="_v1 refactor has_master_vision">
  3556.                <nav id="nav_container" class="   _size">
  3557.            <div class="inside">
  3558.                                        <div class="ms_menu_bg_fixed scroll_to_fixed ds_nav_bg_color ds_nav_text_color" id="id_ms_menu_bg"></div>
  3559.                        <div class="ms_menu_bg master_vision_index"></div>
  3560.                        
  3561.                <div id="id_master_menu" class="">
  3562.                    
  3563.                    <div id="id_master_menu_website_logo" class="master_vision_index">
  3564.  
  3565.                        <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>
  3566.  
  3567.                                            </div>
  3568.                    <div id="id_master_menu_website_content_top_left" class="master_vision_index">
  3569.                                            </div>
  3570.  
  3571.                    <div id="id_master_menu_website_content_top_right" class="master_vision_index no_website_content_top_left"  >
  3572.                                            </div>
  3573.                    
  3574.                    
  3575.                        <div id="id_master_menu_website_tool" class="master_vision_index no_website_content_top_left ds_nav_text_color">
  3576.  
  3577.                                                            <div class="cursor master_menu_member" onclick="to_show_member_login_layer()">
  3578.                                    <i class="fas fa-user-plus"></i>
  3579.                                </div>
  3580.                            
  3581.                            <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>
  3582.                            
  3583.                            <div class="cursor master_menu_search" onclick="to_show_search_layer('')"><i class="fas fa-search"></i></div>
  3584.                        </div>
  3585.  
  3586.                        <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>
  3587.  
  3588.                        <script language="javascript">
  3589.                            to_show_top_shopping_car('1');
  3590.                            to_show_top_shopping_car_list("id_bag_inside_text","onscroll");
  3591.                        </script>
  3592.                                        
  3593. <script>
  3594.    $(document).ready(function(){
  3595.        
  3596.        var main_data=0, catarogy_1 = 0, catarogy_2 = 0;
  3597.  
  3598.        $('#id_master_menu_catalog_icon').click(function(){
  3599.            $('#id_master_catalog_collapse_wrap').css('left','0');
  3600.            $('#id_master_catalog_collapse_mask, #id_master_catalog_collapse_close').fadeIn(300);
  3601.        });
  3602.  
  3603.        $('#id_master_catalog_collapse_close,#id_master_catalog_collapse_mask').click(function(){
  3604.            $('#id_master_catalog_collapse_wrap').css('left','-30%');
  3605.            $('.ms_category_1').removeClass('act').children('.ms_category_item').removeClass('open');
  3606.            main_data=0, catarogy_1 = 0, catarogy_2 = 0;
  3607.            $('#id_master_catalog_collapse_mask, #id_master_catalog_collapse_close').fadeOut(300);
  3608.        });
  3609.  
  3610.        $(".collapse .ms_main_menu dd").hover(function(){
  3611.            //觸發文字
  3612.            $(this).find('.name_standard').css('opacity',0);
  3613.            $(this).find('.name_hover').css('opacity',1);
  3614.  
  3615.            //子選單
  3616.            if(main_data != $(this).attr('data')){
  3617.                $('.ms_main_menu dd').removeClass('hover');
  3618.                $(this).addClass('hover');
  3619.  
  3620.                if($(this).hasClass('has_sub')){
  3621.                    $('.ms_category_1').addClass('act');
  3622.                }else {
  3623.                    $('.ms_category_1').removeClass('act');
  3624.                }
  3625.                
  3626.                $('.ms_category_1 .ms_category_item').removeClass('open');
  3627.                main_data = $(this).attr('data');
  3628.                //console.log(main_data);
  3629.                setTimeout(function(){
  3630.                    $('.ms_category_1 .ms_category_item[data='+main_data+']').addClass('open');
  3631.                }, 0);
  3632.            }
  3633.        },function(){
  3634.            $(this).find('.name_standard').css('opacity',1);
  3635.            $(this).find('.name_hover').css('opacity',0);
  3636.        });
  3637.  
  3638.        $(".collapse .ms_catagory_1 dd").hover(function(){
  3639.            if(catarogy_1 != $(this).attr('data')){
  3640.                $('.ms_catagory_1 dd').removeClass('hover');
  3641.                $(this).addClass('hover');
  3642.                $('.ms_catagory_3').removeClass('act').children('dl').removeClass('open');
  3643.                $('.ms_catagory_2').addClass('act');
  3644.                $('.ms_catagory_2 dl').removeClass('open');
  3645.                catarogy_1 = $(this).attr('data');
  3646.  
  3647.                setTimeout(function(){
  3648.                    $('.ms_catagory_2 dl[data='+catarogy_1+']').addClass('open');
  3649.                }, 0);
  3650.            }
  3651.        });
  3652.  
  3653.        // $(".collapse .ms_catagory_2 dd").hover(function(){
  3654.        //     if(catarogy_2 != $(this).attr('data')){
  3655.        //         $('.ms_catagory_2 dd').removeClass('hover');
  3656.        //         $(this).addClass('hover');
  3657.        //         $('.ms_catagory_3').addClass('act');
  3658.        //         $('.ms_catagory_3 dl').removeClass('open');
  3659.        //         catarogy_2 = $(this).attr('data');
  3660.  
  3661.        //         setTimeout(function(){
  3662.        //             $('.ms_catagory_3 dl[data='+catarogy_2+']').addClass('open');
  3663.        //         }, 0);
  3664.        //     }
  3665.        // });
  3666.  
  3667.        // $(".collapse .ms_catagory_3 dd").hover(function(){
  3668.        //     $(this).addClass('hover');
  3669.        // },function(){
  3670.        //     $(this).removeClass('hover');
  3671.        // });
  3672.  
  3673.        var winX = $(window).width();
  3674.  
  3675.        // $(".expand .ms_main_menu li").hover(function(){
  3676.            
  3677.        //     if(main_data!=$(this).attr('data')){
  3678.  
  3679.        //         $(".expand .ms_main_menu li").removeClass('hover');
  3680.  
  3681.        //         $(this).addClass('hover');
  3682.  
  3683.        //         this_y = winX*0.5/100;
  3684.        //         this_x = $(this).offset().left - winX*2/100;
  3685.        //         this_arrow_x = $(this).width()/2 + winX*2/100;
  3686.  
  3687.        //         if( this_x > winX/2 ){
  3688.        //             this_x = this_x + $(this).width() - $('.expand .ms_catagory_1 >div[data='+$(this).attr('data')+']').outerWidth() + winX*4/100;
  3689.        //             this_arrow_x = $('.expand .ms_catagory_1 >div[data='+$(this).attr('data')+']').outerWidth() - winX*2/100 - $(this).width()/2;
  3690.        //         }
  3691.  
  3692.        //         $('.expand .ms_catagory_1 .ms_catagory_item').hide();
  3693.        //         $('.expand .ms_catagory_1 .ms_catagory_item[data='+$(this).attr('data')+'] .arrow').css('left',this_arrow_x);
  3694.        //         $('.expand .ms_catagory_1 .ms_catagory_item[data='+$(this).attr('data')+']').css({'top':this_y,'left':this_x}).fadeIn(200);
  3695.        //     }
  3696.  
  3697.        //     main_data = $(this).attr('data');
  3698.        // });
  3699.  
  3700.        $(".expand .ms_main_menu>li").hover(function(){
  3701.            $(this).find('.name_standard').css('opacity',0);
  3702.            $(this).find('.name_hover').css('opacity',1);
  3703.  
  3704.            this_offset_side = ($(this).offset().left < winX/2)? $(this).offset().left : winX-$(this).offset().left-$(this).width();
  3705.            this_x = 0;
  3706.            this_arrow_x = $(this).width()/2;
  3707.  
  3708.            this_submenu_width = $(this).children('.ms_catagory_item').width();
  3709.  
  3710.            if( this_offset_side + this_submenu_width > winX*0.8 ){
  3711.                
  3712.                this_x =  (winX - this_submenu_width)/2 - $(this).offset().left;
  3713.                this_arrow_x = this_arrow_x - this_x;
  3714.  
  3715.            }else if( $(this).offset().left > winX/2 ) {
  3716.  
  3717.                this_x = this_x - this_submenu_width + $(this).width();
  3718.                this_arrow_x = this_submenu_width - this_arrow_x;
  3719.  
  3720.            };
  3721.  
  3722.            if( this_submenu_width > winX/2 ){
  3723.  
  3724.                this_x = this_x/2;
  3725.                this_arrow_x = this_arrow_x + this_x;
  3726.  
  3727.            };
  3728.            
  3729.            // 如超出視窗右方 推回超出的數值
  3730.            if ( this_submenu_width + this_x - $(this).width() - this_offset_side > 0 &&
  3731.                 $(this).offset().left > winX/2 ) {
  3732.                
  3733.                var over_side = ( this_submenu_width + this_x - $(this).width() - this_offset_side ) ;
  3734.            
  3735.                this_x = this_x - over_side * 1.1 ;
  3736.                this_arrow_x = this_arrow_x + over_side * 1.1 ;
  3737.            };
  3738.  
  3739.  
  3740.            $(this).find('.arrow').css('left',this_arrow_x);
  3741.            $(this).children('.ms_catagory_item').css('left',this_x);
  3742.            $(this).children('.ms_catagory_item').stop().fadeIn(400);
  3743.  
  3744.        },function(){
  3745.            $(this).find('.name_standard').css('opacity',1);
  3746.            $(this).find('.name_hover').css('opacity',0);
  3747.            $(this).children('.ms_catagory_item').stop().fadeOut(200);
  3748.        });
  3749.  
  3750.        $(".master_menu_member").hover(function(){
  3751.            $("#id_member_center_list").stop().slideDown(200);
  3752.        },function(){
  3753.            $("#id_member_center_list").stop().slideUp(200);
  3754.        })
  3755.  
  3756.        $(window).scroll(function(){
  3757.            $('.expand .ms_catagory_1 .ms_catagory_item').fadeOut(300);
  3758.            main_data = 0;
  3759.  
  3760.            if(scrollTop>100){
  3761.  
  3762.                $('#id_master_menu_website_content_top_left,#id_master_menu_website_content_top_right,#id_master_menu_website_tool, .website_nav').addClass('scroll');
  3763.                //$('#id_master_menu_website_logo').fadeOut(300);
  3764.  
  3765.                if($('.ms_menu_bg_fixed').hasClass('scroll_to_collapse')){//有主視覺
  3766.  
  3767.                    $('#id_master_menu_website_logo,#id_master_menu_catalog_icon').addClass('scroll');
  3768.                    
  3769.                    //$('#id_master_menu_catalog_icon').fadeIn(300);
  3770.                    
  3771.                    if($('#id_master_catalog_expand_wrap .stage>li').hasClass('show')){
  3772.                        menu_counts = $('#id_master_catalog_expand_wrap .stage>li:last-child').index();
  3773.                        $('#id_master_catalog_expand_wrap .stage>li').each(function(){
  3774.                            this_index = $(this).index()+1;
  3775.                            $(this).css('transition-delay',0.1+(menu_counts-this_index)*0.05+'s').removeClass('show');
  3776.                        });
  3777.                    }
  3778.  
  3779.                }else{
  3780.                    $('#id_master_menu_website_logo,#id_master_menu_catalog_logo,#id_master_catalog_expand_wrap,.ms_menu_bg_fixed').addClass('scroll');
  3781.                }
  3782.                
  3783.                //$('#id_master_catalog_expand_wrap .stage>li').removeClass('show');
  3784.            }else if(scrollTop == 0){
  3785.  
  3786.                $('#id_master_menu_website_content_top_left,#id_master_menu_website_content_top_right,#id_master_menu_website_tool, .website_nav').removeClass('scroll');
  3787.  
  3788.                //$('#id_master_menu_website_logo').fadeIn(300);
  3789.                
  3790.                if($('.ms_menu_bg_fixed').hasClass('scroll_to_collapse')){
  3791.  
  3792.                    $('#id_master_menu_website_logo,#id_master_menu_catalog_icon').removeClass('scroll');
  3793.                    
  3794.                    //$('#id_master_menu_catalog_icon').fadeOut(300);
  3795.                    
  3796.                    if(!$('#id_master_catalog_expand_wrap .stage>li').hasClass('show')){
  3797.                        $('#id_master_catalog_expand_wrap .stage>li').each(function(){
  3798.                            this_index = $(this).index()+1;
  3799.                            $(this).css('transition-delay',0.1+this_index*0.05+'s').addClass('show');
  3800.                        });
  3801.                    }
  3802.  
  3803.                }else{
  3804.                    $('#id_master_menu_website_logo,#id_master_menu_catalog_logo,#id_master_catalog_expand_wrap,.ms_menu_bg_fixed').removeClass('scroll');
  3805.                }
  3806.                //$('#id_master_catalog_expand_wrap .stage>li').addClass('show');
  3807.            }
  3808.        });
  3809.  
  3810.        $(document).ready(function(){
  3811.            $('#id_master_catalog_expand_wrap .stage>li').each(function(){
  3812.                this_index = $(this).index()+1;
  3813.                $(this).css('transition-delay',0.5+this_index*0.1+'s').addClass('show');
  3814.  
  3815.                
  3816.            });
  3817.  
  3818.            setTimeout(function() {
  3819.                $('#id_master_catalog_expand_wrap .stage>li').each(function(){
  3820.                    this_index = $(this).index()+1;
  3821.                    $(this).css('transition-delay',0.1+this_index*0.05+'s');
  3822.                });
  3823.            }, 1000);
  3824.        })
  3825.  
  3826.    });
  3827. </script>
  3828.  
  3829.  
  3830.  
  3831. <div id="id_master_catalog_expand_wrap" class="expand master_vision_index no_website_content_top_left scroll_to_fixed">
  3832.  
  3833.    <ul class="stage ms_main_menu">
  3834.                    
  3835.            <li data='26'
  3836.  
  3837.                        >
  3838.                <a title="" class=" ds_nav_text_color" href="wc-45" target="_self" style="color:;background-color:;">
  3839.                    
  3840.                <span class="name_standard">                                                    關於STIGA                                            </span>    
  3841.                    
  3842.                    
  3843.                    <span class="name_hover">關於STIGA</span>
  3844.                </a>
  3845.  
  3846.                            </li>
  3847.                        
  3848.            <li data='27'
  3849.  
  3850.                        >
  3851.                <a title="" class=" ds_nav_text_color" href="wc-48" target="_self" style="color:;background-color:;">
  3852.                    
  3853.                <span class="name_standard">                                                    六角拍賽博6                                            </span>    
  3854.                    
  3855.                    
  3856.                    <span class="name_hover">Cybershape</span>
  3857.                </a>
  3858.  
  3859.                            </li>
  3860.                        
  3861.            <li data='23'
  3862.  
  3863.                        >
  3864.                <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:;">
  3865.                    
  3866.                <span class="name_standard">                                                    桌球拍                                            </span>    
  3867.                    
  3868.                    
  3869.                    <span class="name_hover">桌球拍</span>
  3870.                </a>
  3871.  
  3872.                                    <div class="ms_catagory_item" data='2'>
  3873.                        <div class="ms_catagory_item_wrap">
  3874.                            
  3875.                            <div class="ms_catagory_item_flex">
  3876.                                <ul class="category_1" >
  3877.                                                                                <li class="ms_catagory_item_list" data='37'
  3878.                                                                                            >
  3879.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=37" target="_self">
  3880.                                                    <div class="icon_nun"></div>
  3881.                                                                                                                    <div class="txt" >六角拍賽博6</div>
  3882.                                                                                                                
  3883.                                              
  3884.                                                    
  3885.  
  3886.                                                </a>
  3887.                                            </li>
  3888.                                                                                    <li class="ms_catagory_item_list" data='41'
  3889.                                                                                            >
  3890.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=41" target="_self">
  3891.                                                    <div class="icon_nun"></div>
  3892.                                                                                                                    <div class="txt" >純力系列</div>
  3893.                                                                                                                
  3894.                                              
  3895.                                                    
  3896.  
  3897.                                                </a>
  3898.                                            </li>
  3899.                                                                                    <li class="ms_catagory_item_list" data='42'
  3900.                                                                                            >
  3901.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=42" target="_self">
  3902.                                                    <div class="icon_nun"></div>
  3903.                                                                                                                    <div class="txt" >湧動混碳系列</div>
  3904.                                                                                                                
  3905.                                              
  3906.                                                    
  3907.  
  3908.                                                </a>
  3909.                                            </li>
  3910.                                                                                    <li class="ms_catagory_item_list" data='14'
  3911.                                                                                            >
  3912.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=14" target="_self">
  3913.                                                    <div class="icon_nun"></div>
  3914.                                                                                                                    <div class="txt" >Defensive系列</div>
  3915.                                                                                                                
  3916.                                              
  3917.                                                    
  3918.  
  3919.                                                </a>
  3920.                                            </li>
  3921.                                                                                    <li class="ms_catagory_item_list" data='15'
  3922.                                                                                            >
  3923.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=15" target="_self">
  3924.                                                    <div class="icon_nun"></div>
  3925.                                                                                                                    <div class="txt" >VPS系列</div>
  3926.                                                                                                                
  3927.                                              
  3928.                                                    
  3929.  
  3930.                                                </a>
  3931.                                            </li>
  3932.                                                                                    <li class="ms_catagory_item_list" data='16'
  3933.                                                                                            >
  3934.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=16" target="_self">
  3935.                                                    <div class="icon_nun"></div>
  3936.                                                                                                                    <div class="txt" >Azalea系列</div>
  3937.                                                                                                                
  3938.                                              
  3939.                                                    
  3940.  
  3941.                                                </a>
  3942.                                            </li>
  3943.                                                                                    <li class="ms_catagory_item_list" data='17'
  3944.                                                                                            >
  3945.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=17" target="_self">
  3946.                                                    <div class="icon_nun"></div>
  3947.                                                                                                                    <div class="txt" >Ebenholz系列</div>
  3948.                                                                                                                
  3949.                                              
  3950.                                                    
  3951.  
  3952.                                                </a>
  3953.                                            </li>
  3954.                                                                                    <li class="ms_catagory_item_list" data='24'
  3955.                                                                                            >
  3956.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=24" target="_self">
  3957.                                                    <div class="icon_nun"></div>
  3958.                                                                                                                    <div class="txt" >Dynasty Carbon系列</div>
  3959.                                                                                                                
  3960.                                              
  3961.                                                    
  3962.  
  3963.                                                </a>
  3964.                                            </li>
  3965.                                                                                    <li class="ms_catagory_item_list" data='26'
  3966.                                                                                            >
  3967.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=26" target="_self">
  3968.                                                    <div class="icon_nun"></div>
  3969.                                                                                                                    <div class="txt" >Clipper系列</div>
  3970.                                                                                                                
  3971.                                              
  3972.                                                    
  3973.  
  3974.                                                </a>
  3975.                                            </li>
  3976.                                                                                    <li class="ms_catagory_item_list" data='13'
  3977.                                                                                            >
  3978.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=13" target="_self">
  3979.                                                    <div class="icon_nun"></div>
  3980.                                                                                                                    <div class="txt" >RoseWood系列</div>
  3981.                                                                                                                
  3982.                                              
  3983.                                                    
  3984.  
  3985.                                                </a>
  3986.                                            </li>
  3987.                                                                                    <li class="ms_catagory_item_list" data='12'
  3988.                                                                                            >
  3989.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=12" target="_self">
  3990.                                                    <div class="icon_nun"></div>
  3991.                                                                                                                    <div class="txt" >Carbanado系列</div>
  3992.                                                                                                                
  3993.                                              
  3994.                                                    
  3995.  
  3996.                                                </a>
  3997.                                            </li>
  3998.                                                                                    <li class="ms_catagory_item_list" data='10'
  3999.                                                                                            >
  4000.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=10" target="_self">
  4001.                                                    <div class="icon_nun"></div>
  4002.                                                                                                                    <div class="txt" >經典系列</div>
  4003.                                                                                                                
  4004.                                              
  4005.                                                    
  4006.  
  4007.                                                </a>
  4008.                                            </li>
  4009.                                                                        </ul>
  4010.  
  4011.                                <div class="dl_wrap">
  4012.  
  4013.                            
  4014.                                                                            <dl>
  4015.                                            <dt class="ms_catagory_item_list"
  4016.                                                                                            >  
  4017.                                
  4018.                        
  4019.  
  4020.                                                
  4021.                                                            <a title="" class="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=31" target="">休閒系列</a>
  4022.                                                        
  4023.                                                                                                        
  4024.                                            
  4025.  
  4026.                                            </dt>
  4027.                                                                                            <dd class="ms_catagory_item_list"
  4028.                                                                                                >
  4029.                                                    <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=35" target="_self">
  4030.                                                        <div class="icon_nun"></div>
  4031.                                                        
  4032.                                                                    <div class="txt" >STIGA 休閒型</div>
  4033.  
  4034.                                                                                                                        
  4035.                                                    </a>
  4036.                                                </dd>
  4037.                                                                                                <dd class="ms_catagory_item_list"
  4038.                                                                                                >
  4039.                                                    <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=34" target="_self">
  4040.                                                        <div class="icon_nun"></div>
  4041.                                                        
  4042.                                                                    <div class="txt" >STIGA 戶外型</div>
  4043.  
  4044.                                                                                                                        
  4045.                                                    </a>
  4046.                                                </dd>
  4047.                                                                                        </dl>
  4048.                                                                    </div>
  4049.  
  4050.                            </div>
  4051.                            
  4052.                            <div class="arrow"></div>
  4053.                        </div>
  4054.                        <!--<div class="arrow"></div>-->
  4055.                    </div>
  4056.                                </li>
  4057.                        
  4058.            <li data='31'
  4059.  
  4060.                        >
  4061.                <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:;">
  4062.                    
  4063.                <span class="name_standard">                                                    桌球檯                                            </span>    
  4064.                    
  4065.                    
  4066.                    <span class="name_hover">TABLE</span>
  4067.                </a>
  4068.  
  4069.                            </li>
  4070.                        
  4071.            <li data='32'
  4072.  
  4073.                        >
  4074.                <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:;">
  4075.                    
  4076.                <span class="name_standard">                                                    球拍膠皮                                            </span>    
  4077.                    
  4078.                    
  4079.                    <span class="name_hover">球拍膠皮</span>
  4080.                </a>
  4081.  
  4082.                            </li>
  4083.                        
  4084.            <li data='33'
  4085.  
  4086.                        >
  4087.                <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:;">
  4088.                    
  4089.                <span class="name_standard">                                                    其他用品配備                                            </span>    
  4090.                    
  4091.                    
  4092.                    <span class="name_hover">其他用品配備</span>
  4093.                </a>
  4094.  
  4095.                                    <div class="ms_catagory_item" data='5'>
  4096.                        <div class="ms_catagory_item_wrap">
  4097.                            
  4098.                            <div class="ms_catagory_item_flex">
  4099.                                <ul class="category_1" >
  4100.                                                                                <li class="ms_catagory_item_list" data='27'
  4101.                                                                                            >
  4102.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=27" target="_self">
  4103.                                                    <div class="icon_nun"></div>
  4104.                                                                                                                    <div class="txt" >桌球</div>
  4105.                                                                                                                
  4106.                                              
  4107.                                                    
  4108.  
  4109.                                                </a>
  4110.                                            </li>
  4111.                                                                                    <li class="ms_catagory_item_list" data='19'
  4112.                                                                                            >
  4113.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=19" target="_self">
  4114.                                                    <div class="icon_nun"></div>
  4115.                                                                                                                    <div class="txt" >拍袋&背包</div>
  4116.                                                                                                                
  4117.                                              
  4118.                                                    
  4119.  
  4120.                                                </a>
  4121.                                            </li>
  4122.                                                                                    <li class="ms_catagory_item_list" data='20'
  4123.                                                                                            >
  4124.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=20" target="_self">
  4125.                                                    <div class="icon_nun"></div>
  4126.                                                                                                                    <div class="txt" >桌球鞋</div>
  4127.                                                                                                                
  4128.                                              
  4129.                                                    
  4130.  
  4131.                                                </a>
  4132.                                            </li>
  4133.                                                                                    <li class="ms_catagory_item_list" data='36'
  4134.                                                                                            >
  4135.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=36" target="_self">
  4136.                                                    <div class="icon_nun"></div>
  4137.                                                                                                                    <div class="txt" >配件</div>
  4138.                                                                                                                
  4139.                                              
  4140.                                                    
  4141.  
  4142.                                                </a>
  4143.                                            </li>
  4144.                                                                        </ul>
  4145.  
  4146.                                <div class="dl_wrap">
  4147.  
  4148.                            
  4149.                                                                    </div>
  4150.  
  4151.                            </div>
  4152.                            
  4153.                            <div class="arrow"></div>
  4154.                        </div>
  4155.                        <!--<div class="arrow"></div>-->
  4156.                    </div>
  4157.                                </li>
  4158.                        
  4159.            <li data='29'
  4160.  
  4161.                        >
  4162.                <a title="" class=" ds_nav_text_color" href="https://www.stiga.com.tw/physical_store.php" target="_self" style="color:;background-color:;">
  4163.                    
  4164.                <span class="name_standard">                                                    經銷商                                            </span>    
  4165.                    
  4166.                    
  4167.                    <span class="name_hover">經銷商</span>
  4168.                </a>
  4169.  
  4170.                            </li>
  4171.                </ul>
  4172.  
  4173. </div>
  4174.  
  4175.  
  4176. <div id="id_master_catalog_collapse_wrap" class="collapse dark">
  4177.  
  4178.    <div id="id_master_catalog_collapse_mask"></div>
  4179.  
  4180.    <div id="id_master_catalog_collapse_close"><i class="fas fa-times-circle"></i></div>
  4181.  
  4182.    <!--<div class="catagory_logo"><img src="https://pic.vcp.tw/upload/stiga/website_info/pic_logo_top_menu_1.jpeg?1652721395" alt=""></div>-->
  4183.  
  4184.    <div class="stage ms_main_menu">
  4185.        <dl>
  4186.            <dt>商品館別分類</dt>
  4187.                            <dd data='26' class="">
  4188.                    
  4189.                    <div class="icon"></div>                        
  4190.                        <a href="wc-45" target="_self" style="color:">
  4191.                            <span class="name_standard">關於STIGA</span>
  4192.                            <span class="name_hover">關於STIGA</span>
  4193.                        </a>
  4194.                                        
  4195.                </dd>
  4196.  
  4197.                                <dd data='27' class="">
  4198.                    
  4199.                    <div class="icon"></div>                        
  4200.                        <a href="wc-48" target="_self" style="color:">
  4201.                            <span class="name_standard">六角拍賽博6</span>
  4202.                            <span class="name_hover">Cybershape</span>
  4203.                        </a>
  4204.                                        
  4205.                </dd>
  4206.  
  4207.                                <dd data='23' class="has_sub">
  4208.                    
  4209.                    <div class="icon"></div>                        
  4210.                        <a href="https://www.stiga.com.tw/product_store?store_type_sn=23" target="_self" style="color:">
  4211.                            <span class="name_standard">桌球拍</span>
  4212.                            <span class="name_hover">桌球拍</span>
  4213.                        </a>
  4214.                                        
  4215.                </dd>
  4216.  
  4217.                                <dd data='31' class="">
  4218.                    
  4219.                    <div class="icon"></div>                        
  4220.                        <a href="https://www.stiga.com.tw/product_store?store_type_sn=31" target="_self" style="color:">
  4221.                            <span class="name_standard">桌球檯</span>
  4222.                            <span class="name_hover">TABLE</span>
  4223.                        </a>
  4224.                                        
  4225.                </dd>
  4226.  
  4227.                                <dd data='32' class="">
  4228.                    
  4229.                    <div class="icon"></div>                        
  4230.                        <a href="https://www.stiga.com.tw/product_store?store_type_sn=32" target="_self" style="color:">
  4231.                            <span class="name_standard">球拍膠皮</span>
  4232.                            <span class="name_hover">球拍膠皮</span>
  4233.                        </a>
  4234.                                        
  4235.                </dd>
  4236.  
  4237.                                <dd data='33' class="has_sub">
  4238.                    
  4239.                    <div class="icon"></div>                        
  4240.                        <a href="https://www.stiga.com.tw/product_store?store_type_sn=33" target="_self" style="color:">
  4241.                            <span class="name_standard">其他用品配備</span>
  4242.                            <span class="name_hover">其他用品配備</span>
  4243.                        </a>
  4244.                                        
  4245.                </dd>
  4246.  
  4247.                                <dd data='29' class="">
  4248.                    
  4249.                    <div class="icon"></div>                        
  4250.                        <a href="https://www.stiga.com.tw/physical_store.php" target="_self" style="color:">
  4251.                            <span class="name_standard">經銷商</span>
  4252.                            <span class="name_hover">經銷商</span>
  4253.                        </a>
  4254.                                        
  4255.                </dd>
  4256.  
  4257.                        </dl>
  4258.    </div>
  4259.  
  4260.    <div class="stage ms_category_1 ms_category">
  4261.                    <div class="ms_category_item" data='23'>桌球拍                                <div class="ms_category_item_wrap">
  4262.                    <ul class="category_1" >
  4263.                        <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>
  4264.                    <div class="dl_wrap">
  4265.                                                    <dl>
  4266.                                <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>
  4267.                                <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>
  4268.                                            </div>
  4269.                </div>
  4270.            </div>
  4271.                    <div class="ms_category_item" data='33'>其他用品配備                                <div class="ms_category_item_wrap">
  4272.                    <ul class="category_1" >
  4273.                        <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>
  4274.                    <div class="dl_wrap">
  4275.                                            </div>
  4276.                </div>
  4277.            </div>
  4278.            </div>
  4279.  
  4280.    <!-- <div class="stage ms_catagory_1 ms_catagory">
  4281.        <dl class="" data='23'>
  4282.                <dt>桌球拍</dt>
  4283.                    <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'>
  4284.                <dt>其他用品配備</dt>
  4285.                    <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>
  4286.  
  4287.    <div class="stage ms_catagory_2 ms_catagory">
  4288.        <dl class="" data='31'>
  4289.                <dt>休閒系列</dt>
  4290.                    <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>
  4291.  
  4292.    <div class="stage ms_catagory_3 ms_catagory">
  4293.            </div> -->
  4294. </div>
  4295.                
  4296.                    <div id="id_master_menu_catalog_logo" class="master_vision_index">
  4297.                        <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>
  4298.                    </div>
  4299.                
  4300.                    <div id="id_master_menu_catalog_icon" class="master_vision_index">
  4301.                        <i class="fas fa-bars"></i>
  4302.                    </div>
  4303.                </div>
  4304.            </div>
  4305.        </nav>
  4306.    </header>
  4307.     <!--link rel="stylesheet" href="fs/all/css/template.css"-->
  4308. <div class="master_vision ad_overflow_video animation_scroll default_animation">
  4309.    <div class="video_wrap">
  4310.        <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>
  4311.  
  4312.    <div class="content_wrap left_bottom">
  4313.        <!-- Luke ap_pc 主視覺的標題加上h1 -->
  4314.                            <div class="title" style="color:#;">STIGA 桌球世界品牌</div>
  4315.                        
  4316.        <div class="txt" style="color:#;">滿足您所有桌球的需求,輕鬆享受桌球樂趣</div>
  4317.        <div class="border_bottom" style="background-color:#"></div>
  4318.        <div class="description" style="color:#;"></div>
  4319.    </div>
  4320.            <div id="master_vision_scroll_down_button">
  4321.            <div>Scroll Down</div>
  4322.            <i class="fas fa-angle-double-down"></i>
  4323.            <div id="scroll_down_position"></div>
  4324.        </div>
  4325.    </div>    <script>
  4326.        $(function(){
  4327.            $("#master_vision_scroll_down_button").click(function(){
  4328.                to_scrollTo("scroll_down_position",600);
  4329.            })
  4330.        })
  4331.    </script>
  4332.  
  4333.  
  4334.            <div id="dlc_sn_108" class="content_module_wrap dlc_sn_108  " style=" padding-top:4%;padding-bottom:0%;">
  4335.                <div class="bg" style=""></div>
  4336.                <div class="content_module_inner triple_pic_average_space" style="">
  4337.                    <div class="content_wrap  " style="color:#;">
  4338.                        <div class="" >
  4339.                                        <div class="cm_title_wrap" style="border-bottom:0px solid">
  4340.                                        <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>
  4341.                        
  4342.                        <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>
  4343.                                    </div>
  4344.                                    </div>
  4345.                    </div>
  4346.  
  4347.                    <div class="cm_pic cm_left  over_hidden" style="border-radius:none;">
  4348.                        <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>
  4349.  
  4350.                                            </div>
  4351.  
  4352.                    <div class="cm_pic cm_middle  over_hidden" style="border-radius:none;">
  4353.                        <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>
  4354.  
  4355.                                            </div>
  4356.                    
  4357.                    <div class="cm_pic cm_right  over_hidden" style="border-radius:none;">
  4358.                        <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>
  4359.  
  4360.                                            </div>
  4361.                </div>
  4362.            </div>
  4363.                    <script type="module">
  4364.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4365.    
  4366.            $(function(){
  4367.                getVideoSizeProportion("dlc_sn_108");
  4368.            })
  4369.        </script>
  4370.                    <div id="dlc_sn_111" class="content_module_wrap dlc_sn_111  " style=" padding-top:2%;padding-bottom:2%;">
  4371.                <div class="bg" style=""></div>
  4372.                <div class="content_module_inner triple_pic_average_space" style="">
  4373.                    <div class="content_wrap  hide" style="color:#;">
  4374.                        <div class="" >
  4375.                                                    </div>
  4376.                    </div>
  4377.  
  4378.                    <div class="cm_pic cm_left  over_hidden" style="border-radius:none;">
  4379.                        <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>
  4380.  
  4381.                                            </div>
  4382.  
  4383.                    <div class="cm_pic cm_middle  over_hidden" style="border-radius:none;">
  4384.                        <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>
  4385.  
  4386.                                            </div>
  4387.                    
  4388.                    <div class="cm_pic cm_right  over_hidden" style="border-radius:none;">
  4389.                        <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>
  4390.  
  4391.                                            </div>
  4392.                </div>
  4393.            </div>
  4394.                    <script type="module">
  4395.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4396.    
  4397.            $(function(){
  4398.                getVideoSizeProportion("dlc_sn_111");
  4399.            })
  4400.        </script>
  4401.        <!-- 純文字 -->
  4402.            <div id="dlc_sn_110" class="content_module_wrap dlc_sn_110  " style=" padding-top:0%;padding-bottom:2%; ">
  4403.                <div class="bg" style=""></div>
  4404.                <div class="content_module_inner text_only " style="border-radius:none;">
  4405.                    <div class="content_wrap " style="">
  4406.                                    <div class="cm_title_wrap" style="border-bottom:0px solid">
  4407.                                        <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>
  4408.                        
  4409.                        <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>
  4410.                                    </div>
  4411.                                </div>
  4412.                </div>
  4413.            </div>
  4414.                    <script type="module">
  4415.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4416.    
  4417.            $(function(){
  4418.                getVideoSizeProportion("dlc_sn_110");
  4419.            })
  4420.        </script>
  4421.        <!-- embed M -->
  4422.            <div id="dlc_sn_109" class="content_module_wrap embed_module dlc_sn_109 overflow " style=" padding-top:0%;">
  4423.                <div class="bg" style=""></div>
  4424.                        <div class="ad_product_a6 animation_scroll default_animation">
  4425.    
  4426.            <div class="a6_title ds_main_color txt" style="color:#; background-color:#; padding-left: 1em">熱賣產品</div>    
  4427.            <ul class="a6_slider a6_slider_sn_1_embed_109">
  4428.                                    <li class="a6_list_item ds_standard_bg_color">
  4429.                        <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')">
  4430.                                                    </div>
  4431.                        <div class="ds_product_promotion_color">
  4432.                            <div class="promote"></div>
  4433.                        </div>
  4434.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>STIGA 裁判三色牌配件組</h2></div>
  4435.    
  4436.                        <div class="parameter_link">
  4437.                            
  4438.                        </div>
  4439.    
  4440.                        <div class="price">
  4441.                            <div class=" ds_product_price_color ds_product_price_size">
  4442.                                <span class='sale_price '>$650</span>                            </div>
  4443.                        </div>
  4444.  
  4445.                                                <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>
  4446.                    </li>
  4447.                                        <li class="a6_list_item ds_standard_bg_color">
  4448.                        <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')">
  4449.                                                    </div>
  4450.                        <div class="ds_product_promotion_color">
  4451.                            <div class="promote">玫瑰木七夾板</div>
  4452.                        </div>
  4453.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>ROSEWOOD NCT VII 玫瑰七</h2></div>
  4454.    
  4455.                        <div class="parameter_link">
  4456.                            <span style="background-color:#100cc0; color:#fff">進攻型</span><span style="background-color:#100cc0; color:#fff">7層</span>
  4457.                        </div>
  4458.    
  4459.                        <div class="price">
  4460.                            <div class=" ds_product_price_color ds_product_price_size">
  4461.                                <span class='sale_price '>$6,600</span>                            </div>
  4462.                        </div>
  4463.  
  4464.                                                <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>
  4465.                    </li>
  4466.                                        <li class="a6_list_item ds_standard_bg_color">
  4467.                        <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')">
  4468.                                                    </div>
  4469.                        <div class="ds_product_promotion_color">
  4470.                            <div class="promote">控78   速156   旋134 硬47.5°</div>
  4471.                        </div>
  4472.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>桌球膠皮 STIGA DNA PRO M</h2></div>
  4473.    
  4474.                        <div class="parameter_link">
  4475.                            <span style="background-color:#100cc0; color:#fff">控制 78</span><span style="background-color:#100cc0; color:#fff">速度 156</span>
  4476.                        </div>
  4477.    
  4478.                        <div class="price">
  4479.                            <div class=" ds_product_price_color ds_product_price_size">
  4480.                                <span class='sale_price '>$2,200</span>                            </div>
  4481.                        </div>
  4482.  
  4483.                                                <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>
  4484.                    </li>
  4485.                                        <li class="a6_list_item ds_standard_bg_color">
  4486.                        <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')">
  4487.                                                    </div>
  4488.                        <div class="ds_product_promotion_color">
  4489.                            <div class="promote"></div>
  4490.                        </div>
  4491.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>CLIPPER CR WRB</h2></div>
  4492.    
  4493.                        <div class="parameter_link">
  4494.                            <span style="background-color:#100cc0; color:#fff">進攻型</span><span style="background-color:#100cc0; color:#fff">7層</span>
  4495.                        </div>
  4496.    
  4497.                        <div class="price">
  4498.                            <div class=" ds_product_price_color ds_product_price_size">
  4499.                                <span class='sale_price '>$3,000</span>                            </div>
  4500.                        </div>
  4501.  
  4502.                                                <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>
  4503.                    </li>
  4504.                                        <li class="a6_list_item ds_standard_bg_color">
  4505.                        <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')">
  4506.                                                    </div>
  4507.                        <div class="ds_product_promotion_color">
  4508.                            <div class="promote"></div>
  4509.                        </div>
  4510.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>六角賽博Cybershape</h2></div>
  4511.    
  4512.                        <div class="parameter_link">
  4513.                            
  4514.                        </div>
  4515.    
  4516.                        <div class="price">
  4517.                            <div class=" ds_product_price_color ds_product_price_size">
  4518.                                <span class='sale_price '>$10,000</span>                            </div>
  4519.                        </div>
  4520.  
  4521.                                                <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>
  4522.                    </li>
  4523.                                        <li class="a6_list_item ds_standard_bg_color">
  4524.                        <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')">
  4525.                                                    </div>
  4526.                        <div class="ds_product_promotion_color">
  4527.                            <div class="promote">許昕設計款(藍標)</div>
  4528.                        </div>
  4529.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>DYNASTY CARBON XU XIN EDITION</h2></div>
  4530.    
  4531.                        <div class="parameter_link">
  4532.                            <span style="background-color:#100cc0; color:#fff">進攻型+</span><span style="background-color:#100cc0; color:#fff">5層+2層</span>
  4533.                        </div>
  4534.    
  4535.                        <div class="price">
  4536.                            <div class=" ds_product_price_color ds_product_price_size">
  4537.                                <span class='sale_price '>$10,000</span>                            </div>
  4538.                        </div>
  4539.  
  4540.                                                <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>
  4541.                    </li>
  4542.                                        <li class="a6_list_item ds_standard_bg_color">
  4543.                        <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')">
  4544.                                                    </div>
  4545.                        <div class="ds_product_promotion_color">
  4546.                            <div class="promote"></div>
  4547.                        </div>
  4548.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>網架測量尺</h2></div>
  4549.    
  4550.                        <div class="parameter_link">
  4551.                            
  4552.                        </div>
  4553.    
  4554.                        <div class="price">
  4555.                            <div class=" ds_product_price_color ds_product_price_size">
  4556.                                <span class='sale_price '>$160</span>                            </div>
  4557.                        </div>
  4558.  
  4559.                                                <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>
  4560.                    </li>
  4561.                                        <li class="a6_list_item ds_standard_bg_color">
  4562.                        <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')">
  4563.                                                    </div>
  4564.                        <div class="ds_product_promotion_color">
  4565.                            <div class="promote">ITTF認證國際比賽球</div>
  4566.                        </div>
  4567.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>STIGA 三星(ABS)塑料比賽球</h2></div>
  4568.    
  4569.                        <div class="parameter_link">
  4570.                            
  4571.                        </div>
  4572.    
  4573.                        <div class="price">
  4574.                            <div class=" ds_product_price_color ds_product_price_size">
  4575.                                <span class='sale_price '>$600</span>                            </div>
  4576.                        </div>
  4577.  
  4578.                                                <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>
  4579.                    </li>
  4580.                                        <li class="a6_list_item ds_standard_bg_color">
  4581.                        <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')">
  4582.                                                    </div>
  4583.                        <div class="ds_product_promotion_color">
  4584.                            <div class="promote">許昕黑標</div>
  4585.                        </div>
  4586.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>DYNASTY CARBON(許昕黑標)</h2></div>
  4587.    
  4588.                        <div class="parameter_link">
  4589.                            <span style="background-color:#100cc0; color:#fff">進攻型+</span><span style="background-color:#100cc0; color:#fff">5層+2層</span>
  4590.                        </div>
  4591.    
  4592.                        <div class="price">
  4593.                            <div class=" ds_product_price_color ds_product_price_size">
  4594.                                <span class='sale_price '>$8,800</span>                            </div>
  4595.                        </div>
  4596.  
  4597.                                                <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>
  4598.                    </li>
  4599.                                </ul>
  4600.        </div>
  4601.    
  4602.        <script>
  4603.            $(".a6_slider_sn_1_embed_109").slick({
  4604.                autoplay: false,
  4605.                autoplaySpeed:5000,
  4606.                dots: true,
  4607.                speed: 700,
  4608.                slidesToShow: 5,
  4609.                slidesToScroll:5
  4610.            })
  4611.        </script>
  4612.                    </div>
  4613.                    <script type="module">
  4614.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4615.    
  4616.            $(function(){
  4617.                getVideoSizeProportion("dlc_sn_109");
  4618.            })
  4619.        </script>
  4620.                    <!-- 文繞圖 單圖 右圖左文 -->
  4621.            <div id="dlc_sn_94" class="content_module_wrap dlc_sn_94  " style=" padding-top:2%;padding-bottom:5%;">
  4622.                <div class="bg" style=""></div>
  4623.                <div class="content_module_inner text_wrap_single_left over_hidden" style="border-radius:none;">
  4624.                    <div class="content_wrap  animation_scroll fadeLeft  " style="">
  4625.                                    <div class="cm_title_wrap" style="border-bottom:1px solid">
  4626.                                        <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>
  4627.                        
  4628.                        <h3 class="cm_subtitle ds_text_sub_caption_color ds_text_sub_caption_size text_align_center" style=" font-size:vw;">瑞典19歲小將莫雷加德得分利器</h3>
  4629.                                    </div>
  4630.                        <div class="cm_text_content ds_text_content_color ds_text_content_size text_align_center" style=" font-size:vw;">
  4631.                <br>六邊形球拍的重量跟STIGA的圓型球拍基本相同,而最佳擊球區域整體擴大到約1成。由於邊緣呈現一定角度,「不容易感覺到揮動球拍時的離心力,正手強攻時或許有違和感」,適合擅長前臺快攻和反手推擋的選手。        <div class="cm_cta_btn_wrap">
  4632.            <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>
  4633.        </div>
  4634.                    </div>
  4635.                                </div>
  4636.                    <a class="cm_pic animation_scroll fadeRight " style="" href="javascript:void(0)">
  4637.                        <img alt="" src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_1_94.png?1672392502">
  4638.                                            </a>
  4639.                </div>
  4640.            </div>
  4641.                    <script type="module">
  4642.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4643.    
  4644.            $(function(){
  4645.                getVideoSizeProportion("dlc_sn_94");
  4646.            })
  4647.        </script>
  4648.                    <!-- 文繞影 左影右文-->
  4649.            <div id="dlc_sn_97" class="content_module_wrap dlc_sn_97  " style=" padding-top:2%;padding-bottom:5%;">
  4650.                <div class="bg" style=""></div>
  4651.                <div class="content_module_inner text_wrap_video_right over_hidden" style="border-radius:none;">
  4652.                    <div class="cm_video animation_scroll fadeRight ">
  4653.                                                    <video id="video_dlc_97" class="video_autoplay" loop muted playsinline autoplay>
  4654.                                <source src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/video_97.mp4?1672397090" type="video/mp4">
  4655.                                <!--source src="mov_bbb.ogg" type="video/ogg"-->
  4656.                                Your browser does not support HTML5 video.
  4657.                            </video>
  4658.  
  4659.                            
  4660.                                                        
  4661.                                                            <div class="controler">
  4662.                                    <div class="btn-stop">play <i class="far fa-play-circle"></i></div>
  4663.                                    <div class="btn-volume">volume <i class="fa-solid fa-volume-xmark"></i></div>
  4664.                                </div>
  4665.                                                    
  4666.                                                </div>
  4667.                    
  4668.                    <div class="content_wrap  animation_scroll fadeLeft  " style="">
  4669.                                    <div class="cm_title_wrap" style="border-bottom:1px solid">
  4670.                                        <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>
  4671.                        
  4672.                        <h3 class="cm_subtitle ds_text_sub_caption_color ds_text_sub_caption_size text_align_center" style=" font-size:vw;">柄式、重量、厚度</h3>
  4673.                                    </div>
  4674.                        <div class="cm_text_content ds_text_content_color ds_text_content_size text_align_center" style=" font-size:vw;">
  4675.                <br>每一隻球拍STIGA考量選手的特性,不管是重量、柄式等等,使用獨特的板材黏和技術與乾燥處理,創造出一支支輕量化以及符合商家的優質球板。        <div class="cm_cta_btn_wrap">
  4676.            <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>
  4677.        </div>
  4678.                    </div>
  4679.                                </div>
  4680.                </div>
  4681.            </div>
  4682.            <script>
  4683.                
  4684.            </script>
  4685.                    <script type="module">
  4686.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4687.    
  4688.            $(function(){
  4689.                getVideoSizeProportion("dlc_sn_97");
  4690.            })
  4691.        </script>
  4692.                    <!-- 文繞圖 單圖 左圖右文 -->
  4693.            <div id="dlc_sn_20" class="content_module_wrap dlc_sn_20  " style="background-color: #ffffff; padding-top:5%;padding-bottom:5%;">
  4694.                <div class="bg" style=""></div>
  4695.                <div class="content_module_inner text_wrap_single_right over_hidden" style="border-radius:none;">
  4696.                    <a class="cm_pic animation_scroll fadeIn " href='https://www.stiga.com.tw/wc-45' target='_self' file_type='tw/wc-45'>
  4697.                        <img alt="" src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_1_20.png?1672391999">
  4698.                                            </a>
  4699.                    
  4700.                    <div class="content_wrap  animation_scroll fadeIn  " style="color:#ffffff;background-color: rgba(0,0,0,1);padding:2% 3%;">
  4701.                                    <div class="cm_title_wrap" style="border-bottom:0px solid">
  4702.                                        <h2 class="cm_title ds_text_caption_color ds_text_caption_size text_align_center" style="color:#ffffff; font-size:vw;">關於我們</h2>
  4703.                        
  4704.                        <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>
  4705.                                    </div>
  4706.                        <div class="cm_text_content ds_text_content_color ds_text_content_size text_align_center" style="color:#ffffff; font-size:vw;">
  4707.                STIGA 70多年來一直是乒乓球運動的世界領導者<br />
  4708. 台灣STIGA擁有優秀的國際團隊和精湛的STIGA製造技術<br />
  4709. 只為了提供給台灣消費者更好的選擇            </div>
  4710.                                </div>
  4711.                </div>
  4712.            </div>
  4713.                    <script type="module">
  4714.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4715.    
  4716.            $(function(){
  4717.                getVideoSizeProportion("dlc_sn_20");
  4718.            })
  4719.        </script>
  4720.        <!-- 輪播圖 -->
  4721.            <div id="dlc_sn_21" class="content_module_wrap dlc_sn_21 overflow " style=" padding-bottom:0%;">
  4722.                <div class="bg" style=""></div>
  4723.                <div class="content_module_inner slide_show_standard">
  4724.                    <div class="content_wrap full_width animation_scroll fadeIn  hide" style="color:#ffffff;">
  4725.                                            </div>
  4726.                    <div class="container animation_scroll fadeIn  over_hidden" style="border-radius:none;">
  4727.                                                        <div class="item" style="">
  4728.                                    <a href='https://www.stiga.com.tw/product_store?store_type_sn=31' target='_self' file_type='tw/product_store'>
  4729.                                        <div class="cm_pic cm_">
  4730.                                            <div class="cm_img"><img alt="" src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_1_21.png?1672391700"></div>
  4731.                                        </div>
  4732.                                        <div class="cm_pic_content_wrap" style="">
  4733.                                                                                
  4734.                                        </div>
  4735.                                    </a>
  4736.                                </div>
  4737.                                                                <div class="item" style="">
  4738.                                    <a href='https://www.stiga.com.tw/product_store?store_type_sn=31' target='_self' file_type='tw/product_store'>
  4739.                                        <div class="cm_pic cm_">
  4740.                                            <div class="cm_img"><img alt="" src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_2_21.png?1672391858"></div>
  4741.                                        </div>
  4742.                                        <div class="cm_pic_content_wrap" style="">
  4743.                                                                                
  4744.                                        </div>
  4745.                                    </a>
  4746.                                </div>
  4747.                                
  4748.                        <!--
  4749.                            <div class="item animation_scroll fadeIn ">
  4750.                                <a href='https://www.stiga.com.tw/product_store?store_type_sn=31' target='_self' file_type='tw/product_store' style="background-color:unset">
  4751.                                    <div class="cm_pic cm_1">
  4752.                                        <div class="cm_img"><img src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_1_21.png?1672391700"></div>
  4753.                                    </div>
  4754.                                    <div class="cm_pic_content_wrap">
  4755.                                                                            
  4756.                                    </div>
  4757.                                </a>
  4758.                            </div>
  4759.                            
  4760.                            <div class="item animation_scroll fadeIn ">
  4761.                                <a href='https://www.stiga.com.tw/product_store?store_type_sn=31' target='_self' file_type='tw/product_store' style="background-color:unset">
  4762.                                    <div class="cm_pic cm_2">
  4763.                                        <div class="cm_img"><img src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_2_21.png?1672391858"></div>
  4764.                                    </div>
  4765.                                    <div class="cm_pic_content_wrap">
  4766.                                                                            
  4767.                                    </div>
  4768.                                </a>
  4769.                            </div>
  4770.  
  4771.                            <div class="item animation_scroll fadeIn ">
  4772.                                <a href="javascript:void(0)" style="background-color:unset">
  4773.                                    <div class="cm_pic cm_3">
  4774.                                        <div class="cm_img"><img src=""></div>
  4775.                                    </div>
  4776.                                    <div class="cm_pic_content_wrap">
  4777.                                                                            
  4778.                                    </div>
  4779.                                </a>
  4780.                            </div>
  4781.  
  4782.                            <div class="item animation_scroll fadeIn ">
  4783.                                <a href="javascript:void(0)" style="background-color:unset">
  4784.                                    <div class="cm_pic cm_4">
  4785.                                        <div class="cm_img"><img src=""></div>
  4786.                                    </div>
  4787.                                    <div class="cm_pic_content_wrap">
  4788.                                                                            
  4789.                                    </div>
  4790.                                </a>
  4791.                            </div>
  4792.  
  4793.                            <div class="item animation_scroll fadeIn ">
  4794.                                <a href="javascript:void(0)" style="background-color:unset">
  4795.                                    <div class="cm_pic cm_5">
  4796.                                        <div class="cm_img"><img src=""></div>
  4797.                                    </div>
  4798.                                    <div class="cm_pic_content_wrap">
  4799.                                                                            
  4800.                                    </div>
  4801.                                </a>
  4802.                            </div>
  4803.                        -->
  4804.                    </div>
  4805.                </div>
  4806.            </div>
  4807.            <script>
  4808.                 window._modulePromises.push(new Promise(resolve => {
  4809.                    $("#dlc_sn_21 .container").slick({
  4810.                        autoplay: true,
  4811.                        autoplaySpeed:5000,
  4812.                        dots: true,
  4813.                        speed: 700,
  4814.                        slidesToShow: 1,
  4815.                        slidesToScroll:1
  4816.                    })
  4817.                    resolve();
  4818.                 }))
  4819.                
  4820.            </script>
  4821.                    <script type="module">
  4822.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4823.    
  4824.            $(function(){
  4825.                getVideoSizeProportion("dlc_sn_21");
  4826.            })
  4827.        </script>
  4828.         <div class="div_middle_box clear">
  4829.  
  4830. <div class="div_middle_left_big">
  4831. </div>
  4832.  
  4833. <div class="div_middle_right_small">
  4834. </div>
  4835.  
  4836. </div>
  4837.        <div style="position: absolute; color: transparent;pointer-events:none;width:100%;overflow:hidden;"><h1>STIGA | 瑞典國際乒乓球台灣代理商</h1></div>
  4838.    <div id="id_div_footer_top" style="clear:both;height:0px;"></div>
  4839. <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">
  4840. <dl>
  4841. <dt style="color:#; background-color:#">
  4842. <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>
  4843. </dl>
  4844. </li><li class="animation_scroll default_animation" style="transition-delay:0.2s">
  4845. <dl>
  4846. <dt style="color:#; background-color:#">
  4847. <a style='color:#;' onclick=to_ajax_count_website_content(25) >聯絡我們</a> </dt>
  4848. <dd  style="background-color:#">
  4849. <a style='color:#ffffff;' onclick=to_ajax_count_website_content(29) >客服聯繫:02-2243-6346</a> </dd>
  4850. <dd  style="background-color:#">
  4851. <a style='color:#ffffff;' onclick=to_ajax_count_website_content(31) >公司地址:新北市中和區中山路二段362-2號2樓</a> </dd>
  4852. <dd  style="background-color:#">
  4853. <a style='color:#ffffff;' onclick=to_ajax_count_website_content(32) >營業時間:週一~週五 09:00-18:00</a> </dd>
  4854. <dd  style="background-color:#">
  4855. <a style='color:#;' onclick=to_ajax_count_website_content(50) >Copyright 2022 ©乒乓世界桌球用品有限公司</a> </dd>
  4856. </dl>
  4857. </li><li class="animation_scroll default_animation" style="transition-delay:0.4s">
  4858. <dl>
  4859. <dt style="color:#; background-color:#">
  4860. <a style='color:#;' onclick=to_ajax_count_website_content(26) >客服中心</a> </dt>
  4861. <dd  style="background-color:#">
  4862. <a style='color:#;' onclick=to_ajax_count_website_content(33) href='website_contact'  target='_self'>常見問題</a> </dd>
  4863. <dd  style="background-color:#">
  4864. <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>
  4865. <dd  style="background-color:#">
  4866. <a style='color:;' onclick=to_ajax_count_website_content(35) href='website_contact'  target='_self'>聯繫我們</a> </dd>
  4867. <dd  style="background-color:#">
  4868. <a style='color:#;' onclick=to_ajax_count_website_content(36) href='website_faq.php?category_sn=3'  target='_self'>訂購流程說明</a> </dd>
  4869. </dl>
  4870. </li><li class="animation_scroll default_animation" style="transition-delay:0.6s">
  4871. <dl>
  4872. <dt style="color:#; background-color:#">
  4873. <a style='color:#;' onclick=to_ajax_count_website_content(28) >關注我們</a> </dt>
  4874. <dd class='inline' style="background-color:#">
  4875. <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>
  4876. <dd class='inline' style="background-color:#">
  4877. <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>
  4878. <dd class='inline' style="background-color:#">
  4879. <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>
  4880. </dl>
  4881. </li></ul>
  4882. <div class="footer_copyright_outside footer_copyright_outside_bg ds_main_text_color ds_main_bg_color">
  4883. <div class="footer_copyright"><div><div style="text-align: center;">Copyright(C) STIGA Taiwan All Rights Reserved.</div></div></div>
  4884. </div>
  4885.  
  4886. <div id="id_fixed_left_other_viewing" style="position:fixed;bottom:10px;left:2px;display:none;">
  4887. </div>
  4888.  
  4889. <div id="id_fixed_right_top" style="position:fixed;top:150px;right:0px;display:none;">
  4890. </div>
  4891.  
  4892. <div id="id_fixed_right_bottom_product_view_record" style="position:fixed;bottom:145px;right:50px;z-index:900">
  4893.  
  4894. <div class="right_bottom_share_link ds_btn_cta" onclick="to_show_share_link()" title="分享">
  4895. <i class="fa-solid fa-share-nodes"></i>
  4896. </div>
  4897. <div class="ds_main_color ds_standard_bg_color" style="border-radius: 10px;">
  4898. <div class="product_view_record_button" onclick="to_show_product_view_record()">
  4899. <div class="this_icon"><i class="fa fa-heart"></i></div>
  4900. <div class="caption">看商品</div>
  4901. <div class="count">0</div>
  4902. </div>
  4903. </div>
  4904. <div class="right_bottom_line" style="width: 50px;">
  4905. <!-- <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=1752237725" border="0" align="absmiddle"></a> -->
  4906. <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=1752237725" border="0" align="absmiddle"></a>
  4907. </div>
  4908. </div>
  4909.  
  4910.  
  4911. <div id="id_fixed_left_bottom">
  4912.  
  4913.    <!-- line_point -->
  4914.        
  4915.     <!-- line直播提醒 -->
  4916.        
  4917. </div>
  4918.  
  4919. <div id="id_fixed_right_bottom" style="position:fixed;bottom:5px;right:0px;display:none;z-index:900">
  4920. <div class="scroll_top_button" onclick="to_scroll_top()">
  4921. <div class="this_icon"><i class="fa fa-chevron-up"></i></div>
  4922. </div>
  4923. </div>
  4924.  
  4925. <div id="id_fixed_left_watermark" style="position:fixed;top:150px;left:10px;">
  4926. </div>
  4927.  
  4928.  
  4929.  
  4930.  
  4931. <div class="share_link_panel close">
  4932.  
  4933.    <div class="mask" onclick="to_show_share_link()"></div>
  4934.  
  4935.    <div class="wrap">
  4936.        <div class="caption">分享頁面</div>
  4937.        <div class="notice"><span onclick='to_show_member_login_layer()'>您尚未登入,連結無邀請功能<span></div>
  4938.        <div class="share_link_content">
  4939.            <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>
  4940.            <div class="btn_wrap">  
  4941.                <!-- line 分享 -->
  4942.                <div class="btn line_icon" onclick="share_with_friend()" title="line分享">
  4943.                    <div><i class="fab fa-line"></i></div>
  4944.                </div>
  4945.                                                    <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="複製分享鏈結">
  4946.                        <div><i class="fa-solid fa-link"></i></div>
  4947.                    </div>
  4948.                            </div>
  4949.        </div>
  4950.    </div>
  4951. </div>
  4952.  
  4953. <script>
  4954.    if (document.getElementById('fbShareBtn')) {
  4955.  
  4956.        document.getElementById('fbShareBtn').onclick = function() {
  4957.  
  4958.            FB.ui({
  4959.                display: 'popup',
  4960.                method: 'share',
  4961.                href: 'https://liff.line.me/1657662956-ljewX6qm/index.php?utm_source=m2&utm_medium=guest',
  4962.  
  4963.            }, function(response) {
  4964.                window.close();
  4965.            });
  4966.        }
  4967.    }
  4968.  
  4969.    if (document.getElementById('messengerShareBtn')) {
  4970.  
  4971.        document.getElementById('messengerShareBtn').onclick = function() {
  4972.            FB.ui({
  4973.                method: 'send',
  4974.                link: 'https://liff.line.me/1657662956-ljewX6qm/index.php?utm_source=m2&utm_medium=guest',
  4975.                display: 'popup'
  4976.            }, function(response) {});
  4977.        }
  4978.    }
  4979.  
  4980.    function to_show_share_link() {
  4981.        $(".share_link_panel").toggleClass("close");
  4982.        $(".footer_cus_btn").toggleClass("blur");
  4983.    }
  4984.  
  4985.    function to_check_short_code(short_url_source, php_self) {
  4986.  
  4987.        $("#share_short_url_btn div").toggleClass('fa-spin');
  4988.        $("#share_short_url_btn div i").toggleClass('fa-link fa-spinner');
  4989.  
  4990.        $.ajax({
  4991. type: 'POST',
  4992. url: './ajax_website_module_api.php',
  4993. data: {
  4994. 'module_type': 'to_check_short_code',
  4995. 'short_url_source': short_url_source,
  4996. 'php_self': php_self,
  4997. },
  4998. success: function(res) {
  4999.  
  5000.                to_show_share_link();
  5001.  
  5002.                let res_obj = JSON.parse(res);
  5003.  
  5004.                const Toast = Swal.mixin({
  5005.                    toast: true,
  5006.                    position: 'top-end',
  5007.                    showConfirmButton: false,
  5008.                    timer: 1500,
  5009.                    timerProgressBar: true,
  5010.                    didOpen: (toast) => {
  5011.                        toast.addEventListener('mouseenter', Swal.stopTimer)
  5012.                        toast.addEventListener('mouseleave', Swal.resumeTimer)
  5013.                    }
  5014.                })
  5015.  
  5016.                Toast.fire({
  5017.                    icon: res_obj.status,
  5018.                    title: res_obj.msg
  5019.                })
  5020.  
  5021. },
  5022. error: function(err) {
  5023.                console.log(err);
  5024. },
  5025. complete: function() {
  5026.                
  5027.                $("#share_short_url_btn div").toggleClass('fa-spin');
  5028.                $("#share_short_url_btn div i").toggleClass('fa-link fa-spinner');
  5029. }
  5030. });
  5031.    }
  5032. </script>
  5033.  
  5034.  
  5035. <script language="javascript">
  5036.  
  5037. var this_client_width = document.documentElement.clientWidth;
  5038.  
  5039. if(this_client_width > 1100){
  5040.  
  5041. document.getElementById("id_fixed_right_top").style.right="50px";
  5042. document.getElementById("id_fixed_right_bottom_product_view_record").style.right="50px";
  5043. document.getElementById("id_fixed_right_bottom").style.right="50px";
  5044. document.getElementById("id_fixed_left_other_viewing").style.left="50px";
  5045. /*
  5046. document.getElementById("id_fixed_right_top").style.right=(((this_client_width-1180)/2)-60)+'px';
  5047. document.getElementById("id_fixed_right_bottom_product_view_record").style.right=(((this_client_width-1180)/2)-60)+'px';
  5048. document.getElementById("id_fixed_right_bottom").style.right=(((this_client_width-1180)/2)-60)+'px';
  5049. document.getElementById("id_fixed_left_other_viewing").style.left=(((this_client_width-1180)/2)-80)+'px';
  5050. */
  5051.  
  5052. }else{
  5053.  
  5054. document.getElementById("id_fixed_right_top").style.right="20px";
  5055. document.getElementById("id_fixed_right_bottom_product_view_record").style.right="20px";
  5056. document.getElementById("id_fixed_right_bottom").style.right="20px";
  5057. }
  5058.  
  5059. if(navigator.userAgent.search("MSIE") > -1){
  5060.  
  5061. var ie_version = parseFloat(navigator.userAgent.match(/MSIE (\d\.*\d*)/i)[1]);
  5062.  
  5063. if(ie_version < 8){
  5064.  
  5065. 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>感謝您的體諒與支持!");
  5066.  
  5067. }
  5068.  
  5069. }
  5070.  
  5071. function to_show_viewing_product(){
  5072.  
  5073. document.getElementById("id_fixed_left_other_viewing").style.display="";
  5074.  
  5075. $('#carouselv').jsCarousel({ onthumbnailclick: function(src) { alert(src); }, autoscroll: true, masked: false, itemstodisplay: 3, orientation: 'v' });
  5076. }
  5077. </script>
  5078.  
  5079.  
  5080.  
  5081. </div name="div_body">
  5082.  
  5083. </body>
  5084. </html>
  5085. <script>
  5086.    console.log(window._modulePromises);
  5087.    $(function(){
  5088.        Promise.all(window._modulePromises)
  5089.        .then(() => {
  5090.            console.log("module_ready")
  5091.                    })
  5092.        .catch(err => console.error('模組初始化錯誤', err));
  5093.    })
  5094.  
  5095. </script>
  5096.  
  5097. <!-- https://b1.luckybaby.tw/
  5098. liff.state=%2Fblog
  5099. code=JWja3rkTCcQxW6YHN5qh
  5100. state=xGFS4bQEjiI8
  5101. liffClientId=1657001010
  5102. liffRedirectUri=https%3A%2F%2Fb1.luckybaby.tw%2F%3Fliff.state%3D%252Fblog -->
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda