CINXE.COM
我要参展_第10届亚太储能展
<!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>我要参展_第10届亚太储能展</title> <meta name="description" content="" /> <meta name="keywords" content="" /> <link href="/skin/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <link rel="stylesheet" href="/skin/pc/css/animate.min.css"> <link href="/skin/pc/css/base.css" rel="stylesheet"> <link href="/skin/pc/css/content.css" rel="stylesheet"> <link href="/skin/pc/css/owl.carousel.css" rel="stylesheet"> <script type="text/javascript" src="/skin/pc/js/jquery.min.js"></script> </head> <body> <!-- 友好的弹出提示框 --> <script type="text/javascript" src="/public/plugins/layer-v3.1.0/layer.js?t=1632497416"></script><div class="top"> <div class="header"> <div class="logo"> <a href="http://www.wbe-asia.com"><img src="/uploads/allimg/20240826/1-240R610152V47.png" alt="第10届亚太储能展"></a> </div> <div class="bor"></div> <div class="website"> <span>2025年8月8日-8月10日</span> <span>广州 · 广交会展馆A区</span> </div> <div class="bor"></div> <div class="djs show_time"> <script type="text/javascript"> function countdown() { var show_time = document.getElementById("show_time"); endtime = new Date("08/08/2025 00:00:00"); //结束时间 today = new Date(); //当前时间 delta_T = endtime.getTime() - today.getTime(); //时间间隔 if (delta_T < 0) { clearInterval(auto); show_time.innerHTML = "倒计时已经结束"; } window.setTimeout(countdown, 1000); total_days = delta_T / (24 * 60 * 60 * 1000); //总天数 total_show = Math.floor(total_days); //实际显示的天数 total_hours = (total_days - total_show) * 24; //剩余小时 hours_show = Math.floor(total_hours); //实际显示的小时数 total_minutes = (total_hours - hours_show) * 60; //剩余的分钟数 minutes_show = Math.floor(total_minutes); //实际显示的分钟数 total_seconds = (total_minutes - minutes_show) * 60; //剩余的分钟数 seconds_show = Math.floor(total_seconds); //实际显示的秒数 show_time.innerHTML = " " + total_show + ""; } countdown(); </script> <b>距展会开幕还有</b> <span id="show_time"> </span> <b>天</b> </div> <div class="bor"></div> <div class="lau"> <a href="/" class="active">中文</a> | <a href="http://en.battery-expo.com/">EN</a> </div> </div> <div class="nav"> <ul class="nav_list"> <li><a href="http://www.wbe-asia.com">首页</a></li> <li class="drop-menu-effect"><a href="/about/" title="关于WBE" target="" class="">关于WBE</a> <ul class="submenu"> <li><a href="/jieshao/" target="" >展会介绍</a></li> <li><a href="/zuzhijigou/" target="" >组织机构</a></li> <li><a href="/zhanhuiricheng/" target="" >展会日程</a></li> <li><a href="/zhanhuiliangdian/" target="" >展会亮点</a></li> <li><a href="/wangqihuigu/" target="_self" >往期回顾</a></li> </ul> </li> <li class="drop-menu-effect"><a href="/exhibitor/" title="展商中心" target="" class="active">展商中心</a> <ul class="submenu"> <li><a href="/canzhanshenqing/" target="_self" >我要参展</a></li> <li><a href="/zhanpinfanwei/" target="" >展品范围</a></li> <li><a href="/canzhanfeiyong/" target="" >参展费用</a></li> <li><a href="/zhanhuituiguang/" target="" >展会推广</a></li> <li><a href="/guanggaoyuzanzhu721/" target="_self" >广告与赞助</a></li> <li><a href="/guanggaoyuzanzhu/" target="" >品牌展商</a></li> <li><a href="/zhanweidajian/" target="" >展位搭建</a></li> </ul> </li> <li class="drop-menu-effect"><a href="/guanzhongzhongxin/" title="观众中心" target="" class="">观众中心</a> <ul class="submenu"> <li><a href="/guanzhongyudengji/" target="_self" >我要参观</a></li> <li><a href="/canguanricheng/" target="" >参观日程</a></li> <li><a href="/mubiaoguanzhong/" target="" >目标观众</a></li> <li><a href="/zhanguanjiaotong/" target="" >展馆交通</a></li> <li><a href="/jiudianzhusu/" target="" >酒店住宿</a></li> </ul> </li> <li class="drop-menu-effect"><a href="/info/" title="新闻资讯" target="" class="">新闻资讯</a> <ul class="submenu"> <li><a href="/zhanhuixinwen/" target="" >展会新闻</a></li> <li><a href="/xingyexinwen/" target="" >行业新闻</a></li> <li><a href="/zhanshangtuijian/" target="" >展商推荐</a></li> <li><a href="/zhanshangdongtai/" target="_self" >展商动态</a></li> <li><a href="/zhanhuihuigu/" target="_self" >展会回顾</a></li> </ul> </li> <li class="drop-menu-effect"><a href="/meiti/" title="媒体中心" target="" class="">媒体中心</a> <ul class="submenu"> <li><a href="/media/" target="_self" >支持媒体</a></li> </ul> </li> <li class="drop-menu-effect"><a href="/download/" title="下载中心" target="" class="">下载中心</a> </li> <li class="drop-menu-effect"><a href="/contact/" title="联系我们" target="" class="">联系我们</a> </li> </ul> </div> <script> function dropMenu(obj) { $(obj).each(function() { var theSpan = $(this); var theMenu = theSpan.find(".submenu"); var tarHeight = theMenu.height(); theMenu.css({ height: 0, opacity: 0 }); var t1; function expand() { clearTimeout(t1); theSpan.find('a').addClass("selected"); theMenu.stop().show().animate({ height: tarHeight, opacity: 1 }, 200); } function collapse() { clearTimeout(t1); t1 = setTimeout(function() { theSpan.find('a').removeClass("selected"); theMenu.stop().animate({ height: 0, opacity: 0 }, 200, function() { $(this).css({ display: "none" }); }); }, 250); } theSpan.hover(expand, collapse); theMenu.hover(expand, collapse); }); } $(document).ready(function() { dropMenu(".drop-menu-effect"); }); </script> </div> <div class="h100"></div> <!--移动端导航开始--> <div class="moblie_head"> <div class="w"> <div class="lf"> <a href="http://www.wbe-asia.com"> <img src="/uploads/allimg/20240826/1-240R610152V47.png"></a> </div> <div class="lau"> <a href="/" class="active">中文</a> | <a href="http://en.battery-expo.com/">EN</a> </div> <div class="rg"> <a href="javascript:;" class="a_js"> <img src="/skin/pc/images/1_07.png"></a> </div> </div> </div> <div class="a_txt"> <div class="div1 a_closed"></div> <div class="div2"> <a href="javascript:;" class="a_closed"> <img src="/skin/pc/images/close.png" width="22"></a> </div> <div class="div3"> <ul> <li> <a href="http://www.wbe-asia.com">首页</a> </li> <li><a href="/about/" title="关于WBE" class="a_js2 " target="" >关于WBE</a> <div class="a_txt2"> <a href="/jieshao/" target="" >展会介绍</a> <a href="/zuzhijigou/" target="" >组织机构</a> <a href="/zhanhuiricheng/" target="" >展会日程</a> <a href="/zhanhuiliangdian/" target="" >展会亮点</a> <a href="/wangqihuigu/" target="_self" >往期回顾</a> </div> </li> <li><a href="/exhibitor/" title="展商中心" class="a_js2 active" target="" >展商中心</a> <div class="a_txt2"> <a href="/canzhanshenqing/" target="_self" >我要参展</a> <a href="/zhanpinfanwei/" target="" >展品范围</a> <a href="/canzhanfeiyong/" target="" >参展费用</a> <a href="/zhanhuituiguang/" target="" >展会推广</a> <a href="/guanggaoyuzanzhu721/" target="_self" >广告与赞助</a> <a href="/guanggaoyuzanzhu/" target="" >品牌展商</a> <a href="/zhanweidajian/" target="" >展位搭建</a> </div> </li> <li><a href="/guanzhongzhongxin/" title="观众中心" class="a_js2 " target="" >观众中心</a> <div class="a_txt2"> <a href="/guanzhongyudengji/" target="_self" >我要参观</a> <a href="/canguanricheng/" target="" >参观日程</a> <a href="/mubiaoguanzhong/" target="" >目标观众</a> <a href="/zhanguanjiaotong/" target="" >展馆交通</a> <a href="/jiudianzhusu/" target="" >酒店住宿</a> </div> </li> <li><a href="/info/" title="新闻资讯" class="a_js2 " target="" >新闻资讯</a> <div class="a_txt2"> <a href="/zhanhuixinwen/" target="" >展会新闻</a> <a href="/xingyexinwen/" target="" >行业新闻</a> <a href="/zhanshangtuijian/" target="" >展商推荐</a> <a href="/zhanshangdongtai/" target="_self" >展商动态</a> <a href="/zhanhuihuigu/" target="_self" >展会回顾</a> </div> </li> <li><a href="/meiti/" title="媒体中心" class="a_js2 " target="" >媒体中心</a> <div class="a_txt2"> <a href="/media/" target="_self" >支持媒体</a> </div> </li> <li><a href="/download/" title="下载中心" class="a_js2 " target="" >下载中心</a> </li> <li><a href="/contact/" title="联系我们" class="a_js2 " target="" >联系我们</a> </li> <div class="clear"></div> </ul> </div> </div> <!--移动端导航结束--> <script src="/skin/pc/js/script.js" type="text/javascript" charset="utf-8"></script> <div class="h44"></div> <div class="banner"> <b>展商中心</b> <b>Exhibitor Sevices</b> </div> <div class="sanv"> <div class="w"> <a href="/canzhanshenqing/" class="active" target="_self">我要参展</a> <a href="/zhanpinfanwei/" class="" target="">展品范围</a> <a href="/canzhanfeiyong/" class="" target="">参展费用</a> <a href="/zhanhuituiguang/" class="" target="">展会推广</a> <a href="/guanggaoyuzanzhu721/" class="" target="_self">广告与赞助</a> <a href="/guanggaoyuzanzhu/" class="" target="">品牌展商</a> <a href="/zhanweidajian/" class="" target="">展位搭建</a> </div> </div> <div class="w wow slideInUp" data-wow-duration="1.5s" data-wow-delay="0.2s" > <div class="msg"> <h4>请填写下面的信息</h4> <div class="tips">我们将在收到申请的24小时内和您取得联系,感谢您的支持~</div> <form method="POST" enctype="multipart/form-data" action="/index.php?m=home&c=Lists&a=gbook_submit&lang=cn" onsubmit="return submit1a90d5064eba52a22f706bb3177fce9b(this);" > <div class="form-group"> <label class="form-label"><span>*</span>公司名称:</label> <div class="form-content"> <input type="text" id='attr_35' name='attr_35' class="form-control" placeholder="请输入 公司名称"> </div> </div> <div class="form-group"> <label class="form-label"><span>*</span>公司地址:</label> <div class="form-content"> <!--一级--> <select id='first_id_61' onchange="getNext1598839807('second_id_61',61,1);" class="form-control"> <option value=''>请选择</option> <option value='1'>北京市</option> <option value='338'>天津市</option> <option value='636'>河北省</option> <option value='3102'>山西</option> <option value='4670'>内蒙古</option> <option value='5827'>辽宁省</option> <option value='7531'>吉林省</option> <option value='8558'>黑龙江省</option> <option value='10543'>上海市</option> <option value='10808'>江苏省</option> <option value='12596'>浙江省</option> <option value='14234'>安徽省</option> <option value='16068'>福建省</option> <option value='17359'>江西省</option> <option value='19280'>山东省</option> <option value='21387'>河南省</option> <option value='24022'>湖北省</option> <option value='25579'>湖南省</option> <option value='28240'>广东省</option> <option value='30164'>广西</option> <option value='31563'>海南省</option> <option value='31929'>重庆市</option> <option value='33007'>四川省</option> <option value='37906'>贵州省</option> <option value='39556'>云南省</option> <option value='41103'>西藏</option> <option value='41877'>陕西省</option> <option value='43776'>甘肃省</option> <option value='45286'>青海省</option> <option value='45753'>宁夏</option> <option value='46047'>新疆</option> <option value='47493'>台湾</option> <option value='47494'>香港</option> <option value='47495'>澳门</option> </select> <!--二级--> <select id='second_id_61' onchange="getNext1598839807('third_id_61',61,2);" style='display:none;' class="form-control"></select> <!--三级--> <select id='third_id_61' style='display:none;' onchange="getNext1598839807('', 61,3);" class="form-control"></select> <input type='hidden' name='attr_61' id='attr_61'><div class="clearfix"></div> <input type="text" id='attr_39' name='attr_39' class="form-control" placeholder="请输入 公司地址"> </div> </div> <div class="form-group"> <label class="form-label"><span>*</span>联系人:</label> <div class="form-content"> <input type="text" id='attr_37' name='attr_37' class="form-control form-control2" placeholder="请输入 联系人"> <label><input type='radio' id='attr_63' name='attr_63' value='先生 '>先生 </label> <label><input type='radio' id='attr_63' name='attr_63' value='女士'>女士</label> </div> </div> <div class="form-group"> <label class="form-label"> 职 务 :</label> <div class="form-content"> <input type="text" id='attr_65' name='attr_65' class="form-control" placeholder="请输入 职 务"> </div> </div> <div class="form-group"> <label class="form-label"> 电 话 :</label> <div class="form-content"> <input type="text" id='attr_67' name='attr_67' class="form-control form-control3" placeholder="区号"> <input type="text" id='attr_43' name='attr_43' class="form-control form-control2" placeholder="请输入 电 话"> </div> </div> <div class="form-group"> <label class="form-label"> 传 真 :</label> <div class="form-content"> <input type="text" id='attr_69' name='attr_69' class="form-control form-control3" placeholder="区号"> <input type="text" id='attr_45' name='attr_45' class="form-control form-control2" placeholder="请输入 传 真"> </div> </div> <div class="form-group"> <label class="form-label"><span>*</span> 手 机 :</label> <div class="form-content"> <input type="text" id='attr_47' name='attr_47' class="form-control form-control4" placeholder="请输入 手 机"> <label class="form-label"><span>*</span> 邮 箱 :</label> <input type="text" id='attr_49' name='attr_49' class="form-control form-control4" placeholder="请输入 邮 箱"> </div> </div> <div class="form-group"> <label class="form-label"><span>*</span>参展产品:</label> <div class="form-content"> <input type="text" id='attr_51' name='attr_51' class="form-control form-control4" placeholder="请输入 参展产品"> <label class="form-label"> 网 址 :</label> <input type="text" id='attr_53' name='attr_53' class="form-control form-control4" placeholder="请输入 网 址"> </div> </div> <div class="form-group"> <label class="form-label"> 光地:</label> <div class="form-content"> <input type="text" id='attr_57' name='attr_57' class="form-control form-control4" placeholder=""> <label class="form-label"> 标准展位:</label> <input type="text" id='attr_55' name='attr_55' class="form-control form-control4" placeholder=""> </div> </div> <div class="form-group full"> <label class="form-label"><span>*</span>留言内容:</label> <div class="form-content"> <label class="form-radio"> <textarea type="text" id='attr_59' name='attr_59' class="form-control con" placeholder="请输入 留言内容"></textarea> </label></div> </div> <!--div class="form-group"> <label class="form-label"><span>*</span>验 证 码:</label> <div class="form-content"> </div> </div--> <div class="form-group full"> <button type="submit" class="form-submit">提交信息</button> </div> <input type='hidden' name='attr_61' id='attr_61'> <input type="hidden" name="gourl" id="gourl_1a90d5064eba52a22f706bb3177fce9b" value="http://www.wbe-asia.com/canzhanshenqing/" /><input type="hidden" name="typeid" value="101" /><input type="hidden" name="__token__1a90d5064eba52a22f706bb3177fce9b" id="1a90d5064eba52a22f706bb3177fce9b" value="" /><script type="text/javascript"> function submit1a90d5064eba52a22f706bb3177fce9b(elements) { if (document.getElementById('gourl_1a90d5064eba52a22f706bb3177fce9b')) { document.getElementById('gourl_1a90d5064eba52a22f706bb3177fce9b').value = window.location.href; } var x = elements; for (var i=0;i<x.length;i++) { if(x[i].name == 'attr_35' && x[i].value.length == 0){ alert('公司名称不能为空!'); return false; } if(x[i].name == 'attr_37' && x[i].value.length == 0){ alert('联系人不能为空!'); return false; } if(x[i].name == 'attr_47' && x[i].value.length == 0){ alert('手 机不能为空!'); return false; } if(x[i].name == 'attr_47' && !(/^1\d{10}$/.test( x[i].value))){ alert('手 机格式不正确!'); return false; } if(x[i].name == 'attr_49' && x[i].value.length == 0){ alert('邮 箱不能为空!'); return false; } if(x[i].name == 'attr_51' && x[i].value.length == 0){ alert('参展产品不能为空!'); return false; } } elements.submit(); } function ey_fleshVerify_1732665691(id) { var token = id.replace(/verify_/g, '__token__'); var src = "/index.php?m=api&c=Ajax&a=vertify&type=guestbook&lang=cn&token="+token; src += "&r="+ Math.floor(Math.random()*100); document.getElementById(id).src = src; } function f8be3e1151dbf55b6cf73ec2ead2ad707() { var ajax = new XMLHttpRequest(); ajax.open("post", "/index.php?m=api&c=Ajax&a=get_token&name=__token__1a90d5064eba52a22f706bb3177fce9b", true); ajax.setRequestHeader("X-Requested-With","XMLHttpRequest"); ajax.setRequestHeader("Content-type","application/x-www-form-urlencoded"); ajax.send('_ajax=1'); ajax.onreadystatechange = function () { if (ajax.readyState==4 && ajax.status==200) { document.getElementById("1a90d5064eba52a22f706bb3177fce9b").value = ajax.responseText; document.getElementById("gourl_1a90d5064eba52a22f706bb3177fce9b").value = window.location.href; } } } f8be3e1151dbf55b6cf73ec2ead2ad707(); function getNext1598839807(id,name,level) { var input = document.getElementById('attr_'+name); var first = document.getElementById('first_id_'+name); var second = document.getElementById('second_id_'+name); var third = document.getElementById('third_id_'+name); var findex ='', fvalue = '',sindex = '',svalue = '',tindex = '',tvalue = '',value=''; if (level == 1){ if (second) { second.style.display = 'none'; second.innerHTML = ''; } if (third) { third.style.display = 'none'; third.innerHTML = ''; } findex = first.selectedIndex; fvalue = first.options[findex].value; input.value = fvalue; value = fvalue; } else if (level == 2){ if (third) { third.style.display = 'none'; third.innerHTML = ''; } findex = first.selectedIndex; fvalue = first.options[findex].value; sindex = second.selectedIndex; svalue = second.options[sindex].value; if (svalue) { input.value = fvalue+','+svalue; value = svalue; }else{ input.value = fvalue; } } else if (level == 3){ findex = first.selectedIndex; fvalue = first.options[findex].value; sindex = second.selectedIndex; svalue = second.options[sindex].value; tindex = third.selectedIndex; tvalue = third.options[tindex].value; if (tvalue) { input.value = fvalue+','+svalue+','+tvalue; value = tvalue; }else{ input.value = fvalue+','+svalue; } } if (value) { if(document.getElementById(id)) { document.getElementById(id).options.add(new Option('请选择','')); var ajax = new XMLHttpRequest(); //步骤二:设置请求的url参数,参数一是请求的类型,参数二是请求的url,可以带参数,动态的传递参数starName到服务端 ajax.open("post", "/index.php?m=api&c=Ajax&a=get_region&pid="+value, true); // 给头部添加ajax信息 ajax.setRequestHeader("X-Requested-With","XMLHttpRequest"); // 如果需要像 HTML 表单那样 POST 数据,请使用 setRequestHeader() 来添加 HTTP 头。然后在 send() 方法中规定您希望发送的数据: ajax.setRequestHeader("Content-type","application/x-www-form-urlencoded"); //步骤三:发送请求+数据 ajax.send('_ajax=1'); //步骤四:注册事件 onreadystatechange 状态改变就会调用 ajax.onreadystatechange = function () { //步骤五 如果能够进到这个判断 说明 数据 完美的回来了,并且请求的页面是存在的 if (ajax.readyState==4 && ajax.status==200) { var data = JSON.parse(ajax.responseText).data; if (data) { data.forEach(function(item) { document.getElementById(id).options.add(new Option(item.name,item.id)); document.getElementById(id).style.display = "block"; }); } } } } } } </script> <!-- 不可缺少的隐藏令牌验证 --> </form> </div> </div> <div class="ft-new-box bg"> <div class="w"> <div class="row hidden-xs index-contact"> <div class="col-sm-3"> <i class="index-contact-icon glyphicon glyphicon-phone-alt"></i> <p class="index-contact-txt">020-3237 3488</p> </div> <div class="col-sm-3"> <i class="index-contact-icon glyphicon glyphicon-copy"></i> <p class="index-contact-txt">020-3238 2644</p> </div> <div class="col-sm-3"> <i class="index-contact-icon glyphicon glyphicon-envelope"></i> <p class="index-contact-txt"><a href="mailto:honestexpo@126.com">honestexpo@126.com</a></p> </div> <div class="col-sm-3"> <i class="index-contact-icon glyphicon glyphicon-send"></i> <p class="index-contact-txt">广州市天河区中山大道中1095号昇辉大厦二楼</p> </div> </div> <div class="row ft-nav-box"> <dl class="col-md-3 col-sm-4 col-xs-4"> <dt><a href="/about/" target="_self">关于WBE</a></dt> <dd><a href="/jieshao/">展会介绍</a></dd> <dd><a href="/zuzhijigou/">组织机构</a></dd> <dd><a href="/zhanhuiricheng/">展会日程</a></dd> <dd><a href="/zhanhuiliangdian/">展会亮点</a></dd> <dd><a href="/wangqihuigu/">往期回顾</a></dd> </dl> <dl class="col-md-3 col-sm-4 col-xs-4"> <dt><a href="/exhibitor/" target="_self">展商中心</a></dt> <dd><a href="/canzhanshenqing/">我要参展</a></dd> <dd><a href="/zhanpinfanwei/">展品范围</a></dd> <dd><a href="/canzhanfeiyong/">参展费用</a></dd> <dd><a href="/zhanhuituiguang/">展会推广</a></dd> <dd><a href="/guanggaoyuzanzhu721/">广告与赞助</a></dd> <dd><a href="/guanggaoyuzanzhu/">品牌展商</a></dd> <dd><a href="/zhanweidajian/">展位搭建</a></dd> </dl> <dl class="col-md-3 col-sm-4 col-xs-4"> <dt><a href="/guanzhongzhongxin/" target="_self">观众中心</a></dt> <dd><a href="/guanzhongyudengji/">我要参观</a></dd> <dd><a href="/canguanricheng/">参观日程</a></dd> <dd><a href="/mubiaoguanzhong/">目标观众</a></dd> <dd><a href="/zhanguanjiaotong/">展馆交通</a></dd> <dd><a href="/jiudianzhusu/">酒店住宿</a></dd> </dl> <dl class="col-md-3 col-sm-4 col-xs-4 footwx"> <dt><a href="#">官方微信</a></dt> <dd><img src="/uploads/allimg/20240826/1-240R6101631X4.jpg" alt=""></dd> <dd><img src="" alt=""></dd> </dl> </div> </div> </div> <div class="copyright"> <div class="w"> <span>Copyright © 2025 世界电池及储能产业博览会暨第10届亚太储能展. All rights reserved.<a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">粤ICP备2020129780号-1</a></span> <span></span> </div> </div> <script src="/skin/pc/js/wow.min.js"></script> <script> if (!(/msie [6|7|8|9]/i.test(navigator.userAgent))) { new WOW().init(); }; </script> <div class="right-pf"> <div class="right-con"> <span><br />广州 · 广交会展馆A区</span> <!--参观登记--> <a href="/guanzhongyudengji/" target="_blank" class=" active"><i class="glyphicon glyphicon-edit" aria-hidden="true"></i> 我要参观</a> <a href="/canzhanshenqing/" target="_blank"><i class="glyphicon glyphicon-import" aria-hidden="true"></i> 我要参展</a> <span>扫码关注微信公众号</span> <img src="/uploads/allimg/20240826/1-240R6101631X4.jpg" alt="" width="100%"> </div> <div id="top-back"> <a href="javascript:" onclick="topBack()"> TOP </a> </div> </div> <script type="text/javascript"> //置顶图标显示 $('#top-back').hide() $(window).scroll(function() { if ($(this).scrollTop() > 350) { $("#top-back").fadeIn(); } else { $("#top-back").fadeOut(); } }) //置顶事件 function topBack() { $('body,html').animate({ scrollTop: 0 }, 300); } </script> <!--微信转发自定义配置 开始--> <script type="text/javascript"> if (!window.jQuery) { document.write(unescape("%3Cscript src='/public/static/common/js/jquery.min.js' type='text/javascript'%3E%3C/script%3E")); document.write(unescape("%3Cscript type='text/javascript'%3E try{jQuery.noConflict();}catch(e){} %3C/script%3E")); } </script> <script type="text/javascript" src="https://res2.wx.qq.com/open/js/jweixin-1.6.0.js"></script> <script type="text/javascript"> function weixinShare_1573649641() { var shareUrl = location.href.split('#')[0]; var shareTitle = document.title; var shareDesc = document.querySelector('meta[name="description"]').getAttribute('content'); if (window.jQuery) { shareTitle = jQuery("title").text(); shareDesc = jQuery("meta[name=description]").attr("content"); } var shareImg = ''; var baseUrl = 'http://www.wbe-asia.com'; // 未找到缩略图则提取宽高大于60的图片 if(!shareImg){ var imgs = document.getElementsByTagName('img'); for(var i = 0; i < imgs.length; i++){ if(imgs[i].width > 60 && imgs[i].height > 60){ shareImg = imgs[i].src; break; } } } // 处理图片地址问题 if(shareImg){ shareImg_tmp = shareImg.toLowerCase(); if(shareImg_tmp.indexOf('http://') == -1 && shareImg_tmp.indexOf('https://') == -1 && shareImg_tmp.indexOf('//') == -1){ shareImg = baseUrl + shareImg; } } //步骤一:创建异步对象 var ajax = new XMLHttpRequest(); //步骤二:设置请求的url参数,参数一是请求的类型,参数二是请求的url,可以带参数,动态的传递参数starName到服务端 ajax.open("POST", '/index.php?m=plugins&c=WeixinShare&a=index', true); // 给头部添加ajax信息 ajax.setRequestHeader("X-Requested-With","XMLHttpRequest"); // 如果需要像 HTML 表单那样 POST 数据,请使用 setRequestHeader() 来添加 HTTP 头。然后在 send() 方法中规定您希望发送的数据: ajax.setRequestHeader("Content-type","application/x-www-form-urlencoded"); //步骤三:发送请求 ajax.send("_ajax=1&url="+encodeURIComponent(shareUrl)); //步骤四:注册事件 onreadystatechange 状态改变就会调用 ajax.onreadystatechange = function () { //步骤五 如果能够进到这个判断 说明 数据 完美的回来了,并且请求的页面是存在的 if (ajax.readyState==4 && ajax.status==200) { var json = ajax.responseText; var res = JSON.parse(json); if (1 == res.code) { try{ wx.config({ debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 appId: res.data.appId, // 必填,公众号的唯一标识 timestamp: res.data.timestamp, // 必填,生成签名的时间戳 nonceStr: res.data.nonceStr, // 必填,生成签名的随机串 signature: res.data.signature, // 必填,签名 jsApiList: ["updateAppMessageShareData", "updateTimelineShareData", "onMenuShareWeibo"] // 必填,需要使用的JS接口列表 }); wx.ready(function() { // 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0) wx.updateAppMessageShareData({ title: shareTitle, // 分享标题 desc: shareDesc, // 分享描述 link: shareUrl, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 imgUrl: shareImg, // 分享图标 success: function () { // 设置成功 } }); // 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容(1.4.0) wx.updateTimelineShareData({ title: shareTitle, // 分享标题 link: shareUrl, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 imgUrl: shareImg, // 分享图标 success: function () { // 设置成功 } }); // 获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口 wx.onMenuShareWeibo({ title: shareTitle, // 分享标题 desc: shareDesc, // 分享描述 link: shareUrl, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 imgUrl: shareImg, // 分享图标 success: function () { // 设置成功 } }); }); }catch(e){} } } } } jQuery(function(){ weixinShare_1573649641(); }); </script> <!--微信转发自定义配置 结束--> </body> </html>