1. ✅ 订阅卡片 - 移除 ScreenUtil,内容可见
Some checks failed
Build Android APK / 编译 libcore.aar (push) Has been cancelled
Build Android APK / 编译 Android APK (release) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 编译 libcore (iOS/tvOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 构建 iOS (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
Build Windows / build (push) Has been cancelled
Build Windows / 编译 libcore (Windows) (push) Has been cancelled
Some checks failed
Build Android APK / 编译 libcore.aar (push) Has been cancelled
Build Android APK / 编译 Android APK (release) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 编译 libcore (iOS/tvOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 构建 iOS (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
Build Windows / build (push) Has been cancelled
Build Windows / 编译 libcore (Windows) (push) Has been cancelled
2. ✅ 连接选项 - 移除 ScreenUtil,"国家/地区"可见 3. ✅ 连接信息卡片 - 移除 ScreenUtil 4. ✅ 试用卡片 - 移除 ScreenUtil 5. ✅ 最后一天卡片 - 移除 ScreenUtil 6. ✅ 底部面板 - 移除 ScreenUtil 7. ✅ 购买页面 - 移除 ScreenUtil,点击订阅不再卡死 (cherry picked from commit 1b059c57f55d65a737d5713754486a9cf576b210)
This commit is contained in:
parent
75c7d31da1
commit
f1e8e7f530
@ -555,11 +555,11 @@ class KRPurchaseMembershipView extends GetView<KRPurchaseMembershipController> {
|
|||||||
// 账号部分
|
// 账号部分
|
||||||
Widget _kr_buildAccountSection(BuildContext context) {
|
Widget _kr_buildAccountSection(BuildContext context) {
|
||||||
return Container(
|
return Container(
|
||||||
margin: EdgeInsets.all(16.r),
|
margin: EdgeInsets.all(16),
|
||||||
padding: EdgeInsets.all(16.r),
|
padding: EdgeInsets.all(16),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Theme.of(context).cardColor,
|
color: Theme.of(context).cardColor,
|
||||||
borderRadius: BorderRadius.circular(12.r),
|
borderRadius: BorderRadius.circular(12),
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
@ -42,7 +42,20 @@ class KRSubscribeNavigationUtil {
|
|||||||
} else {
|
} else {
|
||||||
// 正常流程 - 跳转到购买页面
|
// 正常流程 - 跳转到购买页面
|
||||||
KRLogUtil.kr_i('普通用户,跳转到购买页面', tag: tag);
|
KRLogUtil.kr_i('普通用户,跳转到购买页面', tag: tag);
|
||||||
|
|
||||||
|
try {
|
||||||
|
// 🔧 添加加载保护,避免页面跳转时卡死
|
||||||
Get.toNamed(Routes.KR_PURCHASE_MEMBERSHIP);
|
Get.toNamed(Routes.KR_PURCHASE_MEMBERSHIP);
|
||||||
|
} catch (e) {
|
||||||
|
KRLogUtil.kr_e('跳转购买页面失败: $e', tag: tag);
|
||||||
|
// 如果跳转失败,显示错误提示
|
||||||
|
KRDialog.show(
|
||||||
|
title: AppTranslations.kr_dialog.error,
|
||||||
|
message: AppTranslations.kr_home.checkNetwork,
|
||||||
|
confirmText: AppTranslations.kr_dialog.kr_ok,
|
||||||
|
onConfirm: () => Get.back(),
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user