|
@@ -12,6 +12,7 @@ import 'package:flutter/material.dart';
|
|
|
import 'package:auto_route/auto_route.dart';
|
|
|
import 'package:flutter_hooks/flutter_hooks.dart';
|
|
|
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
|
|
+import 'package:plugin_basic/modules/global_web_page.dart';
|
|
|
import 'package:plugin_platform/engine/image/image_nine_grid.dart';
|
|
|
import 'package:router/ext/auto_router_extensions.dart';
|
|
|
import 'package:shared/utils/color_utils.dart';
|
|
@@ -82,7 +83,12 @@ class RewardsPage extends HookConsumerWidget {
|
|
|
Assets.rewardsRewardsIconWen,
|
|
|
width: 20,
|
|
|
height: 20,
|
|
|
- )
|
|
|
+ ).onTap(() {
|
|
|
+ // 去详情
|
|
|
+ // _vm.launchURL(url);
|
|
|
+ GlobalWebPage.startInstance(
|
|
|
+ context: context, title: 'How Do I Earn Points?', url: 'https://yyjobs.sg/terms/PointsRules.html');
|
|
|
+ })
|
|
|
],
|
|
|
),
|
|
|
// const Text(
|