|
@@ -231,6 +231,10 @@ var reim={
|
|
|
}
|
|
}
|
|
|
},''+lx+',json', efun);
|
|
},''+lx+',json', efun);
|
|
|
},
|
|
},
|
|
|
|
|
+ initloads:function(){
|
|
|
|
|
+ $('#mainreload').html(''+js.ling(12)+' 刷新中...');
|
|
|
|
|
+ this.initload(true);
|
|
|
|
|
+ },
|
|
|
//初始加载数据
|
|
//初始加载数据
|
|
|
initload:function(bo){
|
|
initload:function(bo){
|
|
|
this.initbool = true;
|
|
this.initbool = true;
|
|
@@ -238,6 +242,7 @@ var reim={
|
|
|
reim.initci++;
|
|
reim.initci++;
|
|
|
reim.showdata(ret.data);
|
|
reim.showdata(ret.data);
|
|
|
if(bo)reim.reloaduser();
|
|
if(bo)reim.reloaduser();
|
|
|
|
|
+ $('#mainreload').html('<i class="icon-refresh"></i> 刷新');
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
firstpid:0,
|
|
firstpid:0,
|
|
@@ -566,7 +571,7 @@ var reim={
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
var len=ds.length,d,s='',s1,lx;
|
|
var len=ds.length,d,s='',s1,lx;
|
|
|
- s='<div style="padding:5px;margin-top:5px;color:#aaaaaa;border-bottom:1px #e1e1e1 solid">会话('+len+')</div>';
|
|
|
|
|
|
|
+ s='<div style="padding:5px;margin-top:5px;color:#aaaaaa;border-bottom:var(--border)">会话('+len+')</div>';
|
|
|
for(i=0;i<len;i++){
|
|
for(i=0;i<len;i++){
|
|
|
d = ds[i];
|
|
d = ds[i];
|
|
|
lx= d.type1;
|
|
lx= d.type1;
|
|
@@ -658,12 +663,18 @@ var reim={
|
|
|
tit+='@'+d.subname+'';
|
|
tit+='@'+d.subname+'';
|
|
|
}
|
|
}
|
|
|
var s1 = this.grouptype(d.deptid,d.type);
|
|
var s1 = this.grouptype(d.deptid,d.type);
|
|
|
- s = '<div class="lists'+cls+'" rtype="hist" oncontextmenu="reim.historyright(this,event,\''+num+'\')" tsaid="'+d.receid+'" tsaype="'+d.type+'" temp="hist" id="history_'+num+'" onclick="reim.openchat(\''+ty+'\',\''+d.receid+'\',\''+d.name+'\',\''+d.face+'\')">';
|
|
|
|
|
- s+='<table cellpadding="0" border="0" width="100%"><tr>';
|
|
|
|
|
- s+='<td style="padding-right:8px"><div style="height:30px;overflow:hidden"><img src="'+d.face+'"></div></td>';
|
|
|
|
|
- s+='<td align="left" width="100%"><div title="'+tit+'" id="lname_'+num+'" class="name">'+na+''+nas+''+s1+'</div><div class="huicont">'+jm.base64decode(d.cont)+'</div></td>';
|
|
|
|
|
- s+='<td align="right" nowrap><span id="'+qz+'_stotal_'+num+'" class="badge red">'+st+'</span><br><span style="color:#aaaaaa;font-size:10px">'+ops+'</span></td>';
|
|
|
|
|
- s+='</tr></table>';
|
|
|
|
|
|
|
+ s = '<div class="lists'+cls+'" rtype="hist" oncontextmenu="reim.historyright(this,event,\''+num+'\')" tsaid="'+d.receid+'" tsaype="'+d.type+'" style="display:flex;align-items:center;" temp="hist" id="history_'+num+'" onclick="reim.openchat(\''+ty+'\',\''+d.receid+'\',\''+d.name+'\',\''+d.face+'\')">';
|
|
|
|
|
+ s+='<div style="padding-right:8px"><div class="img"><img src="'+d.face+'"></div></div>';
|
|
|
|
|
+ s+='<div style="flex:1;overflow:hidden;">';
|
|
|
|
|
+ s+=' <div style="display:flex;align-items:center;">';
|
|
|
|
|
+ s+=' <div style="flex:1;" title="'+tit+'" id="lname_'+num+'" class="name">'+na+''+nas+''+s1+'</div>';
|
|
|
|
|
+ s+=' <span id="'+qz+'_stotal_'+num+'" class="badge red">'+st+'</span>';
|
|
|
|
|
+ s+=' </div>';
|
|
|
|
|
+ s+=' <div style="display:flex;align-items:center;">';
|
|
|
|
|
+ s+=' <div style="flex:1;padding-right:3px" class="huicont">'+strhtml(jm.base64decode(d.cont))+'</div>';
|
|
|
|
|
+ s+=' <div style="color:#aaaaaa;font-size:10px;white-space:nowrap">'+ops+'</div>';
|
|
|
|
|
+ s+=' </div>';
|
|
|
|
|
+ s+='</div>';
|
|
|
s+='</div>';
|
|
s+='</div>';
|
|
|
if(glx)return s;
|
|
if(glx)return s;
|
|
|
if(!pad){o.append(s);}else{o.prepend(s)}
|
|
if(!pad){o.append(s);}else{o.prepend(s)}
|
|
@@ -720,7 +731,7 @@ var reim={
|
|
|
if(d.tel==null)d.tel='';
|
|
if(d.tel==null)d.tel='';
|
|
|
var num = 'userinfo_'+d.id+'';
|
|
var num = 'userinfo_'+d.id+'';
|
|
|
var s = '<div align="center"><div align="left" style="width:300px;margin-top:50px">';
|
|
var s = '<div align="center"><div align="left" style="width:300px;margin-top:50px">';
|
|
|
- s+=' <div style="padding-left:70px"><img id="myfacess" onclick="$(this).imgview()" src="'+d.face+'" height="100" width="100" style="border-radius:50%;border:1px #eeeeee solid"></div>';
|
|
|
|
|
|
|
+ s+=' <div style="padding-left:70px"><img id="myfacess" onclick="$(this).imgview()" src="'+d.face+'" height="100" width="100" style="border-radius:50%;border:var(--border)"></div>';
|
|
|
if(d.id==adminid)s+='<div style="padding-left:90px"><a href="javascript:;" id="fupbgonet" onclick="reim.upfaceobj.click()" style="font-size:12px">修改头像</a></div>';
|
|
if(d.id==adminid)s+='<div style="padding-left:90px"><a href="javascript:;" id="fupbgonet" onclick="reim.upfaceobj.click()" style="font-size:12px">修改头像</a></div>';
|
|
|
|
|
|
|
|
s+=' <div style="line-height:30px;padding:10px;padding-left:20px;"><font color=#888888>姓名:</font>'+d.name+'<br><font color=#888888>部门:</font>'+d.deptallname+'<br><font color=#888888>职位:</font>'+d.ranking+'<br><font color=#888888>性别:</font>'+d.sex+'<br><font color=#888888>电话:</font>'+d.tel+'<br><font color=#888888>手机:</font>'+d.mobile+'<br><font color=#888888>邮箱:</font>'+d.email+'</div>';
|
|
s+=' <div style="line-height:30px;padding:10px;padding-left:20px;"><font color=#888888>姓名:</font>'+d.name+'<br><font color=#888888>部门:</font>'+d.deptallname+'<br><font color=#888888>职位:</font>'+d.ranking+'<br><font color=#888888>性别:</font>'+d.sex+'<br><font color=#888888>电话:</font>'+d.tel+'<br><font color=#888888>手机:</font>'+d.mobile+'<br><font color=#888888>邮箱:</font>'+d.email+'</div>';
|
|
@@ -779,10 +790,10 @@ var reim={
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
var s = '<div>';
|
|
var s = '<div>';
|
|
|
- s+='<div id="viewtitle_'+num+'" style="height:50px;overflow:hidden;border-bottom:#dddddd solid 1px;">';
|
|
|
|
|
|
|
+ s+='<div id="viewtitle_'+num+'" style="height:50px;overflow:hidden;border-bottom:var(--border);">';
|
|
|
s+='</div>';
|
|
s+='</div>';
|
|
|
var hei = 206;
|
|
var hei = 206;
|
|
|
- s+='<div resizeh="'+hei+'" id="viewcontent_'+num+'" style="height:'+(viewheight-hei)+'px;overflow:hidden;position:relative;"><div style="margin-top:50px" align="center"><img src="images/mloading.gif"></div></div>';
|
|
|
|
|
|
|
+ s+='<div resizeh="'+hei+'" id="viewcontent_'+num+'" style="height:'+(viewheight-hei)+'px;overflow:hidden;position:relative;"><div style="margin-top:50px;color:#cccccc" align="center">'+js.ling(30)+'</div></div>';
|
|
|
|
|
|
|
|
s+='<div class="toolsliao" style="background:none" id="toolsliao_'+num+'">';
|
|
s+='<div class="toolsliao" style="background:none" id="toolsliao_'+num+'">';
|
|
|
s+=' <span title="表情" tools="emts" class="cursor"><i class="icon-heart"></i></span>';
|
|
s+=' <span title="表情" tools="emts" class="cursor"><i class="icon-heart"></i></span>';
|
|
@@ -987,7 +998,7 @@ var reim={
|
|
|
for(ty in agedt){
|
|
for(ty in agedt){
|
|
|
a = agedt[ty];
|
|
a = agedt[ty];
|
|
|
len = a.length;
|
|
len = a.length;
|
|
|
- s+='<div style="color:#aaaaaa;padding-left:20px;margin-bottom:10px;padding:5px;border-bottom:'+sodd+'px solid #eeeeee"> '+ty+'</div>';
|
|
|
|
|
|
|
+ s+='<div style="color:#aaaaaa;padding-left:20px;margin-bottom:10px;padding:5px;border-bottom-width:'+sodd+'px;border-bottom:var(--border)"> '+ty+'</div>';
|
|
|
s+='<div class="agenhclsdiv">';
|
|
s+='<div class="agenhclsdiv">';
|
|
|
for(i=0;i<len;i++){
|
|
for(i=0;i<len;i++){
|
|
|
d1 = a[i];
|
|
d1 = a[i];
|
|
@@ -1033,7 +1044,7 @@ var reim={
|
|
|
this.showbadge('chat');
|
|
this.showbadge('chat');
|
|
|
this.biaoyd('agent',d.id);
|
|
this.biaoyd('agent',d.id);
|
|
|
|
|
|
|
|
- var w = 1100,h=600,url = d.urlpc;
|
|
|
|
|
|
|
+ var w = screen.width-200,h=screen.height-150,url = d.urlpc;
|
|
|
if(isempt(url)){
|
|
if(isempt(url)){
|
|
|
url = d.urlm;
|
|
url = d.urlm;
|
|
|
if(isempt(url)){
|
|
if(isempt(url)){
|
|
@@ -1089,7 +1100,7 @@ var reim={
|
|
|
reim.clickcogclick(d);
|
|
reim.clickcogclick(d);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
- var d = [{'name':'消息记录',lx:'jl'},{'name':'刷新',lx:'sx'},{'name':'创建会话',lx:'create'},{'name':'修改密码',lx:'pass'}];
|
|
|
|
|
|
|
+ var d = [{'name':'消息记录',lx:'jl'},{'name':'刷新',lx:'sx'},{'name':'创建会话',lx:'create'},{'name':'修改密码',lx:'pass'},{'name':'切换主题',lx:'theme'}];
|
|
|
if(companymode)d.push({'name':'切换单位',lx:'qhqy'});
|
|
if(companymode)d.push({'name':'切换单位',lx:'qhqy'});
|
|
|
if(nwjsgui)d.push({'name':'下载管理器',lx:'down'});
|
|
if(nwjsgui)d.push({'name':'下载管理器',lx:'down'});
|
|
|
d.push({'name':'设置',lx:'cog'});
|
|
d.push({'name':'设置',lx:'cog'});
|
|
@@ -1112,24 +1123,13 @@ var reim={
|
|
|
location.reload();
|
|
location.reload();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- if(lx=='exit'){
|
|
|
|
|
- this.exitlogin();
|
|
|
|
|
- }
|
|
|
|
|
- if(lx=='cog'){
|
|
|
|
|
- this.cogshow();
|
|
|
|
|
- }
|
|
|
|
|
- if(lx=='jl'){
|
|
|
|
|
- this.openrecord();
|
|
|
|
|
- }
|
|
|
|
|
- if(lx=='create'){
|
|
|
|
|
- this.creategroup();
|
|
|
|
|
- }
|
|
|
|
|
- if(lx=='pass'){
|
|
|
|
|
- this.editpass();
|
|
|
|
|
- }
|
|
|
|
|
- if(lx=='qhqy'){
|
|
|
|
|
- this.changecom();
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ if(lx=='exit')this.exitlogin();
|
|
|
|
|
+ if(lx=='cog')this.cogshow();
|
|
|
|
|
+ if(lx=='jl')this.openrecord();
|
|
|
|
|
+ if(lx=='create')this.creategroup();
|
|
|
|
|
+ if(lx=='pass')this.editpass();
|
|
|
|
|
+ if(lx=='qhqy')this.changecom();
|
|
|
|
|
+ if(lx=='theme')this.changetheme();
|
|
|
if(lx=='down')js.open('?d=reim&m=record&a=download', 630,450,'downs');
|
|
if(lx=='down')js.open('?d=reim&m=record&a=download', 630,450,'downs');
|
|
|
},
|
|
},
|
|
|
//创建会话
|
|
//创建会话
|
|
@@ -1147,6 +1147,19 @@ var reim={
|
|
|
});
|
|
});
|
|
|
return false;
|
|
return false;
|
|
|
},
|
|
},
|
|
|
|
|
+ changetheme:function(){
|
|
|
|
|
+ var zys = ['#1389D3','#99cc66','#003366','#6666CC','#CC3333','#009966','#333333','#990066','#333300','#333366','#99CC99','#663366','#003399','#338899'];
|
|
|
|
|
+ var h = '<div style="padding:10px"><table height="20px" class="cursor"><tr>';
|
|
|
|
|
+ var nst = '';
|
|
|
|
|
+ for(var i=0;i<zys.length;i++){
|
|
|
|
|
+ nst = (zys[i]==maincolor) ? '✔':' ';
|
|
|
|
|
+ h+='<td width="20px" style="color:white;font-size:12px" align="center" onclick="js.location(\'?d=reim&a=xina&apptheme='+zys[i].substr(1)+'\')" bgcolor="'+zys[i]+'">'+nst+'</td>';
|
|
|
|
|
+ }
|
|
|
|
|
+ h+='</tr></table></div>';
|
|
|
|
|
+ js.tanbody('color','切换主题',310,200,{
|
|
|
|
|
+ html:h
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
editpass:function(bt,cse){
|
|
editpass:function(bt,cse){
|
|
|
if(!bt)bt='修改密码';
|
|
if(!bt)bt='修改密码';
|
|
|
if(!cse)cse='';
|
|
if(!cse)cse='';
|
|
@@ -1224,18 +1237,18 @@ var reim={
|
|
|
var chs= (this.getsound())?'checked':'';
|
|
var chs= (this.getsound())?'checked':'';
|
|
|
var ch1= (this.getzhuom())?'checked':'';
|
|
var ch1= (this.getzhuom())?'checked':'';
|
|
|
var num = 'userinfo_cogshow';
|
|
var num = 'userinfo_cogshow';
|
|
|
- var s = '<div align="center"><div align="left" style="width:300px;margin-top:50px">';
|
|
|
|
|
|
|
+ var s = '<div align="center"><div align="left" style="width:300px;margin-top:40px;padding:15px;background:var(--main-bgcolor);border-radius:5px;border:var(--border)">';
|
|
|
s+=' <div style="line-height:30px"><b>设置</b></div>';
|
|
s+=' <div style="line-height:30px"><b>设置</b></div>';
|
|
|
- s+=' <div style="padding:10px 0px;border-top:1px #eeeeee solid"><label><input '+ch1+' onclick="reim.setzhuom(this)" type="checkbox">新信息桌面提醒</label></div>';
|
|
|
|
|
- s+=' <div style="padding:10px 0px;border-top:1px #eeeeee solid"><label><input '+chs+' onclick="reim.setsound(this)" type="checkbox">新信息声音提示</label></div>';
|
|
|
|
|
- s+=' <div style="padding:10px 0px;border-top:1px #eeeeee solid">提示声音:<select onchange="reim.changesound(this)" id="changesoundid"><option value="web/res/sound/email.mp3">email.mp3</option><option value="web/res/sound/dong.mp3">dong.mp3</option><option value="web/res/sound/todo.ogg">todo.ogg</option><option value="web/res/sound/niu.mp3">niu.mp3</option><option value="web/res/sound/don1.mp3">don1.mp3</option></select></div>';
|
|
|
|
|
|
|
+ s+=' <div style="padding:10px 0px;border-top:var(--border)"><label><input '+ch1+' onclick="reim.setzhuom(this)" type="checkbox">新信息桌面提醒</label></div>';
|
|
|
|
|
+ s+=' <div style="padding:10px 0px;border-top:var(--border)"><label><input '+chs+' onclick="reim.setsound(this)" type="checkbox">新信息声音提示</label></div>';
|
|
|
|
|
+ s+=' <div style="padding:10px 0px;border-top:var(--border)">提示声音:<select onchange="reim.changesound(this)" id="changesoundid"><option value="web/res/sound/email.mp3">email.mp3</option><option value="web/res/sound/dong.mp3">dong.mp3</option><option value="web/res/sound/todo.ogg">todo.ogg</option><option value="web/res/sound/niu.mp3">niu.mp3</option><option value="web/res/sound/don1.mp3">don1.mp3</option></select></div>';
|
|
|
|
|
|
|
|
chs = 'checked';
|
|
chs = 'checked';
|
|
|
ch1 = '';
|
|
ch1 = '';
|
|
|
if(js.getoption('sendkuijie')=='1'){
|
|
if(js.getoption('sendkuijie')=='1'){
|
|
|
ch1='checked';chs='';
|
|
ch1='checked';chs='';
|
|
|
}
|
|
}
|
|
|
- s+=' <div style="padding:10px 0px;border-top:1px #eeeeee solid">发送快捷键:<label><input onclick="reim.setsendkkj(0)" '+chs+' type="radio" name="sendkuijie">Enter</label> <label><input onclick="reim.setsendkkj(1)" '+ch1+' type="radio" name="sendkuijie">Ctrl+Enter</label></div>';
|
|
|
|
|
|
|
+ s+=' <div style="padding:10px 0px;border-top:var(--border)">发送快捷键:<label><input onclick="reim.setsendkkj(0)" '+chs+' type="radio" name="sendkuijie">Enter</label> <label><input onclick="reim.setsendkkj(1)" '+ch1+' type="radio" name="sendkuijie">Ctrl+Enter</label></div>';
|
|
|
|
|
|
|
|
//s+=' <div style="padding:10px 0px;border-top:1px #eeeeee solid">列表列宽:<label><input onclick="reim.setchatlistw(220)" checked type="radio" name="chatlistw">正常</label> <label><input onclick="reim.setchatlistw(230)" type="radio" name="chatlistw">宽点</label> <label><input onclick="reim.setchatlistw(250)" type="radio" name="chatlistw">大宽</label></div>';
|
|
//s+=' <div style="padding:10px 0px;border-top:1px #eeeeee solid">列表列宽:<label><input onclick="reim.setchatlistw(220)" checked type="radio" name="chatlistw">正常</label> <label><input onclick="reim.setchatlistw(230)" type="radio" name="chatlistw">宽点</label> <label><input onclick="reim.setchatlistw(250)" type="radio" name="chatlistw">大宽</label></div>';
|
|
|
|
|
|
|
@@ -1243,13 +1256,13 @@ var reim={
|
|
|
var ips = nwjs.getipmac();
|
|
var ips = nwjs.getipmac();
|
|
|
var d = nw.process.versions;
|
|
var d = nw.process.versions;
|
|
|
var json = nw.App.manifest;
|
|
var json = nw.App.manifest;
|
|
|
- s+='<div style="padding:10px 0px;border-top:1px #eeeeee solid">开机启动:<button type="button" class="cursor" onclick="reim.kaijistart(0)">启动</button> <button type="button" class="cursor" onclick="reim.kaijistart(1)">删除</button> <button type="button" class="cursor" onclick="reim.kaijistart(2)">快捷方式</button></div>';
|
|
|
|
|
- s+='<div style="padding:10px 0px;border-top:1px #eeeeee solid">我局域网IP:'+ips.ip+'</div>';
|
|
|
|
|
- s+='<div style="padding:10px 0px;border-top:1px #eeeeee solid">我的MAC地址:'+ips.mac+'</div>';
|
|
|
|
|
- s+='<div style="padding:10px 0px;border-top:1px #eeeeee solid">此客户端版本:V'+json.version+',内核nwjs-'+d.nw+'</div>';
|
|
|
|
|
|
|
+ s+='<div style="padding:10px 0px;border-top:var(--border)">开机启动:<button type="button" class="cursor" onclick="reim.kaijistart(0)">启动</button> <button type="button" class="cursor" onclick="reim.kaijistart(1)">删除</button> <button type="button" class="cursor" onclick="reim.kaijistart(2)">快捷方式</button></div>';
|
|
|
|
|
+ s+='<div style="padding:10px 0px;border-top:var(--border)">我局域网IP:'+ips.ip+'</div>';
|
|
|
|
|
+ s+='<div style="padding:10px 0px;border-top:var(--border)">我的MAC地址:'+ips.mac+'</div>';
|
|
|
|
|
+ s+='<div style="padding:10px 0px;border-top:var(--border)">此客户端版本:V'+json.version+',内核nwjs-'+d.nw+'</div>';
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- s+=' <div style="padding:10px 0px;border-top:1px #eeeeee solid">网络IP:'+this.myip+'</div>';
|
|
|
|
|
|
|
+ s+=' <div style="padding:10px 0px;border-top:var(--border)">网络IP:'+this.myip+'</div>';
|
|
|
s+=' <div style="padding-top:10px;"><input onclick="reim.closetabs(\''+num+'\')" type="button" value="关闭" class="btn btn-danger"></div>';
|
|
s+=' <div style="padding-top:10px;"><input onclick="reim.closetabs(\''+num+'\')" type="button" value="关闭" class="btn btn-danger"></div>';
|
|
|
s+='</div></div>';
|
|
s+='</div></div>';
|
|
|
this.addtabs(num,s);
|
|
this.addtabs(num,s);
|
|
@@ -1429,7 +1442,7 @@ function chatcreate(cans){
|
|
|
var iref = (!iref)?false:true;
|
|
var iref = (!iref)?false:true;
|
|
|
var minid= 0;
|
|
var minid= 0;
|
|
|
if(iref)minid=this.minid;
|
|
if(iref)minid=this.minid;
|
|
|
- if(o1)$(o1).html('<img src="images/loadings.gif" height="14" width="15" align="absmiddle"> 加载中...');
|
|
|
|
|
|
|
+ if(o1)$(o1).html(''+js.ling(12)+' 加载中...');
|
|
|
this.boolload = true;
|
|
this.boolload = true;
|
|
|
reim.ajax(this.getapiurl('reim','getrecord'),{type:this.type,gid:this.gid,minid:minid,loadci:this.loadci,laiyuan:'not',soulx:this.soulx,soukey:jm.base64encode(this.soukey)},function(ret){
|
|
reim.ajax(this.getapiurl('reim','getrecord'),{type:this.type,gid:this.gid,minid:minid,loadci:this.loadci,laiyuan:'not',soulx:this.soulx,soukey:jm.base64encode(this.soukey)},function(ret){
|
|
|
js.unloading();
|
|
js.unloading();
|
|
@@ -1587,7 +1600,7 @@ function chatcreate(cans){
|
|
|
});
|
|
});
|
|
|
};
|
|
};
|
|
|
this.showhuilist=function(){
|
|
this.showhuilist=function(){
|
|
|
- var s = '<div id="showuserlist" style="height:250px;overflow:hidden;position:relative"><div align="center" style="padding:10px;"><img src="images/mloading.gif" align="absmiddle"> 加载人员...</div></div>';
|
|
|
|
|
|
|
+ var s = '<div id="showuserlist" style="height:250px;overflow:hidden;position:relative"><div align="center" style="padding:10px;">'+js.ling()+' 加载人员...</div></div>';
|
|
|
js.tanbody('syscogshow','会话上人员('+this.usershu+')',480,100,{html:s});
|
|
js.tanbody('syscogshow','会话上人员('+this.usershu+')',480,100,{html:s});
|
|
|
if(!this.userlistarr){
|
|
if(!this.userlistarr){
|
|
|
reim.ajax(this.getapiurl('reim','getgroupuser'),{type:this.type,gid:this.gid},function(ret){
|
|
reim.ajax(this.getapiurl('reim','getgroupuser'),{type:this.type,gid:this.gid},function(ret){
|
|
@@ -1602,7 +1615,7 @@ function chatcreate(cans){
|
|
|
var sad = this.showtableda(a);
|
|
var sad = this.showtableda(a);
|
|
|
$('#showuserlist').html(sad[0]);
|
|
$('#showuserlist').html(sad[0]);
|
|
|
$('#showuserlist').perfectScrollbar();
|
|
$('#showuserlist').perfectScrollbar();
|
|
|
- $('#msgview_syscogshow').html('<span style="font-size:12px;color:#888888">右键人名可以@TA,'+sad[1]+'人在线</span>');
|
|
|
|
|
|
|
+ $('#msgview_syscogshow').html('<span style="font-size:12px;">右键人名可以@TA,'+sad[1]+'人在线</span>');
|
|
|
$('#showuserlist').find('div[xuh]').contextmenu(function(e){
|
|
$('#showuserlist').find('div[xuh]').contextmenu(function(e){
|
|
|
me.atright(this,e);
|
|
me.atright(this,e);
|
|
|
return false;
|
|
return false;
|
|
@@ -1623,7 +1636,7 @@ function chatcreate(cans){
|
|
|
d1=reim.nowonlinearr;
|
|
d1=reim.nowonlinearr;
|
|
|
if(d1 && d1.reim==1)zx++;
|
|
if(d1 && d1.reim==1)zx++;
|
|
|
}
|
|
}
|
|
|
- s+='<td width="20%"><div style="padding:5px" align="center"><div><img style="height:34px;width:34px;border-radius:50%" onclick="$.imgview({url:this.src})" src="'+a[i].face+'"></div><div xuh="'+i+'" style="color:#888888">'+a[i].name+''+s1+'</div></div></td>';
|
|
|
|
|
|
|
+ s+='<td width="20%"><div style="padding:5px" align="center"><div><img style="height:34px;width:34px;border-radius:50%" onclick="$.imgview({url:this.src})" src="'+a[i].face+'"></div><div xuh="'+i+'">'+a[i].name+''+s1+'</div></div></td>';
|
|
|
if(oi%5==0)s+='</tr><tr>';
|
|
if(oi%5==0)s+='</tr><tr>';
|
|
|
}
|
|
}
|
|
|
if(len<5)for(i=0;i<5-len;i++)s+='<td width="20%"></td>';
|
|
if(len<5)for(i=0;i<5-len;i++)s+='<td width="20%"></td>';
|
|
@@ -1845,7 +1858,7 @@ function chatcreate(cans){
|
|
|
};
|
|
};
|
|
|
this.getemts=function(o){
|
|
this.getemts=function(o){
|
|
|
if(!get('aemtsdiv')){
|
|
if(!get('aemtsdiv')){
|
|
|
- var s = '<div id="aemtsdiv" style="width:400px;height:200px;overflow:hidden;border:1px #cccccc solid;background:white;box-shadow:0px 0px 5px rgba(0,0,0,0.3);left:3px;top:5px;position:absolute;display:none;z-index:6">';
|
|
|
|
|
|
|
+ var s = '<div id="aemtsdiv" style="width:400px;height:200px;overflow:hidden;border:var(--border);background:var(--main-bgcolor);left:3px;top:5px;position:absolute;display:none;z-index:6;border-radius:5px" class="box">';
|
|
|
s+='<div style="padding:5px">';
|
|
s+='<div style="padding:5px">';
|
|
|
s+=this.getemtsbq('qq',0, 104, 11, 24);
|
|
s+=this.getemtsbq('qq',0, 104, 11, 24);
|
|
|
s+='</div>';
|
|
s+='</div>';
|
|
@@ -2099,13 +2112,13 @@ function chatcreate(cans){
|
|
|
var str = '';
|
|
var str = '';
|
|
|
var d = ret.wdarr;
|
|
var d = ret.wdarr;
|
|
|
if(d.length>0){
|
|
if(d.length>0){
|
|
|
- str+='<div style="padding:5px 10px;border-bottom:1px solid #eeeeee;font-size:12px;color:gray">未读'+d.length+'人</div>';
|
|
|
|
|
|
|
+ str+='<div style="padding:5px 10px;border-bottom:var(--border);font-size:12px;color:gray">未读'+d.length+'人</div>';
|
|
|
var sad = this.showtableda(d);
|
|
var sad = this.showtableda(d);
|
|
|
str+=sad[0];
|
|
str+=sad[0];
|
|
|
}
|
|
}
|
|
|
d = ret.ydarr;
|
|
d = ret.ydarr;
|
|
|
if(d.length>0){
|
|
if(d.length>0){
|
|
|
- str+='<div style="padding:5px 10px;border-bottom:1px solid #eeeeee;font-size:12px;color:gray">已读'+d.length+'人</div>';
|
|
|
|
|
|
|
+ str+='<div style="padding:5px 10px;border-bottom:var(--border);font-size:12px;color:gray">已读'+d.length+'人</div>';
|
|
|
var sad = this.showtableda(d);
|
|
var sad = this.showtableda(d);
|
|
|
str+=sad[0];
|
|
str+=sad[0];
|
|
|
}
|
|
}
|
|
@@ -2162,7 +2175,7 @@ function chatcreate(cans){
|
|
|
s+='</div>';
|
|
s+='</div>';
|
|
|
}
|
|
}
|
|
|
s+='';
|
|
s+='';
|
|
|
- if(s2)s2='<div style="display:inline-block;border-bottom:1px #eeeeee solid;width:100%">'+s2+'</div>';
|
|
|
|
|
|
|
+ if(s2)s2='<div style="display:inline-block;border-bottom:var(--border);width:100%">'+s2+'</div>';
|
|
|
$('#showstarlist').html(s2+s);
|
|
$('#showstarlist').html(s2+s);
|
|
|
$('#showstarlist').perfectScrollbar();
|
|
$('#showstarlist').perfectScrollbar();
|
|
|
$('#msgview_sysshowstar').html('<a onclick="'+this.objstr+'.showstarshu(this)" href="javascript:;">刷新</a>');
|
|
$('#msgview_sysshowstar').html('<a onclick="'+this.objstr+'.showstarshu(this)" href="javascript:;">刷新</a>');
|