修改不同意协议退出方式
This commit is contained in:
parent
9860ad3ce1
commit
a2b8a959fa
@ -65,8 +65,8 @@ android {
|
|||||||
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
|
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion flutter.targetSdkVersion
|
targetSdkVersion flutter.targetSdkVersion
|
||||||
versionCode 7
|
versionCode 8
|
||||||
versionName "1.0.6"
|
versionName "1.0.7"
|
||||||
manifestPlaceholders = [
|
manifestPlaceholders = [
|
||||||
vivo_APPID: "105669716",
|
vivo_APPID: "105669716",
|
||||||
vivo_APPKEY:"84f750207787376b310ca5b0d5969122",
|
vivo_APPKEY:"84f750207787376b310ca5b0d5969122",
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<bitmap
|
<bitmap
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:src="@mipmap/launch_image" />
|
android:src="@mipmap/launch_back" />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<bitmap
|
<bitmap
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB |
BIN
circle_app/assets/images/base/launch_back.webp
Normal file
BIN
circle_app/assets/images/base/launch_back.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 19 KiB |
@ -3,8 +3,8 @@ import 'dart:io';
|
|||||||
import 'package:flutter/cupertino.dart';
|
import 'package:flutter/cupertino.dart';
|
||||||
import 'package:flutter/gestures.dart';
|
import 'package:flutter/gestures.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter/services.dart';
|
||||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||||
import 'package:get/get.dart';
|
|
||||||
import 'package:tencent_chat_push_for_china/tencent_chat_push_for_china.dart';
|
import 'package:tencent_chat_push_for_china/tencent_chat_push_for_china.dart';
|
||||||
import 'package:tencent_cloud_chat_uikit/tencent_cloud_chat_uikit.dart';
|
import 'package:tencent_cloud_chat_uikit/tencent_cloud_chat_uikit.dart';
|
||||||
|
|
||||||
@ -86,7 +86,7 @@ class _CustomDialogState extends State<YesAgreementDialog> {
|
|||||||
children: [
|
children: [
|
||||||
TextSpan(
|
TextSpan(
|
||||||
text: "《用户协议》",
|
text: "《用户协议》",
|
||||||
style: TextStyle(
|
style: const TextStyle(
|
||||||
color: Color(0xFF21BEAB),
|
color: Color(0xFF21BEAB),
|
||||||
),
|
),
|
||||||
recognizer: TapGestureRecognizer()
|
recognizer: TapGestureRecognizer()
|
||||||
@ -94,7 +94,7 @@ class _CustomDialogState extends State<YesAgreementDialog> {
|
|||||||
navigateToUserAgreement();
|
navigateToUserAgreement();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
TextSpan(
|
const TextSpan(
|
||||||
text: "和",
|
text: "和",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
@ -102,7 +102,7 @@ class _CustomDialogState extends State<YesAgreementDialog> {
|
|||||||
),
|
),
|
||||||
TextSpan(
|
TextSpan(
|
||||||
text: "《隐私政策》",
|
text: "《隐私政策》",
|
||||||
style: TextStyle(
|
style: const TextStyle(
|
||||||
color: Color(0xFF21BEAB),
|
color: Color(0xFF21BEAB),
|
||||||
),
|
),
|
||||||
recognizer: TapGestureRecognizer()
|
recognizer: TapGestureRecognizer()
|
||||||
@ -133,12 +133,12 @@ class _CustomDialogState extends State<YesAgreementDialog> {
|
|||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
width: 240.sp,
|
width: 240.sp,
|
||||||
padding: EdgeInsets.symmetric(
|
padding: const EdgeInsets.symmetric(
|
||||||
vertical: 10,
|
vertical: 10,
|
||||||
horizontal: 44,
|
horizontal: 44,
|
||||||
),
|
),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
gradient: LinearGradient(
|
gradient: const LinearGradient(
|
||||||
colors: [Color(0xFFDD3DF4), Color(0xFF30FFD9)],
|
colors: [Color(0xFFDD3DF4), Color(0xFF30FFD9)],
|
||||||
begin: Alignment.centerLeft,
|
begin: Alignment.centerLeft,
|
||||||
end: Alignment.centerRight,
|
end: Alignment.centerRight,
|
||||||
@ -159,7 +159,8 @@ class _CustomDialogState extends State<YesAgreementDialog> {
|
|||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
// 点击不同意按钮的操作
|
// 点击不同意按钮的操作
|
||||||
exit(1);
|
// exit(1);
|
||||||
|
SystemNavigator.pop();
|
||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
"不同意并退出应用",
|
"不同意并退出应用",
|
||||||
|
|||||||
@ -15,7 +15,7 @@ class SplashPage extends StatelessWidget {
|
|||||||
return Container(
|
return Container(
|
||||||
decoration: const BoxDecoration(
|
decoration: const BoxDecoration(
|
||||||
image: DecorationImage(
|
image: DecorationImage(
|
||||||
image: AssetImage('assets/images/base/launch_image.webp'),
|
image: AssetImage('assets/images/base/launch_back.webp'),
|
||||||
fit: BoxFit.cover,
|
fit: BoxFit.cover,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
|
|
||||||
class Api {
|
class Api {
|
||||||
static const baseUrl = 'https://leyuan666.com/zuul-service/';
|
static const baseUrl = 'https://leyuan666.com/zuul-service/';
|
||||||
|
|
||||||
// static const baseUrl = 'http://192.168.3.55:2000/' ;
|
// static const baseUrl = 'http://192.168.3.55:2000/' ;
|
||||||
|
|
||||||
|
|
||||||
// 获取验证码
|
// 获取验证码
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user