Browse Source

首页协议修改

remove_uniapp
w-R 3 years ago
parent
commit
0a7b832da4
  1. 9
      lib/login/login_page.dart
  2. 2
      lib/main_page.dart
  3. 7
      lib/setting/treaty_page.dart

9
lib/login/login_page.dart

@ -1001,8 +1001,13 @@ class _MyLoginPageState extends State<LoginPage> with TickerProviderStateMixin {
),
),
TextSpan(
text: S.of(context).privacy_policy2,
recognizer: tapGestureRecognizer,
// text: S.of(context).privacy_policy2,
text: "《一心回乡用户协议》",
recognizer: TapGestureRecognizer()
..onTap = () {
Navigator.of(context)
.pushNamed('/router/user_service_page');
},
style: TextStyle(
fontSize: 11.sp,
color: Color(0xFF32A060),

2
lib/main_page.dart

@ -106,7 +106,7 @@ class _MainPage extends State<MainPage> with WidgetsBindingObserver {
// MainHomePage(),
UnionPage(),
// (Theme.of(context).platform == TargetPlatform.android) ? OrderPage() :CommunityPage(),
CommunityPage(),
OrderPage(),
MinePage(),
];

7
lib/setting/treaty_page.dart

@ -51,13 +51,6 @@ class _TreatyPage extends State<TreatyPage> {
// margin: EdgeInsets.only(left: 20, right: 20, top: 10),
// child: SingleChildScrollView(
// physics: BouncingScrollPhysics(),
// // child: Column(
// // children: [
// // WebView(
// // initialUrl: 'http://huixiang.lotus-wallet.com/Privacy.html',
// // ),
// // ],
// // ),
// child: Column(
// mainAxisAlignment: MainAxisAlignment.spaceEvenly,
// crossAxisAlignment: CrossAxisAlignment.start,

Loading…
Cancel
Save