CINXE.COM

ESG - Tencent 腾讯

<!DOCTYPE html> <html lang="zh-CN"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>ESG - 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 &quot;Value for Users, Tech for Good&quot;." /> <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 = 'zh-cn'; </script> <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> <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/zh-cn/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/zh-cn/about.html">简介</a> <ul class="sub_list"> <li><a href="https://www.tencent.com/zh-cn/about.html#about-con-1">公司简介</a></li> <li><a href="https://www.tencent.com/zh-cn/about.html#about-con-2">愿景及使命</a></li> <li><a href="https://www.tencent.com/zh-cn/about.html#about-con-3">发展历程</a></li> <li><a href="https://www.tencent.com/zh-cn/about.html#about-con-4">业务架构</a></li> <li><a href="https://www.tencent.com/zh-cn/about.html#about-con-5">管理团队</a></li> <li><a href="https://www.tencent.com/zh-cn/investors/board-members.html">董事会成员</a></li> <li><a href="https://www.tencent.com/zh-cn/about.html#about-con-6">企业文化</a></li> <li><a href="https://www.tencent.com/zh-cn/about.html#about-con-7">办公地点</a></li> </ul> </li> <li class="menu_item"> <a class="txt" href="https://www.tencent.com/zh-cn/business.html">业务</a> <ul class="sub_list"> <li><a href="https://www.tencent.com/zh-cn/business.html">面向用户</a></li> <li><a href="https://www.tencent.com/zh-cn/business.html?page-active=to-b">面向企业</a></li> <li><a href="https://www.tencent.com/zh-cn/business.html?page-active=innovation">创新科技</a></li> </ul> </li> <li class="menu_item"> <a class="txt" href="https://www.tencent.com/zh-cn/employees.html">员工</a> <ul class="sub_list"> <li><a href="https://www.tencent.com/zh-cn/employees.html#staff-con-1">人才发展</a></li> <li><a href="https://www.tencent.com/zh-cn/employees.html#staff-con-2">腾讯学堂</a></li> <li><a href="https://www.tencent.com/zh-cn/employees.html#staff-con-3">工作环境</a></li> <li><a href="https://www.tencent.com/zh-cn/employees.html#staff-con-4">员工活动</a></li> </ul> </li> <li class="menu_item"> <a class="txt" href="https://www.tencent.com/zh-cn/esg.html">ESG</a> <ul class="sub_list"> <li><a href="https://www.tencent.com/zh-cn/esg.html#respon-con-1">环境</a></li> <li><a href="https://www.tencent.com/zh-cn/esg.html#respon-con-2">社会</a></li> <li><a href="https://www.tencent.com/zh-cn/esg.html#respon-con-3">治理</a></li> <li><a href="https://www.tencent.com/zh-cn/esg.html#respon-con-6">ESG评级</a></li> <li><a href="https://www.tencent.com/zh-cn/esg.html#respon-con-7">报告</a></li> </ul> </li> <li class="menu_item"> <a class="txt" href="https://www.tencent.com/zh-cn/investors.html">投资者</a> <ul class="sub_list"> <li><a href="https://www.tencent.com/zh-cn/investors.html#investors-con-1">季度业绩及投资者新闻</a></li> <li><a href="https://www.tencent.com/zh-cn/investors.html#investors-con-2">公告及财务报告</a></li> <li><a href="https://www.tencent.com/zh-cn/investors.html#investors-con-3">业绩电话会及投资者日历</a></li> <li><a href="https://www.tencent.com/zh-cn/investors.html#investors-con-4">投资者工具包</a></li> <li><a href="https://www.tencent.com/zh-cn/investors.html#investors-con-5">证券及债券信息</a></li> <li><a href="https://www.tencent.com/zh-cn/investors.html#investors-con-6">环境、社会及管治</a></li> <li><a href="https://www.tencent.com/zh-cn/investors.html#investors-con-7">股东资讯</a></li> </ul> </li> <li class="menu_item"> <a class="txt" href="https://www.tencent.com/zh-cn/media.html">媒体</a> <ul class="sub_list"> <li><a href="https://www.tencent.com/zh-cn/media/news.html?type=media">企业动态</a></li> <li><a href="https://www.tencent.com/zh-cn/media/news.html?type=financial">财务新闻</a></li> <li><a href="https://www.tencent.com/zh-cn/media/perspective.html">腾讯视角</a></li> <li><a href="https://www.tencent.com/zh-cn/media/library.html">媒体资料库</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/esg.css"/> <div class="wrap_content esg"> <div class="mod-section-ad"> <div class="mod-con clearfix"> <h2 >环境、社会与治理</h2> <p class="desc">秉持“用户为本,科技向善”的使命及愿景,腾讯致力于通过科技创新来促进环境可持续发展,解决社会问题,提高公司治理透明度。</p> </div> </div> <div class="mod-tab-container"> <div class="mod-tab mod-tab-nt"> <div class="mod-con clearfix"> <div class="mc-left"><img src="/img/brief/mc-left-menu.png" alt="img"/></div> <div class="mc-right"><img src="/img/brief/mc-right-menu.png" alt="img"/></div> <ul> <li class="active-tab"><a href="#respon-con-1">环境</a></li> <li><a href="#respon-con-2">社会</a></li> <li><a href="#respon-con-3">治理</a></li> <li><a href="#respon-con-6">ESG评级</a></li> <li><a href="#respon-con-7">报告</a></li> <div class="line"></div> </ul> </div> </div> </div> <div class="mod-tab-content"> <div class="brand-item white-bg pt" id="respon-con-0"> <div class="mod-con clearfix esg-intro"> <div class="t-flx clearfix"> <h3 class="mod-m-title"> <q>我们相信企业可以提供创新的解决方案来创造社会价值以及服务社会公益。</q> </h3> <div class="brief-text-box"><h4 class="quote-person">腾讯联合创始人兼首席执行官马化腾</h4></div> </div> </div> </div> <div class="brand-item gray-bg brand-one-item pc-tab-brand mobile-tab-brand" id="respon-con-1"> <div class="mod-con clearfix"> <div class="article-box"> <div class="text-box"> <h3>环境</h3> <h4></h4> <img src="/img/esg/environment-bg-mobile.jpg" alt="img" class="mobile-bg" /> <a href="https://www.tencent.com/zh-cn/esg/environment.html"> <p class="desc">腾讯努力推动环境保护,在日常运营、员工参与、产品环境责任、公众理念倡导等多个方面取得进展。</p> </a> <a href="https://www.tencent.com/zh-cn/esg/environment.html" class="go-icon"><img src="/img/business/go-icon.png" alt="img"></a> </div> <img src="/img/esg/environment-bg-1.jpg" alt="img" class="bg pc-bg" /> </div> </div> </div> <div class="brand-item white-bg brand-two-item pc-tab-brand mobile-tab-brand" id="respon-con-2"> <div class="mod-con clearfix"> <div class="article-box"> <div class="text-box"> <h3>社会</h3> <h4></h4> <img src="/img/esg/tech-for-good-bg-mobile.jpg" alt="img" class="mobile-bg" /> <a href="https://www.tencent.com/zh-cn/esg/social.html"> <p class="desc">科技发展一日千里,善用科技将为人类社会带来福祉。在发展同时,腾讯亦需承担相应的技术与产品责任。</p> </a> <a href="https://www.tencent.com/zh-cn/esg/social.html" class="go-icon"><img src="/img/business/go-icon.png" alt="img"></a> </div> <img src="/img/esg/tech-for-good-bg.jpg" alt="img" class="bg pc-bg" /> </div> </div> </div> <div class="brand-item gray-bg brand-one-item pc-tab-brand mobile-tab-brand" id="respon-con-3"> <div class="mod-con clearfix"> <div class="article-box"> <div class="text-box"> <h3>治理</h3> <h4></h4> <img src="/img/esg/esg-govern-bg-mobile.jpg" alt="img" class="mobile-bg" /> <a href="https://www.tencent.com/zh-cn/investors/corporate-governance.html"> <p class="desc">腾讯致力于维持最高水平的企业治理。</p> </a> <a href="https://www.tencent.com/zh-cn/investors/corporate-governance.html" class="go-icon"><img src="/img/business/go-icon.png" alt="img"></a> </div> <img src="/img/esg/esg-govern-bg.jpg" alt="img" class="bg pc-bg" /> </div> </div> </div> <div class="brand-item gray-bg brand-four-item pc-tab-brand mobile-tab-brand" id="respon-con-6"> <div class="mod-con clearfix"> <div class="t-flx clearfix"> <h3 class="mod-m-title">ESG评级</h3> <div class="desc-box"> </div> </div> <div class="ten_accordion_item inited esg-rating-wrapper"> <div class="ten_accordion_body" style="display: block"> <div class="ten_esg"> <div class="ten_esg_icon"></div> <div class="ten_esg_name">MSCI</div> <div class="ten_esg_bar"> BB </div> </div> <div class="ten_esg"> <div class="ten_esg_icon"></div> <div class="ten_esg_name">Sustainalytics <span>Risk Rating</span></div> <div class="ten_esg_bar"> 18.4/100 <div class="ten_esg_name"><span style="font-style: italic">分数越低,代表表现越好</span></div> </div> </div> <a href="https://www.spglobal.com/esg/scores/results?cid=4329847" target="_blank"> <div class="ten_esg"> <div class="ten_esg_icon"></div> <div class="ten_esg_name">S&P ESG Score</div> <div class="ten_esg_bar"> 59 </div> </div> </a> </div> </div> </div> </div> <div class="brand-item white-bg brand-four-item pc-tab-brand mobile-tab-brand reports-section" id="respon-con-7"> <div class="mod-con clearfix"> <div class="t-flx clearfix"> <h3 class="mod-m-title">报告</h3> <div class="desc-box"> </div> </div> <div class="mod-type-box clearfix"> <div class="item item-1"> <a href="https://www.tencent.com/zh-cn/esg/esg-reports.html"> <div class="mask-bg"><img src="/img/esg/esg-report-bg-pc-1-small.jpg" alt="img"/></div> <div class="mess"> <p class="label">ESG报告</p> <p class="desc">欢迎获取腾讯的ESG年度披露内容</p> </div> </a> </div> <div class="item item-2"> <a href="https://www.tencent.com/zh-cn/responsibility/reports.html"> <div class="mask-bg"><img src="/img/esg/pdf-bg-small.jpg" alt="img"/></div> <div class="mess"> <p class="label">企业社会责任报告</p> <p class="desc">腾讯企业社会责任报告</p> </div> </a> </div> <div class="item item-3"> <a href="/attachments/carbon-neutrality/tencent-carbon-neutrality-report.pdf"> <div class="mask-bg"><img src="/img/esg/carbon-report-bg-small.jpg" alt="img"/></div> <div class="mess"> <p class="label" style="font-family: TencentSansW7CN">腾讯碳中和目标及行动路线报告</p> <p class="desc">点击了解腾讯可持续发展和碳中和目标细节</p> </div> </a> </div> <div class="item item-4"> <a href="https://www.tencent.com/zh-cn/esg/ssv-reports.html"> <div class="mask-bg"><img src="/img/esg/ssv-report-bg-small.jpg" alt="img"/></div> <div class="mess"> <p class="label">腾讯可持续社会价值报告</p> <p class="desc">点击了解腾讯首份可持续社会价值报告细节</p> </div> </a> </div> </div> </div> </div> </div> </div> <!-- 内容区域 --> </div> <!-- 页脚区域 --> <div class="wrap_footer"> <div class="footer_con"> <div class="focus_us"> <h3 class="tit">关注我们</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">加入我们</h3> <i class="icon icon_arrow"></i> </div> <ul class="join_list"> <li> <a target="_blank" href="https://careers.tencent.com/">社会招聘</a> </li> <li> <a target="_blank" href="https://join.qq.com/">校园招聘</a> </li> <li> <a target="_blank" href="https://careers.tencent.com/en-us/home.html">国际招聘</a> </li> </ul> </div> <div class="contact_us"> <div class="tit_area"> <h3 class="tit">联系我们</h3> <i class="icon icon_arrow"></i> </div> <ul class="contact_list"> <li> <a target="_blank" href="https://www.tencent.com/zh-cn/customer-service.html">客户服务</a> </li> <li> <a target="_blank" href="https://www.tencent.com/zh-cn/partnership.html">合作洽谈</a> </li> <li> <a target="_blank" href="https://spd.tencent.com/portal">腾讯采购</a> </li> <li> <a target="_blank" href="https://www.tencent.com/zh-cn/compliance.html">诚信合规</a> </li> <li> <a target="_blank" href="https://www.tencent.com/zh-cn/enquiry.html">媒体及投资者</a> </li> </ul> </div> <div class="legal_info"> <div class="tit_area"> <h3 class="tit">法律信息</h3> <i class="icon icon_arrow"></i> </div> <ul class="legal_list"> <li> <a target="_blank" href="https://www.tencent.com/zh-cn/service-agreement.html">服务协议</a> </li> <li> <a target="_blank" href="https://www.tencent.com/zh-cn/privacy-policy.html">隐私政策</a> </li> <li> <a target="_blank" href="https://ipr.tencent.com/">知识产权</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/zh-cn/statement.html">法律声明</a> </li> <li> <a target="_blank" href="https://www.tencent.com/zh-cn/integrity-policy.html">阳光准则</a> </li> <li> <a target="_blank" href="https://www.tencent.com/zh-cn/sitemap.html">网站地图</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 - 2024 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/zh-cn/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/zh-cn/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/zh-cn/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>

Pages: 1 2 3 4 5 6 7 8 9 10