Explorar el Código

修改提示语

chendeben hace 1 año
padre
commit
332c9097d0
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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
   buildVipPlans(): void {
     Column() {
-      Text('会员套餐')
+      Text(this.subscriptionName=='永久会员'?'您还可以继续赞助支持我们':'会员套餐')
         .textAlign(TextAlign.Start)
         .padding({ left: 16, bottom: 15, top: 18 })
         .fontSize(18)
@@ -781,7 +781,7 @@ export struct UserCenter {
         ForEach(this.vipPlans, (plan: VipPlanApi, index: number) => {
           ListItem() {
             Column() {
-              Text(plan.name)
+              Text(this.subscriptionName=='永久会员'?"赞助套餐":plan.name)
                 .fontSize(15)
                 .fontWeight(FontWeight.Bold)
                 .fontColor($r('app.color.user_center_font'))