一个APP的诞生――ios般顺滑动态效果PPT模板(淡忘)

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

成都猿团科技有限公司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

1 / 20
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功