webmain/we/ying/yingyong/word.html
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<style>
.progresscls{height:24px;overflow:hidden;line-height:24px;border:0px #eeeeee solid; position:relative;;width:100%;background-color:#f1f1f1;margin-top:3px}
.progressclssse{background-color:#B0D6FC;height:24px;overflow:hidden;width:5%;position:absolute;z-index:0;left:0px;top:0px}
.progressclstext{font-size:10px;color:#0556A8;height:24px;overflow:hidden;line-height:24px;text-align:left;position:absolute;z-index:1;left:5px;top:0px}
.workheader span{float:left;display:block;padding:0px 10px; border-right:1px #dddddd solid;cursor:pointer;}
.workheader span:active{background:#e1e1e1}
</style>
<script type="text/javascript">
var cqids = '<?=$worcarr['ids']?>';
yingyonginit = function(){
c.init();
}
yy.regetdata=function(){
c.getfile(0,0);
}
var c = {
typeid:0,
cqid:0,
ismanage:0,
isup:0,
uptype:'',
officebj:'',
init:function(){
c.getfile(0,0);
c.upobj = $.rockupload({
'inputfile' : 'wordupfile',
onchange:function(a){
c.onchange(a);
},
onprogress:function(a,bl){
c.onprogress(a,bl);
},
onsuccess:function(a,str){
c.onsuccess(a,str);
},
onerror:function(str){
js.msg('msg', str);
$('#progresstext_heheheh').html('<font color=red>上传失败</font>');
}
});
},
onchange:function(a){
$('#progresscls_hehehehsss').remove();
$('body').append('<div id="progresscls_hehehehsss" style="position:absolute;bottom:50px;" class="progresscls"><div id="progresscls_heheheh" class="progressclssse"></div><div class="progressclstext" id="progresstext_heheheh" >'+a.filename+','+a.filesizecn+'(0%)</div></div>');
},
onprogress:function(a,per){
$('#progresscls_heheheh').css('width',''+per+'%');
$('#progresstext_heheheh').html(''+a.filename+','+a.filesizecn+'('+per+'%)');
},
onsuccess:function(a,str){
var f = js.decode(str);
$('#progresstext_heheheh').html(''+a.filename+','+a.filesizecn+',上传成功,保存中...');
var fileid = f.id;
js.ajax('word','savefile',{typeid:c.typeid,sid:fileid,cqid:this.cqid},function(a){
$('#progresscls_hehehehsss').remove();
js.msg('success',''+a.filename+'上传成功');
a.fileid=a.id;
a.name = a.filename;
$('#wordlisttable').append(c.showlist(a));
},'none');
后面还有 274 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
