Browse Source

修改提示语

chendeben 1 year ago
parent
commit
332c9097d0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      entry/src/main/ets/pages/UserCenter.ets

+ 2 - 2
entry/src/main/ets/pages/UserCenter.ets

@@ -768,7 +768,7 @@ export struct UserCenter {
   @Builder
   @Builder
   buildVipPlans(): void {
   buildVipPlans(): void {
     Column() {
     Column() {
-      Text('会员套餐')
+      Text(this.subscriptionName=='永久会员'?'您还可以继续赞助支持我们':'会员套餐')
         .textAlign(TextAlign.Start)
         .textAlign(TextAlign.Start)
         .padding({ left: 16, bottom: 15, top: 18 })
         .padding({ left: 16, bottom: 15, top: 18 })
         .fontSize(18)
         .fontSize(18)
@@ -781,7 +781,7 @@ export struct UserCenter {
         ForEach(this.vipPlans, (plan: VipPlanApi, index: number) => {
         ForEach(this.vipPlans, (plan: VipPlanApi, index: number) => {
           ListItem() {
           ListItem() {
             Column() {
             Column() {
-              Text(plan.name)
+              Text(this.subscriptionName=='永久会员'?"赞助套餐":plan.name)
                 .fontSize(15)
                 .fontSize(15)
                 .fontWeight(FontWeight.Bold)
                 .fontWeight(FontWeight.Bold)
                 .fontColor($r('app.color.user_center_font'))
                 .fontColor($r('app.color.user_center_font'))