陈剑华

Merge remote-tracking branch 'origin/main'

@@ -80,7 +80,7 @@ export struct OperRowListView { @@ -80,7 +80,7 @@ export struct OperRowListView {
80 @State needLike: boolean = true 80 @State needLike: boolean = true
81 @ObjectLink publishCommentModel: publishCommentModel 81 @ObjectLink publishCommentModel: publishCommentModel
82 @State styleType: number = -1 82 @State styleType: number = -1
83 - @State showCommentIcon: boolean = true 83 + @State showCommentIcon: boolean = true // 评论图标
84 @State bgColor: ResourceColor = Color.White 84 @State bgColor: ResourceColor = Color.White
85 @State interactData: InteractDataDTO = {} as InteractDataDTO 85 @State interactData: InteractDataDTO = {} as InteractDataDTO
86 @State newsStatusOfUser: batchLikeAndCollectResult | undefined = undefined // 点赞、收藏状态 86 @State newsStatusOfUser: batchLikeAndCollectResult | undefined = undefined // 点赞、收藏状态
@@ -375,6 +375,7 @@ export struct OperRowListView { @@ -375,6 +375,7 @@ export struct OperRowListView {
375 .height(36) 375 .height(36)
376 .width(48) 376 .width(48)
377 .justifyContent(FlexAlign.Center) 377 .justifyContent(FlexAlign.Center)
  378 + .visibility(this.contentDetailData.openAudio == 1 ? Visibility.Visible : Visibility.None) // 【图文稿件】语音播报开关 0不播报 1播报
378 } 379 }
379 380
380 /** 381 /**
@@ -22,7 +22,7 @@ struct ForgetPasswordPage { @@ -22,7 +22,7 @@ struct ForgetPasswordPage {
22 @State isSubmit: boolean = false //是否可以提交 默认不可以 22 @State isSubmit: boolean = false //是否可以提交 默认不可以
23 loginViewModel: LoginViewModel = new LoginViewModel() 23 loginViewModel: LoginViewModel = new LoginViewModel()
24 @State @Watch('onCodeSend') isCodeSend: boolean = false //验证码点击发送事件 24 @State @Watch('onCodeSend') isCodeSend: boolean = false //验证码点击发送事件
25 - phone:string = (router.getParams() as Record<string, number>)['phone'] + ""; //登录 密码登录 填写手机号 点击忘记密码 带过来手机号 25 + @State params:Record<string, number> = router.getParams() as Record<string, number>;//登录 密码登录 填写手机号 点击忘记密码 带过来手机号
26 @State pageTitle:string = '找回密码'; 26 @State pageTitle:string = '找回密码';
27 @State codeStateSuccess:boolean=false 27 @State codeStateSuccess:boolean=false
28 onCodeSend() { 28 onCodeSend() {
@@ -31,6 +31,10 @@ struct ForgetPasswordPage { @@ -31,6 +31,10 @@ struct ForgetPasswordPage {
31 } 31 }
32 } 32 }
33 33
  34 +
  35 +
  36 +
  37 +
34 @State toastText:string = "" 38 @State toastText:string = ""
35 dialogToast: CustomDialogController = new CustomDialogController({ 39 dialogToast: CustomDialogController = new CustomDialogController({
36 builder: CustomToast({ 40 builder: CustomToast({
@@ -80,9 +84,14 @@ struct ForgetPasswordPage { @@ -80,9 +84,14 @@ struct ForgetPasswordPage {
80 } 84 }
81 85
82 aboutToAppear() { 86 aboutToAppear() {
83 - if(StringUtils.isNotEmpty(this.phone) && this.phone.indexOf("****") === -1){  
84 - this.phoneContent = this.phone 87 + let phone = ""
  88 + if(this.params){
  89 + phone = this.params['phone']+ ""
  90 + }
  91 + if(StringUtils.isNotEmpty(phone) && phone.indexOf("****") === -1){
  92 + this.phoneContent = phone
85 } 93 }
  94 +
86 } 95 }
87 96
88 //发送验证码 97 //发送验证码