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