张善主

fix(18943): 专题骨架图取错,不应展示稿件详情骨架图

1 import { Action, H5ReceiveDetailBean, ContentDetailDTO, InteractDataDTO } from 'wdBean'; 1 import { Action, H5ReceiveDetailBean, ContentDetailDTO, InteractDataDTO } from 'wdBean';
2 import { WdWebComponent } from 'wdWebComponent'; 2 import { WdWebComponent } from 'wdWebComponent';
3 -import router from '@ohos.router';  
4 import { CommonConstants } from 'wdConstant' 3 import { CommonConstants } from 'wdConstant'
5 import { BridgeWebViewControl } from 'wdJsBridge/Index'; 4 import { BridgeWebViewControl } from 'wdJsBridge/Index';
6 -import { detailedSkeleton } from './skeleton/detailSkeleton'  
7 import { NativeCallH5Type } from 'wdWebComponent/src/main/ets/pages/NativeCallH5Type'; 5 import { NativeCallH5Type } from 'wdWebComponent/src/main/ets/pages/NativeCallH5Type';
8 import { OperRowListView } from './view/OperRowListView'; 6 import { OperRowListView } from './view/OperRowListView';
9 import DetailViewModel from '../viewmodel/DetailViewModel'; 7 import DetailViewModel from '../viewmodel/DetailViewModel';
@@ -15,6 +13,7 @@ import { common } from '@kit.AbilityKit'; @@ -15,6 +13,7 @@ import { common } from '@kit.AbilityKit';
15 import { PageRepository } from '../repository/PageRepository'; 13 import { PageRepository } from '../repository/PageRepository';
16 import { CommentDialogView } from './CommentDialogView'; 14 import { CommentDialogView } from './CommentDialogView';
17 import { faceDetector } from '@kit.CoreVisionKit'; 15 import { faceDetector } from '@kit.CoreVisionKit';
  16 +import { channelSkeleton } from './skeleton/channelSkeleton';
18 17
19 const TAG: string = 'SpacialTopicPageComponent' 18 const TAG: string = 'SpacialTopicPageComponent'
20 19
@@ -192,7 +191,7 @@ export struct SpacialTopicPageComponent { @@ -192,7 +191,7 @@ export struct SpacialTopicPageComponent {
192 }).padding({ bottom: 200 }) 191 }).padding({ bottom: 200 })
193 } else { 192 } else {
194 if (!this.isPageEnd) { 193 if (!this.isPageEnd) {
195 - detailedSkeleton().padding({ top:`${this.topSafeHeight}px`,bottom: this.bottomSafeHeight }) 194 + channelSkeleton().padding({ top:`${this.topSafeHeight}px`,bottom: this.bottomSafeHeight })
196 } 195 }
197 } 196 }
198 //底部交互区 197 //底部交互区