⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pet.js

📁 某网页游戏的前台JS控制程序2
💻 JS
📖 第 1 页 / 共 5 页
字号:
			}			goDown(document.all("innerReader"));		}	}catch(x){}	//}function getPageState(){	return petWin.pageState;}//toolsBar/////var _canUse=false;var _canEquip=false; //是否可以加到快捷var _canEquip2="false";//是否可装备var _canFuHua=false;	//是否可以孵化var _canFenJie=false;	//是否可以分解var _toolName='';//道具名var _toolPath='';//道具pathvar _toolImg='';//道具图var _canShow=false; //是否可以展示function toolsBar(toolIndex,tr){	//var alltr=petWin.showItems.getElementsByTagName("tr");	var alltr=_getWin("tools").document.all("showItems").getElementsByTagName("tr");	for(var i=0;i<alltr.length;i++){		alltr[i].style.color="";		alltr[i].style.backgroundColor="";	}	tr.style.color="#FF0000";	tr.style.backgroundColor="#F5F2AD";	var str="";	str+="<nobr>";	str+="<input type=button value='说明' onclick=\"cmd('helptools "+toolIndex+"');hideParentMenu();return false;\" class=smallFont>";	//str+="<input type=button value='转让' onclick=\"turnItem('"+_toolName+"',"+toolIndex+");hideParentMenu();return false;\" class=smallFont>";	try{		if(petWin.npcList.innerHTML!=""){			str+="<input type=button value='转让' onclick=\"cmd('foo give "+toolIndex+"');hideParentMenu();return false;\" class=smallFont>";		}	}catch(x){}	if(_canUse){		str+="<input type=button value='使用' onclick=\"cmd('use "+toolIndex+"');hideParentMenu();return false;\" class=smallFont>";	}	if(_canEquip2!="false"){		str+="<input type=button value='"+(_canEquip2==""?"装备":_canEquip2)+"' onclick=\"cmd('equip "+toolIndex+"');hideParentMenu();return false;\" class=smallFont>";	}	if(_canEquip){		str+="<input type=button value='快捷' onclick=\"putCut('use}}"+_toolPath+"','"+_toolImg+"');hideParentMenu();return false;\" class=smallFont>";	}	if(_canShow){		str+="<input type=button value='展示' onclick=\"cmd('reveal "+toolIndex+"');hideParentMenu();return false;\" class=smallFont>";	}	/*	if (_canFenJie){		str+="<input type=button value='分解' onclick=\"cmd('fenJie "+toolIndex+"');hideParentMenu();return false;\" class=smallFont>";	}	*/	//if(getRoom()=="道具店" || getRoom()=="小卖店"|| getRoom()=="当铺"){	str+="<input type=button value='丢弃' onclick=\"dropItem('"+_toolName+"',"+toolIndex+");hideParentMenu();return false;\" class=smallFont>";	//}	if(getRoom()=="小卖店"|| getRoom()=="仓库"){		str+="<input type=button value='寄存' onclick=\"storeItemsPop('"+_toolName+"',"+toolIndex+");hideParentMenu();return false;\" class=smallFont>";	}	if(getRoom()=="道具店" ||getRoom()=="装备店" || getRoom()=="小卖店"|| getRoom()=="当铺"||getRoom()=="云5"){		str+="<input type=button value='卖掉' onclick=\"cmd('sellvalue "+toolIndex+"');hideParentMenu();return false;\" class=smallFont>";	}	//if((getRoom()=="装备店"||getRoom()=="炎3"||getRoom()=="小卖店")&&_toolName.indexOf("未被鉴定的")!=-1){	//	str+="<input type=button value='鉴定' onclick=\"cmd('jianding "+toolIndex+"');hideParentMenu();return false;\" class=smallFont>";	//}	if(getRoom()=="炼造屋"){		str+="<input type=button value='精炼' onclick=\"cmd('refine "+toolIndex+"');hideParentMenu();return false;\" class=smallFont>";		if (_canFenJie){			str+="<input type=button value='分解' onclick=\"cmd('fenJie "+toolIndex+"');hideParentMenu();return false;\" class=smallFont>";		}	}	if(getRoom()=="道具店"){		str+="<input type=button value='寄卖' onclick=\"consign('"+_toolName+"',"+toolIndex+");hideParentMenu();return false;\" class=smallFont>";	}	if(isDeal()){		str+="<input type=button value='交易' onclick=\"addToDeal('"+_toolName+"',"+toolIndex+",'');hideParentMenu();return false;\" class=smallFont>";	}	if(isCompose()){		str+="<input type=button value='添加合成' onclick=\"addToPlus('"+_toolName+"',"+toolIndex+",'');offOpenWin('tools');return false;\" class=smallFont>";	}	/*	if (_canFuHua  && (getRoom()=="休息室" || getRoom()=="宠物研究所")){		str+="<input type=button value='孵化' onclick=\"putToFuHua('"+_toolPath+"',"+toolIndex+",'');offOpenWin('tools');return false;\" class=smallFont>";	}	*/	str+="</nobr>";	showParentMenu(str);}function inputSellItemNum(toolName,oneJiage,unit){	var input=prompt('['+toolName+'] 收购价格 '+oneJiage+'/'+unit+',您要卖掉几'+unit+'?','全部');	if(input!=null){		cmd('sell '+toolName+' '+input);		return;	}}function storeItemsPop(toolName,index){	var input=prompt('请输入要寄存 ['+toolName+'] 的数量','全部');	if(input!=null){		cmd('cunItems '+index+' '+input);		//alert('cunItems '+index+' '+input);		return;	}}function getStoreItemsPop(toolName,index){	var input=prompt('请输入要取回 ['+toolName+'] 的数量','全部');	if(input!=null){		cmd('getItems '+index+' '+input);		return;	}}///////////////function putCut(cmdStr,imgStr,index){	if(index=='0'){		index='9';	}else if(index<10){		index-=1;	}	if(checkInt(index)){		//index=parseInt(index)-1;		index=parseInt(index);	}	if(index=='自动'){		cmd("putcut "+cmdStr+" "+imgStr);		return;	}	if(index!=0){		if(!checkInt(index)||parseInt(index)<0||parseInt(index)>16){			var input=prompt('请输入要放置到快捷栏的格数(1-16)','自动');			if(input!=null){				putCut(cmdStr,imgStr,input);				return;			}else{				return;			}		}	}	cmd("putcut "+cmdStr+" "+imgStr+" "+index);}function loadPetWin(){	petWin.location.href="petwin.html";}//out String///for 场景function _getUser(userId,userName,lookStr,isWapUser){	var isInRank=inRank(userId);	var o= "<dt id='user_"+userId+"' userid='"+userId+"'>";	o+=(isWapUser=="true"?"<img src='/img/button/wap_user.gif' title='WAP用户'> ":"");	if(showToolsButton==1){		o+="<a style='cursor:hand' onclick=\"p.userAction("+userId+",'"+userName+"');return false;\">";	}else if(showToolsButton==2){		o+="<a href=# hidefocus=true class=black onclick=\"p.showPetInfo('"+userName+"','"+userName+"');p.setFuJi('"+userId+"');return false;\" title=查看>";		//o+="<a style='cursor:hand' onclick=\"p.cmd('l "+userName+"');return false;\" title=查看>";	}	o+=(isInRank?"<font color=green>":"")+lookStr+(isInRank?"</font>":"")	+""	+"<img src=img/blank.gif height=11 width=5 border=0>";	if(showToolsButton==2){		//o+="<a href=# onclick=\"p.cmd('l "+userName+"');return false;\" title=查看><img src=img/button/l.gif border=0></a> ";		o+="<img src=img/button/t.gif border=0 onclick=\"p.talkTo("+userId+",'"+userName+"');event.cancelBubble=true;return false;\" title=交谈><img src=img/blank.gif height=11 width=3 border=0>";		o+="<img src=img/button/f.gif border=0 onclick=\"p.cmd('follow "+userName+"');event.cancelBubble=true;return false;\" title=跟随><img src=img/blank.gif height=11 width=3 border=0>";		o+="<img src=img/button/z.gif border=0 onclick=\"p.cmd('foo rank add "+userName+"');event.cancelBubble=true;return false;\" title=组队><img src=img/blank.gif height=11 width=2 border=0>";		o+="<img src=img/button/s.gif border=0 onclick=\"p.cmd('deal "+userName+"');event.cancelBubble=true;return false;\" title=交易><img src=img/blank.gif height=11 width=2 border=0>";				if(openPKButton==1){			o+="<img src=img/button/a.gif border=0 onclick=\"p.cmd('bar34 "+userId+"');event.cancelBubble=true;return false;\" title=攻击>";		}			}	o+="</a></dt>";	return o;}//移动后执行事件function eventOnMove(){	offOpenWin('petInfoWin');}function addPetInfo(stringStr,pic){	document.getElementById('showPetInfoDiv').innerHTML=stringStr;	if(pic&&pic!=null&&pic!="null"){		var o=document.getElementById('showPetPic');		o.src=pic;		o.style.display="";	}}var fuji = -1;function setFuJi(index){	fuji = index;}function showPetInfo(index,name,code,args){	var has=args&&args!="undefined";	if(has){		var isPlayer=args[0];		var isDie=args[1];		var canTalk=args[2];		var canKill=args[3];	}	var winObj=_getWin("petInfoWin");	onOpenWin(winObj);	var o="";	o+="<table width=95% cellpadding=0 cellspacing=0 style=\"margin-top:14px;\" border=0><tr><td valign=top width=1><img src=img/blank.gif id=showPetPic style=\"filter:fliph;display:none;margin-right:5px;margin-bottom:10px;\">"	+"</td><td valign=top align=left>"	+"<font color=black><b>"+name+"</b></font> ";	if(p.hasIM(name)==false){		if(!has||isPlayer){			o+=" <img src=/img/addf.gif onclick=\"p.cmd('foo im add "+name+"');offOpenWin('petInfoWin');\" style=\"cursor:pointer\" alt=加"+name+"为好友>";			o+=" <img src=/img/hint.gif onclick=\"p.cmd('yy "+index+" "+name+"');offOpenWin('petInfoWin');return false;\" style=\"cursor:pointer\" alt="+name+"个人信息>";		}	}else{        		o+=" <img src=/img/hint.gif onclick=\"p.cmd('yy "+index+" "+name+"');offOpenWin('petInfoWin');return false;\" style=\"cursor:pointer\" alt="+name+"个人信息>";	}		o+=(has&&!isDie&&canTalk?"<a href=# onclick=\"p.cmd('talk "+index+"');offOpenWin('petInfoWin');return false;\" title=交谈><img src=img/button/t.gif border=0></a> ":"")	+(has&&!isDie&&canKill?"<a href=# onclick=\"p.cmd('dsr234 "+index+" "+code+"');offOpenWin('petInfoWin');return false;\" title=攻击 style=\"display:none\"><img src=img/button/a.gif border=0></a> ":"")	+(has&&!isDie&&canKill?"<a href=# onclick=\"p.cmd('bar34 "+index+" "+code+"');offOpenWin('petInfoWin');return false;\" title=攻击><img src=img/button/a.gif border=0></a> ":"")	+fakeBr(4)	+"<div id=showPetInfoDiv></div>"	+"</td></tr></table>"	;	with(winObj.style){		try{			top=petWin.event.y+petWin.document.body.scrollTop+91-13;			left=petWin.event.x+petWin.document.body.scrollLeft+26-238;		}catch(x){			top=event.y+petWin.document.body.scrollTop-13;			left=event.x+petWin.document.body.scrollLeft-238;		}		width="250";		height="60";		overflowY="";		display='';	}	cmd('l '+index);	_openWin("petInfoWin",o);}function _getNpc(index,npcName,code,lookStr,canTalk,noKill,isDie){		var o= "<dt id='npc_"+index+"'>";	if(showToolsButton==1){		o+="<a style='cursor:hand' onclick=\"p._canTalk="+(canTalk>=0)+";p._noKill="+noKill+";p.npcAction("+index+",'"+npcName+"',"+code+",[false,"+isDie+","+(canTalk>=0)+","+!noKill+"]);return false;\">";	}else if(showToolsButton==2){		if(!isDie){			if((canTalk==-1)){//&&noKill				o+=("<a href=# onclick=\"return false;\" class=black hidefocus=true><span onclick=\"p.showPetInfo("+index+",'"+npcName+"',"+code+",[false,"+isDie+","+(canTalk>=0)+","+!noKill+"]);p.setFuJi('"+index+"');return false;\" title=查看>");			}else{				o+=("<a href=# onclick=\"return false;\" class=black hidefocus=true><span onclick=\"p.cmd('talk "+index+"');p.hideWelcome();p.setFuJi('"+index+"');return false;\" title=交谈>");							}		}			}	if(isDie)o+="<font color=#A1A1A1 style='cursor:default'>";	o+=lookStr;	if(isDie)o+="</font>";	o+="<img src=img/blank.gif height=11 width=5 border=0></span>";	if(showToolsButton==2){		o+=(!isDie&&(canTalk>=0)?"<a href=# onclick=\"p.cmd('talk "+index+"');event.cancelBubble=true;p.hideWelcome();return false;\" title=交谈><img src="+(canTalk==0?"img/button/t.gif":"img/button/"+canTalk+".gif")+" border=0><img src=img/blank.gif height=11 width=3 border=0></a>":"");		o+=(!isDie&&!noKill?"<a href=# onclick=\"p.cmd('dsr234 "+index+" "+code+"');event.cancelBubble=true;return false;\" title=攻击 style=\"display:none\"><img src=img/button/a.gif border=0><img src=img/blank.gif height=11 width=3 border=0></a>":"");		o+=(!isDie&&!noKill?"<a href=# onclick=\"p.cmd('bar34 "+index+" "+code+"');event.cancelBubble=true;return false;\" title=攻击><img src=img/button/a.gif border=0><img src=img/blank.gif height=11 width=3 border=0></a>":"");	}	o+="</a></dt>";	return o;}function _getDiv(){	return ""	+"<div id='npcList' style='overflow-y:auto;height:200;width:172;position: absolute; left: 338;top: 0;visibility:visible;z-index: 10;background-color:#A0CAD8;padding-bottom:5px;padding-top:5px;padding-left:10px;padding-right:10px;' class=smallFont></div>"	+"<div id='playerList' style='overflow-y:auto;height:145;width:172;position: absolute; left: 338;top: 205;visibility:visible;z-index: 10;background-color:#A0CAD8;padding-bottom:5px;padding-top:5px;padding-left:10px;padding-right:10px;' class=smallFont></div>"	+"<div id='roomDescStr' style='height:235;width:330;position: absolute; left: 3;top: 0;visibility:visible;z-index: 10;background-color:#A0CAD8;padding-bottom:0px;padding-top:0px;padding-left:0px;padding-right:0px;'></div>"	;}function _roomDesc(thesn,desc,exit){	roomDesc(desc);}function _showExit(arr){	var o="";	o+="<div class=showExit>";	for(var i=0;i<arr.length-1;i++){		o+="<a style='cursor:hand' onclick=\"p.cmd('gto "+arr[i]+"');return false;\"><nobr>【"+arr[i]+"】</nobr></a>";	}	o+="</div>";	return o;}var leftFighterX=165;//怪物left X位置(px)var rightFighterX=358;//怪物right X位置(px)var leftFighterPicOffset;//怪物图片var rightFighterPicOffset;//怪物图片function getLeftFighterX(){	return leftFighterX-leftFighterPicOffset;}function getRightFighterX(){	return rightFighterX-rightFighterPicOffset;}function centerPicObj(vessel,picUri,posLeft){	vessel.style.display="none";	cachePic(vessel,picUri);	if(vessel.side=="left"){		leftFighterPicOffset=vessel.width/2;		vessel.style.left = getLeftFighterX();	}else if(vessel.side=="right"){		rightFighterPicOffset=vessel.width/2;		vessel.style.left = getRightFighterX();	}	vessel.style.display="";}function changeLeftFighter(pic){	try{		p._cachePic(petWin.document.getElementById("fighter_1"),pic);		p._cachePic(petWin.document.getElementById("fighter_1s"),pic);	}catch(x){}}function changeRightFighter(pic){	try{		p._cachePic(petWin.document.getElementById("fighter_2"),pic);		p._cachePic(petWin.document.getElementById("fighter_2s"),pic);	}catch(x){}}//out String///for 战斗function backCJ(){	p.cmd('look');	p.addRM("<font color=blue>点左上角的场景名称可以切换回战斗场景</font><br>");}function _combat(leftPic,rightPic,	leftName,leftLv,leftHPWidth,leftHP,leftMaxHP,leftSPWidth,leftSP,leftMaxSP,	rightName,rightLv,rightHPWidth,rightHP,rightMaxHP,rightSPWidth,rightSP,rightMaxSP,	rightLvDesc,roomPic,	eHashCode){	closeRenPic();	cls();	cps('combat');	enemyHashCode=eHashCode;	//addRM("<font color=red><u>"+leftName+"</u>和<u>"+rightName+"</u>在战斗中...</font><br><br>");	var rp;	if(roomPic!=null&&"null"!=roomPic&&_getCombatPic()>0){		rp="<img src=img/blank.gif width=507 height=221 style='margin-left:3px;filter:alpha(opacity="+_getCombatPic()+");' onload=\"p.cachePic(this,'"+roomPic+"');\">";	}else{		rp="";	}	changePageBody(""		+rp		+"<INPUT TYPE=\"button\" value=\"逃跑\" style=\"position: absolute;left:440;top:200;bottom:155;visibility:visible;z-index:15;font-size:9pt;padding-top:2px;padding-left:2px;background-color:#5AA2BA;border:0px solid #FFFFFF;cursor:hand;color:#E9F2F5;\" onclick=\"p.cmd('tao');return false;\" hidefocus=true>"		+"<INPUT TYPE=\"button\" value=\"返回\" style=\"position: absolute;left:475;top:200;bottom:155;visibility:visible;z-index:15;font-size:9pt;padding-top:2px;padding-left:2px;background-color:#5AA2BA;border:0px solid #FFFFFF;cursor:hand;color:#E9F2F5;\" onclick=\"p.backCJ();return false;\" hidefocus=true>"		//+"<input type=button value=逃跑 style='position: absolute; left: 440;top:200;bottom: 155;visibility:visible;z-index: 15;font-size:9pt;' onclick=\"p.cmd('tao');return false;\">"		//+"<input type=button value=返回 style='position: absolute; left: 475;top:200;bottom: 155;visibility:visible;z-index: 15;font-size:9pt;' onclick=\"p.backCJ();return false;\">"		+"<img src='img/blank.gif' id=nextTask style='position: absolute; left: 30;top:100;bottom: 155;visibility:visible;z-index: 15;'>"		+"<img src='img/blank.gif' id=enemyNextTask style='position: absolute; left: 440;top:100;bottom: 155;visibility:visible;z-index: 15;'>"		+"<img src='"+leftPic+"' onload=\"p.centerPicObj(this,'"+leftPic+"',165);\" side='left' id='fighter_1' style='filter:fliph;position: absolute; left: 148;bottom: 155;visibility:visible;z-index: 10;'>"		//+"<img src='img/blank.gif' onload=\"p.cachePic(this,'"+leftPic+"');\" id='fighter_1s' style='display:none;position: absolute; left: 148;bottom: 155;visibility:visible;z-index: 9;'>"		+"<img src='img/blank.gif' id='fighter_1s' style='display:none;position: absolute; left: 148;bottom: 155;visibility:visible;z-index: 9;'>"		+"<img src='"+rightPic+"' onload=\"p.centerPicObj(this,'"+rightPic+"',358);\" side='right' id='fighter_2' style='position: absolute; left: 308;bottom: 155;visibility:visible;z-index: 10;'>"		//+"<img src='img/blank.gif' onload=\"p.cachePic(this,'"+rightPic+"');\" id='fighter_2s' style='display:none;filter:fliph;position: absolute; left: 408;bottom: 155;visibility:visible;z-index: 9;'>"		+"<img src='img/blank.gif' id='fighter_2s' style='display:none;filter:fliph;position: absolute; left: 408;bottom: 155;visibility:visible;z-index: 9;'>"		+"<div style='height:65;width:200;position: absolute; left: 7;top: 3;visibility:visible;z-index: 7;background-color:#74B8C8;padding-bottom:5px;padding-top:5px;padding-left:10px;padding-right:10px;filter:alpha(opacity=60);'></div>"		+"<div style='height:75;width:200;position: absolute; left: 7;top: 3;visibility:visible;z-index: 8;padding-bottom:5px;padding-top:5px;padding-left:10px;padding-right:10px;'>"		+"	"+leftName+"  等级:"+leftLv+"<br>"		+"	<table  border='0' cellpadding='0' cellspacing='0'><tr>"		+"	<td width=20><b><font color='#004E5E' face=arial>HP</font></b></td>"		+"	<td width=3></td>"		+"	<td width=92>"			+"<table width='92' border='0' cellpadding='0' cellspacing='1' bgcolor=#4797B2><tr>"			+"<td width='100%' bgcolor=#247410 width=90>"			+"<table style='width:"+leftHPWidth+";height:10;' bgcolor=#89E773 id='hpLine_left' name='hpLine_left'  border='0' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>"			+"</td>"			+"</tr></table>"		+"	</td>"		+"	<td width=5></td>"		+"	<td align=left><font face=arial style='font-size:7.5pt;'><span id='hpLine_left_no' name='hpLine_left_no'>"+leftHP+"</span>/"+leftMaxHP+"</font></td>"		+"	</table>"		+"	<table  border='0' cellpadding='0' cellspacing='0'><tr>"		+"	<td width=20><b><font color='#004E5E' face=arial>SP</font></b></td>"		+"	<td width=3></td>"		+"	<td width=92>"			+"<table width='92' border='0' cellpadding='0' cellspacing='1' bgcolor=#4797B2><tr>"			+"<td width='100%' bgcolor=#035B9C width=90>"			+"<table style='width:"+leftSPWidth+";height:10;' bgcolor=#63B2FF id='mpLine_left' name='mpLine_left'  border='0' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>"			+"</td>"			+"</tr></table>"		+"	</td>"		+"	<td width=5></td>"		+"	<td align=left><font face=arial style='font-size:7.5pt;'><span id='mpLine_left_no' name='mpLine_left_no'>"+leftSP+"</span>/"+leftMaxSP+"</font></td>"		+"	</table>"		+"</div>"		+"<div style='height:65;width:200;position: absolute; left: 306;top: 3;visibility:visible;z-index: 7;background-color:#74B8C8;padding-bottom:5px;padding-top:5px;padding-left:10px;padding-right:10px;filter:alpha(opacity=60);'></div>"		+"<div style='height:75;width:200;position: absolute; left: 306;top: 3;visibility:visible;z-index: 8;padding-bottom:5px;padding-top:5px;padding-left:10px;padding-right:10px;'>"		+"	"+rightName+""		+"  等级:"+replaceAll(rightLvDesc,"color=","")+"<br>"		+"	<table  border='0' cellpadding='0' cellspacing='0'><tr>"		+"	<td width=20><b><font color='#004E5E' face=arial>HP</font></b></td>"		+"	<td width=3></td>"		+"	<td width=92>"			+"<table width='92' border='0' cellpadding='0' cellspacing='1' bgcolor=#4797B2><tr>"			+"<td width='100%' bgcolor=#247410 width=90>"			+"<table style='width:"+rightHPWidth+";height:10;' bgcolor=#89E773 id='hpLine_right' name='hpLine_right'  border='0' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>"			+"</td>"			+"</tr></table>"		+"	</td>"		+"	<td width=5></td>"		+"	<td align=left><font face=arial style='font-size:7.5pt;'><span id='hpLine_right_no' name='hpLine_right_no'>"+rightHP+"</span>/"+rightMaxHP+"</font></td>"		+"	</table>"		+"	<table  border='0' cellpadding='0' cellspacing='0'><tr>"		+"	<td width=20><b><font color='#004E5E' face=arial>SP</font></b></td>"		+"	<td width=3></td>"		+"	<td width=92>"			+"<table width='92' border='0' cellpadding='0' cellspacing='1' bgcolor=#4797B2><tr>"			+"<td width='100%' bgcolor=#035B9C width=90>"			+"<table style='width:"+rightSPWidth+";height:10;' bgcolor=#63B2FF id='mpLine_right' name='mpLine_right'  border='0' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>"			+"</td>"			+"</tr></table>"		+"	</td>"		+"	<td width=5></td>"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -