- 找到 安装目录
\theme\build.xml
- 隐藏广告信息
搜索
PanelAd
,定位到以下代码位置
<PanelAd type="adpanel" css="public" ass="mainform panelclient PanelAd">
<panelTopLine type="panel" css="AdPanel" Dockstyle="top" Bounds="0,0,0,1"/>
<MiddlePhotoPanel type="panel" css="public" DockStyle="top" Bounds="0,0,250,160" Margin="0,13,0,13">
<AdPhoto type="photo" css="Ad AdPhoto" AnchorStyle="center" AutoZoom="ZoomEqual" Bounds="0,0,200,130">
<AdClose type="button" css="adclear" AnchorStyle="topright" Bounds="-1,1,24,24" />
<AdText type="label" css="AdText" AnchorStyle="bottomleft" Bounds="6,-6,25,10"/>
</AdPhoto>
</MiddlePhotoPanel>
</PanelAd>
按下图修改,即可隐藏广告
3. 隐藏广告占位
搜索
AdWraperMid
,定位到下面代码
<!-- 底部广告-->
<AdWraperMid type="panel" css="public" dockstyle="bottom" visible="false" bounds="0,0,0,0">
<PanelAdMid type="control" control="PanelAd"></PanelAdMid>
<LeftShadow type="control" control="MidPanelLeftShadow"/>
</AdWraperMid>
然后按下图修改
文章首次发布于吾勇士的博客 http://wuyongshi.top/youdao
Q.E.D.