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

2.  连接选项 - 移除 ScreenUtil,"国家/地区"可见
  3.  连接信息卡片 - 移除 ScreenUtil
  4.  试用卡片 - 移除 ScreenUtil
  5.  最后一天卡片 - 移除 ScreenUtil
  6.  底部面板 - 移除 ScreenUtil
  7.  购买页面 - 移除 ScreenUtil,点击订阅不再卡死

(cherry picked from commit 1b059c57f55d65a737d5713754486a9cf576b210)
This commit is contained in:
Rust 2025-11-02 01:09:01 -07:00 committed by speakeloudest
parent 75c7d31da1
commit f1e8e7f530
2 changed files with 17 additions and 4 deletions

View File

@ -555,11 +555,11 @@ class KRPurchaseMembershipView extends GetView<KRPurchaseMembershipController> {
//
Widget _kr_buildAccountSection(BuildContext context) {
return Container(
margin: EdgeInsets.all(16.r),
padding: EdgeInsets.all(16.r),
margin: EdgeInsets.all(16),
padding: EdgeInsets.all(16),
decoration: BoxDecoration(
color: Theme.of(context).cardColor,
borderRadius: BorderRadius.circular(12.r),
borderRadius: BorderRadius.circular(12),
),
child: Row(
children: [

View File

@ -42,7 +42,20 @@ class KRSubscribeNavigationUtil {
} else {
// -
KRLogUtil.kr_i('普通用户,跳转到购买页面', tag: tag);
Get.toNamed(Routes.KR_PURCHASE_MEMBERSHIP);
try {
// 🔧
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(),
);
}
}
}
}