有道云笔记去广告教程-6.0+版本

原先去广告代码已失效.....\Youdao\YoudaoNote\theme找到build.xml文件使用记事本打开Ctrl+F输入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>

然后把整段代码修改为

<PanelAd type="adpanel" css="public" ass="mainform panelclient PanelAd">

<panelTopLine type="panel" css="AdPanel" Dockstyle="top" Bounds="0,0,0,0"/>

<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,0,0">

<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>

保存文件重新启动有道云笔记即可

THE END