|
|
@@ -21,7 +21,7 @@ export struct MainView {
|
|
|
promptAction.openToast({ message: YTDateUtil.formatDate(date) })
|
|
|
}
|
|
|
dateOption.headerLeftBuilder = wrapBuilder(headerLeftBuilder) //头部左侧按钮 默认返回按钮
|
|
|
- dateOption.headerRightBuilder = wrapBuilder(headerLeftBuilder) //头部右侧按钮 默认确认按钮
|
|
|
+ dateOption.headerRightBuilder = wrapBuilder(headerRightBuilder) //头部右侧按钮 默认确认按钮
|
|
|
dateOption.highlightBackgroundColor = Color.Pink //选中高亮背景色
|
|
|
dateOption.highlightBorderColor = Color.Red //选中高亮边框色
|
|
|
dateOption.textStyle = {
|
|
|
@@ -36,10 +36,6 @@ export struct MainView {
|
|
|
}
|
|
|
yTDateDialog.show(dateOption) //设置好配置之后打开日历的函数
|
|
|
})
|
|
|
-
|
|
|
- Image('https://hm-static.ytpm.net/upload/20250821/处暑-1755757002591.jpg')
|
|
|
- .width('100%')
|
|
|
- .height(300)
|
|
|
}
|
|
|
.attributeModifier(new BackgroundPageModifier(true))
|
|
|
|