bug修改

This commit is contained in:
XiuYun CHEN 2025-08-19 09:09:46 +08:00
parent 662c0ba507
commit 81aba7fdf6
2 changed files with 10 additions and 8 deletions

View File

@ -38,6 +38,7 @@ import { BasicConstant, customAttachment,DataWebModel } from '@itcast/basic'
import { router } from '@kit.ArkUI' import { router } from '@kit.ArkUI'
import { videoTools } from 'home' import { videoTools } from 'home'
import { HMRouterMgr } from '@hadss/hmrouter' import { HMRouterMgr } from '@hadss/hmrouter'
import { StringIsEmpty } from '@nimkit/common'
@ComponentV2 @ComponentV2
export struct messageContent { export struct messageContent {
@ -836,7 +837,7 @@ export struct customBuilder {
{ {
this.content=custom.gdxz_content this.content=custom.gdxz_content
} }
if(custom.gdxz_title!=null&&custom.gdxz_title.includes("互联网医院")) if(custom.gdxz_title!=null&&custom.gdxz_title.includes("互联网医院")||!StringIsEmpty(custom.gdxz_img))
{ {
this.photoUrl=custom.gdxz_img this.photoUrl=custom.gdxz_img

View File

@ -55,15 +55,16 @@ export function NavigationBackBuilder(params?: NavigationBackBuilderParams) {
Image($r('app.media.top_back')) Image($r('app.media.top_back'))
.margin({ left: 20 }) .margin({ left: 20 })
.width(65) .width(65)
.height(24) .height(50)
.padding({ .padding({
right:41 right:41,
top: 13,
bottom: 13
}) })
// .padding({ // .padding({
// left: 8, // left: 8,
// right: 8, // right: 8,
// top: 8, //
// bottom: 8
// }) // })
.onClick(params?.leftButtonAction) .onClick(params?.leftButtonAction)
} }
@ -110,13 +111,13 @@ export function NavigationBackBuilder(params?: NavigationBackBuilderParams) {
Image(params?.rightButtonIcon) Image(params?.rightButtonIcon)
// .width(36) // .width(36)
.width(65) .width(65)
.height(4) .height(50)
.objectFit(ImageFit.Contain) .objectFit(ImageFit.Contain)
.padding({ .padding({
left: 47, left: 47,
// right: 3, // right: 3,
// top: 3, top: 23,
// bottom: 3 bottom: 23
}) })
.margin({ right: 20 }) .margin({ right: 20 })
.onClick(params?.rightButtonAction) .onClick(params?.rightButtonAction)