js/reim.js

(开头部分) 30KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/**
*	REIM即时通信主js
*	caratename:雨中磐石(rainrock)
*	caratetime:2017-07-20 21:40:00
*	homepage:www.rockoa.com
*/

//打开聊天会话
function openchat(id, lx,face){
	if(!lx)lx=0;var types=['user','group'];
	var sle = (types[lx]) ? types[lx] : lx;
	var url = '?d=reim&m=chat&uid='+id+'&type='+sle+'',csne={};
	if(face)csne.icon=face;
	js.open(url, 480,500, ''+sle+'_'+id+'',{},csne);
}
var windowfocus=true;
var reim = {
	connectbool:false,
	otherlogin:false,
	timeloads:0,
	ruloadtime:10*60, 
	userarr:{},
	deptarr:{},
	grouparr:{},
	maindata:{},
	agentarr:{},
	lastloaddt:'',
	apiurl:function(m,a){
		return 'api.php?m='+m+'&a='+a+'';
	},
	show:function(){
		nwjs.init();
		nwjs.createtray(''+systitle+'-'+adminname+'', 1);
		
		bodyunload=function(){
			nwjs.removetray();
		}
		
		nwjs.serverdata=function(d){
			return reim.serverdata(d);
		}
		
		this.date = js.now();
		notifyobj=new notifyClass({
			title:'系统提醒',
			sound:'web/res/sound/todo.ogg',
			sounderr:'',
			soundbo:true,
			showbool:false
		});
		
		this.mainshow();//显示主界面
		this.righthistroboj = $.rockmenu({
			data:[],
			itemsclick:function(d){
				reim.rightclick(d);
			}
		});
		$(window).resize(this.resize);
		$(window).focus(function(){windowfocus=true});
后面还有 921 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。