陈剑华

Merge remote-tracking branch 'origin/main'

@@ -21,7 +21,7 @@ export default struct MinePageUserSimpleInfoUI { @@ -21,7 +21,7 @@ export default struct MinePageUserSimpleInfoUI {
21 ///已登录状态,先获取本地数据 21 ///已登录状态,先获取本地数据
22 this.userName = SPHelper.default.getSync(SpConstants.USER_NAME,"") as string 22 this.userName = SPHelper.default.getSync(SpConstants.USER_NAME,"") as string
23 this.headPhotoUrl = SPHelper.default.getSync(SpConstants.USER_HEAD_PHOTO_URL,"") as string 23 this.headPhotoUrl = SPHelper.default.getSync(SpConstants.USER_HEAD_PHOTO_URL,"") as string
24 - 24 + this.userType = SPHelper.default.getSync(SpConstants.USER_Type,"") as string
25 this.getUserInfo() 25 this.getUserInfo()
26 }else{ 26 }else{
27 this.headPhotoUrl = "" 27 this.headPhotoUrl = ""
@@ -33,8 +33,8 @@ export default struct MinePageUserSimpleInfoUI { @@ -33,8 +33,8 @@ export default struct MinePageUserSimpleInfoUI {
33 Row(){ 33 Row(){
34 //头像 34 //头像
35 Stack(){ 35 Stack(){
36 - Image(this.headPhotoUrl==""?$r('app.media.default_head'):this.headPhotoUrl)  
37 - .alt($r('app.media.default_head')) 36 + Image(this.headPhotoUrl)
  37 + .alt(this.userType === '1'?$r('app.media.default_head'):$r('app.media.AccountOwner_DefaultIcon'))
38 .width(`${this.calcHeight(100)}lpx`) 38 .width(`${this.calcHeight(100)}lpx`)
39 .height(`${this.calcHeight(100)}lpx`) 39 .height(`${this.calcHeight(100)}lpx`)
40 .objectFit(ImageFit.Cover) 40 .objectFit(ImageFit.Cover)
@@ -37,7 +37,7 @@ export struct AppointmentListUI { @@ -37,7 +37,7 @@ export struct AppointmentListUI {
37 if (this.isGetRequest == true) { 37 if (this.isGetRequest == true) {
38 if(this.isConnectNetwork){ 38 if(this.isConnectNetwork){
39 EmptyComponent({ emptyType: 10 }) 39 EmptyComponent({ emptyType: 10 })
40 - .height('100%') 40 + .height('80%')
41 .width('100%') 41 .width('100%')
42 }else{ 42 }else{
43 EmptyComponent({ emptyType: 1,emptyHeight:"100%" ,retry: () => { 43 EmptyComponent({ emptyType: 1,emptyHeight:"100%" ,retry: () => {
@@ -47,7 +47,7 @@ struct MyCollectionListPage { @@ -47,7 +47,7 @@ struct MyCollectionListPage {
47 }, 47 },
48 title:this.isAllSelect?'是否确认清空?':'确认删除'+this.deleteNum.toString()+'条收藏', 48 title:this.isAllSelect?'是否确认清空?':'确认删除'+this.deleteNum.toString()+'条收藏',
49 tipShow: false , 49 tipShow: false ,
50 - leftTextColor:$r('app.color.color_648DF2'), 50 + leftTextColor:$r('app.color.color_333333')
51 }), 51 }),
52 autoCancel: true, 52 autoCancel: true,
53 alignment: DialogAlignment.Center, 53 alignment: DialogAlignment.Center,
@@ -49,7 +49,7 @@ export struct MineSettingComponent { @@ -49,7 +49,7 @@ export struct MineSettingComponent {
49 title: "清理缓存", 49 title: "清理缓存",
50 tipValue:"是否确认清理此App的缓存", 50 tipValue:"是否确认清理此App的缓存",
51 tipShow:true, 51 tipShow:true,
52 - leftTextColor:$r('app.color.color_648DF2') 52 + leftTextColor:$r('app.color.color_333333')
53 }), 53 }),
54 autoCancel: true, 54 autoCancel: true,
55 alignment: DialogAlignment.Center, 55 alignment: DialogAlignment.Center,
@@ -129,7 +129,7 @@ export struct EmptyComponent { @@ -129,7 +129,7 @@ export struct EmptyComponent {
129 .fontWeight(FontWeight.Normal) 129 .fontWeight(FontWeight.Normal)
130 .opacity(this.TEXT_OPACITY) 130 .opacity(this.TEXT_OPACITY)
131 .margin({ top: this.EMPTY_TIP_TEXT_MARGIN_TOP }) 131 .margin({ top: this.EMPTY_TIP_TEXT_MARGIN_TOP })
132 - .fontColor(this.emptyType !== 15 ? '#FFCCCCCC' : '#999999') 132 + .fontColor('#666666')
133 .onClick((event: ClickEvent) => { 133 .onClick((event: ClickEvent) => {
134 Logger.info(TAG, `noProgrammeData onClick event?.source: ${event.source}`); 134 Logger.info(TAG, `noProgrammeData onClick event?.source: ${event.source}`);
135 }) 135 })
@@ -26,7 +26,7 @@ struct DefaultWebPage { @@ -26,7 +26,7 @@ struct DefaultWebPage {
26 isPageEnd: $isPageEnd 26 isPageEnd: $isPageEnd
27 }) 27 })
28 }.layoutWeight(1) 28 }.layoutWeight(1)
29 - .expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.TOP]) 29 +
30 30
31 Row() { 31 Row() {
32 Button({ type: ButtonType.Normal }) { 32 Button({ type: ButtonType.Normal }) {