Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangliang_wd
2024-08-09 16:22:02 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ef12a8d0735be6458651e7d2875bfc49a5f7aa7d
ef12a8d0
1 parent
b6e68936
feat:暂时屏蔽外链挂角广告
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/components/page/PageComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/PageComponent.ets
View file @
ef12a8d
...
...
@@ -174,10 +174,10 @@ export struct PageComponent {
pageHornAd() {
if (this.pageAdvModel.isShowAds) {
if (this.pageAdvModel.pageCornerAdv.matInfo != null) {
if (this.pageAdvModel.pageCornerAdv.matInfo != null
&& this.pageAdvModel.pageCornerAdv.matInfo.linkType != '2'
) {
// 广告中心的挂角广告
this.drawPageCornerAdvView(1, 1 == this.pageAdvModel.isRightAdv)
} else if (this.pageAdvModel.pageCornerContentInfo.advert != null) {
} else if (this.pageAdvModel.pageCornerContentInfo.advert != null
&& this.pageAdvModel.pageCornerContentInfo.advert.objectType != '6'
) {
// 展现中心的挂角广告业务
this.drawPageCornerAdvView(2, 1 == this.pageAdvModel.isRightAdv)
}
...
...
Please
register
or
login
to post a comment