
最终效果如上图所示,只保留了用户头像、用户名和会员身份标识。修改文件位置在网盘安装位置的skin/duiengineskin.zip文件。找到压缩包内的xml/MainPanel/TitlePanel.xml文件,按下述方法进行修改。修改之前注意备份原文件,防止改错后网盘无法正常加载。
修改过程如下:
1.针对文字链接,设置maxwidth或者width为0,show=”0″
2.针对广告img图标,直接删除或注释
3.针对会员中心和企业认证,设置show=”0″
4.调整用户头像等pos位置
最终修改文件如下
<caption name="CaptionPanel" pos="0,0,-0,-0">
<!--logo-->
<img pos="20,12,@122,@26" skin="titlepanel_logo"></img>
<!--文字运营位-->
<link name="link_header_ad" pos="-670,|-8" crtext="ffffff" font="0000:微软雅黑" align="left" maxwidth="0" cursor="hand" dotted="1" show="0"></link>
<!--icon广告-->
<!-- <imgbtn name="btn_icon_ad" pos="-588,|-14,@28,@28" skin="titlepanel_ad_skin" show="0"></imgbtn> -->
<!--企业认证-->
<dlg name="dlg_enterprise" pos="-670,|-7,@60,@14" show="0">
<link name="link_enterprise_authentication" pos="0,0" font="0004:微软雅黑" crtext="ffffff" >%str1553%</link>
<imgbtn name="btn_enterprise_arrow" pos="[4,|-5,@12,@12" skin="enterprise_down_btn" cursor="arrow" show="0"></imgbtn>
</dlg>
<!--会员中心-->
<imgbtn name="btn_vipcenter" pos="-670,|-14,@78,@28" class="cls_titlepanel_vipcenter_btn" txtyoffset="2" show="0">%str1505%</imgbtn>
<dlg name="dlg_coupon" pos="[-28,|-16,@34,@15" skin="titlepanel_vipcenter_cornel" show="0">
<text name="text_coupon" pos="6,0" font2="facename:微软雅黑;adding:-2" crtext="ffffff"></text>
</dlg>
<text name="text_vipcenter" class="cls_titlepanel_vipcenter_btn" show="0"></text>
<!--用户头像-->
<img name="img_userhead" pos="-365,|-15,@30,@30" skin="titlepanel_default_head">
<img name="img_userhead_frame" pos="0,0,-0,-0" skin="titlepanel_headframe"/>
<img name="img_userhead_cert_status" pos="16,18,@13,@13" skin="titlepanel_cert_status_icon" show="0"/>
</img>
<!--用户昵称-->
<text name="txt_nickname" pos="-320,|-8" crtext="333333" font="0000:微软雅黑" align="left" cursor="arrow" maxwidth="200" dotted="1"></text>
<!--会员身份标识-->
<imgbtn name="btn_crown" pos="-230,|-7,@42,@14" skin="titlepanel_translucent" icoskin="titlepanel_vipclose" cursor="hand"/>
<!--游戏icon-->
<!-- <imgbtn name="btn_game_icon_ad" pos="-208,|-14,@28,@28" skin="titlepanel_game_center_skin" show="0" ></imgbtn>-->
<dlg name="title_right_region" pos="-179,10,-119,-10">
<!--消息-->
<imgbtn name="btn_message" pos="14,|-8,@15,@16" skin="titlepanel_message_btn" cursor="arrow" tip="%str1506%"></imgbtn>
<img name="img_newmsg_reddot" pos="[-5,|-8,@8,@8" skin="titlepanel_reddot" show="0"/>
<!--设置-->
<imgbtn name="btn_setting" pos="[14,|-8,@15,@16" skin="titlepanel_setting_btn" cursor="arrow" tip="%str1507%"></imgbtn>
</dlg>
<!--窗口属性-->
<hr pos="-98,|-8,@1,@16" size="1" crbg="d6d8dd"/>
<imgbtn name="btn_minimize" skin="titlepanel_minmize_btn" pos="-84,|-8,@15,@16" cursor="arrow" tip="%str251%"/>
<imgbtn name="btn_maximize" skin="titlepanel_maximize_btn" pos="-56,|-8,@15,@16" cursor="arrow" tip="%str1503%"/>
<imgbtn name="btn_restore" skin="titlepanel_restore_btn" pos="-56,|-8,@15,@16" cursor="arrow" tip="%str1504%" show="0"/>
<imgbtn name="btn_close" skin="titlepanel_close_btn" pos="-30,|-8,@15,@16" cursor="arrow" tip="%str250%"></imgbtn>
</caption>