CINXE.COM

Canada news - Bulletin - Wedoany

<!DOCTYPE html> <html> <head> <title>Canada news - Bulletin - Wedoany</title> <!--<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "WebSite", "name": "Wedoany", "alternateName": ["WEDO", "WeDo", "wedo", "wedoany.com", "维度网"], "url": "https://www.wedoany.com/" } </script>--> <meta charset="utf-8" /> <link rel="shortcut icon" href="" /> <link rel="bookmark" href="" /> <meta name="title" content="Canada news - Bulletin - Wedoany" /> <meta name="keywords" content="Canada,news" /> <meta name="description" content="" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> <!--<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">--> <!--[if lt IE 9]> <script src="https://www.wedoany.com/statics/images/pro/js/html5shiv.js"></script> <script src="https://www.wedoany.com/statics/images/pro/js/respond.min.js"></script> <![endif]--> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/pro/js/easytpl/libs/layui/css/layui.css"/> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/pro/css/reset.css"> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/pro/css/css.css"> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/pro/css/keyframes.css"> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/pro/css/iconfont.css"> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/pro/js/swiper/swiper.min.css"> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/pro/css/css_en.css"> </head> <body> <div class="v2_topbar"> <div class="v2_wapper"> <div class="l"> <div id="company_nologin"> <a href="https://www.wedoany.com/en/pro/acompany/login.html" target="_blank" class="sel">Supplier log in</a> </div> <div id="company_havelogin" style="display:none;"> <a href="https://www.wedoany.com/en/pro/acompany/index.html" target="_blank" class="sel">Enter Supplier center</a> </div> <div class="member_nologin"> <a href="https://www.wedoany.com/en/pro/amember/login.html" target="_blank">Member Login</a> </div> <div class="member_havelogin" style="display:none;"> <a href="https://www.wedoany.com/en/pro/amember/index.html" target="_blank">Enter the member center</a> </div> </div> <div class="r"> <a href="https://www.wedoany.com/zh-cn/">中文站</a> <a href="https://www.wedoany.com/en/" class="sel" >English</a> <a href="https://www.wedoany.com/fr/">Français</a> <a href="https://www.wedoany.com/ru/">Русский</a> <a href="https://www.wedoany.com/es/">Español</a> <a href="https://www.wedoany.com/ar/">العربية</a> <a href="https://www.wedoany.com/pt/">Português</a> <a href="https://www.wedoany.com/de/">Deutsch</a> </div> </div> </div> <div class="v2_header"> <div class="v3_wapper_header"> <div class="logo-search"> <a href="https://www.wedoany.com/en/" class="logo"> <img title="Wedoany" alt="Wedoany" src="https://www.wedoany.com/logo.png"> <em>Global professional service platform for<br/>energy engineering</em> </a> <form class="search layui-form" lay-filter="headerSearch"> <select name="headerModel" lay-ignore> <option value="product" >Product</option> <option value="company" >Company</option> <option value="shortnews" selected>Bulletin</option> <!--<option value="ztb" >Tender</option>--> <!--<option value="shortnews" selected>Bulletin</option>--> </select> <em></em> <input type="text" value="" name="headerKeyword" placeholder="Enter search keywords"> <button class="btn" lay-filter="doHeaderSearch" lay-submit=""> <i class="iconfont icon-a-ziyuan11"></i> </button> </form> </div> <div class="cate-nav v2_wapper"> <div class="index-cate"> <a href="https://www.wedoany.com/en/"> <i class="iconfont icon-lists-2"></i> <em>All Categories</em> </a> <div class="v2_float_cate"> <div class="left" id="index-cate-float"> <a href="https://www.wedoany.com/en/product.html?s=1001813" title="Oil"> <i class="iconfont icon-fuel"></i> <span>Oil</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1001812" title="Natural Gas"> <i class="iconfont icon-tianranqi1"></i> <span>Natural Gas</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1001814" title="Coal"> <i class="iconfont icon-meitanjiance"></i> <span>Coal</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1001824" title="Power Grid Project"> <i class="iconfont icon-welldrilling"></i> <span>Power Grid Project</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1001815" title="Thermal Power Generation"> <i class="iconfont icon-huore"></i> <span>Thermal Power Generation</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1003305" title="Hydraulic Energy"> <i class="iconfont icon-icontubiaohuizhizhuanqu_huaban1fuben20"></i> <span>Hydraulic Energy</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1001817" title="Wind Power"> <i class="iconfont icon-fengdian"></i> <span>Wind Power</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1003303" title="PV"> <i class="iconfont icon-guangfu"></i> <span>PV</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1003304" title="Photothermal Power Generation"> <i class="iconfont icon-guanre-v002"></i> <span>Photothermal Power Generation</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1001819" title="Nuclear Energy"> <i class="iconfont icon-radiation"></i> <span>Nuclear Energy</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1001816" title="Hydrogen Energy"> <i class="iconfont icon-qingqi"></i> <span>Hydrogen Energy</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1001821" title="Ocean Energy"> <i class="iconfont icon-hedaoshuizhi"></i> <span>Ocean Energy</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1001822" title="Geothermal Energy"> <i class="iconfont icon-car_1car12"></i> <span>Geothermal Energy</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1001825" title="Energy Storage"> <i class="iconfont icon-Icon_chuneng"></i> <span>Energy Storage</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1001827" title="Energy Conservation"> <i class="iconfont icon-sssbzh"></i> <span>Energy Conservation</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1001828" title="Material"> <i class="iconfont icon-yuancailiaojiagong"></i> <span>Material</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1003306" title="Energy Transportation"> <i class="iconfont icon-yunshuzhongwuliu-xianxing"></i> <span>Energy Transportation</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1004064" title="Emergency power generation"> <i class="iconfont icon-fadianji1"></i> <span>Emergency power generation</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1004150" title="Environmental friendly"> <i class="iconfont icon-zhihuihuanbao_huanbaoyanghu "></i> <span>Environmental friendly</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1004183" title="CCUS"> <i class="iconfont icon-shajun"></i> <span>CCUS</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1004188" title="Biomass energy"> <i class="iconfont icon-gfshengwuzhichang"></i> <span>Biomass energy</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1004800" title="Pressure Vessel Engineering"> <i class="iconfont icon-zu"></i> <span>Pressure Vessel Engineering</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1004801" title="Power Engineering"> <i class="iconfont icon-fadongjixitong"></i> <span>Power Engineering</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> <a href="https://www.wedoany.com/en/product.html?s=1004802" title="Safety Production and Occupational Health"> <i class="iconfont icon-anquanmao"></i> <span>Safety Production and Occupational Health</span> <i class="iconfont icon-a-ziyuan3 icon-go"></i> </a> </div> </div> </div> <div class="v2_nav"> <a href="https://www.wedoany.com/en//" >Index<em></em></a> <a href="https://www.wedoany.com/en/product.html" >Products<em></em></a> <a href="https://www.wedoany.com/en/company.html" >Supplier<em></em></a> <a href="https://www.wedoany.com/en/companyAdvanced.html" >Investment & development<em></em></a> <a href="https://www.wedoany.com/en/shortnews.html" >Bulletin<em></em></a> <a href="https://www.wedoany.com/en/video.html" >Video<em></em></a> </div> </div> <!-- <div class="cate-nav"> <div class="v2_nav"> <a href="https://www.wedoany.com/en//" >Index<em></em></a> <a href="https://www.wedoany.com/en/product.html" >Products<em></em></a> <a href="https://www.wedoany.com/en/company.html" >Supplier<em></em></a> <a href="https://www.wedoany.com/en/companyAdvanced.html" >Investment & development<em></em></a> <a href="https://www.wedoany.com/en/shortnews.html" >Bulletin<em></em></a> <a href="https://www.wedoany.com/en/video.html" >Video<em></em></a> </div> </div> --> </div> </div> <div class="v2_wapper"> <div class="v2_mb pos"> <a href="https://www.wedoany.com/en/">Home</a> <i class="iconfont icon-cus"></i> <a href="https://www.wedoany.com/en/shortnews.html">Bulletin</a> </div> </div> <div class="subbody wapper"> <div class="sidebar"> <div class="sidebar-box sidebar-box-company"> <h2 class="type2"> <i class="iconfont icon-map"></i> Filter by Region </h2> <form class="layui-form area-search" action="" lay-filter="area_search_form"> <div class="li"> <select name="zhou" lay-filter="zhou"> <option value="">Choose a continent</option> <option value="4071">Africa</option> <option value="4070">Oceania</option> <option value="4069">North America</option> <option value="4068">Latin America</option> <option value="4072">Europe</option> <option value="4067">Asia</option> </select> </div> <div class="li"> <select name="country" lay-filter="country"> <option value="">Choose A Country</option> </select> </div> <div class="li"> <button class="layui-btn" lay-filter="area_search_submit" lay-submit>Search</button> </div> </form> </div> <div class="sidebar-box sidebar-box-company"> <h2 class="type2 mb0"> <i class="iconfont icon-app"></i> Industry Classification </h2> <div class="shortnews_cate"> <a href="javascript:;" lay-active="changeCate" data-id="1001813" data-name="Oil"> <i class="iconfont icon-fuel"></i> <span>Oil</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1005698" data-name="Transportation"> <i class="iconfont icon-jiaotong"></i> <span>Transportation</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1001812" data-name="Natural Gas"> <i class="iconfont icon-tianranqi1"></i> <span>Natural Gas</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1005699" data-name="Mining and Metallurgy"> <i class="iconfont icon-kuangchanyejin"></i> <span>Mining and Metallurgy</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1001814" data-name="Coal"> <i class="iconfont icon-meitanjiance"></i> <span>Coal</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1005701" data-name="Construction and Building Materials"> <i class="iconfont icon-_jianzhujiancai"></i> <span>Construction and Building Materials</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1001824" data-name="Power Grid Project"> <i class="iconfont icon-welldrilling"></i> <span>Power Grid Project</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1001815" data-name="Thermal Power Generation"> <i class="iconfont icon-huore"></i> <span>Thermal Power Generation</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1003305" data-name="Hydraulic Energy"> <i class="iconfont icon-icontubiaohuizhizhuanqu_huaban1fuben20"></i> <span>Hydraulic Energy</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1001817" data-name="Wind Power"> <i class="iconfont icon-fengdian"></i> <span>Wind Power</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1003303" data-name="PV"> <i class="iconfont icon-guangfu"></i> <span>PV</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1003304" data-name="Photothermal Power Generation"> <i class="iconfont icon-guanre-v002"></i> <span>Photothermal Power Generation</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1001819" data-name="Nuclear Energy"> <i class="iconfont icon-radiation"></i> <span>Nuclear Energy</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1001816" data-name="Hydrogen Energy"> <i class="iconfont icon-qingqi"></i> <span>Hydrogen Energy</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1001821" data-name="Ocean Energy"> <i class="iconfont icon-hedaoshuizhi"></i> <span>Ocean Energy</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1001822" data-name="Geothermal Energy"> <i class="iconfont icon-car_1car12"></i> <span>Geothermal Energy</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1001825" data-name="Energy Storage"> <i class="iconfont icon-Icon_chuneng"></i> <span>Energy Storage</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1001827" data-name="Energy Conservation"> <i class="iconfont icon-sssbzh"></i> <span>Energy Conservation</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1001828" data-name="Material"> <i class="iconfont icon-yuancailiaojiagong"></i> <span>Material</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1003306" data-name="Energy Transportation"> <i class="iconfont icon-yunshuzhongwuliu-xianxing"></i> <span>Energy Transportation</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1004064" data-name="Emergency power generation"> <i class="iconfont icon-fadianji1"></i> <span>Emergency power generation</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1004150" data-name="Environmental friendly"> <i class="iconfont icon-zhihuihuanbao_huanbaoyanghu "></i> <span>Environmental friendly</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1004183" data-name="CCUS"> <i class="iconfont icon-shajun"></i> <span>CCUS</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1004188" data-name="Biomass energy"> <i class="iconfont icon-gfshengwuzhichang"></i> <span>Biomass energy</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1004800" data-name="Pressure Vessel Engineering"> <i class="iconfont icon-zu"></i> <span>Pressure Vessel Engineering</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1004801" data-name="Power Engineering"> <i class="iconfont icon-fadongjixitong"></i> <span>Power Engineering</span> </a> <a href="javascript:;" lay-active="changeCate" data-id="1004802" data-name="Safety Production and Occupational Health"> <i class="iconfont icon-anquanmao"></i> <span>Safety Production and Occupational Health</span> </a> </div> </div> </div> <div class="right"> <div class="prosearch"> <form class="layui-form" lay-filter="search_form" action=""> <div class="type"> <select name="field" lay-filter="field"> <option value="title">Title</option> <option value="desc_search">Description</option> </select> </div> <div class="input"> <input value="" lay-filter="keyword" type="text" name="keyword" lay-verify="" placeholder="Enter search keywords" class="layui-input"> <div class="search_log"> Search history:<span id="searchLog"></span> </div> </div> <div class="btn"> <button class="layui-btn" lay-filter="dosearch" lay-submit>Search</button> </div> </form> </div> <div class="search_now_query" id="nowQuery"> <!-- <tag> <text>分类测试</text> <i class="layui-icon layui-icon-close-fill"></i> </tag> --> </div> <div class="sub_main" style="margin-top: 8px; border-radius: 0;"> <div class="shortnews_list" id="list"></div> <div id="pagecode" class="pagecode"></div> </div> </div> </div> <footer class="v2"> <div class="wapper"> <div class="nav"> <a href="https://www.wedoany.com/en/about/aboutus.html">About us</a> <span></span> <a href="https://www.wedoany.com/en/about/connectus.html">Connect us</a> <span></span> <a href="https://www.wedoany.com/en/about/Disclaimer.html">Disclaimer</a> <span></span> <a href="https://www.wedoany.com/en/about/Websiteannouncement.html">Website announcement</a> <span></span> </div> <div class="copy"> <p>Copyright of Energy Selection and Service Library &copy; 2023</p> </div> <!-- <i class="iconfont icon-gotop"></i> --> </div> </footer> <script type="text/javascript">var APP_PATH = "https://www.wedoany.com/";</script> <script type="text/javascript">var APP_PATH_LANG = "https://www.wedoany.com/en/";</script> <script src="https://www.wedoany.com/statics/images/pro/js/jquery.min.js"></script> <script src="https://www.wedoany.com/statics/images/pro/js/lazyload.min.js"></script> <script src="https://www.wedoany.com/statics/images/pro/js/plugin.js"></script> <script src="https://www.wedoany.com/statics/images/pro/js/easytpl/libs/layui/layui.js"></script> <script src="https://www.wedoany.com/statics/images/pro/js/easytpl/js/common.js?v=318"></script> <script type="text/javascript" src="https://www.wedoany.com/statics/images/pro/js/jquery.nicescroll.js"></script> <script src="https://www.wedoany.com/statics/images/pro/js/swiper/swiper.min.js"></script> <script src="https://www.wedoany.com/statics/images/pro/js/js.js"></script> </body> </html> <script> layui.use(['layer','notice','form','util'], function () { var $ = layui.jquery; var layer = layui.layer; var notice = layui.notice; var form = layui.form; var util = layui.util; // notice.msg('Waiting for the Test Update API',{icon:4,close:true}); //form.render(); //提交表单 form.on('submit(doHeaderSearch)', function (data) { var model = data.field.headerModel; var keyword = data.field.headerKeyword; if(model == ''){ notice.msg(" Please select the search content type ",{icon:3}); return false; } if(keyword == ''){ notice.msg("Enter search keywords",{icon:3}); return false; } //return false; if( model == 'shortnews' ){ window.location.href = APP_PATH_LANG+"shortnews_search_"+encodeURI(keyword)+".html"; }else{ window.location.href = APP_PATH_LANG+"search.html?model="+model+"&keyword="+keyword; } return false; }); //登录监测 $.post("https://www.wedoany.com/en/pro/api/loginCk.html",{type:'company'},function(res){ if( res.data.userid != 0 ){ $('#company_nologin').hide(); $('#company_havelogin').show(); if(res.data.unread != 0){ //$('#company_havelogin').find('em').html(res.data.unread); }else{ //$('#company_havelogin').find('em').html(0).hide(); } } },'json'); $.post("https://www.wedoany.com/en/pro/api/loginCk.html",{type:'member'},function(res){ if( res.data.userid != 0 ){ $('.member_nologin').hide(); $('.member_havelogin').show(); if(res.data.unread != 0){ //$('.member_havelogin').find('em').html(res.data.unread); }else{ //$('.member_havelogin').find('em').html(0).hide(); } } },'json'); //事件处理 util.event('lay-active', { fav: function(othis){ var _this = $(othis); var obj_code = $(othis).attr('data-code'); var obj_table = $(othis).attr('data-table'); var data = { obj_code:obj_code, obj_table:obj_table, url:"https://www.wedoany.com/en/shortnews-0_0_4184.html" }; notice.msg("Processing", {icon: 4, close: false}); $.post("https://www.wedoany.com/en/pro/api/fav.html",data,function(res){ notice.destroy(); if( res.code == 200 ){ if( res.data == 'add' ){ _this.addClass('dofav_ok').html("Collected"); }else{ _this.removeClass('dofav_ok').html("Add to favorites"); } }else{ notice.msg(res.msg,{icon:3}); } },'json'); } }); $('.langDom b').click(function(){ var dom = $(this).parent('l'); var lang = dom.attr('data-lang'); var key = dom.attr('data-key'); layui.admin.prompt(function (value, index, elem) { var layui_index = index; var data = { lang:lang, key:key, value:value, }; $.post("https://www.wedoany.com/en/admin/admin/lang_edit.html",data,function(res){ if( res.code == 200 ){ dom.find('t').html(value); } layer.close(layui_index); },'json'); }); return false; }); return false; $('#doHeaderSearch').click(function(){ var model = $("select[name=headerModel]").val(); var keyword = $('input[name=headerKeyword]').val(); if(model == ''){ notice.msg(" Please select the search content type ",{icon:3}); return false; } if(keyword == ''){ notice.msg("Enter search keywords",{icon:3}); return false; } window.location.href = APP_PATH_LANG+"search.html?model="+model+"&keyword="+keyword; }); }); </script> <script type="text/javascript"> function gotop(){ $('html, body').animate({ scrollTop: $('body').offset().top }, 500); } </script> <div class="float-bottom-func"> <a title="Contact platform customer service " href="https://www.wedoany.com/en/pro/im/index.html?&to=&action=ckefu" target="_blank" class="float-kefu"> <i class="layui-icon layui-icon-service"></i> </a> <a title="Return to Head " href="javascript:gotop();" class="float-kefu"> <i class="iconfont icon-gotop"></i> </a> </div> <script type="text/html" id="item"> <li> <articletitle class="info"> <h3> {{d.ishot == 1 ? '<i class="iconfont icon-hot-copy ishot" lay-active="isHot"></i>' : ''}} <a href="https://www.wedoany.com/en/shortnews/{{d.code}}.html" target="_blank" title="{{d.title}}">{{d.title}}</a> </h3> <p class="desc">{{d.description}}</p> </articletitle> <p class="moreinfo"> {{# if(d.country_array && d.country_array.length >= 1){ }} {{# layui.each(d.country_array , function(index, item){ }} {{# if(item.zhou_relamenuid && item.zhou_relamenuid.length >= 1){ }} <a href="javascript:;" data-id="{{item.zhou_relamenuid}}" data-name="{{item.zhou}}" data-type="zhou" lay-active="changeArea">{{item.zhou}}</a> {{# } }} {{# if(item.country_relamenuid && item.country_relamenuid.length >= 1){ }} <a href="javascript:;" data-id="{{item.country_relamenuid}}" data-name="{{item.country}}" data-type="country" lay-active="changeArea">{{item.country}}</a> {{# } }} {{# }); }} {{# } }} {{# if(d.catid_arr && d.catid_arr.length >= 1){ }} {{# layui.each(d.catid_arr, function(index, item){ }} <a href="javascript:;" data-id="{{item.id}}" data-name="{{item.name}}" lay-active="changeCate" class=" {{item.color_for_out == '' ? 'blue' : ''}} " style=" border-color:{{item.color_for_out}}; color: {{item.color_for_out}};"> {{item.name}} </a> {{# }); }} {{# } }} <span class="time">{{d.inputtime}}</span> </p> </li> </script> <script> layui.use(['layer','notice','util','form','dataGrid','admin'], function () { var $ = layui.jquery; var layer = layui.layer; var notice = layui.notice; var util = layui.util; var form = layui.form; var dataGrid = layui.dataGrid; var admin = layui.admin; form.render(); //搜索相关 var catid = "0"; var keyword = ""; var catname = ""; var field = ''; var zhou = ""; var zhou_name = ""; var country = "4184"; var country_name = "Canada"; var ishot = "0"; $(document).on('click','.layui-laypage a,.layui-laypage-btn',function(){ resetPage(); }); setQuery(); //实例化数据表格 var ins = dataGrid.render({ elem: '#list', templet: '#item', data: "https://www.wedoany.com/en/pro/api/shortnews.html", page: { limit:20, limits:[20,50], prev:"Prev", next:"Next", skipText: ["Go to", '', "Confirm"], layout:['prev', 'page', 'next','skip'], // curr:2 // hash: 'page', // curr: location.hash.replace('#!page=', '') }, where:{catid:catid,ishot:ishot,zhou:zhou,country:country, catid:catid,field:'title',keyword:keyword}, done:function(data,curr,count){ // 加载后 回到头部 if( parseInt( $('body').offset().top - $(window).scrollTop() ) < 0 ){ $('html, body').animate({ scrollTop: $('body').offset().top }, 0); } $('#res_num').html(count); lazyload(); } }); //国家筛选 form.on('select(zhou)', function(data){ var pid = data.value; //获取子类 并更新城市select $.post("https://www.wedoany.com/en/pro/api/getRelamenuSubcate.html",{pid:pid},function(res){ var str = `<option value="">Choose A Country</option>`; if( res.code == 200 ){ var data = res.data; for (index in data) { str += `<option value="`+data[index].relamenuid+`">`+data[index].name+`</option>`; } $("select[name=country]").html(str); form.render(); }else{ $("select[name=country]").html(str); form.render(); } },'json'); }); form.on('submit(area_search_submit)', function (data) { resetPage(); zhou = data.field.zhou ? data.field.zhou : ''; country = data.field.country ? data.field.country : ''; if( zhou ) zhou_name = $("select[name=zhou]").find("option[value="+zhou+"]").text(); if( country ) country_name = $("select[name=country]").find("option[value="+country+"]").text(); ishot = 0; setQuery(); ins.reload({ page:{curr:1}, where:{zhou:zhou,country:country, catid:catid,field:data.field.field,keyword:data.field.keyword,ishot:ishot} }); return false; }); //页面内所有点击事件 util.event('lay-active', { //点击分类筛选 changeCate: function(othis){ catid = $(othis).attr('data-id'); catname = $(othis).attr('data-name'); $('.shortnews_cate a').removeClass('sel'); $(".shortnews_cate a[data-id="+catid+"]").addClass('sel'); form.val("search_form", { field: "title", keyword: "" }); keyword = ''; form.val("area_search_form", { province: "", city: "" }); form.render(); province = ''; city = ''; zhou = ''; country = ''; ishot = 0; setQuery(); ins.reload({ page:{curr:1}, where:{zhou:zhou,country:country,catid:catid,keyword:'',field:'',ishot:ishot} }); }, //筛选热点 isHot: function(othis){ ishot = 1; setQuery(); ins.reload({ page:{curr:1}, where:{zhou:zhou,country:country,catid:catid,keyword:'',field:'',ishot:1} }); }, // 点击搜索日志搜索 doSearchLog:function(othis){ //重置搜索结果数量 $('#res_num').html(0); field = 'title'; keyword = $(othis).html(); form.val("search_form", { field:'title', keyword: keyword }); ishot = 0; setQuery(); ins.reload({ page:{curr:1}, where:{pzhou:zhou,country:country,catid:catid,keyword:keyword,field:'title',ishot:ishot} }); }, deleteQuery:function(othis){ resetPage(); var type = $(othis).attr('data-type'); if( type == 'catid' ){ catid = ''; catname = ''; //设置左侧菜单选中状态 $('.shortnews_cate a').removeClass('sel'); } if( type == 'keyword' ){ keyword = ''; form.val("search_form", { field:'title', keyword: '' }); } if( type == 'zhou' ){ zhou = ''; zhou_name = ''; form.val("area_search_form", { zhou: "" }); } if( type == 'country' ){ country = ''; country_name = ''; form.val("area_search_form", { country: "" }); } if( type == 'ishot' ){ ishot = 0; } ins.reload({ page:{curr:1}, where:{zhou:zhou,country:country,catid:catid,keyword:keyword,field:field,ishot:ishot} }); $(othis).parent('tag').remove(); } }); //关键词搜索 与 历史日志 var searchLog = admin.getTempData('searchLogShortnews'); searchLog = searchLog ? searchLog : []; if(searchLog.length >= 5 ) searchLog.pop(); var searchLogHtml = ''; for (index in searchLog) { searchLogHtml += `<a href="javascript:;" lay-active="doSearchLog">`+searchLog[index]+`</a>`; } $('#searchLog').html(searchLogHtml); form.on('submit(dosearch)', function (data) { //重置搜索结果数量 $('#res_num').html(0); field = data.field.field; keyword = data.field.keyword; ishot = 0; setQuery(); //写入本地缓存 searchLog.unshift(data.field.keyword); admin.putTempData('searchLogShortnews',searchLog); ins.reload({ page:{curr:1}, where:{zhou:zhou,country:country,catid:catid,field:data.field.field,keyword:data.field.keyword,ishot:ishot} }); return false; }); function setQuery(){ var str = ''; if( catname != '' ){ str += ` <tag> <text><em>Category:</em>`+catname+`</text> <i class="layui-icon layui-icon-close-fill" lay-active="deleteQuery" data-type="catid"></i> </tag> `; } if( keyword != '' ){ str += ` <tag> <text><em>Keywords:</em>`+keyword+`</text> <i class="layui-icon layui-icon-close-fill" lay-active="deleteQuery" data-type="keyword"></i> </tag> `; } if( zhou != '' && zhou != 0 ){ str += ` <tag> <text><em>Continent:</em>`+zhou_name+`</text> <i class="layui-icon layui-icon-close-fill" lay-active="deleteQuery" data-type="zhou"></i> </tag> `; } if( country != '' && country != 0 ){ str += ` <tag> <text><em>Country:</em>`+country_name+`</text> <i class="layui-icon layui-icon-close-fill" lay-active="deleteQuery" data-type="country"></i> </tag> `; } if( ishot != 0 ){ str += ` <tag> <text><em></em>Hot</text> <i class="layui-icon layui-icon-close-fill" lay-active="deleteQuery" data-type="ishot"></i> </tag> `; } $('#nowQuery').html(str); resetPage(); } function resetPage(){ $('html, body').animate({ scrollTop: $('body').offset().top }, 0); $('#list').css('min-height','200px').html(""); } }); </script>

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