yangchenggong1_wd

fix |> 20384 隐私政策和用户协议,左上角的返回按钮下方缺少分割线

... ... @@ -5,8 +5,10 @@ export struct CustomTitleUI {
imgBack:boolean = true
titleName:ResourceStr = "默认标题"
@Prop percent:number = 1
isShowBottomLine:boolean = false
build() {
Column(){
RelativeContainer() {
//标题栏目
if(this.imgBack){
... ... @@ -43,6 +45,13 @@ export struct CustomTitleUI {
.height(44)
.width('100%')
.backgroundColor($r('app.color.white'))
if(this.isShowBottomLine){
Text().backgroundColor($r('app.color.color_EDEDED'))
.width('100%')
.height(1)
}
}
}
calcHeight(value:number): number{
... ...
... ... @@ -70,7 +70,12 @@ struct LoginProtocolWebview {
}
.alignItems(VerticalAlign.Center)
.width('100%')
.height(44)
.height(43)
Text().backgroundColor("#EDEDED")
.width('100%')
.height(1)
if(this.isConnectNetwork){
Web({ src: this.webUrl, controller: this.webviewController })
.backgroundColor(Color.White)
... ...