王士厅
@@ -92,6 +92,14 @@ export struct H5NewsWebPageComponent { @@ -92,6 +92,14 @@ export struct H5NewsWebPageComponent {
92 .backgroundColor(Color.White) 92 .backgroundColor(Color.White)
93 .height(150) 93 .height(150)
94 94
  95 + //全部评论
  96 + CommentDialogView({
  97 + index: $index,
  98 + currentIndex: $currentIndex,
  99 + showCommentList: $showCommentList,
  100 + publishCommentModel: $publishCommentModel,
  101 + interactData: $interactData,
  102 + }).visibility(this.showComment ? Visibility.Visible : Visibility.Hidden)
95 } 103 }
96 .margin({top: `${this.topSafeHeight}px`, bottom: `${this.bottomSafeHeight}px`}) 104 .margin({top: `${this.topSafeHeight}px`, bottom: `${this.bottomSafeHeight}px`})
97 .width(CommonConstants.FULL_WIDTH) 105 .width(CommonConstants.FULL_WIDTH)
@@ -37,6 +37,7 @@ export struct MorningEveningPaperComponent { @@ -37,6 +37,7 @@ export struct MorningEveningPaperComponent {
37 @Provide commentList: InteractDataDTO[] = [] 37 @Provide commentList: InteractDataDTO[] = []
38 @State audioPlayUrl: string = "" 38 @State audioPlayUrl: string = ""
39 @State isNoListContent:boolean = false; 39 @State isNoListContent:boolean = false;
  40 + @State isContentFailed:boolean = false;
40 @State executedStartTime:number = new Date().getTime() 41 @State executedStartTime:number = new Date().getTime()
41 // @Consume dailyPaperTopicPageId: number 42 // @Consume dailyPaperTopicPageId: number
42 // @Provide compListItem: CompList = {} as CompList 43 // @Provide compListItem: CompList = {} as CompList
@@ -177,6 +178,7 @@ export struct MorningEveningPaperComponent { @@ -177,6 +178,7 @@ export struct MorningEveningPaperComponent {
177 } 178 }
178 this.isNoListContent = this.compListItem && this.compListItem?.operDataList?.length > 0 ?false:true 179 this.isNoListContent = this.compListItem && this.compListItem?.operDataList?.length > 0 ?false:true
179 } catch (exception) { 180 } catch (exception) {
  181 + this.isContentFailed = true
180 182
181 } 183 }
182 184
@@ -264,6 +266,11 @@ export struct MorningEveningPaperComponent { @@ -264,6 +266,11 @@ export struct MorningEveningPaperComponent {
264 } 266 }
265 267
266 build() { 268 build() {
  269 + if (this.isContentFailed){
  270 + Column(){
  271 + EmptyComponent({emptyType:WDViewDefaultType.WDViewDefaultType_ContentFailed})
  272 + }.backgroundColor(this.mixedBgColor ?? Color.Black)
  273 + }else {
267 Stack({ alignContent: Alignment.Top }) { 274 Stack({ alignContent: Alignment.Top }) {
268 List() { 275 List() {
269 if (this.pageInfoBean?.topicInfo?.frontLinkObject) { 276 if (this.pageInfoBean?.topicInfo?.frontLinkObject) {
@@ -316,6 +323,9 @@ export struct MorningEveningPaperComponent { @@ -316,6 +323,9 @@ export struct MorningEveningPaperComponent {
316 .backgroundColor(this.mixedBgColor ?? Color.Black) 323 .backgroundColor(this.mixedBgColor ?? Color.Black)
317 } 324 }
318 325
  326 +
  327 + }
  328 +
319 @Builder 329 @Builder
320 topPaperTitle(){ 330 topPaperTitle(){
321 Column(){ 331 Column(){
@@ -26,7 +26,7 @@ export struct PeopleShipRecommendComponent { @@ -26,7 +26,7 @@ export struct PeopleShipRecommendComponent {
26 .height('30vp') 26 .height('30vp')
27 .fontColor($r('app.color.color_222222')) 27 .fontColor($r('app.color.color_222222'))
28 .fontWeight(600) 28 .fontWeight(600)
29 - .fontSize($r('app.float.vp_15_7')) 29 + .fontSize($r('app.float.vp_18'))
30 30
31 Blank() 31 Blank()
32 Button({ type: ButtonType.Normal, stateEffect: false }) { 32 Button({ type: ButtonType.Normal, stateEffect: false }) {
@@ -11,8 +11,8 @@ export struct PeopleShipRecommendHeadComponent { @@ -11,8 +11,8 @@ export struct PeopleShipRecommendHeadComponent {
11 Column(){ 11 Column(){
12 Stack({ alignContent: Alignment.BottomEnd }) { 12 Stack({ alignContent: Alignment.BottomEnd }) {
13 Image(this.rmhInfo.headPhotoUrl.length > 0 ? this.rmhInfo.headPhotoUrl : $r('app.media.WDAccountOwnerHedaerDefaultIcon')) 13 Image(this.rmhInfo.headPhotoUrl.length > 0 ? this.rmhInfo.headPhotoUrl : $r('app.media.WDAccountOwnerHedaerDefaultIcon'))
14 - .width('40vp')  
15 - .height('40vp') 14 + .width('44vp')
  15 + .height('44vp')
16 .borderRadius('22vp') 16 .borderRadius('22vp')
17 .objectFit(ImageFit.Cover) 17 .objectFit(ImageFit.Cover)
18 18
@@ -28,7 +28,7 @@ export struct PeopleShipRecommendHeadComponent { @@ -28,7 +28,7 @@ export struct PeopleShipRecommendHeadComponent {
28 Row() { 28 Row() {
29 Text(this.rmhInfo.userName) 29 Text(this.rmhInfo.userName)
30 .fontColor($r('app.color.color_222222')) 30 .fontColor($r('app.color.color_222222'))
31 - .fontSize($r('app.float.vp_13')) 31 + .fontSize($r('app.float.vp_14'))
32 .fontWeight(600) 32 .fontWeight(600)
33 .maxLines(1) 33 .maxLines(1)
34 .textOverflow({overflow: TextOverflow.Ellipsis}) 34 .textOverflow({overflow: TextOverflow.Ellipsis})
@@ -45,7 +45,7 @@ export struct ENewspaperListDialog { @@ -45,7 +45,7 @@ export struct ENewspaperListDialog {
45 // 手势滑动相关 45 // 手势滑动相关
46 private panOption: PanGestureOptions = new PanGestureOptions({ direction: PanDirection.Up | PanDirection.Down }) 46 private panOption: PanGestureOptions = new PanGestureOptions({ direction: PanDirection.Up | PanDirection.Down })
47 private topFixedHeight = 124 47 private topFixedHeight = 124
48 - @State topHeight: number = 124 48 + @State topHeight: number = 204
49 private deviceHeight: number = 0 49 private deviceHeight: number = 0
50 50
51 51
@@ -24,6 +24,13 @@ export struct MultiPictureListPage { @@ -24,6 +24,13 @@ export struct MultiPictureListPage {
24 @Provide topSafeHeight: number = AppStorage.get<number>('topSafeHeight') || 0 24 @Provide topSafeHeight: number = AppStorage.get<number>('topSafeHeight') || 0
25 // @Provide bgc: Color = Color.White; 25 // @Provide bgc: Color = Color.White;
26 @Provide duration: number = 0 26 @Provide duration: number = 0
  27 + @State noAnimation: boolean = true
  28 +
  29 + pageTransition() {
  30 + // PageTransitionEnter({ duration: this.noAnimation ? 0 : 300 })
  31 + PageTransitionExit({ duration: !this.noAnimation ? 0 : 300 })
  32 + }
  33 +
27 34
28 aboutToAppear(): void { 35 aboutToAppear(): void {
29 //获取宽高尺寸 36 //获取宽高尺寸
@@ -65,6 +72,7 @@ export struct MultiPictureListPage { @@ -65,6 +72,7 @@ export struct MultiPictureListPage {
65 }) 72 })
66 .onClick(() => { 73 .onClick(() => {
67 this.onBack(); 74 this.onBack();
  75 + this.noAnimation = false
68 router.back(); 76 router.back();
69 }) 77 })
70 .id("backImg") 78 .id("backImg")