云信发送消息相关
This commit is contained in:
@@ -15,6 +15,7 @@ interface NavigationBackBuilderParams {
|
||||
showDivideLine?: boolean;
|
||||
rightButtonTitle?: ResourceStr;
|
||||
rightButtonColor?: ResourceColor;
|
||||
rightButtonEnable?: boolean;
|
||||
rightButtonIcon?: Resource;
|
||||
rightButtonAction?: (() => void);
|
||||
backgroundColor?: ResourceColor;
|
||||
@@ -89,7 +90,7 @@ export function NavigationBackBuilder(params?: NavigationBackBuilderParams) {
|
||||
if (params?.rightButtonTitle) {
|
||||
Text(params?.rightButtonTitle)
|
||||
.fontSize(14)
|
||||
.fontColor(params?.rightButtonColor??Color.White)
|
||||
.fontColor(Color.White)
|
||||
.width(params?.buttonTextWidth ?? 80)
|
||||
.height(35)
|
||||
.textAlign(TextAlign.Center)
|
||||
@@ -98,9 +99,10 @@ export function NavigationBackBuilder(params?: NavigationBackBuilderParams) {
|
||||
// })
|
||||
.borderRadius(4)
|
||||
// .height(18)
|
||||
.backgroundColor($r('app.color.top_title'))
|
||||
.backgroundColor(params?.rightButtonColor??$r('app.color.top_title'))
|
||||
.margin({ right: 5 })
|
||||
.onClick(params?.rightButtonAction)
|
||||
// .enabled(params?.rightButtonEnable??true)
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -69,6 +69,10 @@
|
||||
{
|
||||
"name": "patient_theme",
|
||||
"value": "#3cc7c0"
|
||||
},
|
||||
{
|
||||
"name": "tab_text_nor",
|
||||
"value": "#848284"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user