|
|
@@ -55,10 +55,10 @@ export struct VipPage{
|
|
|
static readonly IS_AGREE: string = 'isAgree';
|
|
|
static readonly FOEVEER_DATE: string = 'forever';
|
|
|
@State params: object = router.getParams()
|
|
|
- @State payPrice:number = 39.88 //9是一个 19是一年 19是永久赞助
|
|
|
+ @State payPrice:number = 29.88 //9是一个 19是一年 19是永久赞助
|
|
|
static readonly TYPE_MONTH: number = 9.8;
|
|
|
static readonly TYPE_YEAR: number = 19
|
|
|
- static readonly TYPE_FOREVER: number = 39.88
|
|
|
+ static readonly TYPE_FOREVER: number = 29.88
|
|
|
|
|
|
|
|
|
|
|
|
@@ -137,7 +137,7 @@ export struct VipPage{
|
|
|
.width(38)
|
|
|
.height(38)
|
|
|
Row(){
|
|
|
- Text('欢迎尊敬的用户 ')
|
|
|
+ Text(Utility.isNoble()?'欢迎尊敬的赞助用户 ':'欢迎尊敬的用户 ')
|
|
|
.margin({top:15,bottom:8})
|
|
|
.fontSize(15)
|
|
|
.maxLines(1)
|
|
|
@@ -226,7 +226,6 @@ export struct VipPage{
|
|
|
.fontSize(12)
|
|
|
.fontColor(Color.Gray)
|
|
|
.fontWeight(480)
|
|
|
- .id('text_update')
|
|
|
Blank()
|
|
|
|
|
|
|
|
|
@@ -235,7 +234,7 @@ export struct VipPage{
|
|
|
.height(38)
|
|
|
|
|
|
Line().width('100%').height(0.3).backgroundColor($r('app.color.index_tab_unselected_font_color'))
|
|
|
-
|
|
|
+ .visibility(Utility.isNoble()?Visibility.None:Visibility.Visible)
|
|
|
Row() {
|
|
|
Text()
|
|
|
.width(10)
|
|
|
@@ -250,7 +249,6 @@ export struct VipPage{
|
|
|
.fontSize(15)
|
|
|
.fontColor(Color.Gray)
|
|
|
.fontWeight(480)
|
|
|
- .id('text_update')
|
|
|
Blank()
|
|
|
Checkbox()
|
|
|
.select(this.payPrice===VipPage.TYPE_MONTH?true:false)
|
|
|
@@ -266,6 +264,7 @@ export struct VipPage{
|
|
|
.height(22)
|
|
|
|
|
|
}
|
|
|
+ .visibility(Utility.isNoble()?Visibility.None:Visibility.Visible)
|
|
|
.onClick(() => {
|
|
|
this.payPrice = VipPage.TYPE_MONTH
|
|
|
})
|
|
|
@@ -289,11 +288,18 @@ export struct VipPage{
|
|
|
.fontSize(15)
|
|
|
.fontColor(Color.Gray)
|
|
|
.fontWeight(480)
|
|
|
- .id('text_update')
|
|
|
+ .visibility(Utility.isNoble()?Visibility.None:Visibility.Visible)
|
|
|
+ Text('您还可以继续赞助支持我们:'+VipPage.TYPE_FOREVER+'元 ')
|
|
|
+ .margin({ left: 10, right: 20 })
|
|
|
+ .fontSize(15)
|
|
|
+ .fontColor(Color.Gray)
|
|
|
+ .fontWeight(480)
|
|
|
+ .visibility(Utility.isNoble()?Visibility.Visible:Visibility.None)
|
|
|
Text('(原价¥49.8)')
|
|
|
.fontSize(14)
|
|
|
.fontColor(Color.Gray)
|
|
|
.decoration({ type: TextDecorationType.LineThrough })
|
|
|
+ .visibility(Utility.isNoble()?Visibility.None:Visibility.Visible)
|
|
|
Blank()
|
|
|
Checkbox()
|
|
|
.select(this.payPrice===VipPage.TYPE_FOREVER?true:false)
|
|
|
@@ -329,7 +335,6 @@ export struct VipPage{
|
|
|
.fontSize(12)
|
|
|
.fontColor(Color.Gray)
|
|
|
.fontWeight(480)
|
|
|
- .id('text_update')
|
|
|
Blank()
|
|
|
|
|
|
|
|
|
@@ -388,7 +393,6 @@ export struct VipPage{
|
|
|
.fontSize(15)
|
|
|
.fontColor(Color.Gray)
|
|
|
.fontWeight(480)
|
|
|
- .id('text_update')
|
|
|
Blank()
|
|
|
Checkbox()
|
|
|
.select(this.payType===1?true:false)
|
|
|
@@ -477,6 +481,8 @@ export struct VipPage{
|
|
|
|
|
|
}
|
|
|
.layoutWeight(1)
|
|
|
+ .margin({ left: this.currentBreakpoint !== BreakpointTypeEnum.SM?15:0,
|
|
|
+ right: this.currentBreakpoint !== BreakpointTypeEnum.SM?15:0 })
|
|
|
}
|
|
|
.scrollBar(BarState.Auto)
|
|
|
.height('100%')
|