- 导入js代码
<!-- 商务通 -->
<script language="javascript">
var LrinviteTimeout = 180;
var LR_next_invite_seconds = 180;
var lr_openchat_second = 180;
</script>
<script language="javascript" src="http://pct.zoosnet.net/JS/LsJS.aspx?siteid=??????&float=0&lng=cn"></script>
</body>
</html>
2.编写传参函数
function LR_submit1(chat) {
var insertText = "要传的参数"
if (insertText || insertText != "") {
window._agl && window._agl.push(['track', ['success', {
t: 3
}]])
LR_explain = '您提交的信息:</br>' + insertText;
LR_msg = LR_explain;
openZoosUrl(chat ? 'chat' : 'sendnote');
}
}
//调用 LR_submit1
if(true){
LR_submit1(1)
}else{
LR_submit1()
}
3.注意
我一直报错,改了很久都没解决
结果直接放服务器就跑起来了