Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
yangchenggong1_wd
2024-09-20 10:26:26 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ee1ebbfb8474e3a8c499812a8bb743e7600b6c00
ee1ebbfb
1 parent
5aeb610a
fix |> 20384 隐私政策和用户协议,左上角的返回按钮下方缺少分割线
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/reusable/CustomTitleUI.ets
sight_harmony/features/wdLogin/src/main/ets/pages/login/LoginProtocolWebview.ets
sight_harmony/features/wdComponent/src/main/ets/components/reusable/CustomTitleUI.ets
View file @
ee1ebbf
...
...
@@ -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{
...
...
sight_harmony/features/wdLogin/src/main/ets/pages/login/LoginProtocolWebview.ets
View file @
ee1ebbf
...
...
@@ -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)
...
...
Please
register
or
login
to post a comment