Showing
1 changed file
with
7 additions
and
5 deletions
| @@ -155,6 +155,8 @@ export struct SpacialTopicPageComponent { | @@ -155,6 +155,8 @@ export struct SpacialTopicPageComponent { | ||
| 155 | // .fontWeight(500) | 155 | // .fontWeight(500) |
| 156 | // .visibility(this.action?.params?.backVisibility && this.isPageEnd ? Visibility.Visible : Visibility.None) | 156 | // .visibility(this.action?.params?.backVisibility && this.isPageEnd ? Visibility.Visible : Visibility.None) |
| 157 | 157 | ||
| 158 | + RelativeContainer() { | ||
| 159 | + | ||
| 158 | WdWebComponent({ | 160 | WdWebComponent({ |
| 159 | webviewControl: this.webviewControl, | 161 | webviewControl: this.webviewControl, |
| 160 | webUrl: this.webUrl, | 162 | webUrl: this.webUrl, |
| @@ -163,16 +165,16 @@ export struct SpacialTopicPageComponent { | @@ -163,16 +165,16 @@ export struct SpacialTopicPageComponent { | ||
| 163 | isPageEnd: $isPageEnd, | 165 | isPageEnd: $isPageEnd, |
| 164 | receiveH5SendToNativeData: this.receiveH5SendToNativeData.bind(this) | 166 | receiveH5SendToNativeData: this.receiveH5SendToNativeData.bind(this) |
| 165 | }) | 167 | }) |
| 168 | + .id('web_page') | ||
| 169 | + | ||
| 170 | + // 挂角广告 | ||
| 171 | + this.pageHornAd() | ||
| 172 | + } | ||
| 166 | } | 173 | } |
| 167 | .width(CommonConstants.FULL_WIDTH) | 174 | .width(CommonConstants.FULL_WIDTH) |
| 168 | .height(CommonConstants.FULL_HEIGHT) | 175 | .height(CommonConstants.FULL_HEIGHT) |
| 169 | .padding({ bottom: this.action?.params?.backVisibility ? 115 : 75 }) | 176 | .padding({ bottom: this.action?.params?.backVisibility ? 115 : 75 }) |
| 170 | 177 | ||
| 171 | - // RelativeContainer() { | ||
| 172 | - // // 挂角广告 | ||
| 173 | - // this.pageHornAd() | ||
| 174 | - // } | ||
| 175 | - | ||
| 176 | if (!this.isNetConnected) { | 178 | if (!this.isNetConnected) { |
| 177 | Column() { | 179 | Column() { |
| 178 | Image($r('app.media.line')) | 180 | Image($r('app.media.line')) |
-
Please register or login to post a comment