CINXE.COM
Feeding Students in Need – With Love Meals - Tencent 腾讯
<!DOCTYPE html> <html lang="en-US"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Feeding Students in Need – With Love Meals - 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> <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"> <meta property="og:image" content="https://static.www.tencent.com/uploads/2024/10/15/fc3fb7198b27951dace6b177ecbc39d3.png!article.cover" /> <meta property="og:title" content="Feeding Students in Need – With Love Meals" /> <meta property="og:description" content="In the decade that Love Meals has been running, it has made a positive impact on the health and education outcomes of children." /> <meta name="twitter:title" content="Feeding Students in Need – With Love Meals" /> </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/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/articles_2.css"/> <div class="f"> <div class="crumbs-1"> <div class="f-content"> <a href="https://www.tencent.com/en-us/index.html">Home</a><img src="/img/level-3-page/df4s4.png"/> <a href="https://www.tencent.com/en-us/media.html">Media</a><img src="/img/level-3-page/df4s4.png"/> <a href="https://www.tencent.com/en-us/media/perspective.html">Tencent Perspectives</a> <img src="/img/level-3-page/df4s4.png"/> <a href="#">Full Article</a> </div> </div> <div class="page-main"> <div class="f-content"> <div class="page-content"> <article> <div class="title-3"> <h1 class="main">Feeding Students in Need – With Love Meals</h1> <div class="date">2024.10.16</div> </div> <div class="data"> <div class="text color-1"><p><p style="text-align: center;"><span style="font-size: 12pt;"><iframe src="https://www.youtube.com/embed/Z0pZnv7xBYU?si=ASJ7C1hy1LQxUx6b" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen="allowfullscreen"></iframe></span></p> <p style="text-align: left;"><span style="font-size: 12pt;">In a village in southwestern China, people are busy selecting produce at the market. They load up on the freshest and most nutritious items they can find – cabbage, corn, cucumbers, potatoes, rice, meat, fish.</span><o:p></o:p></p> <p style="text-align: left;"><span style="font-size: 12pt;">Shopping done, they take the fresh produce to the local primary school. They cut, chop, and prep everything in the school kitchen. Ultimately, a healthy and delicious meal is served to students at lunchtime.</span><o:p></o:p></p> <p style="text-align: left;"><span style="font-size: 12pt;">These aren’t school workers, at least not in the traditional sense. Everyone behind this lunch project is a volunteer.</span><o:p></o:p></p> <p style="text-align: center;"><span style="font-size: 12pt;"><span style="font-size: medium; text-align: center;"><span style="font-size: 12pt; margin-left: auto; margin-right: auto;"><img src="https://static.www.tencent.com/uploads/2024/10/15/52305ca6ee2acb074a4e16325f2eec35.jpg" width="1854" height="1236" alt="" style="text-align: center; display: block; margin-left: auto; margin-right: auto;" /></span></span><em style="font-size: medium; text-align: center;"></em></span><span style="font-size: 12pt;"><em>Volunteers are buying vegetables at the market.</em><span style="text-align: center;"><span style="margin-left: auto; margin-right: auto;"><br /></span></span></span></p> <p style="text-align: left;"><strong><span style="font-size: 12pt;">Good nutrition fuels physical and mental development</span></strong><o:p></o:p></p> <p style="text-align: left;"><span style="font-size: 12pt;">These volunteers are under Tencent’s Love Meals project, which has been providing nutritious meals to students in need since 2015. The initiative, founded by Tencent Finance Volunteer, addresses an issue many children around the world face – accessing good, healthy food.</span><o:p></o:p></p> <p style="text-align: left;"><span style="font-size: 12pt;">Ensuring children have access to nutritious meals is important for physical and mental development. It contributes to growth, strengthens immunity, and can reduce the risk of adverse health conditions. In school, a proper meal helps children concentrate better and think more clearly, all essential to improving educational outcomes that give them a brighter future.</span><o:p></o:p></p> <p style="text-align: center;"><span style="font-size: 12pt;"><span style="font-size: 12pt; margin-left: auto; margin-right: auto;"></span><img src="https://static.www.tencent.com/uploads/2024/10/15/6b9c9fa0cdd67b918ce13dfdf8d431d3.jpg" width="1854" height="1390" alt="" style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;" /><em>Volunteers are distributing lunches to children.</em></span></p> <p style="text-align: left;"><strong><span style="font-size: 12pt;">Love Meals: 580,000 meals served in 10 years</span></strong><o:p></o:p></p> <p style="text-align: left;"><span style="font-size: 12pt;">In the decade that Love Meals has been running, it has made a positive impact on the health and education outcomes of children, with over 580,000 nutritious meals served. Currently, the program supports more than 1,500 students at primary schools across southwestern China.</span><o:p></o:p></p> <p style="text-align: left;"><span style="font-size: 12pt;">Bobo Liang, who has been a Tencent volunteer for 14 years, has been the driving force behind Love Meals since its inception. As the project’s leader, she has witnessed many positive changes over time.</span><o:p></o:p></p> <p style="text-align: left;"><span style="font-size: 12pt;"><span lang="ZH-TW">“</span>When we first visited them in 2015, we were surprised to see that some children were not eating well. We recognized that they needed better nutrition for their growth. Thus, the idea for Love Meals was born. Many of us at Tencent wanted to make a difference in the lives of these students. We aimed to provide fresh, nutritious meals to those in need who couldn’t access a healthy meal,” says Liang.</span><o:p></o:p></p> <p style="text-align: left;"><span style="font-size: 12pt;">The project, which began with a focus on providing charity lunch boxes, has since expanded to include breakfasts, as well as clothing and other necessities.</span><o:p></o:p></p> <p style="text-align: center;"><span style="font-size: 12pt;"><img src="https://static.www.tencent.com/uploads/2024/10/15/1484e1a16a24c1775824555632eb7f2c.jpg" width="1754" height="1169" alt="" style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;" /><em><span style="font-size: 12pt;">Bobo Liang (center), the project leader of Love Meals</span></em><em><span style="font-size: 12pt;">, and her team members look back over the years.</span></em></span></p> <p style="text-align: left;"><strong><span style="font-size: 12pt;">Collaborating with local communities</span></strong><o:p></o:p></p> <p style="text-align: left;"><span style="font-size: 12pt;">Building a supportive community is at the heart of Love Meals’ success. The program thrives on the collective efforts of Tencent and local supporters such as Xiongcheng, from the local NGO Ayi Tudou. Xiongcheng has been instrumental in facilitating the complex logistics and rollout of Love Meals in local communities.</span><o:p></o:p></p> <p style="text-align: left;"><span style="font-size: 12pt;">The arrival of Love Meals volunteers brings with it a sense of joy as well as good food. The children look forward to their visits, knowing they will receive not just a meal but also the feeling of being valued and supported, fostering a sense of belonging.</span><o:p></o:p></p> <p style="text-align: left;"><strong><span style="font-size: 12pt;">Transforming lives, one meal at a time</span></strong><o:p></o:p></p> <p style="text-align: left;"><span style="font-size: 12pt;">The impact of Love Meals is evident in the lives of the young students it supports, leading to improvements in the local children's health and academic performance. Says one student: “We’re eating better and feeling happier. I enjoy going to school now because of the food. We have more energy to study, and it has truly changed our lives.”</span><o:p></o:p></p> <p style="text-align: left;"><span style="font-size: 12pt;">Xiongcheng describes the long-term positive impact of the program in terms of improved physical health and nutritional knowledge. “Nutrition fuels the body and mind of children. Data shows that on average, kids are three centimeters taller now compared to 10 years ago. They know more and can distinguish up to 30 different types of vegetables.”</span><o:p></o:p></p> <p style="text-align: left;"><span style="font-size: 12pt;">The volunteers also experience a sense of happiness. “The teamwork among the volunteers and the joy of helping students who wouldn’t otherwise have access to these necessities is incredibly rewarding,” says Liang.</span><o:p></o:p></p> <p style="text-align: left;"><span style="font-size: 12pt;">The success of Love Meals project shows how targeted, volunteer-driven initiatives can nourish young bodies and minds and also fuels the dreams and aspirations of upcoming generations.</span><o:p></o:p></div> </div> </article> </div> <div class="share"> <a href="#">Share</a> <a href="#" target="_blank" class="wx"><i class="icon icon_wx"></i><div id="qrcode"></div></a> <a href="#" target="_blank" class="in"><i class="icon icon_in"></i></a> <a href="#" target="_blank" class="xl"><i class="icon icon_xl"></i></a> <a target="_blank" class="lz"><i class="icon icon_lz"></i></a> <a href="#" target="_blank" class="email"><i class="icon icon_mail"></i></a> </div> <div class="both"></div> <script type="text/javascript" src="/js/clipboard.min.js"></script> <script type="text/javascript" src="/js/qrcode.js"></script> <script> $(function(){ $('iframe').each(function(index, iframe) { $(iframe).height($(iframe).width() / 1.77) }); var shareTitle = document.title; //分享标题 var sharePicUrl = '' // 分享的图片 PHP输出 _coverImage var shareUrl = window.location.href; var mainTitle = $('.title-3 .main').text(); var contentText = $('.text p').eq(0).text(); var urlBj = ''; if(window.location.href.split('?').length>=2){ urlBj = '&'; }else{ urlBj = '?'; } // 分享到微博 $('.share .xl').attr('href','https://service.weibo.com/share/share.php?url='+shareUrl+urlBj+'ADTAG=weibo'+'&title='+shareTitle+'&pic='+sharePicUrl); // 分享到领英 $('.share .in').attr('href','https://www.linkedin.com/shareArticle?url='+shareUrl+urlBj+'ADTAG=linkin'+'&title='+shareTitle+'&summary=&source=Tencent'); // 分享到邮箱 $('.share .email').attr('href','mailto:?subject='+mainTitle+'&body='+contentText+'%0A'+shareUrl); // 复制到剪贴板 var clipboard = new Clipboard('.lz', { text: function() { return shareUrl; } }); clipboard.on('success', function(e) { alert('网址复制到剪贴板成功'); }); clipboard.on('error', function(e) { alert('网址复制到剪贴板失败'); }); var qrcode = new QRCode(document.getElementById("qrcode"), { width : 100,//设置宽高 height : 100, colorDark : '#000000', colorLight : '#ffffff', }); qrcode.makeCode(shareUrl+urlBj+'ADTAG=wechat'); }); </script> </div> </div> </div> </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 - 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/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>