成都猿团科技有限公司ChengduapeGroupTechnologyCo.,Ltd.创意idea是如何实现?创意idea是如何实现?成都猿团科技有限公司ChengduapeGroupTechnologyCo.,Ltd.一个源自于生活的想法成都猿团科技有限公司ChengduapeGroupTechnologyCo.,Ltd.一个源自于生活的想法经过雕琢而变得精致成都猿团科技有限公司ChengduapeGroupTechnologyCo.,Ltd.经过雕琢而变得精致能够触及成都猿团科技有限公司ChengduapeGroupTechnologyCo.,Ltd.EXPANDCTURECTIONMPLEMPLE123456CONCRETEDATATotalscore3259Datastatistics2789Datastatistics5890DatastatisticsAUGUST2015经过考量而更具价值用设计让它华丽出众华丽之后是工整的代码成都猿团科技有限公司ChengduapeGroupTechnologyCo.,Ltd.functionhistoryhtml(message){varjson=eval('('+message+')');for(vari=0;ijson.length;i++){if(myId==json[i].to){if(sendId==json[i].from){varhtml=;html+=divclass='line';html+=divclass='receive-msg';html+=imgclass='l-user'src='css/res/user.png'/;html+=pclass='bc-textl-textulev-3';if(json[i].messageType=='text'){stremo=json[i].messageBody.text;varreg=/\[([^\]]+)\]/g;stremo=stremo.replace(reg,function($1){returnemoarr[$1]||$1;});html+=stremo;html+=/p;html+=/div;html+=/div;$('#list').append(html);}if(json[i].messageType=='image'){html+=imgsrc='+json[i].messageBody.thumbnailRemotePath+'width='100%'/;html+=/p;html+=/div;html+=/div;$('#list').append(html);}if(json[i].messageType=='audio'){html+=spanclass='bc-text'onclick=playly('+json[i].messageBody.remotePath+'); [点击播放音频]/span;html+=/p;html+=/div;html+=/div;$('#list').append(html);}if(json[i].messageType=='file'){varfilepath=0;varoption={maxtask:3,url:json[i].messageBody.remotePath,progress:function(data,session){varsdata=JSON.parse(JSON.stringify(data));varstatu=sdata['status'];varpercent=sdata['percent'];switch(statu){case0:functionhistoryhtml(message){varjson=eval('('+message+')');for(vari=0;ijson.length;i++){if(myId==json[i].to){if(sendId==json[i].from){varhtml=;html+=divclass='line';html+=divclass='receive-msg';html+=imgclass='l-user'src='css/res/user.png'/;html+=pclass='bc-textl-textulev-3';if(json[i].messageType=='text'){stremo=json[i].messageBody.text;varreg=/\[([^\]]+)\]/g;stremo=stremo.replace(reg,function($1){returnemoarr[$1]||$1;});html+=stremo;html+=/p;html+=/div;html+=/div;$('#list').append(html);}if(json[i].messageType=='image'){html+=imgsrc='+json[i].messageBody.thumbnailRemotePath+'width='100%'/;html+=/p;html+=/div;html+=/div;$('#list').append(html);}if(json[i].messageType=='audio'){html+=spanclass='bc-text'onclick=playly('+json[i].messageBody.remotePath+'); [点击播放音频]/span;html+=/p;html+=/div;html+=/div;$('#list').append(html);}if(json[i].messageType=='file'){varfilepath=0;varoption={maxtask:3,url:json[i].messageBody.remotePath,progress:function(data,session){varsdata=JSON.parse(JSON.stringify(data));varstatu=sdata['status'];varpercent=sdata['percent'];switch(statu){case0:break;case1:alert(下载完成);break;case2:alert(下载失败);break;default:break;}},html+=imgclass='l-user'src='css/res/user.png'/;html+=pclass='bc-textl-textulev-3';if(json[i].messageType=='text'){stremo=json[i].messageBody.text;varreg=/\[([^\]]+)\]/g;stremo=stremo.replace(reg,function($1){returnemoarr[$1]||$1;});html+=stremo;html+=/p;html+=/div;html+=/div;$('#list').append(html);}if(json[i].messageType=='image'){html+=imgsrc='+json[i].messageBody.thumbnailRemotePath+'width='100%'/;html+=/p;html+=/div;html+=/div;$('#list').append(html);}if(json[i].messageType=='audio'){html+=spanclass='bc-text'onclick=playly('+json[i].messageBody.remotePath+'); [点击播放音频]/span;html+=/p;html+=/div;html+=/div;$('#list').append(html);}if(json[i].messageType=='file'){varfilepath=0;varoption={maxtask:3,url:json[i].messageBody.remotePath,progress:function(data,session){varsdata=JSON.parse(JSON.stringify(data));varstatu=sdata['status'];varpercent=sdata['percent'];switch(statu){case0:break;case1:alert(下载完成);break;case2:alert(下载失败);break;default:break;}},functionhistoryhtml(message){varjson=eval('('+message+')');for(vari=0;ijson.length;i++){if(myId==json[i].to){if(sendId==json[i].from){varhtml=;html+=divclass='line';html+=divclass='receive-msg';html+=imgclass='l-user'src='css/res/user.png'/;html+=pclass='bc-textl-textulev-3';if(json[i].messageType=='text'){stremo=json[i].messageBody.text;varreg=/\[([^\]]+)\]/g;stremo=stremo.replace(reg,function($1){returnemoarr[$1]||$1;});html+=stremo;html+=/p;html+=/div;html+=/div;$('#list').append(html);}if(json[i].messageType=='image'){html+=imgsrc='+json[i].messageBody.thumbnailRemotePath+'width='100%'/;html+=/p;html+=/div;html+=/div;$('#list').append(html);}if(json[i].messageType=='audio'){html+=spanclass='bc-text'onclick=playly('+json[i].messageBody.remotePath+'); [点击播放音频]/span;html+=/p;html+=/div;html+=/div;$('#list').append(html);}if(json[i].messageType=='file'){varfilepath=0;varoption={maxtask:3,url:json[i].messageBody.remotePath,progress:function(data,session){varsdata=JSON.parse(JSON.stringify(data));varstatu=sdata['status'];varpercent=sdata['percent'];switch(statu){case0:break;case1:alert(下载完成);break;case2:alert(下载失败);break;default:break;}},html+=img