bug修改
This commit is contained in:
parent
662c0ba507
commit
81aba7fdf6
@ -38,6 +38,7 @@ import { BasicConstant, customAttachment,DataWebModel } from '@itcast/basic'
|
||||
import { router } from '@kit.ArkUI'
|
||||
import { videoTools } from 'home'
|
||||
import { HMRouterMgr } from '@hadss/hmrouter'
|
||||
import { StringIsEmpty } from '@nimkit/common'
|
||||
|
||||
@ComponentV2
|
||||
export struct messageContent {
|
||||
@ -836,7 +837,7 @@ export struct customBuilder {
|
||||
{
|
||||
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
|
||||
|
||||
|
||||
@ -55,15 +55,16 @@ export function NavigationBackBuilder(params?: NavigationBackBuilderParams) {
|
||||
Image($r('app.media.top_back'))
|
||||
.margin({ left: 20 })
|
||||
.width(65)
|
||||
.height(24)
|
||||
.height(50)
|
||||
.padding({
|
||||
right:41
|
||||
right:41,
|
||||
top: 13,
|
||||
bottom: 13
|
||||
})
|
||||
// .padding({
|
||||
// left: 8,
|
||||
// right: 8,
|
||||
// top: 8,
|
||||
// bottom: 8
|
||||
//
|
||||
// })
|
||||
.onClick(params?.leftButtonAction)
|
||||
}
|
||||
@ -110,13 +111,13 @@ export function NavigationBackBuilder(params?: NavigationBackBuilderParams) {
|
||||
Image(params?.rightButtonIcon)
|
||||
// .width(36)
|
||||
.width(65)
|
||||
.height(4)
|
||||
.height(50)
|
||||
.objectFit(ImageFit.Contain)
|
||||
.padding({
|
||||
left: 47,
|
||||
// right: 3,
|
||||
// top: 3,
|
||||
// bottom: 3
|
||||
top: 23,
|
||||
bottom: 23
|
||||
})
|
||||
.margin({ right: 20 })
|
||||
.onClick(params?.rightButtonAction)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user