This commit is contained in:
XiuYun CHEN 2025-06-04 15:24:18 +08:00
parent 5a59fa16bf
commit ca5ab146b7
3 changed files with 37 additions and 17 deletions

View File

@ -94,7 +94,7 @@ export struct EditUserDataComp {
if(json.code == 1 && json.expert && typeof json.expert === 'object') {
authStore.updateUser(json.expert)
this.arrToStringSpecialy(json.specialy);
this.photoPath = authStore.getUser().photo;
this.photoPath = BasicConstant.urlImage+authStore.getUser().photo;
this.name = authStore.getUser().realName;
this.sex = authStore.getUser().sex == 0 ? '男' : '女';
this.birthday = authStore.getUser().birthDate;

View File

@ -240,23 +240,41 @@ export struct LoginComp {
.onClick(() => {
this.login()
})
Text(this.type)
.fontSize(14)
.fontColor($r('app.color.top_title'))
.alignSelf(ItemAlign.Start)
.onClick(() => {
if(this.isPassLogin)
{
this.isPassLogin=false
this.type='账号密码登录'
}
else
{
this.isPassLogin=true
this.type='短信验证码登录'
}
Row()
{
Text(this.type)
.fontSize(14)
.fontColor($r('app.color.top_title'))
.alignSelf(ItemAlign.Start)
.onClick(() => {
if(this.isPassLogin)
{
this.isPassLogin=false
this.type='账号密码登录'
}
else
{
this.isPassLogin=true
this.type='短信验证码登录'
}
})
Blank()
if(this.isPassLogin)
{
Text('忘记密码?')
.fontSize(14)
.fontColor($r('app.color.common_gray_03'))
.alignSelf(ItemAlign.Start)
.onClick(() => {
router.pushUrl({url:'pages/MinePage/ForgetPassword'})
})
}
}.width('100%')
})
Row() {
Checkbox()
.shape(CheckBoxShape.CIRCLE)

View File

@ -152,6 +152,7 @@ export struct PLVMediaPlayerSingleVideoControllerLayoutLand {
right: 16
})
.hitTestBehavior(HitTestMode.Transparent)
.visibility(Visibility.None)
// 播放/暂停按钮
PLVMediaPlayerPlayButton()
@ -245,6 +246,7 @@ export struct PLVMediaPlayerSingleVideoControllerLayoutLand {
right: 16
})
.hitTestBehavior(HitTestMode.Transparent)
.visibility(Visibility.None)
// 弱网提示
PLVMediaPlayerNetworkPoorIndicateLayout()