From 705660a37fb0d0ddf3fd0ff35106951823e80ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AD=90=E8=B4=A4?= Date: Thu, 15 Jan 2026 10:08:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E9=A1=B5=E9=9D=A2=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/home/recommend_tab.dart | 8 ++--- lib/pages/mine/mine_page.dart | 60 +++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 4 deletions(-) diff --git a/lib/pages/home/recommend_tab.dart b/lib/pages/home/recommend_tab.dart index 61d4c66..b8ca852 100644 --- a/lib/pages/home/recommend_tab.dart +++ b/lib/pages/home/recommend_tab.dart @@ -276,9 +276,7 @@ class _RecommendTabState extends State color: const Color.fromRGBO(144, 144, 144, 1), fontWeight: FontWeight.w500 ), - ).onTap((){ - Get.to(() => MatchmakerPage()); - }) + ) ], ), Wrap( @@ -292,7 +290,9 @@ class _RecommendTabState extends State ) ], ), - ), + ).onTap((){ + Get.to(() => MatchmakerPage()); + }), ], ), ), diff --git a/lib/pages/mine/mine_page.dart b/lib/pages/mine/mine_page.dart index 05890a7..70236b4 100644 --- a/lib/pages/mine/mine_page.dart +++ b/lib/pages/mine/mine_page.dart @@ -15,6 +15,7 @@ import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; import 'package:get/get.dart'; import '../discover/visitor_list_page.dart'; +import 'open_webview.dart'; class MinePage extends StatefulWidget { const MinePage({super.key}); @@ -278,6 +279,65 @@ class _MinePageState extends State with AutomaticKeepAliveClientMixin{ ), ), SizedBox(height: 12.w,), + Container( + decoration: BoxDecoration( + borderRadius: BorderRadius.all(Radius.circular(9.w)), + color: Colors.white + ), + child: Column( + children: [ + Container( + height: 48.w, + padding: EdgeInsets.symmetric(horizontal: 16.w), + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text( + "用户协议", + style: TextStyle( + fontSize: 14.w, + fontWeight: FontWeight.w500, + color: Colors.black + ), + ), + Image.asset( + Assets.imagesArrow, + width: 4.w, + height: 8.w, + ) + ], + ), + ).onTap((){ + Get.to(() => OpenWebView(url: "https://www.quzhaoqin.com/privacy.html")); + }), + Container( + height: 48.w, + padding: EdgeInsets.symmetric(horizontal: 16.w), + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text( + "隐私政策", + style: TextStyle( + fontSize: 14.w, + fontWeight: FontWeight.w500, + color: Colors.black + ), + ), + Image.asset( + Assets.imagesArrow, + width: 4.w, + height: 8.w, + ) + ], + ), + ).onTap((){ + Get.to(() => OpenWebView(url: "https://www.quzhaoqin.com/information.html")); + }), + ], + ), + ), + SizedBox(height: 12.w,), ClipRRect( borderRadius: BorderRadius.all(Radius.circular(9.w)), child: Column(