用户是否为VIP标识增加对应权限跳转页面
This commit is contained in:
parent
4e6d87daa9
commit
11ed3ab0ae
@ -87,35 +87,48 @@ class StarLockMinePageState extends State<StarLockMinePage> with BaseWidget {
|
|||||||
SizedBox(
|
SizedBox(
|
||||||
height: 20.h,
|
height: 20.h,
|
||||||
),
|
),
|
||||||
Row(
|
Obx(() => GestureDetector(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
onTap: () {
|
||||||
children: [
|
if (state.isVip.value == null || !state.isVip.value) {
|
||||||
Obx(() => Text(
|
Get.toNamed(Routers.advancedFeaturesWebPage);
|
||||||
state.userNickName.value.isNotEmpty
|
} else {
|
||||||
? state.userNickName.value
|
Get.toNamed(
|
||||||
: (state.userMobile.value.isNotEmpty
|
Routers.valueAddedServicesHighFunctionPage);
|
||||||
? state.userMobile.value
|
}
|
||||||
: state.userEmail.value),
|
},
|
||||||
style: TextStyle(
|
child: Container(
|
||||||
fontSize: 22.sp,
|
color: Colors.transparent,
|
||||||
color: Colors.white,
|
child: Row(
|
||||||
))),
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
SizedBox(
|
children: [
|
||||||
width: 5.w,
|
Text(
|
||||||
),
|
state.userNickName.value.isNotEmpty
|
||||||
Obx(() => !state.isVip.value
|
? state.userNickName.value
|
||||||
? Image.asset(
|
: (state.userMobile.value.isNotEmpty
|
||||||
'images/mine/icon_mine_noPlus.png',
|
? state.userMobile.value
|
||||||
width: 20.w,
|
: state.userEmail.value),
|
||||||
height: 20.w,
|
style: TextStyle(
|
||||||
)
|
fontSize: 22.sp,
|
||||||
: Image.asset(
|
color: Colors.white,
|
||||||
'images/mine/icon_mine_isPlus.png',
|
)),
|
||||||
width: 20.w,
|
SizedBox(
|
||||||
height: 20.w,
|
width: 5.w,
|
||||||
)),
|
),
|
||||||
],
|
!state.isVip.value
|
||||||
)
|
? Image.asset(
|
||||||
|
'images/mine/icon_mine_noPlus.png',
|
||||||
|
width: 20.w,
|
||||||
|
height: 20.w,
|
||||||
|
)
|
||||||
|
: Image.asset(
|
||||||
|
'images/mine/icon_mine_isPlus.png',
|
||||||
|
width: 20.w,
|
||||||
|
height: 20.w,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
))
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user