CINXE.COM
Employees - Tencent 腾讯
<!DOCTYPE html> <html lang="en-US"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Employees - Tencent 腾讯</title> <meta name="keywords" content="腾讯,腾讯集团,腾讯官网,微信,QQ,腾讯游戏,腾讯云,Tencent, Tencent Games, WeChat, Tencent Cloud" /> <meta name="description" content="腾讯于1998年11月成立,是一家互联网公司,通过技术丰富互联网用户的生活,助力企业数字化升级。我们的使命是“用户为本 科技向善”。Founded in 1998, Tencent is an Internet-based platform company using technology to enrich the lives of Internet users and assist the digital upgrade of enterprises. Our mission is "Value for Users, Tech for Good"." /> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" /> <meta name="format-detection" content="telephone=no" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <script> window.windowLoadList = []; window.windowLoad = function (call){ windowLoadList.push(call); } var _locale = 'en-us'; </script> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-TQP47XHV');</script> <!-- End Google Tag Manager --> <script src="https://js.aq.qq.com/js/aq_common.js"></script> <script type="text/javascript" src="/js/jquery.min.js"></script> <script type="text/javascript" src="/js/js.js"></script> <script type="text/javascript" src="/js/js-2.js"></script> <script type="text/javascript" src="/js/swiper.min.js"></script> <script type="text/javascript" src="/js/qrcode.js"></script> <script type="text/javascript" src="/js/tencent.js"></script> <script type="text/javascript" src="/js/imgsize.js" ></script> <script type="text/javascript" src="/js/yearpicker.js"></script> <script type="text/javascript" src="/js/jquery-throttle-debounce.js"></script> <script src="https://cdn-go.cn/aegis/aegis-sdk/latest/aegis.min.js"></script> <script> const aegis = new Aegis({ id: 'okypvhbvZrwvRnEg8o', // 上报 id uin: 'xxx', // 用户唯一 ID(可选) reportApiSpeed: true, // 接口测速 reportAssetSpeed: true, // 静态资源测速 spa: true, // spa 应用页面跳转的时候开启 pv 计算 }); </script> <link rel="stylesheet" type="text/css" href="/css/base.css"/> <link rel="stylesheet" type="text/css" href="/css/base-2.css"/> <link rel="stylesheet" type="text/css" href="/css/index.css"/> <link rel="stylesheet" type="text/css" href="/css/ten-search.css"/> <link rel="stylesheet" href="/css/yearpicker.css" type="text/css"> </head> <body> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TQP47XHV" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <div class="wrap"> <!-- 页头区域 --> <div class="wrap_head head_white "> <!-- 点击搜索icon 添加类名 search_area_show 隐藏菜单,显示输入框 --> <!-- 添加类名 submenu_show 显示子菜单 --> <div class="head_con"> <a class="logo" href="https://www.tencent.com/en-us/index.html"><h1 style="margin-top: 0">Tencent腾讯</h1></a> <ul class="menu_list"> <li class="menu_item"> <a class="txt" href="https://www.tencent.com/en-us/about.html">About</a> <ul class="sub_list"> <li><a href="https://www.tencent.com/en-us/about.html#about-con-1">About Us</a></li> <li><a href="https://www.tencent.com/en-us/about.html#about-con-2">Vision & Mission</a></li> <li><a href="https://www.tencent.com/en-us/about.html#about-con-3">Milestones</a></li> <li><a href="https://www.tencent.com/en-us/about.html#about-con-4">Company Structure</a></li> <li><a href="https://www.tencent.com/en-us/about.html#about-con-5">Management Team</a></li> <li><a href="https://www.tencent.com/en-us/investors/board-members.html">Board Members</a></li> <li><a href="https://www.tencent.com/en-us/about.html#about-con-6">Our Culture</a></li> <li><a href="https://www.tencent.com/en-us/about.html#about-con-7">Our Offices</a></li> </ul> </li> <li class="menu_item"> <a class="txt" href="https://www.tencent.com/en-us/business.html">Business</a> <ul class="sub_list"> <li><a href="https://www.tencent.com/en-us/business.html">Consumers</a></li> <li><a href="https://www.tencent.com/en-us/business.html?page-active=to-b">Enterprises</a></li> <li><a href="https://www.tencent.com/en-us/business.html?page-active=innovation">Innovation</a></li> </ul> </li> <li class="menu_item"> <a class="txt" href="https://www.tencent.com/en-us/employees.html">Employees</a> <ul class="sub_list"> <li><a href="https://www.tencent.com/en-us/employees.html#staff-con-1">Talent Development</a></li> <li><a href="https://www.tencent.com/en-us/employees.html#staff-con-2">Tencent Academy</a></li> <li><a href="https://www.tencent.com/en-us/employees.html#staff-con-3">Work Environment</a></li> <li><a href="https://www.tencent.com/en-us/employees.html#staff-con-4">Employee Activities</a></li> </ul> </li> <li class="menu_item"> <a class="txt" href="https://www.tencent.com/en-us/esg.html">ESG</a> <ul class="sub_list"> <li><a href="https://www.tencent.com/en-us/esg.html#respon-con-1">Environment</a></li> <li><a href="https://www.tencent.com/en-us/esg.html#respon-con-2">Social</a></li> <li><a href="https://www.tencent.com/en-us/esg.html#respon-con-3">Governance</a></li> <li><a href="https://www.tencent.com/en-us/esg.html#respon-con-6">ESG Rating</a></li> <li><a href="https://www.tencent.com/en-us/esg.html#respon-con-7">Reports</a></li> </ul> </li> <li class="menu_item"> <a class="txt" href="https://www.tencent.com/en-us/investors.html">Investors</a> <ul class="sub_list"> <li><a href="https://www.tencent.com/en-us/investors.html#investors-con-1">Quarterly Results & Investor News</a></li> <li><a href="https://www.tencent.com/en-us/investors.html#investors-con-2">Announcements & Financial Reports</a></li> <li><a href="https://www.tencent.com/en-us/investors.html#investors-con-3">Conference Calls & Investor Calendar</a></li> <li><a href="https://www.tencent.com/en-us/investors.html#investors-con-4">Investor Kit</a></li> <li><a href="https://www.tencent.com/en-us/investors.html#investors-con-5">Equity & Bond Information</a></li> <li><a href="https://www.tencent.com/en-us/investors.html#investors-con-6">Environment, Social and Governance</a></li> <li><a href="https://www.tencent.com/en-us/investors.html#investors-con-7">Shareholder Information</a></li> </ul> </li> <li class="menu_item"> <a class="txt" href="https://www.tencent.com/en-us/media.html">Media</a> <ul class="sub_list"> <li><a href="https://www.tencent.com/en-us/media/news.html?type=media">Corporate News</a></li> <li><a href="https://www.tencent.com/en-us/media/news.html?type=financial">Financial Releases</a></li> <li><a href="https://www.tencent.com/en-us/media/perspective.html">Tencent Perspectives</a></li> <li><a href="https://www.tencent.com/en-us/media/library.html">Media Library</a></li> </ul> </li> <li class="menu_item menu_item_lan"> <a class="cn" lang="zh-cn">简体</a> <i class="s_line">|</i> <a class="hk" lang="zh-hk">繁体</a> <i class="s_line">|</i> <a class="en" lang="en-us">English</a> </li> </ul> <!--<div class="search_area"> <a href="##" class="search_icon"></a> <input type="text" class="ipt_search" value="" placeholder="请输入您想搜索的关键字" /> </div>--> <div class="lang_area"> <a class="lang_ch current" lang="zh-cn">简</a> <i class="s_line">|</i> <a class="lang_hk" lang="zh-hk">繁</a> <i class="s_line">|</i> <a class="lang_en" lang="en-us">EN</a> </div> </div> <div class="icon_menu"> <a class="i_menu"></a> <a class="i_close"></a> </div> <div class="bg_hover"></div> </div> <!-- 页头区域 --> <div class="header-seat"></div> <div class="null_content"> <!-- 内容区域 --> <link rel="stylesheet" type="text/css" href="/css/student.css"/> <div class="wrap_content student"> <div class="mod-section-ad"> <div class="mod-con clearfix"> <h2>Stimulating vitality, supporting growth</h2> <p class="desc">Through professional training and career development system, <br>we stimulate the vitality of organizations and individuals, <br>and help employees grow with the company</p> </div> </div> <div class="mod-tab-content"> <div class="brand-item brand-one-item white-bg" id="staff-con-1"> <div class="mod-con clearfix"> <div class="artice-box"> <div class="text-box left-box"> <h3>Talent Development</h3> <h4>Employees are Tencent's most valuable asset.</h4> <p class="desc">We place great importance on staff training and development, offering opportunities for our staff to grow vertically or horizontally in their career. This approach allows employees to develop their capabilities in a more focused and clear manner, and be recognized for their contributions clearly and timely through our ranking system.</p> </div> <img src="/data/student/pic-bg-1.jpg" alt="img" class="bg pc-bg" /> <img src="/img/mobile/pic-bg-1.jpg" alt="img" class="mobile-bg" /> </div> <div class="artice-box" id="staff-con-2"> <div class="text-box right-box"> <h3><img src="/data/logo-pic/tencent_academy.png" alt="img" /></h3> <h4>The establishment of Tencent Academy in 2007 was a milestone for Tencent's staff training and development.</h4> <p class="desc">The vision of Tencent Academy is “to be the most respected enterprise university”. It offers a comprehensive training curriculum that corresponds to our employee's career development. It endeavors to become a growth consultant for our staff, and a development partner of business teams, nurturing our current and future talent.</p> </div> <img src="/data/student/pic-bg-2.jpg" alt="img" class="bg pc-bg" /> <img src="/img/mobile/pic-bg-2.jpg" alt="img" class="mobile-bg" /> </div> </div> </div> <div class="brand-item brand-two-item gray-bg" id="staff-con-3"> <div class="mod-con clearfix"> <div class="t-flx clearfix"> <h3 class="mod-m-title">Work Environment</h3> </div> <div class="mod-graph-box clearfix"> <div class="graph-box not-font l-graph"> <img src="/data/responsibility/flx-1-1.jpg" alt="img" class="pic" /> <h4>Our Office</h4> <p class="desc">Opened in October 2017, Tencent's Binhai Building is a fully digital and intelligent structure, and also serves as Tencent's new global headquarters. The design of the "interconnected building" symbolizes the connectivity that brings together all remote corners of the Internet, and also visualizes the connection of people and people, people and services, and services and devices at present and in the future. We have also set up branch offices in China, namely Beijing, Shanghai, Chengdu, and Guangzhou, and overseas including United States and South Korea, to provide a comfortable and innovative office environment for local employees to immerse themselves in Tencent's culture.</p> </div> <div class="graph-box not-font r-graph"> <img src="/data/responsibility/flx-2-1.jpg" alt="img" class="pic" /> <h4>Multi-culture</h4> <p class="desc">We offer an equal, transparent and non-discriminatory working environment, and fully respect employees of different genders, nationalities, races, and religious beliefs. We do not tolerate harassment or offensive conduct in the workplace. We strictly abide by relevant state regulations, safeguard the wellbeing of employees, and maintain an equal and harmonious multi-cultural working environment.</p> </div> </div> </div> </div> <div class="brand-item brand-three-item white-bg"> <div class="mod-con clearfix" id="staff-con-4"> <div class="t-flx"> <div class="label-box"> <h3>Employee Activities</h3> </div> <div class="desc-box"> <p class="desc">We strive to pass on our beliefs to generations to come through a variety of engaging and far-reaching cultural activities.</p> </div> </div> </div> <div class="type-box clearfix"> <div class="row row-1"> <div class="item item-1"> <div class="mask-bg"></div> <p class="title">All-hands Meeting</p> <p class="label">The year-end all-hands meeting and New Year Party are key events for our staff. The goal is to share with employees the company's strategy, upcoming roadmap, and management updates, and to recognize outstanding teams.</p> </div> <div class="item item-2"> <div class="mask-bg"></div> <p class="title">Annual Company Gathering</p> <p class="label">A tradition since Tencent's founding, the entire company gathers at the end of the year to celebrate the holiday with entertainment and performances featuring our own staff, which encourages our teams to strive for excellence in the year ahead.</p> </div> </div> <div class="row row-2"> <div class="item item-3"> <div class="mask-bg"></div> <p class="title">Tencent Culture Day</p> <p class="label">On Tencent's birthday, November 11, employees gather to celebrate and dress up in outfits designed internally. Through activities hosted by the senior management team, such as Link Time, we embrace and promote our own culture.</p> </div> <div class="item item-5"> <div class="mask-bg"></div> <p class="title">Spring Walkathon</p> <p class="label">Tencent organizes a Spring Walkathon every April for our staff and their family. The event hopes to improve physical wellbeing, foster stronger relationships between family members, and raise awareness for meaningful causes as part of our civic duty.</p> </div> </div> <div class="row row-3"> <div class="item item-6"> <div class="mask-bg"></div> <p class="title">Image Store</p> <p class="label">Tencent Image Store is a place to take a break and connect with colleagues. It is open to the public and offers a range of our branded merchandise.</p> </div> <div class="item item-7"> <div class="mask-bg"></div> <p class="title">Clubs</p> <p class="label">Maintaining a healthy work-life balance is crucial. To improve access to recreation and activities, Tencent organizes more than a hundred of clubs spanning dancing, music, basketball, football, badminton, board games, drama and more.</p> </div> </div> <div class="row row-4"> <div class="item item-4"> <div class="mask-bg"></div> <p class="title">Tencent Volunteer Program</p> <p class="label">The Tencent volunteer program was initiated by employees to foster greater participation in public welfare projects and to get more people involved in donating their spare time towards socially responsible activities and our Tech for Good initiatives.</p> </div> <div class="item item-8"> <div class="mask-bg"></div> <p class="title">Low-Carbon Future</p> <p class="label">Tencent is encouraging its employees around the world to move towards a low-carbon future and make the “low-carbon lifestyle” a reality. Sharing 10 tips for living a lifestyle that lowers carbon emissions with Tencent employees is just one way we are facilitating the transition.</p> </div> </div> </div> </div> <div class="brand-item white-bg brand-for-item clear-p-t"> <div class="mod-con clearfix"> <div class="link-box"> <a href="https://careers.tencent.com" target="_blank"> <img class="bg pc-box" src="/data/student/join-bg.jpg" alt="img" /> <img class="bg mobile-box" src="/img/mobile/join-bg.jpg" alt="img" /> <div class="mess"> <h2>Join Us</h2> <p class="desc"></p> <div class="go-link"><p>careers.tencent.com</p><i class="go-icon"><img src="/img/responsibility/go-icon.png" alt="img" /></i></div> </div> </a> </div> </div> </div> </div> </div> <!-- 内容区域 --> <script> // 移动端员工活动 var screen_w=window.innerWidth; var MobileWidth=375; var IsMobile=false; if(screen_w<=MobileWidth){ IsMobile=true; }else{ IsMobile=false; } if(IsMobile) { $('.student .type-box .row .item .label').css('display', 'none') $('.student .type-box .row .item .mask-bg').css('background','none') } </script> </div> <!-- 页脚区域 --> <div class="wrap_footer"> <div class="footer_con"> <div class="focus_us"> <h3 class="tit">Follow Us</h3> <ul class="focus_list"> <li> <a href="#" class="wechat-btn"> <i class="icon i_wechat"></i> <img class="wechat-code" src="/img/index/wechat-code.jpg" alt="img" /> </a> </li> <li> <a href="https://weibo.com/tencent" target="_blank"> <i class="icon i_weibo"></i> </a> </li> <li> <a href="https://twitter.com/TencentGlobal" target="_blank"> <i class="icon i_twitter"></i> </a> </li> <li> <a href="https://www.linkedin.com/company/tencent/" target="_blank"> <i class="icon i_in"></i> </a> </li> <li> <a href="https://www.youtube.com/@TencentGlobal" target="_blank"> <i class="icon i_you"></i> </a> </li> </ul> </div> <div class="join_us"> <!-- 添加类名 sublist_show 显示子菜单 --> <div class="tit_area"> <h3 class="tit">Join Us</h3> <i class="icon icon_arrow"></i> </div> <ul class="join_list"> <li> <a target="_blank" href="https://careers.tencent.com/">Tencent Careers</a> </li> <li> <a target="_blank" href="https://join.qq.com/">Campus Recruitment</a> </li> <li> <a target="_blank" href="https://careers.tencent.com/en-us/home.html">Global Recruitment</a> </li> </ul> </div> <div class="contact_us"> <div class="tit_area"> <h3 class="tit">Contact Us</h3> <i class="icon icon_arrow"></i> </div> <ul class="contact_list"> <li> <a target="_blank" href="https://www.tencent.com/en-us/customer-service.html">Customer Services</a> </li> <li> <a target="_blank" href="https://www.tencent.com/en-us/partnership.html">Partnership</a> </li> <li> <a target="_blank" href="https://spd.tencent.com/portal">Procurement</a> </li> <li> <a target="_blank" href="https://www.tencent.com/en-us/compliance.html">Compliance</a> </li> <li> <a target="_blank" href="https://www.tencent.com/en-us/enquiry.html">Media & Investors</a> </li> </ul> </div> <div class="legal_info"> <div class="tit_area"> <h3 class="tit">Legal Information</h3> <i class="icon icon_arrow"></i> </div> <ul class="legal_list"> <li> <a target="_blank" href="https://www.tencent.com/en-us/service-agreement.html">Service Agreement</a> </li> <li> <a target="_blank" href="https://www.tencent.com/en-us/privacy-policy.html">Privacy Policy</a> </li> <li> <a target="_blank" href="https://ipr.tencent.com/">Intellectual Property Rights</a> </li> </ul> </div> <div class="logo_tencent"> <img src="/img/index/tencent_logo.png" alt="Tencent腾讯" /> </div> <div class="footer_area"> <ul class="links"> <li> <a target="_blank" href="https://www.tencent.com/en-us/statement.html">Legal Statement</a> </li> <li> <a target="_blank" href="https://www.tencent.com/en-us/integrity-policy.html">Integrity Policy</a> </li> <li> <a target="_blank" href="https://www.tencent.com/en-us/sitemap.html">Site Map</a> </li> <li class="num"> <a href="https://www.qq.com/culture.shtml">粤网文[2023]2882-203号</a> </li> <li class="num"> <a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44030502008569" target="_blank">粤公网安备 44030502008569号</a> </li> </ul> <p class="copyright"><a href="https://www.qq.com/culture.shtml" class="flag_num" target="_blank">粤网文[2023]2882-203号</a><a class="flag_num" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44030502008569">粤公网安备 44030502008569号</a>Copyright © 1998 - 2025 Tencent. All Rights Reserved. <br class="flag_m"/>腾讯公司 版权所有</p> </div> <a class="ten_totop ten_totop--float back_to_top"></a> </div> </div> <!-- 页脚区域 --> <div class="cookie-pop"> <div class="pop active"> <div class="title">您的Cookies偏好</div> <div class="btn close-btn"></div> <div class="content"> <p class="label">欢迎来到Tencent.com!</p> <p class="desc">我们希望使用分析型Cookies和类似技术 (“Cookies”) 来改善我们的网站。 Cookies收集的信息不会识别您个人。有关我们使用的Cookies的类型以及您的偏好选项(包括如何更改您的偏好设置)的更多信息,请查看此处的<a href="https://www.tencent.com/en-us/cookies-policy.html">Cookies政策</a>。</p> </div> <div class="btn-box"> <div class="btn accept-btn">接受所有分析型Cookies</div> <div class="btn refuse-btn">拒绝所有分析型Cookies</div> </div> </div> <div class="pop"> <div class="title">您的Cookies偏好</div> <div class="btn close-btn"></div> <div class="content"> <p class="label">歡迎來到Tencent.com!</p> <p class="desc">我們希望使用分析型Cookies和類似技術 (“Cookies”) 來改善我們的網站。 Cookies收集的信息不會識別您個人。有關我們使用的Cookies的類型以及您的偏好選項(包括如何更改您的偏好設置)的更多信息,請查看此處的<a href="https://www.tencent.com/en-us/cookies-policy.html">Cookies政策</a>。</p> </div> <div class="btn-box"> <div class="btn accept-btn">接受所有分析型Cookies</div> <div class="btn refuse-btn">拒絕所有分析型Cookies</div> </div> </div> <div class="pop"> <div class="title">YOUR COOKIE PREFERENCES</div> <div class="btn close-btn"></div> <div class="content"> <p class="label">Welcome to Tencent.com!</p> <p class="desc">We would like to use analytics cookies and other similar tracking technologies (“Cookies”) to help us improve our website. The Cookies collect information in a way that does not directly identify anyone. For more information about the Cookies we use and your options (including how to change your preferences), see our cookies policy<a href="https://www.tencent.com/en-us/cookies-policy.html"> here</a>.</p> </div> <div class="btn-box"> <div class="btn accept-btn">Accept all analytics cookies</div> <div class="btn refuse-btn">Reject all analytics cookies</div> </div> </div> </div> <link rel="stylesheet" type="text/css" href="/css/rem.css"/> <link rel="stylesheet" type="text/css" href="/css/rem-2.css"/> <script> /* 获取一年后今日的时间戳 */ var date = new Date(); var y = date.getFullYear() + 1; var m = date.getMonth(); var d = date.getDate(); var h = date.getHours(); var minute = date.getMinutes(); var s = date.getSeconds(); var dateStr = y + "-" + (m + 1) + "-" + d + " " + h + ":" + minute + ":" + s; let timestamp = (new Date(dateStr)).getTime(); // console.log(timestamp); if (localStorage.getItem("cookieStatusTime")) { if (localStorage.getItem("cookieStatusTime") < Date.parse(new Date())) { // console.log('cookie协议到期'); if (window.location.href.indexOf("cookies-policy") >= 0 || window.location.href.indexOf("cookie-policy") >= 0) { console.log('当前是cookie协议页'); } else { $('.cookie-pop').fadeIn(); } } else { // console.log('cookie协议没到期'); } } if (localStorage.getItem("cookieStatus") == 'false') { } else if (localStorage.getItem("cookieStatus") == 'true') { // var _mtac = { "performanceMonitor": 1, "senseQuery": 1 }; // (function () { // var mta = document.createElement("script"); // mta.src = "//pingjs.qq.com/h5/stats.js?v2.0.4"; // mta.setAttribute("name", "MTAH5"); // mta.setAttribute("sid", "500665694"); // mta.setAttribute("cid", "500696449"); // var s = document.getElementsByTagName("script")[0]; // s.parentNode.insertBefore(mta, s); // })(); <!-- Global site tag (gtag.js) - Google Analytics --> var ga = document.createElement("script"); ga.src = "https://www.googletagmanager.com/gtag/js?id=G-DW9MBJC8M8"; ga.async = 1; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s); window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-DW9MBJC8M8'); // <!--Metricool Tracker --> // function loadScript (a) { // var b = document.getElementsByTagName('head')[0], c = document.createElement('script') // c.type = 'text/javascript', c.src = 'https://tracker.metricool.com/resources/be.js', c.onreadystatechange = a, c.onload = a, b.appendChild(c) // } // // loadScript(function () { // beTracker.t({ hash: 'cc917e970604fc97c930332506849347' }) // }) } else { console.log(window.location.href) if (window.location.href.indexOf("cookies-policy") >= 0 || window.location.href.indexOf("cookie-policy") >= 0) { console.log('当前是cookie协议页'); } else { $('.cookie-pop').fadeIn(); } } $('.cookie-pop .btn-box .btn,.cookie-pop .pop .close-btn').on('click', function () { if ($(this).hasClass('refuse-btn') || $(this).hasClass('close-btn')) { $('.cookie-pop').fadeOut(); localStorage.setItem("cookieStatus", "false"); localStorage.setItem("cookieStatusTime", timestamp); } else { $('.cookie-pop').fadeOut(); localStorage.setItem("cookieStatus", "true"); localStorage.setItem("cookieStatusTime", timestamp); // var _mtac = { "performanceMonitor": 1, "senseQuery": 1 }; // (function () { // var mta = document.createElement("script"); // mta.src = "//pingjs.qq.com/h5/stats.js?v2.0.4"; // mta.setAttribute("name", "MTAH5"); // mta.setAttribute("sid", "500665694"); // mta.setAttribute("cid", "500696449"); // var s = document.getElementsByTagName("script")[0]; // s.parentNode.insertBefore(mta, s); // })(); <!-- Global site tag (gtag.js) - Google Analytics --> var ga = document.createElement("script"); ga.src = "https://www.googletagmanager.com/gtag/js?id=G-DW9MBJC8M8"; ga.async = 1; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s); window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-DW9MBJC8M8'); <!--Metricool Tracker --> // function loadScript (a) { // var b = document.getElementsByTagName('head')[0], c = document.createElement('script') // c.type = 'text/javascript', c.src = 'https://tracker.metricool.com/resources/be.js', c.onreadystatechange = a, c.onload = a, b.appendChild(c) // } // // loadScript(function () { // beTracker.t({ hash: 'cc917e970604fc97c930332506849347' }) // }) } }) let _language = 'zh-cn/'; let pop_ind = 0; const pathName = window.location.pathname; if (pathName.indexOf("zh-cn") >= 0){ // console.log('带zh-cn后缀'); _language = 'zh-cn/'; } else if (pathName.indexOf("zh-hk") >= 0){ // console.log('带zh-hk后缀'); _language = 'zh-hk/'; } else if (window.location.pathname.indexOf("en-us") >= 0){ // console.log('带en-us后缀'); _language = 'en-us/'; pop_ind = 2; } else{ // console.log('不带lang后缀'); handleNoLangPath(); } console.log('handle no lang', _language); localStorage.setItem("browserSign", _language); function handleNoLangPath() { const browserSign = localStorage.getItem("browserSign"); if(browserSign){ _language = browserSign; if (_language.split('/')[0] == 'zh-hk') { pop_ind = 1; } else if (_language.indexOf("zh") >= 0 || _language.indexOf("ZH") >= 0) { pop_ind = 0; } else { pop_ind = 2; } } else { /* 获取浏览器语言 */ // console.log('浏览器语言: '+navigator.language) const lang_nav = navigator.language; if (lang_nav == 'zh-HK') { _language = 'zh-hk/'; pop_ind = 1; } else if (lang_nav.indexOf("zh") >= 0 || lang_nav.indexOf("ZH") >= 0) { _language = 'zh-cn/'; pop_ind = 0; } else { _language = 'en-us/'; pop_ind = 2; } } } if (pathName.indexOf(_language.split('/')[0]) < 0) { window.location.pathname = window.location.pathname.replace(/^\/(zh\-(cn|hk)|en\-us)?/, '/' + _language); } $('.lang_area a').removeClass('current'); $('.wrap').addClass(_language.split('/')[0]); $('.lang_area a[lang="' + _language.split('/')[0] + '"]').addClass('current'); /* 中文/繁体/英文路由状态控制 */ var host = window.location.host; var url = window.location.href; $('.lang_area a,.menu_list .menu_item.menu_item_lan a,.lang-ul li a').on('click', function () { var targetLocale = $(this).attr('lang'); if ($(this).attr('lang') != _language.split('/')[0]) { localStorage.setItem("browserSign", targetLocale+'/'); window.location.pathname = window.location.pathname.replace(/^\/(zh\-(cn|hk)|en\-us)?/, '/' + targetLocale); } }) $('.cookie-pop .pop').removeClass('active'); $('.cookie-pop .pop').eq(pop_ind).addClass('active'); </script> </body> </html>