1function isNull(data) { 2 return (data == "" || data == undefined || data == null) ? true : false; 3} 4 5// è·åæµè§å¨é»è®¤è¯è¨ 6const getBrowserLang = function() { 7 let currentDefaultLang = sessionStorage.getItem("default_lang"); 8 if(isNull(currentDefaultLang)){ 9 let browserLang = navigator.language ? navigator.language : navigator.browserLanguage; 10 let defaultBrowserLang = ""; 11 if (browserLang.toLowerCase() === "us" || browserLang.toLowerCase() === "en" || browserLang.toLowerCase() === "en_us") { 12 defaultBrowserLang = "en"; 13 } else { 14 defaultBrowserLang = "zh"; 15 } 16 sessionStorage.setItem("default_lang", defaultBrowserLang) 17 return defaultBrowserLang; 18 }else{ 19 return currentDefaultLang; 20 } 21}; 22 23var default_lang = getBrowserLang(); 24 25$(function(){ 26 27 if($(window).width() <= 460){ 28 window.location.href = "m/index.html"; 29 }else{ 30 //èªéåºç¼©æ¾ 31 $("body").css("max-width", "1200px"); 32 $("body").css("zoom", $(window).width() / 1200).css('-moz-transform', 'scale(' + $(window).width() / 1200 + ')').css('-moz-transform-origin:', "top left"); 33 } 34 35 if(!(location.href.includes('section1') || location.href.includes('section2') || location.href.includes('section3'))){ 36 $("#container").append(bottom); 37 } 38 39 40 if(default_lang == 'zh'){ 41 42 $("#zh").addClass("choosed_lang"); 43 $("#zh").siblings().removeClass("choosed_lang"); 44 // éåææå ·æ i18n 屿§ç <span> å ç´ 45 $('[i18n]').each(function() { 46 // è·å i18n 屿§çå¼ï¼è¿å°æ¯å¯¹è±¡ zh çé® 47 var i18nKey = $(this).attr('i18n'); 48 49 // 妿 zh 对象ä¸åå¨è¿ä¸ªé®ï¼åå° <span> çææ¬å 容设置为对åºçå¼ 50 if (zh[i18nKey]) { 51 $(this).text(zh[i18nKey]); 52 } 53 }); 54 $(".wooask-carousel-bg-a8").css("background-image", "url(img/main_a8_zh.png)"); 55 $("#p_a8 .con_5_img_p img").attr("src", "img/p_a8_zh.png"); 56 $("#p_a8 .con_5_img img").attr("src", "img/p_a8_zh.png"); 57 $(".con_6_item_video_1").css("background-image", "url(img/video/v_cover_1_zh.png)"); 58 $(".con_6_item_video_2").css("background-image", "url(img/video/v_cover_2_en.png)"); 59 $(".con_6_item_video_3").css("background-image", "url(img/video/v_cover_3_zh.png)"); 60 61 $(".con_6_item_video_golf").css("background-image", "url(img/video/v_cover_golf_zh.jpg)"); 62 $(".con_6_item_video_ice_ball").css("background-image", "url(img/video/v_cover_ice_ball_zh.jpg)"); 63 $(".con_6_item_video_Hotel_Exhibition").css("background-image", "url(img/video/v_cover_hotel_exhibition_zh.jpg)"); 64 $(".con_6_item_video_haiNan_close_gate").css("background-image", "url(img/video/v_cover_haiNan_close_gate_zh.jpg)"); 65 $(".con_6_item_video_shanghai_hotel_shop_plus_202604").css("background-image", "url(img/video/v_cover_shanghai_hotel_shop_plus_202604_zh.jpg)"); 66 67 $(".con_4_item_video_1").css("background-image", "url(img/news/news_1_zh.png)"); 68 $('.pp_target_1_a88 img').attr("src", "img/products/A8_zh.png"); 69 $(".shop").html('<span class="jdcom">
69è´ä¹°</span>'); 70 $(".bg_item_1_4").click(function(){ 71 window.open("https://mall.jd.com/index-13167455.html?from=pc", "_blank"); 72 }) 73 $(".con_imgs_item_1").css({ 74 "background": "url(img/threeImgs/1_zh.jpg)", 75 "background-repeat": "no-repeat", 76 "background-position": "center", 77 "background-size": "100% 100%" 78 }) 79 $(".con_imgs_item_2").css({ 80 "background": "url(img/threeImgs/2_zh.jpg)", 81 "background-repeat": "no-repeat", 82 "background-position": "center", 83 "background-size": "100% 100%" 84 }) 85 $(".con_imgs_item_3").css({ 86 "background": "url(img/threeImgs/3_zh.png)", 87 "background-repeat": "no-repeat", 88 "background-position": "center", 89 "background-size": "100% 100%" 90 }) 91 92 $(".con_4_item_video_1").click(function(){ 93 window.location.href = "news/zh_20240513113417_39198.html"; 94 }) 95 $(".con_4_item_video_3").click(function(){ 96 window.location.href = "news/zh_20241011_1.html"; 97 }) 98 $(".con_4_item_video_2").click(function(){ 99 window.location.href = "news/zh_20181123170956_99582.html"; 100 }) 101 $(".sec1_4").css("background-image", "url(img/video/v_cover_1_zh.png)") 102 }else{ 103 $("#en").addClass("choosed_lang"); 104 $("#en").siblings().removeClass("choosed_lang"); 105 // éåææå ·æ i18n 屿§ç å ç´ 106 $('[i18n]').each(function() { 107 // è·å i18n 屿§çå¼ï¼è¿å°æ¯å¯¹è±¡ zh çé® 108 var i18nKey = $(this).attr('i18n'); 109 // 妿 zh 对象ä¸åå¨è¿ä¸ªé®ï¼åå° <span> çææ¬å 容设置为对åºçå¼ 110 if (en[i18nKey]) { 111 $(this).text(en[i18nKey]); 112 } 113 }); 114 $(".wooask-carousel-bg-a8").css("background-image", "url(img/main_a8_en.png)"); 115 $("#p_a8 .con_5_img_p img").attr("src", "img/p_a8_en.png"); 116 $("#p_a8 .con_5_img img").attr("src", "img/p_a8_en.png"); 117 $(".con_6_item_video_1").css("background-image", "url(img/video/v_cover_1_en.png)"); 118 $(".con_6_item_video_2").css("background-image", "url(img/video/v_cover_2_en.png)"); 119 $(".con_6_item_video_3").css("background-image", "url(img/video/v_cover_3_en.png)"); 120 121 $(".con_6_item_video_5").css("background-image", "url(img/video/v_cover_5_en.jpg)"); 122 $(".con_6_item_video_6").css("background-image", "url(img/video/v_cover_6_en.jpg)"); 123 124 $(".con_6_item_video_golf").css("background-image", "url(img/video/v_cover_golf_en.jpg)"); 125 $(".con_6_item_video_ice_ball").css("background-image", "url(img/video/v_cover_ice_ball_en.jpg)"); 126 $(".con_6_item_video_GudongDong_TV").css("background-image", "url(img/video/v_cover_gungdong_tv_en.jpg)"); 127 $(".con_6_item_video_shenzhen_TV").css("background-image", "url(img/video/v_cover_shenzhen_tv_en.jpg)"); 128 $(".con_6_item_video_Hotel_Exhibition").css("background-image", "url(img/video/v_cover_hotel_exhibition_en.jpg)"); 129 $(".con_6_item_video_haiNan_close_gate").css("background-image", "url(img/video/v_cover_haiNan_close_gate_zh.jpg)"); 130 $(".con_6_item_video_shanghai_hotel_shop_plus_202604").css("background-image", "url(img/video/v_cover_shanghai_hotel_shop_plus_202604_en.jpg)"); 131 $(".con_6_item_video_t05_usages").css("background-image", "url(img/video/v_cover_t05_usages.jpg)"); 132 $(".con_6_item_video_a9").css("background-image", "url(img/video/v_vover_a9_en.jpg)"); 133 134 $(".con_4_item_video_1").css("background-image", "url(img/news/news_1_en.png)"); 135 $('.pp_target_1_a88 img').attr("src", "img/products/A8.png"); 136 $(".shop").html('<span class="shopify">Buy Now</span>'); 137 $(".bg_item_1_4").click(function(){ 138 window.open("https://store.wooask.com/products/a8-translator-earbuds", "_blank"); 139 }) 140 $(".con_imgs_item_1").css({ 141 "background": "url(img/threeImgs/1_en.jpg)", 142 "background-repeat": "no-repeat", 143 "background-position": "center", 144 "background-size": "100% 100%" 145 }) 146 $(".con_imgs_item_2").css({ 147 "background": "url(img/threeImgs/2_en.jpg)", 148 "background-repeat": "no-repeat", 149 "background-position": "center", 150 "background-size": "100% 100%" 151 }) 152 $(".con_imgs_item_3").css({ 153 "background": "url(img/threeImgs/3_en.jpg)", 154 "background-repeat": "no-repeat", 155 "background-position": "center", 156 "background-size": "100% 100%" 157 }) 158 159 $(".con_4_item_video_1").click(function(){ 160 window.location.href = "news/en_20240513172955_69637.html"; 161 }) 162 $(".con_4_item_video_3").click(function(){ 163 window.location.href = "news/en_20241011_1.html"; 164 }) 165 $(".con_4_item_video_2").click(function(){ 166 window.location.href = "news/en_20181123170956_99582.html"; 167 }) 168 $(".sec1_4").css("background-image", "url(img/video/v_cover_1_en.png)") 169 } 170 171 $("#zh").click(function() { 172 $(this).addClass("choosed_lang"); 173 $(this).siblings().removeClass("choosed_lang"); 174 sessionStorage.setItem("default_lang", "zh"); 175 $('[i18n]').each(function() { 176 // è·å i18n 屿§çå¼ï¼è¿å°æ¯å¯¹è±¡ zh çé® 177 var i18nKey = $(this).attr('i18n'); 178
179 // 妿 zh 对象ä¸åå¨è¿ä¸ªé®ï¼åå° <span> çææ¬å 容设置为对åºçå¼ 180 if (zh[i18nKey]) { 181 $(this).text(zh[i18nKey]); 182 } 183 }); 184 $(".wooask-carousel-bg-a8").css("background-image", "url(img/main_a8_zh.png)"); 185 $("#p_a8 .con_5_img_p img").attr("src", "img/p_a8_zh.png"); 186 $("#p_a8 .con_5_img img").attr("src", "img/p_a8_zh.png"); 187 $(".con_6_item_video_1").css("background-image", "url(img/video/v_cover_1_zh.png)"); 188 $(".con_6_item_video_2").css("background-image", "url(img/video/v_cover_2_zh.png)"); 189 $(".con_6_item_video_3").css("background-image", "url(img/video/v_cover_3_zh.png)"); 190 191 $(".con_6_item_video_5").css("background-image", "url(img/video/v_cover_5_zh.jpg)"); 192 $(".con_6_item_video_6").css("background-image", "url(img/video/v_cover_6_zh.jpg)"); 193 194 $(".con_6_item_video_golf").css("background-image", "url(img/video/v_cover_golf_zh.jpg)"); 195 $(".con_6_item_video_ice_ball").css("background-image", "url(img/video/v_cover_ice_ball_zh.jpg)"); 196 $(".con_6_item_video_GudongDong_TV").css("background-image", "url(img/video/v_cover_gungdong_tv_zh.jpg)"); 197 $(".con_6_item_video_shenzhen_TV").css("background-image", "url(img/video/v_cover_shenzhen_tv_zh.jpg)"); 198 $(".con_6_item_video_Hotel_Exhibition").css("background-image", "url(img/video/v_cover_hotel_exhibition_zh.jpg)"); 199 $(".con_6_item_video_haiNan_close_gate").css("background-image", "url(img/video/v_cover_haiNan_close_gate_zh.jpg)"); 200 $(".con_6_item_video_shanghai_hotel_shop_plus_202604").css("background-image", "url(img/video/v_cover_shanghai_hotel_shop_plus_202604_zh.jpg)"); 201 $(".con_6_item_video_t05_usages").css("background-image", "url(img/video/v_cover_t05_usages.jpg)"); 202 $(".con_6_item_video_a9").css("background-image", "url(img/video/v_vover_a9_zh.jpg)"); 203 204 $(".con_4_item_video_1").css("background-image", "url(img/news/news_1_zh.png)"); 205 $('.pp_target_1_a88 img').attr("src", "img/products/A8_zh.png"); 206 $(".shop").html('<span class="jdcom">
206è´ä¹°</span>'); 207 $(".bg_item_1_4").click(function(){ 208 window.open("https://mall.jd.com/index-13167455.html?from=pc", "_blank"); 209 }) 210 $(".con_imgs_item_1").css({ 211 "background": "url(img/threeImgs/1_zh.jpg)", 212 "background-repeat": "no-repeat", 213 "background-position": "center", 214 "background-size": "100% 100%" 215 }) 216 $(".con_imgs_item_2").css({ 217 "background": "url(img/threeImgs/2_zh.jpg)", 218 "background-repeat": "no-repeat", 219 "background-position": "center", 220 "background-size": "100% 100%" 221 }) 222 $(".con_imgs_item_3").css({ 223 "background": "url(img/threeImgs/3_zh.png)", 224 "background-repeat": "no-repeat", 225 "background-position": "center", 226 "background-size": "100% 100%" 227 }) 228 229 $(".con_4_item_video_1").click(function(){ 230 window.location.href = "news/zh_20240513113417_39198.html"; 231 }) 232 $(".con_4_item_video_3").click(function(){ 233 window.location.href = "news/zh_20241011_1.html"; 234 }) 235 $(".con_4_item_video_2").click(function(){ 236 window.location.href = "news/zh_20181123170956_99582.html"; 237 }) 238 $(".sec1_4").css("background-image", "url(img/video/v_cover_1_zh.png)") 239 }); 240 $("#en").click(function() { 241 $(this).addClass("choosed_lang"); 242 $(this).siblings().removeClass("choosed_lang"); 243 sessionStorage.setItem("default_lang", "en"); 244 // éåææå ·æ i18n 屿§ç å ç´ 245 $('[i18n]').each(function() { 246 // è·å i18n 屿§çå¼ï¼è¿å°æ¯å¯¹è±¡ zh çé® 247 var i18nKey = $(this).attr('i18n'); 248 249 // 妿 zh 对象ä¸åå¨è¿ä¸ªé®ï¼åå° <span> çææ¬å 容设置为对åºçå¼ 250 if (en[i18nKey]) { 251 $(this).text(en[i18nKey]); 252 } 253 }); 254 $(".wooask-carousel-bg-a8").css("background-image", "url(img/main_a8_en.png)"); 255 $("#p_a8 .con_5_img_p img").attr("src", "img/p_a8_en.png"); 256 $("#p_a8 .con_5_img img").attr("src", "img/p_a8_en.png"); 257 $(".con_6_item_video_1").css("background-image", "url(img/video/v_cover_1_en.png)"); 258 $(".con_6_item_video_2").css("background-image", "url(img/video/v_cover_2_en.png)"); 259 $(".con_6_item_video_3").css("background-image", "url(img/video/v_cover_3_en.png)"); 260 $(".con_6_item_video_5").css("background-image", "url(img/video/v_cover_5_en.jpg)"); 261 $(".con_6_item_video_6").css("background-image", "url(img/video/v_cover_6_en.jpg)"); 262 263 $(".con_6_item_video_golf").css("background-image", "url(img/video/v_cover_golf_en.jpg)"); 264 $(".con_6_item_video_ice_ball").css("background-image", "url(img/video/v_cover_ice_ball_en.jpg)"); 265 $(".con_6_item_video_GudongDong_TV").css("background-image", "url(img/video/v_cover_gungdong_tv_en.jpg)"); 266 $(".con_6_item_video_shenzhen_TV").css("background-image", "url(img/video/v_cover_shenzhen_tv_en.jpg)"); 267 $(".con_6_item_video_Hotel_Exhibition").css("background-image", "url(img/video/v_cover_hotel_exhibition_en.jpg)"); 268 $(".con_6_item_video_haiNan_close_gate").css("background-image", "url(img/video/v_cover_haiNan_close_gate_zh.jpg)"); 269 $(".con_6_item_video_shanghai_hotel_shop_plus_202604").css("background-image", "url(img/video/v_cover_shanghai_hotel_shop_plus_202604_en.jpg)"); 270 $(".con_6_item_video_t05_usages").css("background-image", "url(img/video/v_cover_t05_usages.jpg)"); 271 $(".con_6_item_video_a9").css("background-image", "url(img/video/v_vover_a9_en.jpg)"); 272 273 274 $(".con_4_item_video_1").css("background-image", "url(img/news/news_1_en.png)"); 275 $('.pp_target_1_a88 img').attr("src", "img/products/A8.png"); 276 $(".shop").html('<span class="shopify">Buy Now</span>'); 277 $(".bg_item_1_4").click(function(){ 278 window.open("https://store.wooask.com/products/a8-translator-earbuds", "_blank"); 279 }) 280 $(".con_imgs_item_1").css({ 281 "background": "url(img/threeImgs/1_en.jpg)", 282 "background-repeat": "no-repeat", 283 "background-position": "center", 284 "background-size": "100% 100%" 285 }) 286 $(".con_imgs_item_2").css({ 287 "background": "url(img/threeImgs/2_en.jpg)", 288 "background-repeat": "no-repeat", 289 "background-position": "center", 290 "background-size": "100% 100%" 291 }) 292 $(".con_imgs_item_3").css({ 293 "background": "url(img/threeImgs/3_en.jpg)", 294 "background-repeat": "no-repeat", 295 "background-position": "center", 296 "background-size": "100% 100%" 297 }) 298 299 $(".con_4_item_video_1").click(function(){ 300 window.location.href = "news/en_20240513172955_69637.html"; 301 }) 302 $(".con_4_item_video_3").click(function(){ 303 window.location.href = "news/en_20241011_1.html"; 304 }) 305 $(".con_4_item_video_2").click(function(){ 306 window.location.href = "news/en_20181123170956_99582.html"; 307 }) 308 $(".sec1_4").css("background-image", "url(img/video/v_cover_1_en.png)") 309 }); 310 311 312}) 313$(document).on('click', '.top_info', function() { 314 if (window.location.pathname.includes('/news/')) { 315 window.location.href = "../"; 316 }else{ 317 318 } 319 window.open("top_news/top.html"); 320}); 321$(document).on('click', '.shopify', function() { 322 window.open("https://store.wooask.com/products/a8-translator-earbuds", "_blank"); 323}); 324$(document).on('click', '.jdcom', function() { 325 window.open("https://mall.jd.com/index-13167455.html?from=pc", "_blank"); 326}); 327$(document).on('click', '.con_6_item_video_1', function() { 328 if(sessionStorage.getItem("default_lang") == 'zh'){
329 window.open("https://www.bilibili.com/video/BV1yZmGYBEG4/?vd_source=47e54820f059afb88a51cf13fcea3f68", "_blank"); 330 }else{ 331 window.open("https://youtu.be/F2RVspJ4O6k?si=vAHzfCNRj25D-gem", "_blank"); 332 } 333}); 334$(document).on('click', '.con_6_item_video_2', function() { 335 if(sessionStorage.getItem("default_lang") == 'zh'){ 336 window.open("https://www.bilibili.com/video/BV1yFmVYTEND/?vd_source=47e54820f059afb88a51cf13fcea3f68", "_blank"); 337 }else{ 338 window.open("https://youtu.be/tm-6YaGt6TU?si=xdh_I0tkAjWkgiN6", "_blank"); 339 } 340}); 341$(document).on('click', '.con_6_item_video_3', function() { 342 // if(sessionStorage.getItem("default_lang") == 'zh'){ 343 // window.open("https://www.bilibili.com/video/BV11omGYuEVf/?vd_source=47e54820f059afb88a51cf13fcea3f68", "_blank"); 344 // }else{ 345 // window.open("https://youtu.be/zIXGoZO1kFg", "_blank"); 346 // } 347 window.open("https://www.bilibili.com/video/BV18gs2zbEFS/?vd_source=47e54820f059afb88a51cf13fcea3f68", "_blank"); 348}); 349$(document).on('click', '.con_6_item_video_5', function() { 350 if(sessionStorage.getItem("default_lang") == 'zh'){ 351 window.open("https://www.bilibili.com/video/BV18gs2zbEFS/?vd_source=47e54820f059afb88a51cf13fcea3f68", "_blank"); 352 }else{ 353 window.open("https://youtu.be/pJdfYRiDxPM", "_blank"); 354 } 355}); 356$(document).on('click', '.con_6_item_video_6', function() { 357 if(sessionStorage.getItem("default_lang") == 'zh'){ 358 window.open("https://www.bilibili.com/video/BV1nGyEBAEDr/?vd_source=47e54820f059afb88a51cf13fcea3f68", "_blank"); 359 }else{ 360 window.open("https://youtu.be/bZ-yrHzp3lM", "_blank"); 361 } 362}); 363 364// Wooaskç¿»è¯ä¼è®®ä¸ä½æºæä½ä½¿ç¨è¯´æ 365$(document).on('click', '.con_6_item_video_t05_usages', function() { 366 if(sessionStorage.getItem("default_lang") == 'zh'){ 367 window.open("https://www.bilibili.com/video/BV1Bjd3BiERc/?vd_source=47e54820f059afb88a51cf13fcea3f68", "_blank"); 368 }else{ 369 window.open("https://www.bilibili.com/video/BV1Bjd3BiERc/?vd_source=47e54820f059afb88a51cf13fcea3f68", "_blank"); 370 } 371}); 372 373 374// 2026䏿µ·é åºå± 375$(document).on('click', '.con_6_item_video_shanghai_hotel_shop_plus_202604', function() { 376 if(sessionStorage.getItem("default_lang") == 'zh'){ 377 window.open("https://www.bilibili.com/video/BV12E9uBzEfF/?vd_source=47e54820f059afb88a51cf13fcea3f68", "_blank"); 378 }else{ 379 window.open("https://www.bilibili.com/video/BV12E9uBzEfF/?vd_source=47e54820f059afb88a51cf13fcea3f68", "_blank"); 380 } 381}); 382 383// æµ·åå°å ³ 384$(document).on('click', '.con_6_item_video_haiNan_close_gate', function() { 385 if(sessionStorage.getItem("default_lang") == 'zh'){ 386 window.open("https://www.bilibili.com/video/BV17MBTByEX5/?vd_source=47e54820f059afb88a51cf13fcea3f68", "_blank"); 387 }else{ 388 window.open("https://www.bilibili.com/video/BV17MBTByEX5/?vd_source=47e54820f059afb88a51cf13fcea3f68", "_blank"); 389 } 390}); 391 392// 2025é åºå± 393$(document).on('click', '.con_6_item_video_Hotel_Exhibition', function() { 394 if(sessionStorage.getItem("default_lang") == 'zh'){ 395 window.open("https://www.bilibili.com/video/BV1jRqZBHEoC/?vd_source=47e54820f059afb88a51cf13fcea3f68", "_blank"); 396 }else{ 397 window.open("https://youtu.be/QdA14ha74uk", "_blank"); 398 } 399}); 400 401// 广ä¸å«è§ï¼æ¹¾åºå¿«æ¥ï¼ 402$(document).on('click', '.con_6_item_video_GudongDong_TV', function() { 403 if(sessionStorage.getItem("default_lang") == 'zh'){ 404 window.open("https://www.bilibili.com/video/BV1NzUrBmEhm", "_blank"); 405 }else{ 406 window.open("https://youtu.be/0mLl_0sdaeg", "_blank"); 407 } 408}); 409 410// æ·±å³å«è§ä¸è®¿ 411$(document).on('click', '.con_6_item_video_shenzhen_TV', function() { 412 if(sessionStorage.getItem("default_lang") == 'zh'){ 413 window.open("https://www.bilibili.com/video/BV1ZbywBjEeu", "_blank"); 414 }else{ 415 window.open("https://youtu.be/4FeUzW5kgdM", "_blank"); 416 } 417}); 418// A9 419$(document).on('click', '.con_6_item_video_a9', function() { 420 if(sessionStorage.getItem("default_lang") == 'zh'){ 421 window.open("https://www.bilibili.com/video/BV13xUrB4E9e", "_blank"); 422 }else{ 423 window.open("https://youtu.be/lCwxKnEo7wI", "_blank"); 424 } 425}); 426// å°çèµäº 427$(document).on('click', '.con_6_item_video_ice_ball', function() { 428 if(sessionStorage.getItem("default_lang") == 'zh'){ 429 window.open("https://www.bilibili.com/video/BV1urdUYvEbU", "_blank"); 430 }else{ 431 window.open("https://www.youtube.com/watch?v=_HPRkjosRpA", "_blank"); 432 } 433}); 434// é«å°å¤« 435$(document).on('click', '.con_6_item_video_golf', function() { 436 if(sessionStorage.getItem("default_lang") == 'zh'){ 437 window.open("https://www.bilibili.com/video/BV1GWUrBZEY6/", "_blank"); 438 }else{ 439 window.open("https://www.youtube.com/watch?v=uscBjkByh_w", "_blank"); 440 } 441}); 442 443 444 445$(document).on('click', '.gov', function() {
446 window.open("https://szcert.ebs.org.cn/f1f95a78-ffbc-4cd6-add9-6290a46a8666", "_blank"); 447}); 448 449$(document).on('click', '.p_4_img_1', function() { 450 window.open("https://twitter.com/WooaskOfficial", "_blank"); 451}); 452$(document).on('click', '.p_4_img_2', function() { 453 window.open("https://www.facebook.com/profile.php?id=61563703644876", "_blank"); 454}); 455$(document).on('click', '.p_4_img_3', function() { 456 window.open("https://www.pinterest.com/WooaskOfficial", "_blank"); 457}); 458$(document).on('click', '.p_4_img_4', function() { 459 window.open("https://www.instagram.com/wooask.official", "_blank"); 460}); 461$(document).on('click', '.p_4_img_5', function() { 462 window.open("https://www.youtube.com/@wooasktech.official", "_blank"); 463}); 464 465 466 467 468 469$(document).on('click', '.download_font', function() { 470 window.location.href = "https://app.wooask.com/qrcode/download_wooask.html"; 471}); 472$(document).on('click', '.wooask_home_bottom', function() { 473 if (window.location.pathname.includes('/news/')) { 474 window.location.href = "../index.html"; 475 }else{ 476 window.location.href = "./index.html"; 477 } 478}); 479$(document).on('click', '.wooask_product_bottom', function() { 480 if (window.location.pathname.includes('/news/')) { 481 window.location.href = "../product.html"; 482 }else{ 483 window.location.href = "./product.html"; 484 } 485}); 486$(document).on('click', '.wooask_news_bottom', function() { 487 if (window.location.pathname.includes('/news/')) { 488 window.location.href = "../news.html"; 489 }else{ 490 window.location.href = "./news.html"; 491 } 492}); 493$(document).on('click', '.wooask_solution_bottom', function() { 494 if (window.location.pathname.includes('/news/')) { 495 window.location.href = "../solutions.html"; 496 }else{ 497 window.location.href = "./solutions.html"; 498 } 499}); 500$(document).on('click', '.wooask_platform_bottom', function() { 501 window.open("https://app.wooask.com", "_blank"); 502}); 503$(document).on('click', '.wooask_aboutUs_bottom', function() { 504 if (window.location.pathname.includes('/news/')) { 505 window.location.href = "../aboutus.html"; 506 }else{ 507 window.location.href = "./aboutus.html"; 508 } 509}); 510$(document).on('click', '.uu_1', function() { 511 if (window.location.pathname.includes('/news/')) { 512 window.location.href = "../aboutus.html"; 513 }else{ 514 window.location.href = "./aboutus.html"; 515 } 516}); 517$(document).on('click', '.uu_2', function() { 518 if (window.location.pathname.includes('/news/')) { 519 window.location.href = "../contactus.html"; 520 }else{ 521 window.location.href = "./contactus.html" 522 } 523}); 524$(document).on('click', '.con_2_scene_left', function() { 525 if (window.location.pathname.includes('/news/')) { 526 window.location.href = "../product.html"; 527 }else{ 528 window.location.href = "./product.html"; 529 } 530}); 531$(document).on('click', '.con_2_scene_right', function() { 532 if (window.location.pathname.includes('/news/')) { 533 window.location.href = "../product.html"; 534 }else{ 535 window.location.href = "./product.html"; 536 } 537}); 538 539 540$("#bg_swiper").css({ 541 "height": ($(window).width()/2.28) + "px" 542}) 543$(".bg_swiper").css({ 544 "height": ($(window).width()/2.28) + "px" 545}) 546 547 548$(".pp_1").hover(function(){ 549 $(".product_detail_img_and_descs").show(); 550 $(".pp_target_1").show(); 551}, function(){ 552 $(".product_detail_img_and_descs").hide(); 553 $(".pp_target_1").hide(); 554}) 555$(".pp_1").click(function(){ 556 if (window.location.pathname.includes('/news/')) { 557 window.location.href = "../product.html#pp_a8"; 558 }else{ 559 window.location.href = "product.html#pp_a8" 560 } 561}) 562$(".pp_2").hover(function(){ 563 $(".product_detail_img_and_descs").show(); 564 $(".pp_target_2").show(); 565}, function(){ 566 $(".product_detail_img_and_descs").hide(); 567 $(".pp_target_2").hide(); 568}) 569$(".pp_2").click(function(){ 570 if (window.location.pathname.includes('/news/')) { 571 window.location.href = "../product.html#pp_c06"; 572 }else{ 573 window.location.href = "product.html#pp_c06" 574 } 575}) 576$(".pp_3").hover(function(){ 577 $(".product_detail_img_and_descs").show(); 578 $(".pp_target_3").show(); 579}, function(){ 580 $(".product_detail_img_and_descs").hide(); 581 $(".pp_target_3").hide(); 582}) 583$(".pp_3").click(function(){ 584 if (window.location.pathname.includes('/news/')) { 585 window.location.href = "../product.html#pp_m9"; 586 }else{ 587 window.location.href = "product.html#pp_m9" 588 } 589}) 590$(".pp_4").hover(function(){ 591 $(".product_detail_img_and_descs").show(); 592 $(".pp_target_4").show(); 593}, function(){ 594 $(".product_detail_img_and_descs").hide(); 595 $(".pp_target_4").hide(); 596}) 597$(".pp_4").click(function(){ 598 if (window.location.pathname.includes('/news/')) { 599 window.location.href = "../product.html#pp_m6"; 600 }else{ 601 window.location.href = "product.html#pp_m6" 602 } 603}) 604$(".pp_5").hover(function(){ 605 $(".product_detail_img_and_descs").show(); 606 $(".pp_target_5").show(); 607}, function(){ 608 $(".product_detail_img_and_descs").hide(); 609 $(".pp_target_5").hide(); 610}) 611$(".pp_5").click(function(){ 612 if (window.location.pathname.includes('/news/')) { 613 window.location.href = "../product.html#pp_m3"; 614 }else{ 615 window.location.href = "product.html#pp_m3" 616 } 617}) 618$(".pp_6").hover(function(){ 619 $(".product_detail_img_and_descs").show(); 620 $(".pp_target_6").show(); 621}, function(){ 622 $(".product_detail_img_and_descs").hide(); 623 $(".pp_target_6").hide(); 624}) 625$(".pp_6").click(function(){ 626 if (window.location.pathname.includes('/news/')) { 627 window.location.href = "../product.html#pp_s01"; 628 }else{ 629 window.location.href = "product.html#pp_s01" 630 } 631}) 632$(".pp_7").hover(function(){ 633 $(".product_detail_img_and_descs").show(); 634 $(".pp_target_7").show(); 635}, function(){ 636 $(".product_detail_img_and_descs").hide(); 637 $(".pp_target_7").hide(); 638}) 639$(".pp_7").click(function(){ 640 if (window.location.pathname.includes('/news/')) { 641 window.location.href = "../product.html#pp_w12"; 642 }else{ 643 window.location.href = "product.html#pp_w12" 644 } 645}) 646$(".pp_8").hover(function(){ 647 $(".product_detail_img_and_descs").show(); 648 $(".pp_target_8").show(); 649}, function(){ 650 $(".product_detail_img_and_descs").hide(); 651 $(".pp_target_8").hide(); 652}) 653$(".pp_8").click(function(){ 654 if (window.location.pathname.includes('/news/')) { 655 window.location.href = "../product.html#pp_w10"; 656 }else{ 657 window.location.href = "product.html#pp_w10" 658 } 659}) 660$(".pp_9").hover(function(){ 661 $(".product_detail_img_and_descs").show(); 662 $(".pp_target_9").show(); 663}, function(){ 664 $(".product_detail_img_and_descs").hide(); 665 $(".pp_target_9").hide(); 666}) 667$(".pp_9").click(function(){ 668 if (window.location.pathname.includes('/news/')) { 669 window.location.href = "../product.html#pp_w09"; 670 }else{ 671 window.location.href = "product.html#pp_w09" 672 } 673}) 674$(".pp_10").hover(function(){ 675 $(".product_detail_img_and_descs").show(); 676 $(".pp_target_10").show(); 677}, function(){ 678 $(".product_detail_img_and_descs").hide(); 679 $(".pp_target_10").hide(); 680}) 681$(".pp_10").click(function(){ 682 if (window.location.pathname.includes('/news/')) { 683 window.location.href = "../product.html#pp_p2"; 684 }else{ 685 window.location.href = "product.html#pp_p2" 686 } 687}) 688$(".pp_11").hover(function(){ 689 $(".product_detail_img_and_descs").show(); 690 $(".pp_target_11").show(); 691}, function(){ 692 $(".product_detail_img_and_descs").hide(); 693 $(".pp_target_11").hide(); 694}) 695$(".pp_11").click(function(){ 696 if (window.location.pathname.includes('/news/')) { 697 window.location.href = "../product.html#pp_g5"; 698 }else{ 699 window.location.href = "product.html#pp_g5" 700 } 701}) 702 703$(".pp_12").hover(function(){ 704 $(".product_detail_img_and_descs").show(); 705 $(".pp_target_12").show(); 706}, function(){ 707 $(".product_detail_img_and_descs").hide(); 708 $(".pp_target_12").hide(); 709}) 710$(".pp_12").click(function(){ 711 if (window.location.pathname.includes('/news/')) { 712 window.location.href = "../product.html#pp_a9"; 713 }else{ 714 window.location.href = "product.html#pp_a9" 715 } 716}) 717 718$(".ss_1").click(function(){ 719 if (window.location.pathname.includes('/news/')) { 720 window.location.href = "../solutions.html#ss_1"; 721 }else{ 722 window.location.href = "solutions.html#ss_1" 723 } 724}) 725$(".ss_2").click(function(){ 726 if (window.location.pathname.includes('/news/')) { 727 window.location.href = "../solutions.html#ss_2"; 728 }else{ 729 window.location.href = "solutions.html#ss_2" 730 } 731}) 732$(".ss_3").click(function(){ 733 if (window.location.pathname.includes('/news/')) { 734 window.location.href = "../solutions.html#ss_3"; 735 }else{ 736 window.location.href = "solutions.html#ss_3" 737 } 738}) 739$(".ss_4").click(function(){ 740 if (window.location.pathname.includes('/news/')) { 741 window.location.href = "../solutions.html#ss_4"; 742 }else{ 743 window.location.href = "solutions.html#ss_4" 744 } 745}) 746$(".ss_5").click(function(){ 747 if (window.location.pathname.includes('/news/')) { 748 window.location.href = "../solutions.html#ss_5"; 749 }else{ 750 window.location.href = "solutions.html#ss_5" 751 } 752}) 753$(".ss_6").click(function(){ 754 if (window.location.pathname.includes('/news/')) { 755 window.location.href = "../solutions.html#ss_6"; 756 }else{ 757 window.location.href = "solutions.html#ss_6" 758 } 759}) 760$(".nn_1").click(function(){ 761 if (window.location.pathname.includes('/news/')) { 762 window.location.href = "../news.html#nn_1"; 763 }else{ 764 window.location.href = "news.html#nn_1" 765 } 766}) 767$(".nn_2").click(function(){ 768 if (window.location.pathname.includes('/news/')) { 769 window.location.href = "../news.html#n_2"; 770 }else{ 771 window.location.href = "news.html#n_2" 772 } 773}) 774 775$(".logo").click(function(){ 776 if (window.location.pathname.includes('/news/')) { 777 window.location.href = "../index.html"; 778 }else{ 779 window.location.href = "./index.html"; 780 } 781}) 782$(".wooask_home").click(function(){ 783 if (window.location.pathname.includes('/news/')) { 784 window.location.href = "../index.html"; 785 }else{ 786 window.location.href = "./index.html"; 787 } 788}) 789$(".wooask_product").click(function(){ 790 if (window.location.pathname.includes('/news/')) { 791 window.location.href = "../product.html"; 792 }else{ 793 window.location.href = "./product.html"; 794 } 795}) 796$(".wooask_solution").click(function(){ 797 if (window.location.pathname.includes('/news/')) { 798 window.location.href = "../solutions.html"; 799 }else{ 800 window.location.href = "./solutions.html"; 801 } 802}) 803$(".wooask_platform").click(function(){ 804 window.open("https://app.wooask.com", "_blank"); 805}) 806$(".wooask_aboutUs").click(function(){ 807 if (window.location.pathname.includes('/news/')) { 808 window.location.href = "../aboutus.html"; 809 }else{ 810 window.location.href = "./aboutus.html"; 811 } 812}) 813$(".wooask_news").click(function(){ 814 if (window.location.pathname.includes('/news/')) { 815 window.location.href = "../news.html"; 816 }else{ 817 window.location.href = "./news.html"; 818 } 819}) 820$(".wooask_videos").click(function(){ 821 if (window.location.pathname.includes('/news/')) { 822 window.location.href = "../videos.html"; 823 }else{ 824 window.location.href = "./videos.html"; 825 } 826}) 827
828$(".news_more").click(function(){ 829 window.location.href = "./news.html"; 830}) 831 832$(".videos_more").click(function(){ 833 window.location.href = "./videos.html"; 834}) 835 836//é¼ æ äºä»¶ 837var top_info = $(".top_info").height(); 838$(window).scroll(function() { 839 var scrollTop = $(this).scrollTop(); 840 if (scrollTop >= (top_info)) { 841 $(".nav_wrap").addClass("scroll"); 842 $("#nav .nav_select_list").css({ 843 "margin-top": "100px" 844 }); 845 } else { 846 $(".nav_wrap").removeClass("scroll"); 847 $("#nav .nav_select_list").css({ 848 "margin-top": "140px" 849 }) 850 } 851}) 852// å¯¼èªæ -产å 853$(".wooask_product").hover(function() { 854 $(".product_list").show(); 855 $(".product_list").hover(function() { 856 $(this).show(); 857 }, function() { 858 $(this).hide(); 859 }) 860}, function() { 861 $(".product_list").hover(function() { 862 $(this).show(); 863 }, function() { 864 $(this).hide(); 865 }) 866 $(".product_list").hide(); 867}) 868 869 870$("pp_img_innner").css({ 871 "height": $(".product_list").height() + "px" 872}) 873 874// å¯¼èªæ -è§£å³æ¹æ¡ 875$(".wooask_solution").hover(function() { 876 $(".solution_list").show(); 877 $(".solution_list").hover(function() { 878 $(this).show(); 879 }, function() { 880 $(this).hide(); 881 }) 882}, function() { 883 $(".solution_list").hover(function() { 884 $(this).show(); 885 }, function() { 886 $(this).hide(); 887 }) 888 $(".solution_list").hide(); 889}) 890// å¯¼èªæ -æ°é» 891$(".wooask_news").hover(function() { 892 $(".news_list").show(); 893 $(".news_list").hover(function() { 894 $(this).show(); 895 }, function() { 896 $(this).hide(); 897 }) 898}, function() { 899 $(".news_list").hover(function() { 900 $(this).show(); 901 }, function() { 902 $(this).hide(); 903 }) 904 $(".news_list").hide(); 905}) 906// å¯¼èªæ -å ³äºæä»¬ 907$(".wooask_aboutUs").hover(function() { 908 $(".about_us_list").show(); 909 $(".about_us_list").hover(function() { 910 $(this).show(); 911 }, function() { 912 $(this).hide(); 913 }) 914}, function() { 915 $(".about_us_list").hover(function() { 916 $(this).show(); 917 }, function() { 918 $(this).hide(); 919 }) 920 $(".about_us_list").hide(); 921}) 922$(".view_pdf_w12").click(function(){ 923 window.open("https://wooask.com/pdf/p_w12.pdf", "_blank"); 924}) 925 926$(".view_pdf_s01").click(function(){ 927 window.open("https://wooask.com/pdf/p_s01.jpg", "_blank"); 928}) 929$(".view_pdf_m3").click(function(){ 930 window.open("https://wooask.com/pdf/p_m3.pdf", "_blank"); 931}) 932$(".view_pdf_m6").click(function(){ 933 window.open("https://wooask.com/pdf/p_m6.jpg", "_blank"); 934}) 935// $(".view_pdf_w10").click(function(){ 936// window.open("https://wooask.com/pdf/p_w12.pdf", "_blank"); 937// }) 938$(".view_pdf_w08").click(function(){ 939 window.open("https://wooask.com/pdf/p_w08.jpg", "_blank"); 940}) 941$(".view_pdf_w06").click(function(){ 942 window.open("https://wooask.com/pdf/p_w06.jpg", "_blank"); 943}) 944$(".view_pdf_g5").click(function(){ 945 window.open("https://wooask.com/pdf/p_g5.jpg", "_blank"); 946}) 947 948$("#p_c06").click(function(){ 949 window.location.href = "product.html#pp_c06" 950}) 951// $("#p_a9").click(function(){ 952// window.location.href = "product.html#pp_a9" 953// }) 954$("#p_a8").click(function(){ 955 window.location.href = "product.html#pp_a8" 956}) 957$("#p_m3").click(function(){ 958 window.location.href = "product.html#pp_m3" 959}) 960$("#p_w12").click(function(){ 961 window.location.href = "product.html#pp_w12"; 962}) 963$("#p_m6").click(function(){ 964 window.location.href = "product.html#pp_m9"; 965}) 966$("#p_w10").click(function(){ 967 window.location.href = "product.html#pp_w10" 968}) 969$("#p_s01").click(function(){ 970 window.location.href = "product.html#pp_s01"; 971}) 972// $("#p_w06").click(function(){ 973// window.location.href = "product.html#pp_g5"; 974// }) 975 976//æ°é»é¡µè¯¦æ 977function newsDetails(no){ 978 window.location.href = "./news/" + no + ".html"; 979}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.